Commit Graph

17248 Commits

Author SHA1 Message Date
Kenichi Omichi
19566b9c9f Remove unused E2ETestNodePreparer and functions
Since 59533f0cd1 E2ETestNodePreparer
and the related functions have been unused.
This removes them for cleanup.
2020-03-10 17:32:26 +00:00
Saverio Proto
326c25f7a2 Drop alpha gate for network tier annotation 2020-03-10 14:58:36 +01:00
Kubernetes Prow Robot
a35f54e3e8
Merge pull request #88982 from aojea/flakyvolumes
e2e: wait for controller manager pod to be ready
2020-03-10 03:29:36 -07:00
Kubernetes Prow Robot
5877945048
Merge pull request #88739 from julianvmodesto/diff-server-side-field-manager
Set field manager for kubectl diff --server-side
2020-03-09 18:57:35 -07:00
Kubernetes Prow Robot
b1c1187cca e2e: wait for controller manager pod to be ready
The MetricsGrabber may use the controller-manager pod
to gather metrics, however, it doesn't wait until
it is ready to serve, failing the test if this is the
case.

We wait until the controller-manager pod is running
before trying to get metrics from it.
2020-03-09 22:04:16 +01:00
Kubernetes Prow Robot
0bb125e731
Merge pull request #87487 from skilxn-go/master
Move TaintBasedEvictions feature gates to GA
2020-03-09 09:03:45 -07:00
skilxn-go
6b8fc8dc5e Move TaintBasedEvictions feature gates to GA 2020-03-09 10:49:00 +08:00
Clayton Coleman
d80981b657
test: Detect flakes caused by container teardown races on CRI
CRI returns a different reason than the dockershim, and we must also
catch the symptoms of https://github.com/kubernetes/kubernetes/issues/88766
in that environment.
2020-03-08 16:21:57 -04:00
drfish
f4da086cbe Move resource methods from e2e fw to e2e resource fw 2020-03-08 15:27:49 +08:00
Davanum Srinivas
8f3dfea11f
Add version flag to e2e.test 2020-03-07 18:33:02 -05:00
Kubernetes Prow Robot
672aa55ee4
Merge pull request #87777 from dbenoit17/master
fix range copy issue
2020-03-07 08:25:34 -08:00
Kubernetes Prow Robot
b30c9a3aba
Merge pull request #88929 from liggitt/expansions
client-go: plumb context to expansions methods
2020-03-06 20:35:34 -08:00
Kubernetes Prow Robot
988982a1f7
Merge pull request #88048 from mtaufen/provider-info-e2etest
Add e2e test for validating JWTs as OIDC tokens
2020-03-06 17:59:34 -08:00
Kenichi Omichi
75ca65806d Replace ExpectNoError(fmt.Errorf(..)) with funcs
There were framework.ExpectNoError(fmt.Errorf(..)) calls which just
raise an exception without actual value checks, they just raised the
specified error messages. These usages of framework.ExpectNoError()
seemed a little tricky, so this replaces them with corresponding check
functions for the readability.
2020-03-06 22:00:10 +00:00
Jordan Liggitt
d8abacba40 client-go: update expansions callers 2020-03-06 16:50:41 -05:00
Kubernetes Prow Robot
f52cbea102
Merge pull request #88910 from liggitt/metadata-context
Metadata client: plumb context
2020-03-06 13:18:04 -08:00
Jefftree
db714336a9 Update conformance.yaml to remove comments not part of Description 2020-03-06 11:37:35 -08:00
Jefftree
6da6380d1b Capture behaviors in walk.go 2020-03-06 11:09:25 -08:00
Jordan Liggitt
04a72d5ef9 client-go metadata: update callers 2020-03-06 11:07:54 -05:00
Jordan Liggitt
b7c2faf26c client-go dynamic client: add context to callers 2020-03-06 10:56:23 -05:00
Jordan Liggitt
b19dc3a474 client-go dynamic client: update DeleteOptions callers 2020-03-06 10:21:23 -05:00
Hemant Kumar
73611a473f Fix expected version for csidriver
Add a comment about GA feature
2020-03-06 08:21:26 -05:00
Christian Huffman
c6fd25d100 Updated CSIDriver references 2020-03-06 08:21:26 -05:00
Charles Eckman
aee9fde751 Add e2e test for validating JWTs as OIDC tokens
Adds an E2E test to deploy an agnhost container that runs the test.

Co-authored-by: Michael Taufen <mtaufen@google.com>
2020-03-05 13:58:52 -08:00
Kubernetes Prow Robot
0ad60b35c1
Merge pull request #88801 from jsafrane/snapshot-test-timeout
Fix GCE PD snapshot flakiness
2020-03-05 09:08:51 -08:00
Kubernetes Prow Robot
2f145e9422
Merge pull request #88249 from claudiubelu/tests/reduce-to-agnhost-dnsutils
tests: Replaces dnsutils image used with agnhost (part 4)
2020-03-05 09:08:37 -08:00
Kubernetes Prow Robot
1f2e1967d1
Merge pull request #88566 from Deepthidharwar/topology-mgr-numa-tests
Enable running cpu-mgr-multiNUMA e2e tests with Topology manager
2020-03-05 05:38:37 -08:00
Kubernetes Prow Robot
67c6767b7d
Merge pull request #88721 from Deepthidharwar/sriov-tm-bug
FIX SRIOV detection logic not to error out if device not present on the system
2020-03-05 02:58:50 -08:00
Jan Chaloupka
b09676921c [doc] scheduler_perf: describe suite configuration in more detail
The configuration file was design as a yaml file on purpose.
To easily extend the test cases without a need to modify
the testing binary. Also, it's possible to extend the configuration
itself to enrich individual test cases.
2020-03-05 11:42:05 +01:00
Kubernetes Prow Robot
364c66ed9c
Merge pull request #88828 from msau42/fix-skip-log
Fix log formatting for skipper.
2020-03-05 00:54:37 -08:00
Kubernetes Prow Robot
1afb554222
Merge pull request #88818 from claudiubelu/test-images/skips-windows
test images: Temporarely exclude Windows test images
2020-03-04 20:13:45 -08:00
Kubernetes Prow Robot
7a513b575a
Merge pull request #88440 from smarterclayton/container_success_fix
Ensure Kubelet always reports terminating pod container status
2020-03-04 20:13:04 -08:00
Kubernetes Prow Robot
7d6d790b43
Merge pull request #88414 from tanjunchen/resole-TODO
test/e2e/:resolve pending TODO: write a wrapper for ExpectNoErrorWithOffset()
2020-03-04 20:12:50 -08:00
Michelle Au
86c9b8ef57 Update version of pd csi driver
Change-Id: I1e6858cb641eb1b30b06ac95abe6a83c5312632e
2020-03-04 18:51:47 -08:00
Michelle Au
3ee30343cc Fix log formatting for skipper. "INFO" is already logged by Logf, and it
wasn't in the format syntax.

Change-Id: I760007c9c524bb465f428eb70e7fb30993475086
2020-03-04 17:43:24 -08:00
Kubernetes Prow Robot
d7e7136bbc
Merge pull request #88563 from mateuszlitwin/mlitwin-fix-permit-integration-test
fix TestCoSchedulinngWithPermitPlugin and test PermitPlugin
2020-03-04 17:26:37 -08:00
Julian V. Modesto
bacc2c4960 Set field manager for kubectl diff --server-side.
Bonus: check diff only dry-runs without persisting.

Co-authored-by: Takahiro HATORI <tahatori@zlab.co.jp>
2020-03-04 20:20:07 -05:00
Federico Paolinelli
c42b1ca783 Add SCTP e2e connectivity tests.
Pod2pod connectivity, and pod 2 service.

Signed-off-by: Federico Paolinelli <fpaoline@redhat.com>
2020-03-04 23:34:22 +01:00
Dan Winship
55d3408211 agnhost: add SCTP support to netexec 2020-03-04 23:34:15 +01:00
Caleb Woodbine
bf4f46b9fa Adjust endpoint watch timeout to 180 2020-03-05 10:24:25 +13:00
Caleb Woodbine
957ab9afaf Adjust RC watch timeout to 180, update progress log statement 2020-03-05 09:55:38 +13:00
Clayton Coleman
6d98b0a0f4
Test that an always-fail container can't report the pod Succeeded
The kubelet can race when a pod is deleted and report that a container succeeded
when it instead failed, and thus the pod is reported as succeeded. Create an e2e
test that demonstrates this failure.
2020-03-04 13:34:20 -05:00
Mateusz Litwin
b93e3d18e9 fix scheduler.TestCoSchedulinngWithPermitPlugin and test scheduler.PermitPlugin
After moving Permit() to the scheduling cycle test PermitPlugin should
no longer wait inside Permit() for another pod to enter Permit() and become waiting pod.
In the past this was a way to make test work regardless of order in
which pods enter Permit(), but now only one Permit() can be executed at
any given moment and waiting for another pod to enter Permit() inside
Permit() leads to timeouts.

In this change waitAndRejectPermit and waitAndAllowPermit flags make first
pod to enter Permit() a waiting pod and second pod to enter Permit()
either rejecting or allowing pod.

Mentioned in #88469
2020-03-04 08:45:36 -08:00
Kubernetes Prow Robot
b5b675491b
Merge pull request #86173 from soltysh/cli_defaults
stop defaulting kubeconfig to http://localhost:8080
2020-03-04 07:23:47 -08:00
Aleksandra Malinowska
c326149b4a ignore gcloud warning in test framework 2020-03-04 14:45:05 +01:00
Kubernetes Prow Robot
f692f5cfcd
Merge pull request #88049 from mtaufen/provider-info-agnhost
Update agnhost to test OIDC validation of JWT tokens
2020-03-04 03:43:47 -08:00
Jan Safranek
98b9c7b5e8 Fix GCE PD snapshot flakiness
It takes more than 5 minutes to restore a GCE PD snapshot + run a pod with
it. Therefore TestVolumeClientSlow is introduced.
2020-03-04 12:39:13 +01:00
Kubernetes Prow Robot
497a998ba6
Merge pull request #88654 from ddebroy/gmsa-disable1
Promote GMSA support for Windows to GA
2020-03-04 02:32:01 -08:00
Kubernetes Prow Robot
c2593d3fa7
Merge pull request #88669 from mkimuram/snapfromfile
Add FromFile and FromExistingClassName support for SnapshotClass in external storage e2e test
2020-03-04 01:10:00 -08:00
Kubernetes Prow Robot
71cfd2a3db
Merge pull request #88460 from soltysh/filename_exec
Wire --filename flag to exec
2020-03-04 01:09:47 -08:00
toyoda
bf58facaef Update waitForPDBCollectionToBeDeleted in e2e test 2020-03-04 17:31:50 +09:00
tanjunchen
453a05c03e test/e2e/framework:remove TODO 2020-03-04 13:00:37 +08:00
Deep Debroy
16d221e407 Promote GMSA to GA
Signed-off-by: Deep Debroy <ddebroy@docker.com>
2020-03-04 02:56:21 +00:00
Caleb Woodbine
ca3542273c Update Replica count check, undo capitalization for framework.Expect* statements 2020-03-04 15:44:46 +13:00
Caleb Woodbine
3fa4acb9b7 Ensure current Replica check is from ReplicationController watch 2020-03-04 14:55:11 +13:00
Caleb Woodbine
be382a812c Update test to create endpoint, patch addresses and ports for endpoint, ensure watch for DELETED 2020-03-04 14:24:02 +13:00
Caleb Woodbine
c715fec47d Update ReplicationController event watch check 2020-03-04 13:08:59 +13:00
Kubernetes Prow Robot
25d241eda2
Merge pull request #85642 from claudiubelu/tests/guestbook-workers-update-image
test images: Updates agnhost guestbook subcommand
2020-03-03 15:33:47 -08:00
Charles Eckman
5ceecd3ba3 Update agnhost to test OIDC validation of JWT tokens
Extends agnhost with the capability to validate a mounted token against
the API server's OIDC endpoints.

Co-authored-by: Michael Taufen <mtaufen@google.com>
2020-03-03 15:27:47 -08:00
Caleb Woodbine
054a886bf9 Remove sleep and final fetch of ReplicationController 2020-03-04 11:14:03 +13:00
Caleb Woodbine
de5859f7ce Add Endpoints resource lifecycle test 2020-03-04 11:09:48 +13:00
Masaki Kimura
401b85e547 Add FromFile and FromExistingClassName support for SnapshotClass in external storage e2e test 2020-03-03 20:28:32 +00:00
Caleb Woodbine
3b1e2249b0 Add ginkgo.By statements, TimeoutSeconds to the ReplicationController watch 2020-03-04 09:19:06 +13:00
Maciej Szulik
9dac1699bf
Wire --filename flag to exec 2020-03-03 12:16:52 +01:00
Kubernetes Prow Robot
9ee75e48c9
Merge pull request #88681 from Huang-Wei/fix-pts-e2e-flak
Fix an e2e flake for preemption with hard PodTopologySpread
2020-03-03 00:17:37 -08:00
Kubernetes Prow Robot
1c4f1edfba
Merge pull request #88746 from andrewsykim/test-framework-pkg-apis
test/e2e/framework: remove dependencies to internal APIs
2020-03-02 22:13:46 -08:00
Wei Huang
9902021ccd
Fix a PodTopologySpread e2e flake 2020-03-02 16:25:11 -08:00
Kubernetes Prow Robot
4838ac95ca
Merge pull request #88624 from claudiubelu/tests/windows-create-pod-fix
tests: Create pod for Windows test
2020-03-02 16:16:46 -08:00
Kubernetes Prow Robot
6c55e4b4f1
Merge pull request #88496 from chewong/fix-memory-limit-test-case
test: don't use hardcoded pod count for memory limit test
2020-03-02 16:16:27 -08:00
Kubernetes Prow Robot
a019609d5d
Merge pull request #87508 from jennybuckley/large-obj
Don't save managedFields if object is too large
2020-03-02 16:16:05 -08:00
Kubernetes Prow Robot
4b1ee392c1
Merge pull request #79083 from jackkleeman/client-cert-file-reload
Add ability to reload client certificates from disk
2020-03-02 16:15:53 -08:00
Kubernetes Prow Robot
a5048219ee
Merge pull request #76838 from claudiubelu/test-images/windows-support
test images: Adds Windows Container images support (part 1)
2020-03-02 16:15:38 -08:00
Kubernetes Prow Robot
26d497ac57
Merge pull request #88703 from tanjunchen/simplify-code
test/e2e/framework/service/:simplify function CreateTCPService and remove repeat const
2020-03-02 14:50:52 -08:00
andrewsykim
674e539fca test/e2e/framework: remove dependencies to internal APIs
Signed-off-by: andrewsykim <kim.andrewsy@gmail.com>
2020-03-02 16:09:15 -05:00
Kubernetes Prow Robot
24bf9e0327
Merge pull request #88727 from jsafrane/block-snapshot
Fix block snapshot tests
2020-03-02 11:43:36 -08:00
Kubernetes Prow Robot
e87cd59e1b
Merge pull request #88685 from fengzixu/move-util-functions
Refactor: move generic functions of integration test to util directory
2020-03-02 11:43:23 -08:00
David Eads
b19ad9e7a7
stop defaulting kubeconfig to http://localhost:8080 2020-03-02 18:32:16 +01:00
Jack Kleeman
929b1559a0 Add ReloadCertFromDisk flag to rest.Config and to kubeconfig which allows the provided client certificate files to be reloaded from disk (currently on every use)
Close outbound connections when using a cert callback and certificates rotate. This means that we won't get into a situation where we have open TLS connections using expires certs, which would get unauthorized errors at the apiserver

Attempt to retrieve a new certificate if open connections near expiry, to prevent the case where the cert expires but we haven't yet opened a new TLS connection and so GetClientCertificate hasn't been called.

Move certificate rotation logic to a separate function

Rely on generic transport approach to handle closing TLS client connections in exec plugin; no need to use a custom dialer as this is now the default behaviour of the transport when faced with a cert callback. As a result of handling this case, it is now safe to apply the transport approach even in cases where there is a custom Dialer (this will not affect kubelet connrotation behaviour, because that uses a custom transport, not just a dialer).

Check expiry of the full TLS certificate chain that will be presented, not only the leaf. Only do this check when the certificate actually rotates. Start the certificate as a zero value, not nil, so that we don't see a rotation when there is in fact no client certificate

Drain the timer when we first initialize it, to prevent immediate rotation. Additionally, calling Stop() on the timer isn't necessary.

Don't close connections on the first 'rotation'

Remove RotateCertFromDisk and RotateClientCertFromDisk flags.

Instead simply default to rotating certificates from disk whenever files are exclusively provided.

Add integration test for client certificate rotation

Simplify logic; rotate every 5 mins

Instead of trying to be clever and checking for rotation just before an
expiry, let's match the logic of the new apiserver cert rotation logic
as much as possible. We write a controller that checks for rotation
every 5 mins. We also check on every new connection.

Respond to review

Fix kubelet certificate rotation logic

The kubelet rotation logic seems to be broken because it expects its
cert files to end up as cert data whereas in fact they end up as a
callback. We should just call the tlsConfig GetCertificate callback
as this obtains a current cert even in cases where a static cert is
provided, and check that for validity.

Later on we can refactor all of the kubelet logic so that all it does is
write files to disk, and the cert rotation work does the rest.

Only read certificates once a second at most

Respond to review

1) Don't blat the cert file names
2) Make it more obvious where we have a neverstop
3) Naming
4) Verbosity

Avoid cache busting

Use filenames as cache keys when rotation is enabled, and add the
rotation later in the creation of the transport.

Caller should start the rotating dialer

Add continuous request rotation test

Rebase: use context in List/Watch

Swap goroutine around

Retry GETs on net.IsProbableEOF

Refactor certRotatingDialer

For simplicity, don't affect cert callbacks

To reduce change surface, lets not try to handle the case of a changing
GetCert callback in this PR. Reverting this commit should be sufficient
to handle that case in a later PR.

This PR will focus only on rotating certificate and key files.
Therefore, we don't need to modify the exec auth plugin.

Fix copyright year
2020-03-02 17:20:16 +00:00
Deepthi Dharwar
1ede096465 Enable topology-manager-e2e tests to run on MultiNUMA nodes.
Signed-off-by: Deepthi Dharwar <ddharwar@redhat.com>
2020-03-02 22:36:43 +05:30
Deepthi Dharwar
4abbce4549 Refactor CPUMananger-e2e-tests so that it be reused by topology-manager-e2e-testsuite.
Signed-off-by: Deepthi Dharwar <ddharwar@redhat.com>
2020-03-02 22:36:31 +05:30
Jan Safranek
f96c75bca2 Bump csi-driver-host-path version to get fixed block snapshots 2020-03-02 15:22:32 +01:00
Deepthi Dharwar
a4b59a5d7c Currently SRIOV detection logic is reporting error if it fails to detect SRIOV device
on the system. This patch aims to fix the same.

Signed-off-by: Deepthi Dharwar <ddharwar@redhat.com>
2020-03-02 19:31:37 +05:30
Jan Safranek
104db4f01b Fix block snapshot tests
Use InjectContent / TestVolumeClient to test a snapshot volume, since these
functions support raw block volumes.
2020-03-02 14:18:40 +01:00
Caleb Woodbine
5239ae44b6 Update delay time before deletion recheck 2020-03-02 15:42:23 +13:00
Rob Scott
132d2afca0
Adding IngressClass to networking/v1beta1
Co-authored-by: Christopher M. Luciano <cmluciano@us.ibm.com>
2020-03-01 18:17:09 -08:00
Caleb Woodbine
51d3f64b81 Fix conformance testdata 2020-03-02 14:23:29 +13:00
Caleb Woodbine
c33e3bdc28 Fix conformance testdata 2020-03-02 14:17:24 +13:00
Caleb Woodbine
67fb7c5989 Fix release number 2020-03-02 14:09:20 +13:00
Caleb Woodbine
40dadaaa9c Promote Pod Preemption Verification 2020-03-02 14:08:30 +13:00
Caleb Woodbine
947584d3b4 Fix metadata description 2020-03-02 13:57:17 +13:00
Caleb Woodbine
22f8a698ff Fix: metadata 2020-03-02 13:57:17 +13:00
Caleb Woodbine
633a72ce28 Promote: PodTemplate Lifecycle test 2020-03-02 13:57:17 +13:00
Caleb Woodbine
e5e3037868 Use max Replica count instead of hardcoded value 2020-03-02 13:46:41 +13:00
tanjunchen
b5cdb6e6cb test/e2e/:remove // TODO: write a wrapper for ExpectNoErrorWithOffset() 2020-03-01 23:00:11 +08:00
tanjunchen
b63be6a46d test/e2e/framework/service/:simplify function CreateTCPService 2020-03-01 22:33:42 +08:00
Claudiu Belu
1b71b2a9a2 tests: Replaces mounttest images used with agnhost (part 4)
Quite a few images are only used a few times in a few tests. Thus,
the images are being centralized into the agnhost image, reducing
the number of images that have to be pulled and used.

This PR replaces the usage of the following images with agnhost:

- mounttest
- mounttest-user

Additionally, removes the usage of the mounttest-user image and removes
it from kubernetes/test/images. RunAsUser is set instead of having that image.
2020-02-29 15:05:57 -08:00
Jordan Liggitt
f205e3dd59 Use only v1 CRD resources in e2e tests 2020-02-29 17:34:26 -05:00
Kubernetes Prow Robot
03b7f272c8
Merge pull request #88246 from munnerz/csr-signername-controllers
Update CSR controllers & kubelet to respect signerName field
2020-02-28 23:38:39 -08:00
fengzixu
b67a033de2 Refactor: move generic functions of integration test to util directory 2020-02-29 14:56:39 +09:00
Kubernetes Prow Robot
268d0a1d3a
Merge pull request #85870 from Jefftree/authn-netproxy
Use Network Proxy with Authentication & Authorizer Webhooks
2020-02-28 18:44:39 -08:00
Kubernetes Prow Robot
0d2844f564
Merge pull request #88666 from ingvagabund/scheduler-perf-do-not-override-throughput-labes
scheduler_perf: do not override throughput labels
2020-02-28 12:55:03 -08:00
Kubernetes Prow Robot
0046b4cefb
Merge pull request #88242 from jsafrane/cloning-test
Add block cloning test
2020-02-28 12:54:53 -08:00
Jan Chaloupka
5b3b4de972 scheduler_perf: do not override throughput labels
Throughput labels are currently initialized with a "Name" label.
So we need to append to the map instead of creating a new one.
2020-02-28 16:10:50 +01:00
Elijah Oyekunle
2e187415fd extend CRD map and set validation 2020-02-28 16:00:59 +01:00
Kubernetes Prow Robot
4e4757772f
Merge pull request #88538 from PatrickLang/patch-1
Updating OWNERS for Windows+Azure tests
2020-02-28 02:28:38 -08:00
Jan Safranek
347d841948 Bump CSI hostpath driver
To get block cloning support
2020-02-28 10:45:43 +01:00
Claudiu Belu
06062b15e9 test images: ARG instructions should be first
A few other Dockerfiles had the ARG duplicated as well.
2020-02-28 01:31:05 -08:00
Kubernetes Prow Robot
e25ff53a6f
Merge pull request #88540 from damemi/move-extender-api-to-staging
Move scheduler extender API V1 to staging k8s.io/kube-scheduler
2020-02-27 20:20:52 -08:00
Kubernetes Prow Robot
d6a5fa3bec
Merge pull request #88520 from bertinatto/fix-csi-mock-test-for-conformance
Don't rely on contents of optional Condition fields in CSI mock test
2020-02-27 20:20:38 -08:00
Claudiu Belu
ce30d2d5c8 test images: Skip building manifest list if no image was pushed
For Windows-only images, if there is no image built / pushed, you cannot create
a manifest list.
2020-02-27 19:05:47 -08:00
Kubernetes Prow Robot
5708511499
Merge pull request #88708 from mikedanese/deleteopts
Migrate clientset metav1.DeleteOpts to pass-by-value
2020-03-05 23:09:23 -08:00
Kubernetes Prow Robot
f5df777d50
Merge pull request #88872 from smarterclayton/fix_flake
test: Properly detect container runtime flake in e2e test
2020-03-05 21:40:23 -08:00
Kubernetes Prow Robot
974a8a014f
Merge pull request #88847 from claudiubelu/image-promoter/build-and-push
Image Promoter fixes
2020-03-05 20:04:56 -08:00
Kubernetes Prow Robot
50dd75f9c5
Merge pull request #88773 from vpickard/e2e-topology-manager-sriovdpReady
e2e-topology-manager: Wait for SR-IOV device plugin
2020-03-05 20:04:38 -08:00
Kubernetes Prow Robot
e23e7204f2
Merge pull request #88558 from egernst/e2e_node-PodOverhead
e2e node pod overhead
2020-03-05 20:04:11 -08:00
Kubernetes Prow Robot
34c4407d34
Merge pull request #88152 from fengzixu/master
cleanup: move the test of TaintBasedEvictions features to sig-node
2020-03-05 20:03:43 -08:00
Mike Danese
76f8594378 more artisanal fixes
Most of these could have been refactored automatically but it wouldn't
have been uglier. The unsophisticated tooling left lots of unnecessary
struct -> pointer -> struct transitions.
2020-03-05 14:59:47 -08:00
Mike Danese
aaf855c1e6 deref all calls to metav1.NewDeleteOptions that are passed to clients.
This is gross but because NewDeleteOptions is used by various parts of
storage that still pass around pointers, the return type can't be
changed without significant refactoring within the apiserver. I think
this would be good to cleanup, but I want to minimize apiserver side
changes as much as possible in the client signature refactor.
2020-03-05 14:59:46 -08:00
Mike Danese
c58e69ec79 automated refactor 2020-03-05 14:59:46 -08:00
Clayton Coleman
8c35e32a40
test: Properly detect container runtime flake in e2e test
The condition was not part of the message and so would not
match:

OCI runtime create failed: container_linux.go:349: starting container process caused "process_linux.go:449: container init caused \"rootfs_linux.go:58: mounting \\\"/var/lib/kubelet/pods/128aea1f-bde3-43d5-8b5f-dd86b9a5ef33/volumes/kubernetes.io~secret/default-token-v55hm\\\" to rootfs \\\"/var/lib/docker/overlay2/813487ba91d534ded546ae34f2a05e7d94c26bd015d356f9b2641522d8f0d6da/merged\\\" at \\\"/var/run/secrets/kubernetes.io/serviceaccount\\\" caused \\\"stat /var/lib/kubelet/pods/128aea1f-bde3-43d5-8b5f-dd86b9a5ef33/volumes/kubernetes.io~secret/default-token-v55hm: no such file or directory\\\"\"": unknown

Updated the check and regex.
2020-03-05 14:20:59 -05:00
vpickard
61565b3f6c e2e-topology-manager: Wait for SR-IOV device plugin
Make sure the SR-IOV device plugin is ready, and that
there are enough SR-IOV devices allocatable before
spinning up test pods.

Signed-off-by: vpickard <vpickard@redhat.com>
2020-03-04 10:07:35 -05:00
fengzixu
076132e38a cleanup: move the test of TaintBasedEvictions features to sig-node
1. move the integration test of TaintBasedEvictions to test/integration/node
2. move the e2e test of TaintBasedEvictions e2e test/e2e/node
3. modify the conformance file to adapt the TaintBasedEviction test
2020-03-04 10:28:00 +09:00
Eric Ernst
aa12e1f8c4 e2e_node add test for PodOverhead feature
This test will verify that the Pod cgroup created takes Overhead into
account.

Signed-off-by: Eric Ernst <eric@amperecomputing.com>
2020-02-28 23:00:39 +00:00
Jefftree
1b38199ea8 pass Dialer instead of egressselector to webhooks 2020-02-27 17:47:23 -08:00
Jefftree
d318e52ffe authentication webhook via network proxy 2020-02-27 17:47:23 -08:00
Kubernetes Prow Robot
0bd694033a
Merge pull request #88556 from Huang-Wei/sched-e2e-flake-part2
Fix a scheduler e2e bug on Preemption
2020-02-27 16:12:39 -08:00
jennybuckley
ccd9e4e2de Don't save managedFields if object is too large 2020-02-27 12:41:44 -08:00
Kubernetes Prow Robot
641616362d
Merge pull request #88133 from julianvmodesto/dry-run-tests
Cleanup --dry-run values in tests, docs, and scripts
2020-02-27 11:33:42 -08:00
Mike Dame
18ffaf5608 Move scheduler extender API V1 to staging k8s.io/kube-scheduler 2020-02-27 12:10:59 -05:00
James Munnelly
d5dae04898 certificates: update controllers to understand signerName field
Signed-off-by: James Munnelly <james.munnelly@jetstack.io>
2020-02-27 15:54:31 +00:00
James Munnelly
d7e10f9869 Add Certificate signerName admission plugins 2020-02-27 15:50:14 +00:00
Claudiu Belu
acf84351e4 test images: Rebases nautilus and kitten images
The current agnhost version is 2.12, 2.11 was not previously built as the
VERSION bumps merged one after the other, and the Image Promoter did not get to
build the 2.11 image.
2020-02-27 06:04:01 -08:00
Claudiu Belu
117cbda487 Image Promoter: Allows images to be pushed immediately after being built
In the current version, due to how make works, when building all the conformance
images (make all-push WHAT=all-conformance), ALL the images are being built first
before being pushed.

This PR will allow images to be built and pushed immediately afterwards, so the first
images that have been succesfully built are already pushed and promotable, even if
the the task failed on the last image, or it timed out.
2020-02-27 06:00:03 -08:00
Kubernetes Prow Robot
13beb9b3ce
Merge pull request #87648 from ialidzhikov/enh/golang@1.13.7
Update to golang@1.13.8
2020-02-27 05:17:27 -08:00
James Munnelly
a983356caa Add signerName field to CSR resource spec
Signed-off-by: James Munnelly <james.munnelly@jetstack.io>
2020-02-27 10:17:55 +00:00
Jan Safranek
1f9f2390cb Add block cloning tests
Rework the tests to use InjectContent/TestVolumeClient when at it.
2020-02-27 09:56:15 +01:00
Kubernetes Prow Robot
aaca31c35e
Merge pull request #88453 from Pulkit07/issue882820
[refactor] fold PreemptionExecutionPath into the existing top-level SIGDescribe
2020-02-27 00:15:46 -08:00
ialidzhikov
e26fff5cbc Update to golang@1.13.8
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2020-02-27 09:27:48 +02:00
Claudiu Belu
b6b60f7fa5 test images: Temporarely exclude Windows test images
A previous PR (#76838) introduced the ability to build and publish
Windows Test Images to kubernetes/test/images/image-util.sh.

Additionally, that PR also configured the Image Promoter to use a
few Windows Remote Docker build nodes to build the Windows Test Images,
however, there is a minor issue: the build container has a different $HOME
folder than expected (is: /builder/home, expected: /root - since it's the
root user), and the Remote Docker credentials are mounted in /root.

Because of that, image-build.sh cannot find the credentials it needs.
This will have to be properly fixed, but for now, we can just skip
the Windows image building part.
2020-02-26 22:51:26 -08:00
Claudiu Belu
c57f20b712 tests: Replaces dnsutils image used with agnhost (part 4)
Quite a few images are only used a few times in a few tests. Thus,
the images are being centralized into the agnhost image, reducing
the number of images that have to be pulled and used.

This PR replaces the usage of the following images with agnhost:

- dnsutils

dnsmasq is a Linux specific binary. In order for the tests to also
pass on Windows, CoreDNS should be used instead.
2020-02-26 21:51:23 -08:00
Wei Huang
ef786c9fa2
Setting a Pod's nodeAffinity instead of setting .spec.nodeName directly 2020-02-26 19:06:05 -08:00
Caleb Woodbine
2622a6cace Fix formatting and BUILD 2020-02-27 14:48:39 +13:00
Wei Huang
517a41fe84
Fix an "index out of bound" issue in scheduler preemption e2e 2020-02-26 17:05:46 -08:00
Stephen Augustus
e64169d6b5 build: Enable kube-cross push/pull from K8s Infra GCR
- Search/replace Google Infra kube-cross locations for K8s Infra
- Update kube-cross make targets
  - Don't attempt to pre-pull image (docker build --pull)
    This prevents CI failures when the image under test doesn't exist
    yet in the registry.
  - 'make all' now builds and pushes the kube-cross image
  - Allow 'TAG' to be specified via env var
  - Use 'KUBE_CROSS_VERSION' to represent the kube-cross version
  - Tag kube-cross images with both a kubernetes version
    ('git describe') and a kube-cross version
- Add a GCB (Google Cloud Build) config file (cloudbuild.yaml)

Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-02-26 16:51:01 -05:00
Kubernetes Prow Robot
1deac1e466
Merge pull request #88526 from alculquicondor/multiprofiles-test
Add unit and integration tests for running multiple scheduling profiles
2020-02-26 13:33:49 -08:00
Caleb Woodbine
6b8b08c8ab Create ReplicationController lifecycle test 2020-02-27 09:53:35 +13:00
Kubernetes Prow Robot
9821d0e47e
Merge pull request #88486 from Jefftree/schnake-pr
Adds custom reporter and logic to generate conformance docs and list of tests
2020-02-26 11:53:35 -08:00
Kubernetes Prow Robot
1f11cac310
Merge pull request #88315 from pohly/csi-patch-nodename
e2e: avoid setting NodeName for CSI driver deployments
2020-02-26 11:53:20 -08:00
Pulkit Goyal
10805e0452 [refactor] fold PreemptionExecutionPath into the existing top-level SIGDescribe 2020-02-26 23:17:56 +05:30
Kubernetes Prow Robot
d98975217a
Merge pull request #88525 from mborsz/bench3
Reorder conditions in FindMatchingVolume to avoid calling volumeutil.CheckNodeAffinity in trivial cases
2020-02-26 09:46:40 -08:00
Aldo Culquicondor
07c4982245 Add unit and integration tests for multiple profiles support
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-02-26 10:14:03 -05:00
Patrick Ohly
d71829a1fc e2e: avoid setting NodeName for CSI driver deployments
We don't want to set the name directly because then starting the pod
can fail when the node is temporarily out of resources
(https://github.com/kubernetes/kubernetes/issues/87855).

For CSI driver deployments, we have three options:
- modify the pod spec with custom code, similar
  to how the NodeSelection utility code does it
- add variants of SetNodeSelection and SetNodeAffinity which
  work with a pod spec instead of a pod
- change their parameter from pod to pod spec and then use
  them also when patching a pod spec

The last approach is used here because it seems more general. There
might be other cases in the future where there's only a pod spec that
needs to be modified.
2020-02-26 10:33:29 +01:00
Maciej Borsz
7d59ea8394 Reorder conditions in FindMatchingVolume to avoid checking NodeAffinity
in trivial cases.
2020-02-26 09:20:38 +01:00
Kubernetes Prow Robot
16a7650e2b
Merge pull request #86101 from PatrickLang/fix-cpumaximum
Fix cpu resource limit on Windows
2020-02-26 00:20:26 -08:00
Kubernetes Prow Robot
b6b494b448
Merge pull request #88552 from Huang-Wei/sched-e2e-flake-part1
Fix a scheduler e2e bug on PodTopologySpread scoring
2020-02-25 21:02:54 -08:00
Caleb Woodbine
be7332e917 Fix BUILD 2020-02-26 16:54:20 +13:00
Caleb Woodbine
54f9654799 Fix build failure; Remove unrelated code 2020-02-26 16:10:25 +13:00
Kubernetes Prow Robot
fd5f5cc285
Merge pull request #88471 from claudiubelu/tests/fix-hybrid-network
tests: Fixes Hybrid cluster network test
2020-02-25 18:32:50 -08:00
Kubernetes Prow Robot
86c8a23052
Merge pull request #88009 from davidz627/fix/pdVer
Update version of gcp-compute-persistent-disk-csi-driver used in in-tree tests
2020-02-25 18:32:26 -08:00
Caleb Woodbine
9a8e1a1462 Fix: types.go in BUILD file 2020-02-26 15:07:45 +13:00
Caleb Woodbine
4f1a8e5e38 Add: test to ensure that an event can be fetched, patched, deleted, and listed 2020-02-26 15:07:45 +13:00
Kubernetes Prow Robot
f7c37d387d
Merge pull request #88285 from alculquicondor/multiprofiles-runtime
Add support for multiple scheduling profiles
2020-02-25 16:48:26 -08:00
Wei Huang
5da37d5b5e
Fix a scheduler e2e bug on PodTopologySpread scoring 2020-02-25 15:34:11 -08:00
David Zhu
c6c0bb254a Update version of GCE PD CSI Driver deployed in tests 2020-02-25 13:25:05 -08:00
Kubernetes Prow Robot
b5e95fc73d
Merge pull request #88409 from aojea/affinity
deflake e2e session affinity tests
2020-02-25 11:59:04 -08:00
Patrick Lang
33ef66b927 Updating OWNERS for Windows+Azure tests 2020-02-25 19:56:03 +00:00
Claudiu Belu
8cb84feef3 test images: Updates agnhost guestbook
A previous PR replaced the usage of Redis in the guestbook app test
with Agnhost. The replacement went well for Linux setups and Containers,
which is why the tests are green, but there is a network particularity on
Windows setups which won't allow the test to pass.

The issue was observed with another test hitting the same issue:
https://github.com/kubernetes/kubernetes/issues/83072

Here's exactly what happens during the test:

- frontend containers are created, having the /guestbook endpoint. Its main
  purpose is to forward the call to either agnhost-master (cmd=set), or
  agnhost-slave (cmd=get).
- agnhost-master container is created, having the /set endpoint, and the
  /register endpoint, through which the agnhost-slave containers would
  register to it. Its purpose is to propagate all data received through /set
  to its clients.
- agnhost-slave containers are created, having the /set and /get endpoints.
  They would register to agnhost-master, and then receive any and all updates
  from it, which was then served through the /get endpoint.

For simplicity, all 3 types have the same agnhost subcommand (agnhost guestbook), being
able to satisfy its given purpose. For this, HTTP servers were being used, including
for the /register endpoints. agnhost-master would send its /set updates as /set HTTP
requests. However, because of the issue listed above, agnhost-master did not receive
the client's IP, but rather the container host's IP, resulting in the request being
sent to the wrong destination.

This PR updates the agnhost guestbook subcommand. Now, the agnhost subscriber nodes will
send their own IP to the /register endpoint (/endpoint?host=myip).
2020-02-25 09:45:43 -08:00
Aldo Culquicondor
c048858471 Support multiple scheduling profiles in a single scheduler
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-02-25 11:31:20 -05:00
Kubernetes Prow Robot
fe9073b8c1
Merge pull request #88318 from mborsz/bench
Add BenchmarkSchedulingWaitForFirstConsumerPVs benchmark
2020-02-25 07:52:49 -08:00
Maciej Borsz
bd8ed0a2a7 Add BenchmarkSchedulingWaitForFirstConsumerPVs benchmark 2020-02-25 14:41:14 +01:00
Fabio Bertinatto
34206a610a Don't rely on contents of optional Condition fields in CSI mock test
In order to promote the volume limits e2e test (from CSI Mock driver)
to Conformance, we can't rely on specific output of optional Condition
fields. Thus, this commit changes the test to only check the presence
of the right condition and verify that the optional fields are not empty.
2020-02-25 13:08:57 +01:00
Kubernetes Prow Robot
6b6336e5c0
Merge pull request #88227 from tanjunchen/remove-todo-and-move-code
remove unused and repeat code and remove TODO
2020-02-25 00:52:48 -08:00
Kubernetes Prow Robot
74c0fca37e
Merge pull request #88314 from bertinatto/remove-node-labels-csimock
Avoid adding labels to nodes in CSI mock driver
2020-02-24 19:07:15 -08:00
Ernest Wong
45d69b3a5a
test: don't use hardcoded pod count for memory limit test 2020-02-24 14:34:51 -08:00
John Schnake
2683b1065c Update the conformance list and doc generation logic
The existing walk.go and conformance.txt have a few shortcomings
which we'd like to resolve:
 - difficult to get the full test name due to test context nesting
 - complicated AST logic and understanding necessary due to the
different ways a test can be invoked and written

This changes the AST parsing logic to be much more simple and simply
looks for the comments at/around a specific line. This file/line
information (and the full test name) is gathered by a custom ginkgo
reporter which dumps the SpecSummary data to a file.

Also, the SpecSummary dump can, itself, be potentially useful for
other post-processing and debugging tasks.

Signed-off-by: John Schnake <jschnake@vmware.com>
2020-02-24 14:00:44 -08:00
Kubernetes Prow Robot
607ed67754
Merge pull request #88415 from ingvagabund/readme-for-metrics-based-scheduler-perf-tests
scheduler_perf: describe how to run BenchmarkPerfScheduling manually
2020-02-24 13:11:47 -08:00
Kubernetes Prow Robot
624da8b9a3
Merge pull request #88110 from fromanirh/refactor-get-current-kubelet-conf
e2e: e2e_node: refactor getCurrentKubeletConfig
2020-02-24 13:11:36 -08:00
Patrick Lang
886214f48c Fix recent context change after rebase 2020-02-24 19:53:25 +00:00
Patrick Lang
63ff616aa8 Adding Windows CPU limit tests 2020-02-24 19:46:39 +00:00
Jan Chaloupka
0f3e0b40f6 scheduler_perf: describe how to run BenchmarkPerfScheduling manually 2020-02-24 19:12:00 +01:00
Antonio Ojea
64c4876ccd
Add e2e session affinity timeout test
The service session affinity allows to set the maximum session
sticky timeout.
This commit adds e2e tests to check that the session is sticky
before the timeout and is not after.
2020-02-24 09:48:18 +01:00
Antonio Ojea
e268f033b6
Revert "Mark session affinity tests as [Flaky]"
This reverts commit f00ac0694b.
2020-02-24 09:48:18 +01:00
Antonio Ojea
457c05feb8
deflake e2e session affinity tests
Executing commands in pods is expensive in terms of time and the
execution time is unpredictable and random.
The session affinity tests send several http requests from a pod
to check that the session is sticky. Instead of executing one
http request at a time, we can execute several requests from the
pod at one time and process the output.
2020-02-24 09:48:18 +01:00
Claudiu Belu
fdec0ee121 tests: Create pod for Windows test
A previous commit (#88471) changed the createTestPod function, but didn't update
the service.go consumer, leading to a pod not being created.
2020-02-23 02:09:14 -08:00
Claudiu Belu
1a8183d262 tests: Adds configurable docker conf for test
The image "gcr.io/authenticated-image-pulling/windows-nanoserver:v1" is not a
manifest list, and it is only useful for Windows Server 1809, which means that the
test "should be able to pull from private registry with secret" will fail for
environments with Windows Server 1903, 1909, or any other future version we might
want to test.

This commit adds the the ability to have an alternative private image to pull by
using a configurable docker config file which contains the necessary credentials
needed to pull the image.
2020-02-22 22:21:28 -08:00
Kubernetes Prow Robot
9a8e869590
Merge pull request #88417 from aramase/conformance-nodeport
check ip family for node port connectivity test
2020-02-21 22:30:56 -08:00
Kubernetes Prow Robot
8ac7a5bdc1
Merge pull request #88374 from tanjunchen/remove-TODO-simplify-code
test/e2e/framework/node/:remove TODO and and make some functions private
2020-02-21 18:32:13 -08:00
Kubernetes Prow Robot
26f8535838
Merge pull request #88354 from jiahuif/nodee2e-stack-protector-flags
node-e2e testing: fix alias for stack protector kernel config.
2020-02-21 18:31:51 -08:00
Kubernetes Prow Robot
23045f9247
Merge pull request #88057 from julianvmodesto/remove-deprecated-rolling-update
Remove deprecated rolling-update command
2020-02-21 18:31:30 -08:00
Kubernetes Prow Robot
c69c91987b
Merge pull request #87811 from mborsz/pv
Remove unnecessary calls to GCE API after PD is created
2020-02-21 18:31:01 -08:00
Kubernetes Prow Robot
2e0760c659
Merge pull request #87611 from claudiubelu/test-images/updates-readme
test images: Adds Image Promoter details in the README
2020-02-21 18:30:48 -08:00
Kubernetes Prow Robot
3631887a28
Merge pull request #87215 from egernst/e2e-scheduler
E2e scheduler: introduce e2e test for PodOverhead
2020-02-21 15:44:47 -08:00
Abhishek Raut
f3038d5f5a Add e2e test for stacked NetworkPolicies with overlapping CIDR
Add a new e2e test to test multiple stacked NetworkPolicies with
Except clauses in IPBlock which overlaps with an allowed CIDR in
another NetworkPolicy. This test ensures that the order of the
creation of NetworkPolicies should not matter while evaluating
a Pods access to another Pod.
2020-02-21 15:32:04 -08:00
Anish Ramasekar
c811fc58ef
check ip family for node port connectivity test 2020-02-21 14:43:06 -08:00
Jiahui Feng
68b7564e7e fix alias for stack protector kernel config.
- fix YAML syntax
- alias -> aliases
- no need for CONFIG prefix
- add renamed config since 4.18
2020-02-21 11:04:48 -08:00
Eric Ernst
1d896db61c e2e-scheduling: add basic PodOverhead test
Add a test to verify that Overhead is being considered during
predication.

Signed-off-by: Eric Ernst <eric.ernst@intel.com>
2020-02-21 08:42:41 -08:00
Fabio Bertinatto
cd5cf567d8 Avoid adding labels to nodes in CSI mock driver
It's unnecessary to add labels to nodes because we're already
using NodeSelection to schedule pods on specific nodes.
2020-02-21 14:33:56 +01:00
Claudiu Belu
bb0a5ab016 tests: Fixes Hybrid cluster network test
Previously, we've centralized several images into agnhost, including
test-webserver.

The Hybrid cluster network test was using the test-webserver image, and
was updated to use agnhost, but without properly making it so it behaves like
test-webserver, resulting in a failing test.
2020-02-21 04:37:45 -08:00
tanjunchen
7c3f6fa323 test/e2e/framework/node/:remove TODO and make some functions private 2020-02-21 18:45:09 +08:00
Claudiu Belu
91dc590cde test images: Adds building README
Adds a README explaining the image building process, including the
Windows Container image building process.
2020-02-21 02:11:26 -08:00
Claudiu Belu
b71fbdb364 Image Promoter: Adds Windows build nodes for Windows test images
We have added and enabled the Image Promoter on the k/k test images, which
will build the conformance images after a PR that affects kubernetes/test/images
merges.

We have added support for image-util.sh to handle external Windows Docker connections
in order to build Windows images.

This PR enables the Image Promoter to use some Windows nodes to build the necessary
Windows images.
2020-02-21 02:09:49 -08:00
Claudiu Belu
fe15a46939 test images: Use multiple Windows nodes to build images
In order to build Windows container images for multiple OS versions,
--isolation=hyperv is required. However, not all clouds / nodes supports
or have it enabled by default, which is why we're going to rely on
having multiple nodes to build the Windows images, until this issue
is addressed.
2020-02-21 02:09:49 -08:00
Claudiu Belu
3cdb7a89cb test images: Adds multiple Windows channels support
This commit adds support for building test images for multiple
Windows versions, as we have to support both LTS and SAC channels.

With this, the format for Windows images in the BASEIMAGE files is:

OS/ARCH/OS_VERSION

Also adds --isolation-hyperv to the Windows docker build command, making sure
that container images for multiple OS versions can be built using the same
Windows node.
2020-02-21 02:09:49 -08:00
Claudiu Belu
296464d968 test images: Adds Windows support (part 1)
Adds Windows support to the test/images/image-util.sh script.

A Windows node with Docker installed is required to build Windows images.
The connection URL to it must be set in the REMOTE_DOCKER_URL env variable.
Additionally, the authentication to the remote docker node is done through
certificates, which must be found in ~/.docker.

By default, the REMOTE_DOCKER_URL env variable is set to "" in the Makefile,
and because of it, the image-util.sh script will skip building and pushing
Windows images.

Added GOOS argument to the go build process in order to be able to build
Windows binaries. Additionally, the OS env variable was added to the images
Makefiles (default value is "linux") in order to maintain default behaviour.

Some images require a different Dockerfile for Windows images, since they
have different ways of installing dependencies. Because of this, if a image
needs to be built for Windows, it will first check for a Dockerfile_windows
file instead of the default one. If there isn't one, it means that the
same Dockerfile can be used for both Windows and Linux.

All Windows images will be based on the image
"mcr.microsoft.com/windows/servercore:ltsc2019". There are a couple of features
that are needed from this image, especially powershell.

Added busybox image for Windows. Most Windows images will be based on it, which
will help reduce the command line differences between Linux and Windows, but
not entirely.

Added Windows support for agnhost image.
2020-02-21 02:09:49 -08:00
Claudiu Belu
a4ceb143dd images: Changes the image naming template
Changes the image naming template from:

$REGISTRY/$image-$arch:$TAG

to

$REGISTRY/$image:$TAG-$os_name-$arch

The previous naming template would generate a plethora of images (Ai * N images,
where Ai is the number of OS/architectures for the image i and N is the number
of images), while the new naming template will reduce the number of images to N.

The new template also includes the OS name, as we plan to integrate Windows
images into the manifest lists as well.
2020-02-21 02:09:49 -08:00
Claudiu Belu
25b7a13864 images: Configurable BASEIMAGE hierarchy
When building images, their REGISTRY can be set to a custom
one, instead of the default "gcr.io/kubernetes-e2e-test-images" or
"us.gcr.io/k8s-artifacts-prod/e2e-test-images".
Some images are based on other images we're already building
(e.g.: kitten, nautilus), but their base images
are set in the default registry name, which can be undesirable.

This commit addresses this issue.
2020-02-21 02:09:49 -08:00
Claudiu Belu
efcdb929de images: Adds linux/ prefix to BASEIMAGE entries
Windows images will require other base images, and thus, we will need
to explicitly specify the OS type a base image is for in order to
avoid confusion or errors.
2020-02-21 02:09:49 -08:00
Claudiu Belu
22a5fbcfa9 test images: Bumps image versions
The way the images are built is going to be changed, and in order to avoid
overwritting and breaking the current images, the image versions are bumped.
2020-02-21 02:09:49 -08:00
Kubernetes Prow Robot
d675e55915
Merge pull request #88299 from kolyshkin/e2e-framework-log
e2e/test/framework: optimize PrunedStack()
2020-02-20 21:20:46 -08:00
Kubernetes Prow Robot
468af72a15
Merge pull request #88301 from abhiraut/e2e-except
Add e2e test to test Except clause in NetworkPolicy
2020-02-20 16:30:41 -08:00
Kubernetes Prow Robot
1591590030
Merge pull request #88292 from julianvmodesto/add-dry-run
Add --dry-run=server|client|none to more kubectl commands
2020-02-20 16:30:25 -08:00
Kubernetes Prow Robot
57764e34d4
Merge pull request #87921 from Deepthidharwar/cpu-mgr-e2etest-NUMA-nodes
e2e test CPU-Manager: Extend CPUManager e2e tests to run on MultiNUMA node with/without HT
2020-02-20 16:29:57 -08:00
Eric Ernst
e5760015d2 e2e-framework-node: add runtimeclass to dedup code
Similar functionality is required across e2e tests for RuntimeClass.
Let's create runtimeclass as part of the framework/node package.

Signed-off-by: Eric Ernst <eric.ernst@intel.com>
2020-02-20 15:58:52 -08:00
Kir Kolyshkin
78e98da1db test/e2e/framework/log: optimize PrunedStack()
Use bytes instead of strings, and slice in-place filter
(see https://github.com/golang/go/wiki/SliceTricks#filter-in-place)
to avoid copying strings around.

In my benchmark it shows almost 2x improvement:

BenchmarkString-8    	 1477207	     10198 ns/op
BenchmarkBuffer-8    	 1561291	      7622 ns/op
BenchmarkInPlace-8   	 2295714	      5202 ns/op

String is the original implementation, Buffer is an intermediary
one that uses strings.Builder, and InPlace is the one from this commit.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2020-02-20 12:58:26 -08:00
Abhishek Raut
a980a1fa24 Add e2e test to test Except clause in NetworkPolicy
Add a new e2e test to test the Except clauses in IPBlock CIDR
based NetworkPolicies. This test adds an egress rule which
allows client to connect to a CIDR which includes the
ServerPod's IP, however carves an except subnet which excludes
this ServerPod.
2020-02-20 11:32:00 -08:00
Kubernetes Prow Robot
3ae1b0ce80
Merge pull request #88234 from fromanirh/topomgr-e2e-tests-multicnt
e2e topology manager: single-numa-node multi container tests
2020-02-20 10:35:56 -08:00
Francesco Romani
64904d0ab8 e2e: topomgr: extend tests to all the policies
Per https://github.com/kubernetes/enhancements/blob/master/keps/sig-node/0035-20190130-topology-manager.md#multi-numa-systems-tests
we validate only the results for single-numa node policy,
because the is no a simple and reliable way to validate
the allocation performed by the other policies.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2020-02-20 18:22:34 +01:00
Kubernetes Prow Robot
51e8cafd70
Merge pull request #88353 from roycaihw/deflake/run-crd-test
run_crd_tests: wait for pruned CR to be invisible from API
2020-02-20 03:07:14 -08:00
Francesco Romani
a249b93687 e2e: topomgr: address reviewer comments
Signed-off-by: Francesco Romani <fromani@redhat.com>
2020-02-20 10:31:09 +01:00
Kubernetes Prow Robot
937008e3ac
Merge pull request #81226 from claudiubelu/tests/reduce-to-agnhost-part-4
tests: Replaces images used with agnhost (part 4)
2020-02-20 01:13:03 -08:00
Haowei Cai
aecce98a54 wait for pruned CR to be invisible from API 2020-02-19 17:41:13 -08:00
Kubernetes Prow Robot
96dfa3f605
Merge pull request #88341 from tnqn/flaky-networkpolicy-e2e
NetworkPolicy e2e test should wait for Pod ready
2020-02-19 16:12:11 -08:00
Kubernetes Prow Robot
992aa00a46
Merge pull request #85819 from nan-yu/pdb_e2etest
Add more tests for the pod disruption budget endpoints
2020-02-19 16:11:04 -08:00
Julian V. Modesto
a9ec444d74 Add --dry-run to more kubectl commands.
- delete
- taint
- replace
2020-02-19 17:53:21 -05:00
Kubernetes Prow Robot
d4c5637680
Merge pull request #88200 from liu-cong/benchmark
Make MetricCollector configurable for scheduler benchmark tests
2020-02-19 09:38:26 -08:00
Quan Tian
92759ea642 NetworkPolicy e2e test should wait for Pod ready
The test "should enforce egress policy allowing traffic to a server in a
different namespace based on PodSelector and NamespaceSelector
[Feature:NetworkPolicy]" is flaky because it doesn't wait for the server
Pod to be ready before testing traffic via its service, then even the
NetworkPolicy allows it, the SYN packets will be rejected by iptables
because the service has no endpoints at that moment.

This PR fixes it by making it wait for Pods to be ready like other
tests.
2020-02-20 00:32:12 +08:00
Francesco Romani
833519f80b e2e: topomgr: properly clean up after completion
Due to an oversight, the e2e topology manager tests
were leaking a configmap and a serviceaccount.
This patch ensures a proper cleanup

Signed-off-by: Francesco Romani <fromani@redhat.com>
2020-02-19 17:15:42 +01:00
Francesco Romani
7c12251c7a e2e: topomgr: add multi-container tests
Add tests to check alignment of pods which contains more than one
container.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2020-02-19 17:15:42 +01:00
Francesco Romani
8e9d76f1b9 e2e: topomgr: validate all containers in pod
Up until now, the test validated the alignment of resources
only in the first container in a pod. That was just an overlook.
With this patch, we validate all the containers in a given pod.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2020-02-19 17:15:42 +01:00
Francesco Romani
ddc18eae67 e2e: topomgr: autodetect NUMA position of VF devs
Add autodetection code to figure out on which NUMA node are
the devices attached to.
This autodetection work under the assumption all the VFs in
the system must be used for the tests.
Should not this be the case, or in general to handle non-trivial
configurations, we keep the annotations mechanism added to the
SRIOV device plugin config map.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2020-02-19 17:15:42 +01:00
Francesco Romani
0c2827cb50 e2e: topomgr: remove single-numa node hack
On single-NUMA node systems the numa_node of sriov devices was
sometimes reported as "-1" instead of, say, 0. This makes some
tests that should succeed[0] fail unexpectedly.

The reporting works as expected on real multi-NUMA node systems.

This small workaround was added to handle this corner case,
but it makes overall the code less readable and a bit too lenient,
hence we remove it.

+++

[0] on a single NUMA node system some resources are obviously
always aligned if the pod can be admitted. It boils down to the
node capacity at pod admittal time.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2020-02-19 17:15:41 +01:00
Francesco Romani
bb6beb99e5 e2e: topomgr: early check to detect VFs, not PFs
The e2e_node topology_manager check have a early, quick check
to rule out systems without sriov device, thus skipping the tests.

The first version of the ckeck detected PFs, (Physical Functions),
under the assumption that VFs (Virtual Functions) were already been
created. This works because, obviously, you can't have VFs without PFs.

However, it's a little safer and easier to understand if we check
firectly for VFs, bailing out from systems which don't provide them.

Nothing changes for properly configured test systems.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2020-02-19 17:15:41 +01:00
Kubernetes Prow Robot
507a2decf9
Merge pull request #88228 from pohly/node-podlog
podlogs: include node name in prefix
2020-02-19 03:28:25 -08:00
Patrick Ohly
0ec85320cf podlogs: include node name in prefix
This is useful for logs from daemonset pods because for those it is
often relevant which node they ran on because they interact with
resources or other pods on the host.

To keep the log prefix short, it gets limited to a maximum length of
10 characters.
2020-02-19 10:10:23 +01:00
Kubernetes Prow Robot
5cf65077ad
Merge pull request #88016 from jsafrane/wait-for-pod-deletion
Delete pod in volume tests
2020-02-18 22:40:38 -08:00
Kubernetes Prow Robot
3a828af963
Merge pull request #88247 from kolyshkin/e2e-node-selinux-fix
test/e2e/node: fix selinux test failure
2020-02-18 20:58:51 -08:00
Kubernetes Prow Robot
cc36dda7e7
Merge pull request #88288 from sbezverk/endpointslice_v1beta1
Switch EndpointSlice e2e test to use discovery v1beta1 api
2020-02-18 19:10:35 -08:00
Claudiu Belu
f7942290af tests: Replaces images used with agnhost (part 4)
Quite a few images are only used a few times in a few tests. Thus,
the images are being centralized into the agnhost image, reducing
the number of images that have to be pulled and used.

This PR replaces the usage of the following images with agnhost:

- resource-consumer-controller
- test-webserver
2020-02-18 16:29:49 -08:00
Kubernetes Prow Robot
5ab1f3464c
Merge pull request #88126 from johnbelamaric/behaviors-readme
Add a README describing behaviors
2020-02-18 14:04:41 -08:00
Kubernetes Prow Robot
1b2a81e6ad
Merge pull request #87578 from Jefftree/bdd-tooling
Add tooling around validation for Behavior Driven Conformance
2020-02-18 14:04:25 -08:00
Cong Liu
7f56c753b3 Make MetricCollector configurable for scheduler benchmark tests 2020-02-18 14:02:57 -08:00
Serguei Bezverkhi
5b7ae34ead Switch EndpointSlice to use discovery v1beta1 api
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
2020-02-18 16:52:21 -05:00
Nan Yu
b757ca16e2 Add more E2E tests for the ../poddisruptionbudgets endpoint 2020-02-18 11:19:30 -08:00
John Belamaric
ca399e6315 Add a README describing behaviors 2020-02-18 09:23:46 -08:00
Kir Kolyshkin
70a2857998 test/e2e/node: fix selinux test failure
Commit 69a473be3 broke the test case (that was checking
that a file from a volume can't be read) by adding a
(wrong) assumption that error should be nil.

Fix the assumption (we do expect the error here).
Note that we were checking file contents before; now when
we check the error from read, checking the contents is
redundant.

The other issue with the test is SELinux should be in enforcing
mode for this to work, so let's check that first to avoid
false positives.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2020-02-17 09:46:59 -08:00
tanjunchen
119f4df9c5 test/e2e/framework:remove unused code and move const 2020-02-17 23:31:50 +08:00
tanjunchen
9c8d4bedcc test/e2e/framework:remove TODO and make func private 2020-02-17 22:17:54 +08:00
Kubernetes Prow Robot
48def7e7c3
Merge pull request #88105 from Huang-Wei/pts-e2e
Graduate PodTopologySpread to Beta
2020-02-16 18:59:28 -08:00
Kubernetes Prow Robot
3d09d25292
Merge pull request #87992 from marosset/windows-kubelet-stats-test-serial
Run Windows kubelet stats e2e tests serially to reduce test flakes
2020-02-16 10:39:27 -08:00
Francesco Romani
53cda47913 update bazel configuration
Signed-off-by: Francesco Romani <fromani@redhat.com>
2020-02-16 10:07:12 +01:00
Kubernetes Prow Robot
3b22fcc7bd
Merge pull request #88189 from skilxn-go/RemovePreScoreNodeListArguments
[Scheduler Framework]Remove `FilteredNodesStatuses` argument from `PreScore`'s interface
2020-02-15 13:29:28 -08:00
Kubernetes Prow Robot
1c60045db0
Merge pull request #88173 from BenTheElder/gives-a-whole-new-pause
upgrade pause everywhere
2020-02-15 02:11:27 -08:00
skilxn-go
8fd0d8028f Remove FilteredNodesStatuses argument from PreScore interface 2020-02-15 13:53:04 +08:00
Julian V. Modesto
d97169f59a Clean up --dry-run values.
- Clean up --dry-run values in tests, docs, and scripts
- Fix --dry-run for auth reconcile and add a test
2020-02-15 00:43:30 -05:00
Wei Huang
c93dffdfc4
E2E tests for PodTopologySpread 2020-02-14 16:48:35 -08:00
Benjamin Elder
3fb7183215 bump pause to 3.2 in test/ 2020-02-14 14:03:19 -08:00
Kubernetes Prow Robot
d462f80d1b
Merge pull request #88065 from tanjunchen/remove-TODO20200212
test/e2e/framework/:remove TODO and use framework.SingleCallTimeout
2020-02-14 13:11:42 -08:00
Kubernetes Prow Robot
4a45ae3236
Merge pull request #87645 from fromanirh/topomgr-e2e-tests
e2e-topology-manager: single-NUMA-node test
2020-02-14 08:06:19 -08:00
Kubernetes Prow Robot
4e8a7f4a4b
Merge pull request #87355 from mattjmcnaughton/mattjmcnaughton/remove-unnecessary-sudo-from-e2e
Clean up TODO around running test as sudo
2020-02-14 06:10:17 -08:00
Francesco Romani
bb770c0325 e2e: getCurrentKubeletConfig: move in subpkg
Address review comments and move the helper function
in the `framework/kubelet` package to avoid circular deps
(see https://github.com/kubernetes/kubernetes/issues/81245)

Signed-off-by: Francesco Romani <fromani@redhat.com>
2020-02-14 10:51:08 +01:00
Kubernetes Prow Robot
0e37bcedef
Merge pull request #88144 from gavinfish/crlf-lf
Change line terminators from CRLF to LF
2020-02-13 22:44:43 -08:00
Kubernetes Prow Robot
1e84adb6af
Merge pull request #88139 from BenTheElder/pause-manifest
switch pause to docker manifest instead of manifest-tool
2020-02-13 22:44:30 -08:00
Julian V. Modesto
932500c015 Remove deprecated rolling-update command 2020-02-13 23:52:53 -05:00
Kubernetes Prow Robot
4c08717513
Merge pull request #88143 from Huang-Wei/GetPodsInNamespace-bug
Fix a bug in e2epod function
2020-02-13 19:48:26 -08:00
Kubernetes Prow Robot
12eeb34a6d
Merge pull request #88140 from wongma7/websocket-header
Construct http Request using http.NewRequest
2020-02-13 19:48:17 -08:00
Deepthi Dharwar
3342e4a09a Extend CPUManager e2e tests to run on MultiNUMA node with/without HT 2020-02-14 07:59:13 +05:30
drfish
6e933199c9 Change line terminators from CRLF to LF 2020-02-14 09:55:45 +08:00
Kubernetes Prow Robot
e5524f5f1a
Merge pull request #88099 from cheftako/master
Fix gce-cos-master-reboot test
2020-02-13 16:55:33 -08:00
Kubernetes Prow Robot
b5af3b86ed
Merge pull request #87079 from gavinfish/drfish_typo_resetting
Fix typo from reseting to resetting
2020-02-13 16:54:32 -08:00
Kubernetes Prow Robot
176f74e370
Merge pull request #85909 from tnqn/failing-networkpolicy-test
Fix a failing test in NetworkPolicy e2e
2020-02-13 16:54:18 -08:00
Wei Huang
c83a860e9d
Fix a bug in e2epod function 2020-02-13 16:45:16 -08:00
Matthew Wong
ef8627c95e Construct http Request using http.NewRequest 2020-02-13 23:14:42 +00:00
Benjamin Elder
becc4b7d57 remove unused manifest-tool rules 2020-02-13 14:58:26 -08:00
Kubernetes Prow Robot
97dbf3a844
Merge pull request #88104 from sshukun/fix-impossible-condition
Fix impossible condition in test/e2e/framework/resource_usage_gatherer.go
2020-02-13 14:14:27 -08:00
Kubernetes Prow Robot
cf192e690b
Merge pull request #88096 from gavinfish/ginkgo-skip
Move skip method from e2e fw ginkgowrapper to e2e skipper fw
2020-02-13 14:14:16 -08:00
Kubernetes Prow Robot
35bb71d855
Merge pull request #88092 from yujuhong/rm-beta-labels
Replace Beta OS/arch labels with the GA ones
2020-02-13 14:14:02 -08:00
Kubernetes Prow Robot
98709f9821
Merge pull request #88067 from tanjunchen/remove-TODO-20200212-2
test/e2e/framework/util.go: make function LookForString private
2020-02-13 14:13:52 -08:00
Kubernetes Prow Robot
c98fc1f548
Merge pull request #88053 from liggitt/gc-timeout
Add buffer for GC resync retry to GC e2e tests
2020-02-13 14:13:40 -08:00
Kubernetes Prow Robot
b4db96464b
Merge pull request #88002 from alculquicondor/rm_affinity_weight_2
Remove HardPodAffinitySymmetricWeight from v1alpha2 Component Config
2020-02-13 14:13:25 -08:00
Kubernetes Prow Robot
a53b25ae92
Merge pull request #87923 from ingvagabund/move-direct-prometheus-metrics-under-component-base-metrics
Collect some of scheduling metrics and scheduling throughput (vol. 2)
2020-02-13 14:13:11 -08:00
Yu-Ju Hong
bcd975aa65 Replace Beta OS/arch labels with the GA ones
Beta OS/arch labels have been deprecated since 1.14.
This change replaces these labels with the GA ones.
2020-02-13 09:38:51 -08:00
tanjunchen
efec7e64ce remove TODO and use framework.SingleCallTimeout 2020-02-14 01:12:46 +08:00
Aldo Culquicondor
99bda6fac0 Remove HardPodAffinityWeight from v1alpha2
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-02-13 11:59:56 -05:00
Quan Tian
55b687054d Fix updated pod NetworkPolicy e2e test
The test "should allow ingress access from updated pod" fails regardless
of which CNI plugin is enabled. It's because the test assumes the client
Pod can recheck connectivity after updating its label, but the client
won't restart after the first failure, so the second check will always
fail. The PR creates a client Pod with OnFailure RestartPolicy to fix it.

In addition to the above test that checks rule selector takes effect on
updated client pod, the PR adds a test "should deny ingress access to
updated pod" to ensure network policy selector can take effect on updated
server pod.
2020-02-14 00:12:19 +08:00
Jan Chaloupka
7b5534021c Collect some of scheduling metrics and scheduling throughput
In addition to getting overall performance measurements from golang benchmark,
collect metrics that provides information about insides of the scheduler itself.
This is a first step towards improving what we collect about the scheduler.

Metrics in question:
- scheduler_scheduling_algorithm_predicate_evaluation_seconds
- scheduler_scheduling_algorithm_priority_evaluation_seconds
- scheduler_binding_duration_seconds
- scheduler_e2e_scheduling_duration_seconds

Scheduling throughput is computed on the fly inside perfScheduling.
2020-02-13 13:32:09 +01:00
tanjunchen
15bc88785a test/e2e/framework/util.go:make function LookForString private 2020-02-13 20:29:27 +08:00
Francesco Romani
08ba240c6b e2e: e2e_node: refactor getCurrentKubeletConfig
this patch moves the helper getCurrentKubeletConfig function,
used in both e2e and e2e_node tests and previously duplicated,
in the common framework.

There are no intended changes in behaviour.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2020-02-13 12:53:15 +01:00
Kubernetes Prow Robot
8ca96f3e07
Merge pull request #80724 from cceckman/provider-info-e2e
Provide OIDC discovery for service account token issuer
2020-02-13 01:38:35 -08:00
Maciej Borsz
c78c0e949d Remove unnecessary calls to GCE API after PD is created. 2020-02-13 09:57:25 +01:00
Jan Safranek
528adbefe4 Remove client cleanup from TestCleanup
All tests remove the test client pod, usually in TestVolumeClient.
Rename TestCleanup to TestServerCleanup.
In addition, remove few calls to Test(Server)Cleanup that do not do anything
useful (server pod is not used in these tests).
2020-02-13 09:55:53 +01:00
Shukun
7f9e228bd7 Fix impossible condition in test/e2e/framework/resource_usage_gatherer.go 2020-02-13 16:13:19 +09:00
Kubernetes Prow Robot
fb6f5d739b
Merge pull request #88070 from sshukun/remove-tautological-condition
Remove tautological condition in test/e2e/framework/pod/resource.go
2020-02-12 21:37:35 -08:00
Kubernetes Prow Robot
f0c14f291f
Merge pull request #87751 from skilxn-go/Rename
[Scheduler Framework] Rename `PostFilter` plugin to `PreScore`
2020-02-12 21:37:12 -08:00
Kubernetes Prow Robot
a11a8b8691
Merge pull request #87714 from julianvmodesto/use-kubectl-ss-dry-run-flag
Use --dry-run=server in kubectl commands
2020-02-12 21:36:57 -08:00
Kubernetes Prow Robot
1aa21639cf
Merge pull request #88064 from wongma7/webhook-header
Initialize http Request Header before RoundTrip to avoid panic
2020-02-12 19:54:35 -08:00
Kubernetes Prow Robot
4ab8c5393f
Merge pull request #88059 from msau42/refactor-e2e-node-selection
Refactor e2e node selection
2020-02-12 17:54:58 -08:00
Julian V. Modesto
13b80b48cd Use --dry-run=client,server in kubectl.
- Support --dry-run=server for subcommands apply, run, create, annotate,
expose, patch, label, autoscale, apply set-last-applied, drain, rollout undo
- Support --dry-run=server for set subcommands
  - image
  - resources
  - serviceaccount
  - selector
  - env
  - subject
- Support --dry-run=server for create subcommands.
  - clusterrole
  - clusterrolebinding
  - configmap
  - cronjob
  - job
  - deployment
  - namespace
  - poddisruptionbudget
  - priorityclass
  - quota
  - role
  - rolebinding
  - service
  - secret
  - serviceaccount
- Remove GetClientSideDryRun
2020-02-12 20:46:54 -05:00
Walter Fender
e8f67d122f Fix gce-cos-master-reboot test
Adding additional steps to network restart to ensure it restarts.
Also directing output to serial port to make the test debuggable.
2020-02-12 17:07:41 -08:00
drfish
5782d616f2 Move skip method from e2e fw ginkgowrapper to e2e skipper fw 2020-02-13 06:25:43 +08:00
skilxn-go
f5b7e3cca3 Rename PostFilter plugin to PreScore 2020-02-12 23:25:08 +08:00
Kubernetes Prow Robot
460fdc7f48
Merge pull request #87057 from oomichi/add-debugging-msg-issue86678
Add logs of port-forward-tester pod
2020-02-12 05:22:51 -08:00
Shukun
0421b40d79 Remove tautological condition in test/e2e/framework/pod/resource.go 2020-02-12 20:49:24 +09:00
Kubernetes Prow Robot
9f58fb790c
Merge pull request #88033 from dims/avoid-running-docker-specific-test-in-containerd
Avoid running docker specific test in containerd
2020-02-11 23:16:33 -08:00
Kubernetes Prow Robot
6c074f819c
Merge pull request #88003 from misterikkit/vsphere-tags
Add missing tag to vSphere storage E2E tests
2020-02-11 23:15:44 -08:00
Kubernetes Prow Robot
8f07f3a156
Merge pull request #87943 from tanjunchen/move-funcs001
test/e2e/framework:move functions to test/e2e/scheduling/
2020-02-11 23:15:34 -08:00
Kubernetes Prow Robot
c9d4257cbc
Merge pull request #87819 from mortent/SerialFlakyPDBTests
Make DisruptionController eviction tests serial to avoid flakes
2020-02-11 23:14:55 -08:00
Kubernetes Prow Robot
52fb02fdbe
Merge pull request #87718 from wojtek-t/kubelet_not_watching_immutable_secret_configmaps
WatchBasedManager stops  watching immutable objects
2020-02-11 23:14:33 -08:00
Matthew Wong
c048fb19fc Initialize http Request Header before RoundTrip to avoid panic 2020-02-12 06:55:37 +00:00
Michelle Au
d9184b75c9 Convert volume.TestConfig to use NodeSelection
Change-Id: I6adbb53b65e4a4f7e220fc0d91a26dc6bc135c36
2020-02-11 21:13:42 -08:00
Michelle Au
76a4a34dae Pass NodeSelection directly into e2e testsuites so that tests can use them more consistently
Change-Id: I99c8c1d8535a2a2319fbe8216b953c14a56f2763
2020-02-11 20:25:24 -08:00
Jordan Liggitt
242e3ebf01 Add buffer for GC resync retry to GC e2e tests 2020-02-11 22:31:09 -05:00
Michelle Au
fb9f02b5e1 Don't set NodeName directly in Pods so that it still goes through the scheduler
Change-Id: I244b6aac0289a13339f3ac228c4ad9ecf8c07b42
2020-02-11 19:17:41 -08:00
Charles Eckman
5a176ac772 Provide OIDC discovery endpoints
- Add handlers for service account issuer metadata.
- Add option to manually override JWKS URI.
- Add unit and integration tests.
- Add a separate ServiceAccountIssuerDiscovery feature gate.

Additional notes:
- If not explicitly overridden, the JWKS URI will be based on
  the API server's external address and port.

- The metadata server is configured with the validating key set rather
than the signing key set. This allows for key rotation because tokens
can still be validated by the keys exposed in the JWKs URL, even if the
signing key has been rotated (note this may still be a short window if
tokens have short lifetimes).

- The trust model of OIDC discovery requires that the relying party
fetch the issuer metadata via HTTPS; the trust of the issuer metadata
comes from the server presenting a TLS certificate with a trust chain
back to the from the relying party's root(s) of trust. For tests, we use
a local issuer (https://kubernetes.default.svc) for the certificate
so that workloads within the cluster can authenticate it when fetching
OIDC metadata. An API server cannot validly claim https://kubernetes.io,
but within the cluster, it is the authority for kubernetes.default.svc,
according to the in-cluster config.

Co-authored-by: Michael Taufen <mtaufen@google.com>
2020-02-11 16:23:31 -08:00
Davanum Srinivas
f26dbc473d
Avoid running docker specific test in containerd 2020-02-11 14:32:18 -05:00
Jan Safranek
2430c48c10 Delete pod in volume tests
All storage e2e tests should delete pods they use so we can identify issues
on volume cleanup easily.
2020-02-11 12:54:38 +01:00
Kubernetes Prow Robot
dc8208dddc
Merge pull request #87871 from msau42/fix-hostexec
Use NodeSelector instead of NodeName in hostexec Pod
2020-02-10 20:44:01 -08:00
Kubernetes Prow Robot
f8f6229d77
Merge pull request #87950 from tanjunchen/fix-no-non-ascii-characters-/test
test/ : fix non-ascii characters
2020-02-10 17:22:15 -08:00
Kubernetes Prow Robot
921ef35e64
Merge pull request #87949 from 928234269/non_ascii_01
Fix non-ascii characters in test/e2e_node and test/network.
2020-02-10 17:22:01 -08:00
Michelle Au
1ee35e788e Use NodeSelector instead of NodeName in hostexec Pod so that the Pod runs through the scheduler
Change-Id: Ia2f7ad39af318bbe707b43dfea706293ecdf5203
2020-02-10 15:36:04 -08:00
Jonathan Basseri
09121d9686 Add missing tag to vSphere storage E2E tests
This adds the [Feature:vsphere] tag to those vSphere tests which were
missing it. This makes it easier to specifically target the vSphere
storage E2E test suite.
2020-02-10 14:48:55 -08:00
Francesco Romani
70cce5e3f1 e2e: topomgr: introduce sriov setup/teardown funcs
Reorganize the code with setup and teardown functions,
to make room for the future addition of more device plugin
support, and to make the code a bit tidier.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2020-02-10 22:47:54 +01:00
Francesco Romani
2f0a6d2c76 e2e: topomgr: use constants for test limits
Signed-off-by: Francesco Romani <fromani@redhat.com>
2020-02-10 22:47:54 +01:00
Francesco Romani
fee1dba054 e2r: topomgr: improve the test logs
Add clarification to which test is doing what, to make
the test output easier to understand.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2020-02-10 22:47:54 +01:00
Francesco Romani
83c344647f e2e: topomgr: better check for AffinityError
Add a helper function to check if a Pod failed
admission for Topology Affinity Error.
So far we only check the Status.Reason.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2020-02-10 22:47:54 +01:00
Francesco Romani
512a4e8a3e e2e: topomgr: reduce node readiness timeout
Five minutes was initially used only to be overcautious.
From my experiments, the node is ready in usually less than a minute.
Double it to give some buffer space.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2020-02-10 22:47:54 +01:00
Francesco Romani
3b4122bd03 e2e: topomgr: get and use topology hints from conf
TO properly implement some e2e tests, we need to know
some basic topology facts about the system running the tests.
The bare minimum we need to know is how many PCI SRIOV devices
are attached to which NUMA node.

This way we know which core we can reserve for kube services,
and which NUMA socket we can take to test full socket reservation.

To let the tests know the PCI device topology, we use annotations
in the SRIOV device plugin ConfigMap we need anyway.
The format is

```yaml
  metadata:
    annotations:
      pcidevice_node0: "2"
      pcidevice_node1: "0"
```

with one annotation per NUMA node in the system.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2020-02-10 22:47:53 +01:00
Francesco Romani
d9d652e867 e2e: topomgr: initial negative tests
Negative tests is when we request a gu Pod we know the system cannot
fullfill - hence we expect rejection from the topology manager.

Unfortunately, besides the trivial case of excessive cores (request
more socket than a NUMA node provides) we cannot easily test the
devices, because crafting a proper pod will require detailed knowledge
of the hw topology.

Let's consider a hypotetical two-node NUMA system with two PCIe busses,
one per NUMA node, with a SRIOV device on each bus.
A proper negative test would require two SRIOV device, that the system
can provide but not on the same single NUMA node.
Requiring for example three devices (one more than the system provides)
will lead to a different, legitimate admission error.

For these reasons we bootstrap the testing infra for the negative tests,
but we add just the simplest one.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2020-02-10 22:47:53 +01:00
Francesco Romani
ee92b4aae0 e2e: topomgr: add more positive tests
this patch builds on the topology manager e2e infrastructure to
add more positive e2e test cases.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2020-02-10 22:47:53 +01:00
Francesco Romani
1b5801a086 e2e: topomgr: add option to specify the SRIOV conf
We cannot anticipate all the possible configurations
needed by the SRIOV device plugin: there is too much variety.

Hence, we need to allow the test environment to supply
a host-specific ConfigMap to properly configure the device
plugin and avoid false negatives.

We still provide a the default config map as fallback and reference.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2020-02-10 22:47:53 +01:00
Francesco Romani
6687fcc78c e2e: topomgr: autodetect SRIOV resource to use
The SRIOV device plugin can create different resources depending
on both the hardware present on the system and the configuration.
As long as we have at least one SRIOV device, the tests don't actually
care about which specific device is.

Previously, the test hardcoded the most common intel SRIOV device
identifier. This patch lifts the restriction and let the test
autodetect and use what's available.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2020-02-10 22:47:53 +01:00
Francesco Romani
fa26fb6817 e2e: topomgr: check pod resource alignment
This patch extends and completes the previously-added
empty topology manager test for single-NUMA node policy
by adding reporting in the test pod and checking
the resource alignment.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2020-02-10 22:47:53 +01:00
Francesco Romani
cd7e3d626c e2e: topomgr: add test infra
This patch all the testing infra and utilities needed
to run e2e topology manager tests. This include setup
a guaranteed pod which needs some devices.

The simplest real device available for the purpose
are the SRIOV devices, hence we use them.

This patch pulls the SRIOV device plugin from
the official, yet external, repository.
We do it as close as possible for the nvidia GPU plugin.

This patch also performs minor refactoring for some
test framework utilities, needed to support the new
e2e tests.

Finally, we add an empty e2e topology manager test,
to be completed by the next patch.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2020-02-10 22:47:53 +01:00
Francesco Romani
1fdf262137 e2e: topomgr: explicit save the kubelet config
For the sake of readability, save the old Kubelet config
once.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2020-02-10 22:47:53 +01:00
marosset
a4d7a67bbd Run Windows kubelet stats e2e tests serially because it needs to start many pods on a single node 2020-02-10 17:56:33 +00:00
tanjunchen
c2c3c478cd test/e2e/framework:move functions to test/e2e/scheduling/ 2020-02-10 12:34:19 +08:00
Morten Torkildsen
95ddc029fa Make DisruptionController eviction tests serial to avoid flakes 2020-02-09 13:41:07 -08:00
Kubernetes Prow Robot
c5d75749c8 Merge pull request #85029 from serathius/remove-prometheus-test-e2e
Remove references to prometheus is test/e2e
2020-02-09 01:27:52 -08:00
Kubernetes Prow Robot
09b13aec37
Merge pull request #87947 from tanjunchen/remove-TODO-and-unused-code
remove TODO and unused code
2020-02-09 00:19:52 -08:00
tanjunchen
e96b037be3 test/ : fix non-ascii characters 2020-02-09 01:40:44 +08:00
Mike Danese
25651408ae generated: run refactor 2020-02-08 12:30:21 -05:00
tanjunchen
364c6f1173 remove TODO and unused code 2020-02-09 00:38:16 +08:00
Kubernetes Prow Robot
334d788f08 Merge pull request #87299 from mikedanese/ctx
context in client-go
2020-02-08 06:43:52 -08:00
Sakura
44bf3475ea
Fix non-ascii characters in test/e2e_node and test/network.
Signed-off-by: Sakura <longfei.shang@daocloud.io>
2020-02-08 17:47:19 +08:00
Kubernetes Prow Robot
0f13c5c3d1
Merge pull request #87930 from oomichi/issue/87679-1
Fix non-ascii characters in test/e2e/storage
2020-02-07 18:33:42 -08:00
Kubernetes Prow Robot
d9e574cb00
Merge pull request #87928 from johnbelamaric/show-output-in-test
LogResult if there is an error
2020-02-07 18:33:30 -08:00
Kubernetes Prow Robot
c5cb398826
Merge pull request #87242 from ingvagabund/scheduler-predicates-set-resource-requests
SchedulerPredicates [Serial] validates resource limits of pods that are allowed to run - set resource requests as well
2020-02-07 18:32:42 -08:00
Kubernetes Prow Robot
b61f89dd25
Merge pull request #85321 from MikeSpreitzer/apf-printers
Added server-side printers for API priority and fairness
2020-02-07 18:31:58 -08:00
Mike Danese
2637772298 some manual fixes 2020-02-07 18:17:40 -08:00
Mike Danese
3aa59f7f30 generated: run refactor 2020-02-07 18:16:47 -08:00
Kenichi Omichi
63a15da505 Fix non-ascii characters in test/e2e/storage
These characters are changed unintentionally if other parts of these
files are changed. It is better to fix them to avoid that.
2020-02-07 19:34:48 +00:00
John Belamaric
ba38816d42 LogResult if there is an error 2020-02-07 09:36:02 -08:00
Kubernetes Prow Robot
70807e8d80
Merge pull request #87841 from 928234269/non_ascii_00
Fix non-ascii characters in  test/e2e/node/pods.go
2020-02-07 07:37:45 -08:00
Kubernetes Prow Robot
651b2cfc41
Merge pull request #87910 from johnbelamaric/reduce-pull-flakes
Use longer pod start timeouts for specific tests
2020-02-07 05:58:30 -08:00
Kubernetes Prow Robot
888bfd62c3
Merge pull request #87897 from kubernetes/revert-85861-scheduler-perf-collect-data-items-from-metrics
Revert "Collect some of scheduling metrics and scheduling throughput"
2020-02-07 05:58:06 -08:00
Kubernetes Prow Robot
091b9abae5
Merge pull request #87798 from YuikoTakada/fix_non_ascii_projected_configmap
Fix non-ascii characters in test/e2e/common/projected_configmap.go
2020-02-07 05:57:15 -08:00
Kubernetes Prow Robot
4ea66a35e8
Merge pull request #87201 from aojea/skip_dual
fix e2e dual-stack test flakiness
2020-02-07 05:55:43 -08:00
Kubernetes Prow Robot
9c1e124b15
Merge pull request #87823 from tallclair/test-tokens
Ensure testing credentials are labeled as such
2020-02-06 17:47:29 -08:00
Kubernetes Prow Robot
04498c5955
Merge pull request #87513 from gavinfish/e2e_ingress_manifest
Move IngressFromManifest/IngressToManifest to ingress e2e fw
2020-02-06 17:45:45 -08:00
John Belamaric
bfe696b49c Use longer pod start timeouts for specific tests
The kubelet test here is using a one minute timeout, instead of the
normal framework.PodStartTimeout.

The DNS results validation functions pull several images including
the jessie-dnsutils which is a bit bigger than usual.
2020-02-06 16:41:10 -08:00
Mike Danese
38ecb30c58
Revert "Collect some of scheduling metrics and scheduling throughput" 2020-02-06 10:18:00 -08:00
marosset
e8f12692df adding e2e test to ensure it takes less than 10 seconds to query kubelet stats for windows nodes 2020-02-06 17:59:05 +00:00
Kubernetes Prow Robot
6858c25ee4
Merge pull request #85861 from ingvagabund/scheduler-perf-collect-data-items-from-metrics
Collect some of scheduling metrics and scheduling throughput
2020-02-06 07:05:34 -08:00
Kubernetes Prow Robot
641321c94c
Merge pull request #87358 from tanjunchen/use-e2eskipper-final
test/e2e/framework: remove skip.go and use e2eskipper subpackage
2020-02-05 19:47:33 -08:00
Marek Siarkowicz
30989b648d Remove references to prometheus is test/e2e 2020-02-05 15:54:36 +01:00
Kubernetes Prow Robot
e27245490e
Merge pull request #87793 from msau42/storageclass-name
Add an option to external storage e2es to use a copy of a pre-installed StorageClass
2020-02-05 01:09:06 -08:00
Kubernetes Prow Robot
8f5e8279f6
Merge pull request #87781 from caesarxuchao/fix-webhook-image-bugs
Only set admission review reponse patch type if the patch is not empty
2020-02-05 01:08:23 -08:00
Sakura
b9a586e382
Fix non-ascii characters in test/e2e/node/pods.go
Signed-off-by: Sakura <longfei.shang@daocloud.io>
2020-02-05 15:14:21 +08:00
Kevin Taylor
724fb733d1 Change HostPath to EmptyDir for VolumeSubpathEnvExpansion e2e tests 2020-02-04 19:02:08 +00:00
Jefftree
da4b0b0fa1 Validation for behaviors 2020-02-04 10:45:53 -08:00
Tim Allclair
9d3670f358 Ensure testing credentials are labeled as such 2020-02-04 10:36:05 -08:00
Kubernetes Prow Robot
a71586fac6
Merge pull request #87598 from sureshpalemoni/master
grammar(noun to pod adjective phases) change for pods status in tests
2020-02-04 06:03:27 -08:00
Kubernetes Prow Robot
d52ecd5f70
Merge pull request #86430 from wojtek-t/avoid_thundering_herd_on_etcd
Avoid thundering herd of relists on etcd
2020-02-03 23:09:25 -08:00
YuikoTakada
d8c16a9eb2 Fix non-ascii characters in test/e2e/common/projected_configmap.go 2020-02-04 01:53:15 +00:00
Michelle Au
0c40daddb0 Add an option to external storage e2es to use a copy of a pre-installed StorageClass
Change-Id: I9d7f0384d0071caa41a8d98eea4afa5b17ad0ea3
2020-02-03 17:45:17 -08:00
Chao Xu
6acc75b418 Only set admission review reponse patch type if the patch is not empty 2020-02-03 10:55:31 -08:00
dbenoit
087dc49a0c
fix range copy issue 2020-02-03 11:37:11 -05:00
Claudiu Belu
00cd8c8d92 test images: Adds Image Promoter details in the README
We have enabled the Image Promoter on the k/k test E2E images. This updates the
kubernetes/test/images/README.md file to include information about the images
it runs for, and how to promote the new image from the staging registry to the
regular one.

Cleans up some TODO items, since the Image Centralization Part 4 merged.
2020-02-03 00:13:06 -08:00
Kubernetes Prow Robot
2a17cfbd45
Merge pull request #85960 from johnbelamaric/podspec-behaviors
Initial behavior examples for conformance
2020-02-02 14:47:21 -08:00
Jan Chaloupka
8a1c4a5a88 Collect some of scheduling metrics and scheduling throughput
In addition to getting overall performance measurements from golang benchmark,
collect metrics that provides information about insides of the scheduler itself.
This is a first step towards improving what we collect about the scheduler.

Metrics in question:
- scheduler_scheduling_algorithm_predicate_evaluation_seconds
- scheduler_scheduling_algorithm_priority_evaluation_seconds
- scheduler_binding_duration_seconds
- scheduler_e2e_scheduling_duration_seconds

Scheduling throughput is computed on the fly inside perfScheduling.
2020-02-02 18:02:49 +01:00
Kubernetes Prow Robot
19ca6d30d2
Merge pull request #87437 from apelisse/kubectl-diff-exit-code
kubectl-diff: Return non-1 errors on kubectl failures
2020-02-01 18:33:20 -08:00
Kubernetes Prow Robot
47511ef09c
Merge pull request #87680 from YuikoTakada/fix_non_ascii_runtime
Fix non-ascii characters in test/e2e/common/runtime.go
2020-02-01 09:35:19 -08:00
Kubernetes Prow Robot
b7a1d61462
Merge pull request #87658 from dims/enable-selinux-tags-in-make-targets
Enable selinux tags in make targets
2020-02-01 03:35:35 -08:00
Kubernetes Prow Robot
634b58ba29
Merge pull request #87732 from michmike/patch-1
Update OWNERS
2020-01-31 20:08:24 -08:00
Kubernetes Prow Robot
536c2c8918
Merge pull request #87706 from liggitt/fix-statefulset-conversion
Fix statefulset conversion
2020-01-31 20:08:16 -08:00
Kubernetes Prow Robot
2514c4b130
Merge pull request #87705 from misterikkit/whitespace
Fix comment whitespace
2020-01-31 20:08:05 -08:00
Davanum Srinivas
dfd8e4e467
Enable selinux tags in make targets
In 24d105995d, a fix was made in bazel
based builds to ensure that we add `selinux` tag when we build all
binaries especially the `kubelet`. We need to do the same for in our
hack scripts so things like `make release` will work properly as well.

Some scripts use `GOFLAGS=-tags=providerless` for example, So we should
support the tags to be specified in GOFLAGS as well. We parse out the
tags from there and ensure selinux is added to the list of tags we used
for building the binaries. Note that we add our own `-tags` with the
full set of tags and since we specify our parameter at the end, ours
full list takes precendence
2020-01-31 15:48:44 -05:00
Michael Michael
31df7077e1
Update OWNERS
updating owners/approvers for sig windows to include the two tech leads Deep and Ben
2020-01-31 14:44:55 -06:00
wojtekt
b11b7d354d WatchBasedManager stops watching immutable objects 2020-01-31 20:53:21 +01:00
John Belamaric
becdd79067 Initial example behaviors
Organizes the behaviors directory based on SIG, and provides a few
example behavior descriptions for Pods and Services to start. Note
that these are very incomplete lists of behaviors at this point.
2020-01-31 11:25:55 -08:00
tanjunchen
7ff3a1f8db test/e2e/framework: remove skip.go and use e2eskipper subpackage 2020-02-01 01:18:48 +08:00
Jordan Liggitt
82107ff8ab Restore statefulset conversion that populates apiVersion/kind in volume templates 2020-01-31 07:47:35 -05:00
wojtekt
5dcf08c199 Switch pager to return whether the result was paginated 2020-01-31 11:50:23 +01:00
Kubernetes Prow Robot
1baceba376
Merge pull request #87394 from mattjmcnaughton/mattjmcnaughton/delete-sysctl-runtime-admit-handler
Delete the sysctl runtime admit handler
2020-01-30 21:20:45 -08:00
Kubernetes Prow Robot
d502d3dd6e
Merge pull request #82350 from damemi/ravig-fix-preemption-tests
Fix preemption race conditions on heavily utilized nodes for e2e tests
2020-01-30 18:46:19 -08:00
Kubernetes Prow Robot
11aa07e150
Merge pull request #87385 from krzysied/agnhost_webhook_sidecar
Agnhost webhook sidecar
2020-01-30 16:59:02 -08:00
Jonathan Basseri
b6ba39d013 Fix comment whitespace
This test has a text diagram which used tab characters. By switching to
spaces, the diagram looks correct regardless of IDE settings.
2020-01-30 14:26:39 -08:00
Kubernetes Prow Robot
b32725b80b
Merge pull request #86413 from ohsewon/e2e_typo_fix
Fix cpu manager e2e test typo
2020-01-30 10:31:48 -08:00
Kubernetes Prow Robot
517e886aac
Merge pull request #87670 from liggitt/gc-debug
Add GC e2e debug logging
2020-01-30 05:06:47 -08:00
Kubernetes Prow Robot
53f94d4a02
Merge pull request #87512 from gavinfish/e2e_ingress_independencya
Move GetPortURL to ingress e2e fw
2020-01-30 05:06:12 -08:00
Kubernetes Prow Robot
89714227ff
Merge pull request #78819 from justaugustus/cni
cni: Update CNI version to v0.8.5
2020-01-30 02:12:14 -08:00
Kubernetes Prow Robot
4ee00204ae
Merge pull request #87647 from claudiubelu/image-promoter/cleanup-manifest-list
Image Promoter: Cleans manifest list
2020-01-29 22:11:36 -08:00
Kubernetes Prow Robot
60dd5dbd8b
Merge pull request #87597 from mikedanese/rctx
Refactor context handling in rest.Request
2020-01-29 22:11:03 -08:00
Kubernetes Prow Robot
1f8b18cb3f
Merge pull request #87212 from ii/create-configmap-lifecycle-test
Add: ConfigMap lifecycle test
2020-01-29 22:10:14 -08:00
Suresh Palemoni
6da3b70377 grammar change for pods status in tests
Signed-off-by: Suresh Palemoni <suresh.palemoni@gmail.com>
2020-01-30 09:34:37 +04:00
Kubernetes Prow Robot
ae95a4bfca
Merge pull request #87665 from liggitt/gc-canary
Add foreground deletion check to ensure GC is aware of the new custom type
2020-01-29 17:06:13 -08:00
YuikoTakada
0d9f9fca89 Fix non-ascii characters in test/e2e/common/runtime.go 2020-01-30 01:00:01 +00:00
Jordan Liggitt
215b875dbf Add GC e2e debug logging 2020-01-29 16:21:25 -05:00
Jordan Liggitt
fad11f87b4 Add foreground deletion check to ensure GC is aware of the new custom type 2020-01-29 15:21:18 -05:00
Kubernetes Prow Robot
dba8d60f8c
Merge pull request #87077 from soltysh/remove_run_generators
Remove kubectl run generators
2020-01-29 12:16:14 -08:00
ravisantoshgudimetla
99b301d7e1 Fix preemption race conditions on heavy utilized nodes 2020-01-29 11:54:22 -05:00
Mike Danese
968adfa993 cleanup req.Context() and ResponseWrapper 2020-01-29 08:50:45 -08:00
Mike Danese
d55d6175f8 refactor 2020-01-29 08:50:45 -08:00
Antonio Ojea
fe10c702d2
e2e dual stack retry getting endpoints
the test that need to check the endpoints are flaky.
It retries to get the endpoints several times before failing.
2020-01-29 16:37:23 +01:00
Kubernetes Prow Robot
7883d93877
Merge pull request #87262 from ii/promote-secret-patching-test
Promote: Secret patching test
2020-01-29 07:32:28 -08:00
Kubernetes Prow Robot
29b09c7fb1
Merge pull request #87423 from soltysh/fix_tain_validation
Fix kubectl taint's Complete parsing
2020-01-29 04:46:13 -08:00
Stephen Augustus
1174e6698e cni: Update CNI version to v0.8.5
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-01-29 04:41:29 -05:00
Kubernetes Prow Robot
703a719557
Merge pull request #87219 from ii/create-podtemplate-lifecycle-test
Add: PodTemplate lifecycle test
2020-01-29 00:38:14 -08:00
Stephen Augustus
96f2588b61 cni: Update CNI download URLs to use new GCS bucket (k8s-artifacts-cni)
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-01-29 02:32:22 -05:00
Kubernetes Prow Robot
1590c7b31c
Merge pull request #87371 from ii/promote-limit-range-defaults-test
Add: promotion for LimitRange defaults test to Conformance
2020-01-28 20:46:14 -08:00
YuikoTakada
03974c1ea4 Fix static check failures in test/integration/deployment 2020-01-28 06:08:37 +00:00
Maciej Szulik
6972d6f33a
Fix kubectl taint's Complete parsing 2020-01-27 13:31:22 +01:00
Krzysztof Siedlecki
3593fc69ab bumping agnhost version to 2.10 2020-01-27 11:59:03 +01:00
Krzysztof Siedlecki
dc5791b47a adding sidecar injecting webhook 2020-01-27 11:59:03 +01:00
Kubernetes Prow Robot
9162c5d7f4
Merge pull request #87511 from neolit123/1.18-add-error-handling-in-e2e-after-each
test/e2e/framework: handle the case where BeforeEach was never called
2020-01-26 11:13:02 -08:00
Kubernetes Prow Robot
5441a99db6
Merge pull request #87525 from tanjunchen/remove-TODO001
/test/e2e/framework:remove TODO in  test/e2e/framework/util.go
2020-01-26 07:23:01 -08:00
Kubernetes Prow Robot
089d3e63e5
Merge pull request #86910 from RaunakShah/golint_vspherestorage
Fix golint errors in test/e2e/storage/vsphere
2020-01-25 07:41:01 -08:00
Kubernetes Prow Robot
426b353890
Merge pull request #87260 from ii/promote-test-for-kubernetes-service-in-default-namespace
Promote: find Kubernetes Service in default Namespace
2020-01-25 03:05:01 -08:00
drfish
aaf86537ee Update copyright date for ingress_utils_test.go 2020-01-25 08:27:35 +08:00
Lubomir I. Ivanov
2b389123a5 test/e2e/framework: handle the case where BeforeEach was never called
Some tests under e2e/storage never end up calling the
Framework#BeforeEach() prolog. Handle such cases by returning
early in AfterEach() by checking a new field "beforeEachStarted".

Also add a nil check for ClientSet in AfterEach().
2020-01-25 00:35:26 +02:00
Kubernetes Prow Robot
789dc873f6
Merge pull request #87440 from dims/switch-enable-cadvisor-json-endpoints-flag-to-false
Default the --enable-cadvisor-endpoints flag to disabled
2020-01-24 12:18:45 -08:00
tanjunchen
ecfe31b890 /test/e2e/framework:remove TODO in test/e2e/framework/util.go 2020-01-24 23:56:16 +08:00
Kubernetes Prow Robot
47cade1175
Merge pull request #87479 from caesarxuchao/debug-87473
Debugging 87473, printing out the last state of the dependent
2020-01-24 03:02:56 -08:00
drfish
527d60edb7 Move IngressFromManifest/IngressToManifest to ingress e2e fw 2020-01-24 15:28:59 +08:00
drfish
1461d8bd13 Move GetPortURL to ingress e2e fw 2020-01-24 14:17:10 +08:00
Kubernetes Prow Robot
4a3cbfea89
Merge pull request #87256 from ii/promote-namespace-patch-test
Promote: Namespace patch test
2020-01-23 17:40:45 -08:00
Kubernetes Prow Robot
dc090f80d1
Merge pull request #87406 from haosdent/remove-algo
Remove `scheduler/algorithm/priorities` in import-restrictions
2020-01-23 11:34:24 -08:00
Kubernetes Prow Robot
50fa183d51
Merge pull request #87471 from lavalamp/you-must-wait
don't wait blindly
2020-01-22 20:37:59 -08:00
Kubernetes Prow Robot
4630690eae
Merge pull request #87457 from 928234269/fix_staticcheck03
fix static check errors in test/integration/etcd
2020-01-22 20:37:47 -08:00
Kubernetes Prow Robot
4fc5254c2f
Merge pull request #87456 from mattjmcnaughton/mattjmcnaughton/delete-todo-to-use-docker-client
Delete TODO to use docker client
2020-01-22 20:37:37 -08:00
Kubernetes Prow Robot
03cb6afc1a
Merge pull request #87442 from jennybuckley/smd-3
Update structured-merge-diff dependency to v3
2020-01-22 20:37:26 -08:00
Chao Xu
eafbb67d01 Debugging 87473, printing out the last state of the dependent 2020-01-22 16:34:17 -08:00
Kubernetes Prow Robot
53a394e53f
Merge pull request #87188 from claudiubelu/test-images/centralization-cleanup
test images: Image Promoter fixes
2020-01-22 16:30:50 -08:00
Kubernetes Prow Robot
d4fa3d9b7d
Merge pull request #87265 from oomichi/enable-dependency-check-on-e2e-framework
Enable verify-import-boss check for e2e framework
2020-01-22 14:48:40 -08:00
Daniel Smith
e8c20e1f39 don't wait blindly 2020-01-22 14:10:09 -08:00
Kubernetes Prow Robot
81acde7adc
Merge pull request #87430 from alculquicondor/feat/bind_plugin
Move default binding to a plugin
2020-01-22 12:40:38 -08:00
Aldo Culquicondor
4a5ab84dcc Move default binding to a plugin
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-01-22 14:13:33 -05:00
Kubernetes Prow Robot
a06d16565c
Merge pull request #86184 from vpickard/e2e-topologyManager
e2e-topology-manager: Initial commit for E2E tests
2020-01-22 08:41:14 -08:00
Maciej Szulik
82f97775b7
Remove kubectl run generators 2020-01-22 16:44:00 +01:00
Sakura
8c6d7a7086
fix static check errors in test/integration/etcd
Signed-off-by: Sakura <longfei.shang@daocloud.io>
2020-01-22 23:16:26 +08:00
mattjmcnaughton
9e1c99c4e2
Delete the sysctl runtime admit handler
As of https://github.com/kubernetes/kubernetes/pull/72831, the minimum
docker version is 1.13.1. (and the minimum API version is 1.26). The
only time the `RuntimeAdmitHandler` returns anything other than accept
is when the Docker API version < 1.24. In other words, we can be
confident that Docker will always support sysctl.

As a result, we can delete this unnecessary and docker-specific code.
2020-01-22 08:51:39 -05:00
mattjmcnaughton
d6d08b152e
Delete TODO to use docker client
Re conversation in https://github.com/kubernetes/kubernetes/pull/87373,
we should keep the current behavior (i.e. using the docker binary
instead of the docker client). Delete the TODO instructing us to change
the behavior.
2020-01-22 08:45:07 -05:00
Haosdent Huang
b09e35257a Remove scheduler/algorithm/priorities in import-restrictions 2020-01-22 11:54:28 +08:00
Davanum Srinivas
6ae1b3ea21
Drop the cadvisor test 2020-01-21 21:43:16 -05:00
Kenichi Omichi
30de5bdc46 Enable verify-import-boss check for e2e framework
Due to lack of the line "test/e2e/framework/" in import-boss/main.go
verify-import-boss didn't work for e2e framework.
This makes the check enabled by adding the line.
In addition, this adds some e2e sub framework packages and some
k8s.io/utils packages which were implemented after creating
.import-restrictions to pass the check.
2020-01-22 01:51:54 +00:00
Kubernetes Prow Robot
93e540bec0
Merge pull request #87270 from YuikoTakada/move_skip_e2e_common
Use e2eskipper package in test/e2e/common/
2020-01-21 17:36:34 -08:00
Kubernetes Prow Robot
bae9f61150
Merge pull request #87432 from lavalamp/bkgrnd
fix flaky test "should create a ResourceQuota and capture the life of a replication controller"
2020-01-21 16:27:10 -08:00
Kubernetes Prow Robot
4a106584aa
Merge pull request #85898 from tsmetana/fix-multinode-test-better
Fix multinode storage e2e tests for multizone clusters
2020-01-21 16:26:48 -08:00
Kubernetes Prow Robot
3091ae7aac
Merge pull request #85486 from spiffxp/conformance-liveness-tcp-probe
Promote a TCP socket probe test to Conformance
2020-01-21 16:26:35 -08:00
Antoine Pelisse
38c5f318c9 kubectl-diff: Test return code on failure and changes 2020-01-21 15:34:22 -08:00
jennybuckley
b33fbc84d9 Update Structured Merge Diff to V3 2020-01-21 15:23:13 -08:00
Daniel Smith
24314d228c fix flaky test 2020-01-21 12:27:59 -08:00
Kubernetes Prow Robot
12203f3fd9
Merge pull request #87317 from YuikoTakada/move_skip_e2e_framework
Use e2eskipper package in test/e2e/framework/
2020-01-21 00:15:36 -08:00
Kubernetes Prow Robot
98186e00ed
Merge pull request #87335 from dims/remove-docker/docker-references-from-tests
switch to docker command line in tests/e2e_node
2020-01-20 17:39:37 -08:00
Tomas Smetana
c42e815fb5 Fix multinode storage e2e tests for multizone clusters 2020-01-20 15:01:41 +01:00
YuikoTakada
afe3d5f09f Use e2eskipper package in test/e2e/common/ 2020-01-20 07:58:13 +00:00
Mike Spreitzer
ce12105edc Added server-side printers for the API object types for API priority and fairness 2020-01-20 01:49:05 -05:00
YuikoTakada
e98f4f3ef8 Use e2eskipper package in test/e2e/framework/ 2020-01-20 06:34:07 +00:00
Kubernetes Prow Robot
08dd4f5478
Merge pull request #87357 from yutedz/apisvr-flow-cntl
Add flowcontrol to apiVersionPriorities
2020-01-19 17:07:36 -08:00
Ted Yu
34f0767137 Add flowcontrol to apiVersionPriorities 2020-01-19 14:16:46 -08:00
Caleb Woodbine
bc2aabaaeb Add: promotion for LimitRange defaults test to Conformance 2020-01-19 20:44:42 +00:00
mattjmcnaughton
16de853c5d
Clean up TODO around running test as sudo
Re the TODO, this command no longer needs to be prefixed by `sudo`, as
the test is already running as `root`.
2020-01-18 13:36:57 -05:00
Kubernetes Prow Robot
37d9c22abe
Merge pull request #86377 from wojtek-t/immutable_secrets_api
API for immutable Secrets and ConfigMaps
2020-01-18 05:25:35 -08:00
Kubernetes Prow Robot
f256c0254f
Merge pull request #87221 from YuikoTakada/fix_81657_2
Fix static check failures in test/e2e/instrumentation/monitoring
2020-01-17 21:39:49 -08:00
Davanum Srinivas
d7d316e1e7
switch to docker command line 2020-01-17 21:08:13 -05:00
Kubernetes Prow Robot
3538320d74
Merge pull request #87165 from alculquicondor/cleanup/mv_snapshot_2
Move Snapshot to internal/cache
2020-01-17 17:14:07 -08:00
Aldo Culquicondor
f53d7e55df Move Snapshot from nodeinfo/snapshot to internal/cache
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-01-17 13:29:41 -05:00
Kubernetes Prow Robot
acf64f4501
Merge pull request #87303 from k-toyoda-pi/modify_alias_e2ejob
Modify alias of e2e/framework/job to e2ejob
2020-01-17 10:15:10 -08:00
Kubernetes Prow Robot
127a2edafd
Merge pull request #87298 from mikedanese/prectx
rename some declartions named context in tests
2020-01-17 10:14:57 -08:00
Kubernetes Prow Robot
05b6c32886
Merge pull request #87261 from Huang-Wei/sched-q-sort
Implement default queue sort logic as a scheduler plugin
2020-01-17 01:40:56 -08:00
Kubernetes Prow Robot
fdd575f8dc
Merge pull request #87030 from jiayingz/test-host
In test framework LoadConfig(), use CurrentContext.Server for TestCon…
2020-01-16 23:20:55 -08:00
Kubernetes Prow Robot
02ac661794
Merge pull request #87271 from tanjunchen/move-function-GetKubemarkMasterComponentResoureUsage
move function GetKubemarkMasterComponentResoureUsage and remove long-time TODO
2020-01-16 20:26:55 -08:00
Wei Huang
c712230ac1
Implement default queue sort logic as a scheduler plugin 2020-01-16 19:10:43 -08:00
Kubernetes Prow Robot
90d6484f1c
Merge pull request #87274 from tanjunchen/refactor-function-e2erc.ByNameContainer
test/e2e/framework/rc/:refactor function ByNameContainer remove unused flag
2020-01-16 18:57:17 -08:00
Jiaying Zhang
3698a2540d In test framework LoadConfig(), use CurrentContext.Server for TestContext.Host
if it is unset. Otherwise, kubectl exec through http/kubectl proxy tests in
test/e2e/kubectl/kubectl.go would fail with "--host variable must be set to
the full URI to the api server on e2e run" error.
With this change, running the following tests can now pass:
$ e2e.test --kubeconfig=xxx --ginkgo.focus="should support exec through"
2020-01-16 17:57:21 -08:00
toyoda
0c12ae5240 Modify alias of e2e/framework/job to e2ejob 2020-01-17 10:56:05 +09:00
Kubernetes Prow Robot
2ea483b17e
Merge pull request #87291 from oomichi/i86052-endpoint
Move ValidateEndpointsPorts() to e2e test
2020-01-16 15:54:43 -08:00
Mike Danese
d86fcd8c90 rename some declartions named context in tests 2020-01-16 15:09:28 -08:00
Kubernetes Prow Robot
9277bac9b8
Merge pull request #87003 from odinuge/node-e2e-instance-failure
Add error check for instance insert in node e2e
2020-01-16 13:14:45 -08:00
shahra
18f05ef5b9 Fix golint errors in test/e2e/storage/vsphere 2020-01-16 11:12:31 -08:00
Kubernetes Prow Robot
9ae36ba81a
Merge pull request #87173 from YuikoTakada/move_skip_e2e_asg
Use e2eskipper package in test/e2e/autoscaling
2020-01-16 10:30:24 -08:00
Kenichi Omichi
9952d487d2 Move ValidateEndpointsPorts() to e2e test
ValidateEndpointsPorts() was only used in e2e service tests.
So this moves the function to the tests.
2020-01-16 17:59:08 +00:00
Kubernetes Prow Robot
5d94b19251
Merge pull request #82493 from zouyee/pc
fix ci-kubernetes-node-kubelet-serial Non-system critical priority classes are not allowed to have a value larger than HighestUserDefinablePriority
2020-01-16 07:48:22 -08:00
Kubernetes Prow Robot
9bf218bf86
Merge pull request #86652 from YuikoTakada/fix_readme_testing-manifests
Fix link in readme
2020-01-16 06:12:23 -08:00
Jan Chaloupka
ef1b991ebc SchedulerPredicates [Serial] validates resource limits of pods that are allowed to run - set resource requests as well
NodeResourceFit plugin's Filter method responsible for checking if a pod fits
a given node ignores resource limits and acknowledge resource requests only.
Given both tests validating resource limits of pods were setting only pod resource limits,
ability of NodeResourceFit plugin to properly filter nodes was not tested at all.
2020-01-16 09:14:43 +01:00
tanjunchen
1db3f45dc5 test/e2e/framework/rc/:refactor function ByNameContainer 2020-01-16 13:49:02 +08:00
Kubernetes Prow Robot
fd7c857da7
Merge pull request #87175 from YuikoTakada/move_skip_e2e_cloud
use e2eskipper package in test/e2e/cloud
2020-01-15 21:21:26 -08:00
Kubernetes Prow Robot
ca16ebfa49
Merge pull request #87106 from ialidzhikov/enh/golang@1.13.6
Update to golang@1.13.6
2020-01-15 21:21:15 -08:00
Kubernetes Prow Robot
3a9df0eab3
Merge pull request #87062 from YuikoTakada/move_skip_e2e_auth
Use e2eskipper package in test/e2e/auth
2020-01-15 21:21:01 -08:00
tanjunchen
69461d26d8 move function GetKubemarkMasterComponentResoureUsage 2020-01-16 12:35:39 +08:00
Kubernetes Prow Robot
2b6d875504
Merge pull request #87192 from notpad/inte_test
Add integration test for NodeResourceLimits plugin
2020-01-15 19:04:35 -08:00
Kubernetes Prow Robot
2cbd474597
Merge pull request #86400 from Huang-Wei/fix-flaky-preemption-e2e
Fix a flaky scheduler preemption e2e
2020-01-15 19:04:22 -08:00
YuikoTakada
aa2691eeac Fix static check failures in test/e2e/instrumentation/monitoring 2020-01-16 02:42:07 +00:00
Caleb Woodbine
7ac8f58ff6 Fix: formatting 2020-01-16 00:56:06 +00:00
Caleb Woodbine
3ba8f42f96 Update: podTemplateList name; Fix: initial fetching of PodTemplates 2020-01-16 00:52:57 +00:00
Caleb Woodbine
961c13ecba Fix: formatting 2020-01-15 21:48:23 +00:00
Caleb Woodbine
77e31bd110 Fix: formatting 2020-01-15 21:24:36 +00:00
Caleb Woodbine
2e79da9139 Fix: formatting 2020-01-15 21:23:07 +00:00
Caleb Woodbine
fe91d5fad9 Fix: bazel build errors 2020-01-15 21:18:22 +00:00
Caleb Woodbine
8676fb3cdb Promote: Secret patching test 2020-01-15 20:37:23 +00:00
Caleb Woodbine
4efcb21af8 Promote: find Kuberntes Service in default Namespace 2020-01-15 20:16:02 +00:00
Kubernetes Prow Robot
2da2c3b01b
Merge pull request #87132 from yuxiaobo96/k8s-removeTODO
remove TODO in test/e2e/framework/providers/gce/ingress.go
2020-01-15 11:56:37 -08:00
Caleb Woodbine
b50531a4a4 Update: formatting, cleanup, ExpectEqual statements 2020-01-15 19:49:03 +00:00
Caleb Woodbine
0f528a27ad Promote: Namespace patch test 2020-01-15 19:42:16 +00:00
Kubernetes Prow Robot
fbfbd10c28
Merge pull request #87230 from tanjunchen/remove-TODO-skip.go
remove TODO in test/e2e/framework/skip.go
2020-01-15 08:25:56 -08:00
Kubernetes Prow Robot
14ed35712c
Merge pull request #87168 from misterikkit/timout-err
storage e2e: Add context to timeout errors
2020-01-15 01:22:32 -08:00
Kubernetes Prow Robot
38e5dc6974
Merge pull request #87021 from tanjunchen/remove-the-same-function-test
test/e2e/framework:remove generateWriteBlockCmd due to the repeat to …
2020-01-15 01:22:16 -08:00
Kubernetes Prow Robot
e053c4733d
Merge pull request #86886 from jingxu97/Jan/utilsNil
Fix err variable shadowing issue in storage/utils
2020-01-15 01:21:46 -08:00
Kubernetes Prow Robot
45ad848b10
Merge pull request #87222 from spiffxp/mark-session-affinity-e2e-flaky
Mark session affinity e2e tests as [Flaky]
2020-01-14 22:22:03 -08:00
Kubernetes Prow Robot
7ab9a1de34
Merge pull request #87205 from mortent/DeflakePdbE2eTest
Make sure PDB has observed pods before doing eviction in e2e test
2020-01-14 22:21:54 -08:00
tanjunchen
b4b1e8f7b6 remove TODO in test/e2e/framework/skip.go 2020-01-15 13:44:48 +08:00
Kubernetes Prow Robot
8568d1843d
Merge pull request #87189 from tanjunchen/remove-TODO-liuRandom
remove TODO(random-liu): Move pod wait function into this file
2020-01-14 17:23:20 -08:00
Kubernetes Prow Robot
de04f52feb
Merge pull request #87169 from s-ito-ts/87047_scheduling
Use e2eskipper package in e2e/scheduling and e2e/servicecatalog
2020-01-14 17:23:10 -08:00
Kubernetes Prow Robot
b2c61fa8d3
Merge pull request #87162 from BenTheElder/image-push-dir
set test image cloudbuild directory
2020-01-14 17:22:47 -08:00
Kubernetes Prow Robot
2b9d0fd902
Merge pull request #87153 from mkumatag/multi-arch-nonroot
Multi arch for nonroot image
2020-01-14 17:22:36 -08:00
Kubernetes Prow Robot
821d0e8580
Merge pull request #87121 from yuxiaobo96/k8s-skipper
e2e/gke_local_ssd.go and e2e/gke_node_pools.go:Use e2eskipper package
2020-01-14 17:22:13 -08:00
Kubernetes Prow Robot
42e6d4c4c9
Merge pull request #87103 from tanjunchen/migrate-to-skipper-005
test/e2e/windows/:Use e2eskipper package
2020-01-14 17:22:02 -08:00
Kubernetes Prow Robot
507e7b072d
Merge pull request #87101 from tanjunchen/migrate-to-skipper-003
e2e/instrumentation:Use e2eskipper package
2020-01-14 17:21:51 -08:00
Kubernetes Prow Robot
d4fbb3fe03
Merge pull request #82027 from huffmanca/enable_vsphere_e2e_config
Enabled reading config files for vsphere e2e tests.
2020-01-14 17:20:35 -08:00
Aaron Crickenberger
f00ac0694b Mark session affinity tests as [Flaky]
They've been in the top 10 flakes for a while now, with no
immediate fix pending
2020-01-14 16:52:00 -08:00
Caleb Woodbine
f20945aa41 Fix: formatting 2020-01-15 00:16:24 +00:00
notpad
372d09cd15 Add integration test for NodeResourceLimits plugin 2020-01-15 08:12:58 +08:00
Caleb Woodbine
5a008786e2 Add: PodTemplate lifecycle test 2020-01-15 00:09:02 +00:00
Caleb Woodbine
0fc15708fe Add: ConfigMap lifecycle test 2020-01-14 21:51:27 +00:00
Morten Torkildsen
4673731c0b Make sure PDB has observed pods before doing eviction in e2e test 2020-01-14 12:21:05 -08:00
Jonathan Basseri
99a015705b storage e2e: Add context to timeout errors
Many times an e2e test fails with an unexpected error,
"timed out waiting for the condition".

Useful information may be in the test logs, but debugging e2e test
failures will be much faster if we add context to errors when they
happen.

This change makes sure we add context to all errors returned from
helpers like wait.Poll().
2020-01-14 11:45:38 -08:00
tanjunchen
b60703c172 test/e2e/framework:refactor generateWriteBlockCmd due to the same function 2020-01-14 21:58:27 +08:00
tanjunchen
8b1eb7f973 remove TODO(random-liu): Move pod wait function into this file 2020-01-14 18:36:50 +08:00
YuikoTakada
c402a4bf65 WIP: use e2eskipper package in test/e2e/autoscaling 2020-01-14 06:03:53 +00:00
YuikoTakada
77f482c553 WIP: use e2eskipper package in test/e2e/cloud 2020-01-14 03:24:23 +00:00
yuxiaobo
cb07680ee9 remove TODO in test/e2e/framework/providers/gce/ingress.go
Signed-off-by: yuxiaobo <yuxiaobogo@163.com>
2020-01-14 10:43:03 +08:00
YuikoTakada
16fbb5be33 use e2eskipper package in test/e2e/auth 2020-01-14 02:01:13 +00:00
s-ito-ts
4789e51d8e Use e2eskipper package in e2e/scheduling and e2e/servicecatalog 2020-01-14 01:54:25 +00:00
zouyee
c1de3d6e5b fix ci-kubernetes-node-kubelet-serial Non-system critical priority classes are not allowed to have a value larger than HighestUserDefinablePriority
Signed-off-by: Zou Nengren <zouyee1989@gmail.com>
2020-01-14 09:43:04 +08:00
tanjunchen
07c36de3e2 e2e/instrumentation:Use e2eskipper package 2020-01-14 09:32:39 +08:00
Kubernetes Prow Robot
b008eda8b2
Merge pull request #87125 from yuxiaobo96/k8s-skipper3
test/e2e/ui and test/e2e/upgrades:Use e2eskipper package
2020-01-13 14:00:17 -08:00
Kubernetes Prow Robot
e97212f3d1
Merge pull request #87124 from yuxiaobo96/k8s-skipper2
test/e2e/storage:Use e2eskipper package
2020-01-13 14:00:04 -08:00
Kubernetes Prow Robot
6aa4c7eca8
Merge pull request #87102 from tanjunchen/migrate-to-skipper-004
test/e2e/kubectl test/e2e_kubeadm:Use e2eskipper package
2020-01-13 13:59:40 -08:00
Kubernetes Prow Robot
652cc2ef40
Merge pull request #87073 from tanjunchen/migrate-to-skipper-002
e2e/network/:Use e2eskipper package
2020-01-13 13:59:09 -08:00
Benjamin Elder
e6234519e1 set test image cloudbuild directory 2020-01-13 11:38:19 -08:00
Wei Huang
4083c7d49c
Fix a flaky scheduler preemption e2e
- Use preemptor pod's Status.NominatedNodeName to signal success of the Preemption behavior
- Optimize the test to eliminate unnecessary Pods creation
- Increase timeout from 1 minute to 2 minutes
2020-01-13 09:39:48 -08:00
Manjunath A Kumatagi
f6d58ae3a9 Multi arch for nonroot image 2020-01-13 23:09:39 +05:30
Kubernetes Prow Robot
e265afa2cd
Merge pull request #81170 from claudiubelu/test-images/centralize-image-to-agnhost-part-4
Centralizes images into agnhost (part 4)
2020-01-13 09:37:38 -08:00
Quan Tian
e8017795d1 Fix GetPodLogs failures in NetworkPolicy e2e tests
GetPodLogs always fails when the tests fail, which is because the tests
specify wrong container names when getting logs.

When creating a client Pod, it specifies "<podName>-container" as
container name and "<podName>-" as Pod GenerateName. For instance,
podName "client-a" will result in "client-a-container" as the container
name and "client-a-vx5sv" as the actual Pod name, but it always uses the
actual Pod name to construct the container name when getting logs, e.g.
"client-a-vx5sv-container".

This patch fixes it by specifying the same static container name when
creating Pod and getting logs.
2020-01-13 19:04:24 +08:00
yuxiaobo
07f31b3b17 test/e2e/ui and test/e2e/upgrades:Use e2eskipper package
Signed-off-by: yuxiaobo <yuxiaobogo@163.com>
2020-01-13 14:19:50 +08:00
yuxiaobo
73fb0ab5ec test/e2e/storage:Use e2eskipper package
Signed-off-by: yuxiaobo <yuxiaobogo@163.com>
2020-01-13 14:04:10 +08:00
yuxiaobo
34359176aa e2e/gke_local_ssd.go and e2e/gke_node_pools.go:Use e2eskipper package
Signed-off-by: yuxiaobo <yuxiaobogo@163.com>
2020-01-13 11:22:45 +08:00
wojtekt
7cc3971ee0 Immutable secrets/configmaps tests 2020-01-12 21:09:06 +01:00
ialidzhikov
e1f7b16fa6 Update to golang@1.13.6
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2020-01-12 02:17:40 +02:00
Kubernetes Prow Robot
dd465b82cf
Merge pull request #86939 from msau42/update-sidecars
Update hostpath and mock csi drivers with latest sidecars
2020-01-11 02:43:49 -08:00
Kubernetes Prow Robot
9d1eb45bc6
Merge pull request #86627 from tnqn/flaky-e2e-job
Fix a flaky e2e test of Job completion
2020-01-11 02:43:36 -08:00
Kubernetes Prow Robot
50dcac4ce7
Merge pull request #86857 from ii/create-secret-patching-test
Create test to patch a secret
2020-01-11 00:15:37 -08:00
tanjunchen
f3b9a6e12f test/e2e/windows/:Use e2eskipper package 2020-01-11 15:27:54 +08:00
sunxiaofei03
330159c0a4 fix orphaned pod flexvolume can not be cleaned up 2020-01-11 14:54:48 +08:00
tanjunchen
3d34a814d6 test/e2e/kubectl test/e2e_kubeadm:Use e2eskipper package 2020-01-11 14:32:19 +08:00
tanjunchen
586e1f2325 e2e/network/: Use e2eskipper package 2020-01-11 12:05:10 +08:00
Kenichi Omichi
a19aa1069a Remove duplicated ServiceStartTimeout
ServiceStartTimeout is defined at e2e core framework and the one of
the core is used at many places, but the one of this endpoints/ports.go
is not used at the other places.
So this removes the one of endpoints/ports.go for the cleanup.
2020-01-11 00:03:21 +00:00
Kubernetes Prow Robot
5c3b85a042
Merge pull request #87023 from gavinfish/drfish_cmd_test_apps
Remove workaround for RS bug in cmd apps test
2020-01-10 14:33:37 -08:00
Kubernetes Prow Robot
d0f582c9bf
Merge pull request #87069 from tanjunchen/migrate-to-skipper-001
e2e/node/:Use e2eskipper package
2020-01-10 12:25:40 -08:00
Kubernetes Prow Robot
62f6a4239e
Merge pull request #87061 from k-toyoda-pi/use_skip_e2e_apps
Use e2eskipper package in e2e/apps
2020-01-10 12:25:25 -08:00
Kubernetes Prow Robot
942b526e5c
Merge pull request #87051 from Huang-Wei/remove-prio-util-pkg
Remove scheduler/algorithm/priorities/util package
2020-01-10 12:25:01 -08:00
drfish
5a44cd65fd Fix typo from reseting to resetting 2020-01-10 21:35:06 +08:00
Claudiu Belu
26ea420c0e Image Promoter: Cleans manifest list
The manifest list is stateful, which means that the same list will get amended
with each successive image published. That's unintended, and can lead to the
wrong image being pulled from the manifest list.

Resets the manifest list before amending new images into it.
2020-01-10 00:35:38 -08:00
tanjunchen
8c481022c1 e2e/node/:Use e2eskipper package 2020-01-10 16:21:12 +08:00
Kubernetes Prow Robot
e3f90df767
Merge pull request #87052 from oomichi/add-error-handling-issue86678
Add error handling of CloseWrite()
2020-01-10 00:20:34 -08:00
Quan Tian
c84a371f3d Fix a flaky e2e test of Job completion
The test was flaky because it required the job succeeds 3 times with
pseudorandom 50% failure chance within 15 minutes, while there is an
exponential back-off delay (10s, 20s, 40s …) capped at 6 minutes before
recreating failed pods. As 7 consecutive failures (1/128 chance) could
take 20+ minutes, exceeding the timeout, the test failed intermittently
because of "timed out waiting for the condition".

This PR forces the Pods of a Job to be scheduled to a single node and
uses a hostPath volume instead of an emptyDir to persist data across new
Pods.
2020-01-10 16:04:56 +08:00
toyoda
91dca8ff8c Use e2eskipper package in e2e/apps 2020-01-10 15:08:19 +09:00
Kubernetes Prow Robot
75a8715145
Merge pull request #84058 from claudiubelu/test-image-publishing
test images: Adds E2E test image automated build
2020-01-09 21:58:35 -08:00
Wei Huang
b2159b5d66
Remove scheduler/algorithm/priorities/util package 2020-01-09 20:16:05 -08:00
Kubernetes Prow Robot
387e6931e5
Merge pull request #87031 from oomichi/move-skip
Separate skip as framework subpackage
2020-01-09 20:13:17 -08:00
Kubernetes Prow Robot
d350ace52b
Merge pull request #84373 from serathius/metrics-stability-variables
Allow usage of consts and variables for stable metrics in static analysis
2020-01-09 20:12:49 -08:00
Kenichi Omichi
beb252df16 Add logs of port-forward-tester pod
This adds logs of port-forward-tester pod for investigating a flake
test.
2020-01-10 03:44:02 +00:00
Kenichi Omichi
99b135442c Add error handling of CloseWrite()
The e2e test "Kubectl Port forwarding With a server listening .."
is failed sometimes due to the difference between expected data and
received data. To receive the data, the test does CloseWrite() but
it didn't have the corresponding error handling.
This adds it to investigate the issue more.
2020-01-10 03:14:39 +00:00
Caleb Woodbine
dcd4dcdf21 Update: comments, searching for secrets in lists 2020-01-10 02:38:49 +00:00
drfish
010b885236 Remove workaround for RS bug in cmd apps test 2020-01-10 09:39:54 +08:00
Caleb Woodbine
07e3c46cb4 Add: secret data patch check 2020-01-09 22:05:28 +00:00
Antonio Ojea
58dabc7397
Revert "fix flakes on e2e test TCP CLOSE_WAIT timeout"
This reverts commit 704ec25352.
2020-01-09 20:48:14 +01:00
Kubernetes Prow Robot
91e55c7927
Merge pull request #85154 from johnbelamaric/johnbelamaric-conformance-owners
Add johnbelamaric as conformance code reviewer/approver
2020-01-09 11:32:47 -08:00
Kubernetes Prow Robot
b9c0aa0b2a
Merge pull request #86782 from tanjunchen/remove-TODO-test/e2e/framework/node/resource
remove TODO in test/e2e/framework/node/resource.go
2020-01-09 09:17:58 -08:00
Odin Ugedal
c04ead5fb1
Add error check for instance insert
Not all errors will happen in sync during Instances.Insert(...).Do(), so
it is important to verify the operation object to see why insert fails.
An example is when exceeding the resource quota.

Eg.
could not create instance test-cos-beta-80-12739-29-0: [&{Code:QUOTA_EXCEEDED Location: Message:Quota 'CPUS' exceeded.  Limit: 24.0 in region europe-west6. ForceSendFields:[] NullFields:[]}

This fixes the issue where tests will fail "silently" when instance
insert fails.
2020-01-09 09:49:38 +01:00
Kenichi Omichi
0d86f0a037 Separate skip as framework subpackage 2020-01-09 08:44:55 +00:00
Kubernetes Prow Robot
ef69bc910f
Merge pull request #86991 from oomichi/skip
Move IsAppArmorSupported() from e2e framework
2020-01-08 23:45:44 -08:00
Kubernetes Prow Robot
2c800c5a70
Merge pull request #86985 from ahg-g/ahg-cleanup4
Remove test/integration dependency on predicates and algorithmprovider
2020-01-08 21:29:58 -08:00
Kubernetes Prow Robot
4d41f4809f
Merge pull request #86890 from damemi/move-selector-spread-to-plugin
Move selector spreading priority code to plugin
2020-01-08 21:29:45 -08:00
Kubernetes Prow Robot
9db337be05
Merge pull request #86983 from ahg-g/ahg1-cleanup3
Remove test/e2e dependency on scheduler/predicates package
2020-01-08 19:12:31 -08:00
Kubernetes Prow Robot
5b4d1bf559
Merge pull request #86931 from roycaihw/crd-openapi-deflake
crd openapi e2e: increase waitForOpenAPISchema timeout
2020-01-08 19:12:01 -08:00
Kubernetes Prow Robot
61cf95f2a9
Merge pull request #86366 from mortent/DeflakePDBTest
Change PDB tests to use pod conditions instead of phase
2020-01-08 19:11:39 -08:00
Michelle Au
d829d9b0fd Update hostpath and mock csi drivers with latest sidecars
Change-Id: Ib1db651a94e49bbfb609ac0470794a6b5d0726ec
2020-01-08 18:54:42 -08:00
Kubernetes Prow Robot
2bd9f5737a
Merge pull request #86924 from aojea/tcpclosev6
fix e2e test TCP CLOSE_WAIT
2020-01-08 18:01:39 -08:00
Abdullah Gharaibeh
c86f59610c remove test/integration dependency on predicates and algorithmprovider 2020-01-08 19:51:22 -05:00
Kubernetes Prow Robot
d3f976d345
Merge pull request #86962 from spiffxp/demote-delete-grace-period
Demote Delete Grace Period test to [Flaky]
2020-01-08 14:47:03 -08:00
Kubernetes Prow Robot
8046feb2b3
Merge pull request #86947 from gavinfish/drfish_redundant_nil_check
Remove redundant nil check in apiserver integration test
2020-01-08 14:46:34 -08:00
Kubernetes Prow Robot
af202d207f
Merge pull request #86891 from gnufied/move-publish-unpublish-check
Move publish and unpublish counting up in test
2020-01-08 14:45:53 -08:00
Abdullah Gharaibeh
21202b08d4 remove e2e dependency on scheduler/predicates package 2020-01-08 17:24:42 -05:00
Haowei Cai
326935c1b9 extend crd openapi e2e timeout to deflake the test, plus small improvements:
switch to use discovery rest client, which has higher burst/qps settings;
use jsoniter instead of encoding/json in kube-aggregator downloader.
2020-01-08 11:38:44 -08:00
Mike Dame
d227b7822f Move selector spreading priority code to plugin 2020-01-08 13:37:37 -05:00
Aaron Crickenberger
4d731d92bf Demote Delete Grace Period test to [Flaky]
This is currently the top flake against PRs, so I'm tagging it
as [Flaky]. Flaky tests can't be conformance tests, so I'm
removing it from [Conformance] as well until this is resolved.
2020-01-08 10:12:47 -08:00
Kubernetes Prow Robot
6c677b52a1
Merge pull request #86856 from ii/create-test-for-finding-service-from-listing-all-namespaces
Create test for finding service from listing all namespaces
2020-01-08 06:33:40 -08:00
Christian Huffman
3db91b2bdc Enabled reading config files for vsphere e2e tests 2020-01-08 09:00:40 -05:00
Kenichi Omichi
f3c70a2ed2 Move IsAppArmorSupported() from e2e framework
The function is only used at a single place.
This moves it to the place.
2020-01-08 13:46:50 +00:00
Antonio Ojea
704ec25352
fix flakes on e2e test TCP CLOSE_WAIT timeout
it turns out that the e2e test was not using the timeout used to
hold the CLOSE_WAIT status, hence the test was flake depending
on how fast it checked the conntrack table.

This PR replaces the dependency on ssh using a pod to check the conntrack
entries on the host in a loop, to make the test more robust
and reduce the flakiness due to race conditions and/or ssh issues.

It also fixes a bug trying to grep the conntrack entry, where
the error was swallowed if a conntrack entry wasn't found.
2020-01-08 12:47:53 +01:00
Kubernetes Prow Robot
db1990f48b
Merge pull request #86932 from spiffxp/revert-86708
Revert "fix flakiness on e2e test TCP CLOSE_WAIT timeout"
2020-01-08 02:59:16 -08:00
Kubernetes Prow Robot
35434fdfea
Merge pull request #86901 from tanjunchen/staticcheck-002
staticcheck:test/integration/master/
2020-01-08 02:58:55 -08:00
Kubernetes Prow Robot
c983a3a44e
Merge pull request #86854 from ii/create-namespace-patch-test
Create namespace patch test
2020-01-08 02:58:22 -08:00
gavinfish
68532e0c0f Remove redundant nil check 2020-01-08 15:28:46 +08:00
Kubernetes Prow Robot
110da204f6
Merge pull request #85190 from danielqsj/f-event
refactor events utils in e2e
2020-01-07 22:35:40 -08:00
Claudiu Belu
a3b90584a1 Image Promoter: Bump timeout limit
50 minutes are not enough for building all the conformance images.
Bumps the timeout limit to 90 minutes.
2020-01-07 21:31:47 -08:00
Kubernetes Prow Robot
a38096a069
Merge pull request #87483 from claudiubelu/image-promoter-tty
Image Promoter: Remove -it from docker command
2020-01-23 06:01:02 -08:00
Kubernetes Prow Robot
f0486a6b6a
Merge pull request #87178 from YuikoTakada/fix_81657_1
Fix static check failures in test/e2e/instrumentation/logging/st…
2020-01-23 06:00:49 -08:00
YuikoTakada
e5a2aeeae6 Fix static check failures in test/e2e/instrumentation/logging/stackdriver 2020-01-21 00:43:21 +00:00
Claudiu Belu
30058c9d35 Image Promoter: Remove -it from docker command
It seems that the Image Promoter is running containers without the -t flag, which causes the error:

the input device is not a TTY

Removing the -it from the docker command in kubernetes/test/images/image-util.sh solves this.
2020-01-07 15:34:47 -08:00
Kubernetes Prow Robot
9da4b00d40
Merge pull request #86767 from tanjunchen/move-functions
move functions from e2e/framework/deployment/ to e2e/apps/ and e2e/up…
2020-01-07 14:08:31 -08:00
Caleb Woodbine
9ed55bc520 Add: JSON marshal error failure checking; Fix: formatting 2020-01-07 22:02:41 +00:00
Caleb Woodbine
232da60430 Update: json patch generation 2020-01-07 20:50:16 +00:00
Caleb Woodbine
c53006b1a2 Add: test for finding service from listing all namespaces 2020-01-07 20:42:56 +00:00
Caleb Woodbine
b4fb46409d Update: test secret contains a default label, secrets are listed via default label, patch payload is marshaled instead of written in raw JSON, secret deleted check; Fix: comments, test namespace usage 2020-01-07 19:51:24 +00:00
Aaron Crickenberger
b8cac87646 Revert "fix flakes on e2e test TCP CLOSE_WAIT timeout"
This reverts commit 0b064f34ae.
2020-01-07 11:35:54 -08:00
Morten Torkildsen
81a6cf2847 Change PDB tests to use pod conditions instead of phase 2020-01-07 08:47:47 -08:00
Kubernetes Prow Robot
11a31590e4
Merge pull request #86900 from tanjunchen/staticcheck-001
staticcheck:test/integration/auth/
2020-01-07 07:36:31 -08:00
tanjunchen
8d313f333e staticcheck:test/integration/master/ 2020-01-07 21:56:37 +08:00
Kubernetes Prow Robot
2effc322f2
Merge pull request #86748 from clarklee92/move-e2e/framework/volume
move funs of framework/volume to e2e/storage
2020-01-07 01:12:54 -08:00
Kubernetes Prow Robot
7467f3442c
Merge pull request #86738 from tanjunchen/remove-TODO-test/e2e/framework/auth/helpers
remove  TODO in test/e2e/framework/auth/helpers
2020-01-07 01:12:31 -08:00
Kubernetes Prow Robot
9dab44f23c
Merge pull request #86707 from ialidzhikov/enh/golang@1.13.5
Update to golang@1.13.5
2020-01-07 01:12:18 -08:00
tanjunchen
264a1cf5f6 staticcheck:test/integration/auth/ 2020-01-07 15:23:19 +08:00
Kubernetes Prow Robot
0c77e3a58a
Merge pull request #86653 from tanjunchen/remove-TODO-001
remove TODO: Use return type string instead of []string and update func
2020-01-06 21:06:17 -08:00
Kubernetes Prow Robot
ca70efd741
Merge pull request #86874 from php-coder/patch-1
kubetestgen: improve errors handling
2020-01-06 18:07:18 -08:00
Kubernetes Prow Robot
bd33f62523
Merge pull request #86708 from aojea/tcpClose
fix flakiness on e2e test TCP CLOSE_WAIT timeout
2020-01-06 18:06:31 -08:00
Caleb Woodbine
ab12f460d9 Update: to use framework instead of gomega for testing values 2020-01-07 00:56:19 +00:00
Caleb Woodbine
616003a8e9 Add: OWNERS file - based off of staging/src/k8s.io/apimachinery/OWNERS 2020-01-07 00:50:20 +00:00
Caleb Woodbine
2754cc37ea Update: namespaceName value updating order to prevent error expection 2020-01-06 22:32:19 +00:00
Caleb Woodbine
bd6550fb34 Update: formatting, gomega Expect to framework ExpectEqual, framework creation to standard function 2020-01-06 22:18:29 +00:00
Hemant Kumar
fca9963c24 Move publish and unpublish counting up in test
So as publish and unpublish are counted always
2020-01-06 16:50:55 -05:00
Caleb Woodbine
c5e3ab1248 Fix: formatting, spelling 2020-01-06 21:47:08 +00:00
Kubernetes Prow Robot
c409446d41
Merge pull request #86781 from SataQiu/staticcheck-20200102
Fix staticcheck failures of test/integration/client test/integration/disruption
2020-01-06 13:34:45 -08:00
Kubernetes Prow Robot
f497c4d446
Merge pull request #86743 from clarklee92/move-e2e/framework/viperconfig
e2e: move funs of framework/viperconfig to e2e
2020-01-06 13:34:31 -08:00
Caleb Woodbine
9951a9c98e Add: namespace patch test 2020-01-06 21:21:22 +00:00
Jing Xu
51d5303662 Fix err variable shadowing issue in storage/utils
Issue: https://github.com/kubernetes/kubernetes/issues/86884
This PR fixes the issue that err variable gets shadowed. Because of
this, it might get nil pointer error.

Change-Id: Ib7da918418a7c8148a6ca598db12b3744eb3b7c8
2020-01-06 12:15:29 -08:00
Kubernetes Prow Robot
9781bb60e0
Merge pull request #86438 from klueska/upstream-e2e-approver
Add klueska as an approver in test/e2e_node/OWNERS
2020-01-06 11:12:16 -08:00
Claudiu Belu
4c51eb9063 test images: Image Promoter fixes
Prior to the Image Centralization part 4 (https://github.com/kubernetes/kubernetes/pull/81170),
a PR merged that enables the Image Promoter to run on the k/k test images.

The Image Promoter currently only builds the Conformance-related images, but the
Image Centralization part 4 centralized some of those images into agnhost, so they
need to be removed from the conformance_images list.

Additionally, https://github.com/kubernetes/kubernetes/pull/81226 proposes mounttest-user
image to be removed, and RunAsUser to be used in tests instead.

The image used by the Image Promoter (gcr.io/k8s-testimages/gcb-docker-gcloud:v20190906-745fed4)
is based on busybox, and thus, the sed binary is actually busybox. image-util.sh calls
kube::util::ensure-gnu-sed several times, which ensures that a GNU sed binary exists
(it checks by greping GNU in its --help output). Obviously, it won't match the busybox sed
binary. But the sed usage in image-util.sh is fairly simple, and the busybox sed is sufficient.

Bumps image versions for: jessie-dnsutils, nonewprivs, resource-consumer, sample-apiserver. These
images are included in the conformance_images that are being built by the Image Promoter, so
we're bumping them just to make sure we're not breaking anything and cause all the CIs to fall.
We're going to bump the image versions used in tests in a subsequent PR. The image version was not
bumped for: agnhost, kitten, nautilus, as they were already bumped by the Image Centralization part 4
PR.
2020-01-06 09:08:51 -08:00
Slava Semushin
02885845ff
kubetestgen: improve errors handling
- don't proceed when a file creation has been failed
- handle a possible error from WriteString()
2020-01-06 15:21:54 +00:00
Caleb Woodbine
edd612d9f1 Add: test to patch a secret 2020-01-06 01:31:55 +00:00
Kubernetes Prow Robot
10dc4a0c79
Merge pull request #86822 from ahg-g/ahg-cleanup
Cleanup deprecated scheduler functions/files
2020-01-05 12:37:41 -08:00
Kubernetes Prow Robot
94fa017ee2
Merge pull request #86831 from tanjunchen/remove-unused-code-use-framework
remove unused code and use framework
2020-01-05 03:25:40 -08:00
Kubernetes Prow Robot
2d56d75061
Merge pull request #86730 from ahg-g/ahg1-ds
Break DS controller dependency on scheduler predicates and predicate errors
2020-01-04 14:39:40 -08:00
tanjunchen
c2d41fda6c remove unused code and use framework 2020-01-04 22:24:04 +08:00
Antonio Ojea
0b064f34ae fix flakes on e2e test TCP CLOSE_WAIT timeout
it turns out that the e2e test was no using the timeout used to
hold the CLOSE_WAIT status, hence the test was flake depending
on how fast it checked the conntrack table.

This PR replaces the dependency on ssh using a pod to check the conntrack
entries on the host in a loop, to make the test more robust
and reduce the flakiness due to race conditions and/or ssh issues.

It also fixes a bug trying to grep the conntrack entry, where
the error was swallowed if a conntrack entry wasn't found..
2020-01-04 10:09:25 +01:00
Abdullah Gharaibeh
041e5b5560 addressed comments 2020-01-04 01:14:24 -05:00
Kubernetes Prow Robot
6be12b8235
Merge pull request #86796 from tanjunchen/remove-unused-code-test/e2e/framework/google_compute.go
remove unused code test/e2e/framework/google_compute.go
2020-01-03 21:41:40 -08:00
Abdullah Gharaibeh
d31dcecd20 cleanup unused scheduler functions/files 2020-01-03 19:09:14 -05:00
Abdullah Gharaibeh
7d604c318c Break DS controller on scheduler predicates and predicate errors 2020-01-03 13:05:07 -05:00
Krzysztof Siedlecki
2d95520a3f adding private cluster check 2020-01-03 17:28:39 +01:00
tanjunchen
2371c58a73 remove unused code test/e2e/framework/google_compute.go 2020-01-03 19:04:28 +08:00
SataQiu
17b0b77026 fix staticcheck failures of test/integration/client test/integration/disruption 2020-01-03 17:23:35 +08:00
Kubernetes Prow Robot
b3c4c90a72
Merge pull request #86673 from ahg-g/ahg1-provider
Define algorithm providers in terms of plugins
2020-01-02 22:25:53 -08:00
Kubernetes Prow Robot
ebdde7c9f8
Merge pull request #86768 from tanjunchen/logger-use-framework
if no cycle dependency , use framework in test/e2e_node/
2020-01-02 19:16:15 -08:00
Kubernetes Prow Robot
cc5144ff13
Merge pull request #86160 from notpad/feautre/scheduler_perf
Define workloads specs by YAML
2020-01-02 19:15:41 -08:00
Abdullah Gharaibeh
b535ed3b0c Merge scheduler's ConfigProducerRegistry into LegacyRegistry 2020-01-02 16:40:33 -05:00
tanjunchen
9324664330 remove TODO in test/e2e/framework/node/resource.go 2020-01-02 21:55:58 +08:00
tanjunchen
fc3b210ad8 if no cycle dependency , use framework in test/e2e_node subpackage 2020-01-02 15:52:05 +08:00
tanjunchen
2f0e5b262a move functions from e2e/framework/deployment/ to e2e/apps/ and e2e/upgrades 2020-01-02 13:01:09 +08:00
Claudiu Belu
31ea600b28 images: Adds GOARM to images' Makefiles
In order to build the image binaries, the GOARM variable is required,
but not all Makefiles have it defined, causing the make to fail on
those images.

This adds the require GOARM variable to the Makefiles in question.
2020-01-01 03:33:36 -08:00
Kubernetes Prow Robot
2099c00290
Merge pull request #86745 from Aresforchina/fix-staticcheck-test01
Fix staticcheck failures of test/integration/replicationcontroller
2019-12-31 20:31:39 -08:00
Kubernetes Prow Robot
6b5cf90ecd
Merge pull request #86598 from zhlhahaha/e2e_kubeadm_1410_2
Remove todos for verification of “allowed to post CSR” and "allowed to auto approve CSR" for bootstraptoken group
2019-12-31 15:43:39 -08:00
Kubernetes Prow Robot
63411a137f
Merge pull request #86732 from oomichi/move-WaitForFailure
Move WaitForFailure() to the test
2019-12-31 05:15:39 -08:00
clarklee92
7171f9a7f4 move funs of framework/volume to e2e/storage
Signed-off-by: clarklee92 <clarklee1992@hotmail.com>
2019-12-31 18:43:08 +08:00
Aresforchina
bf47d14c27 Fix staticcheck failures of test/integration/replicationcontroller 2019-12-31 17:16:01 +08:00
Kubernetes Prow Robot
55b692fa48
Merge pull request #86661 from yuxiaobo96/e2e-cleanup-replicaset
e2e:remove func of framework/replicaset to e2e/upgrades/apps/replicas…
2019-12-31 01:00:04 -08:00
Kubernetes Prow Robot
b765dd9e81
Merge pull request #86657 from yuxiaobo96/e2e-cleanup-autoscaling
e2e:remove unused func in /test/e2e/framework/autoscaling/autoscaling…
2019-12-31 00:59:51 -08:00
clarklee92
4d43e9e39b e2e: move funs of framework/viperconfig to e2e
Signed-off-by: clarklee92 <clarklee1992@hotmail.com>
2019-12-31 16:42:30 +08:00
Kubernetes Prow Robot
36db62cd73
Merge pull request #86737 from oomichi/add-test-title-in-TestPreemption
Output test description in TestPreemption
2019-12-30 23:15:39 -08:00
Kubernetes Prow Robot
822a2de262
Merge pull request #86731 from oomichi/use-DeleteSync
Remove Delete/CreateSyncInNamespace()
2019-12-30 20:39:46 -08:00
Kubernetes Prow Robot
d0c719dbd9
Merge pull request #86716 from SataQiu/staticcheck-20191230
Fix staticcheck failures of test/integration/scale test/integration/serviceaccount test/integration/serving test/integration/volume
2019-12-30 20:39:39 -08:00
tanjunchen
587dbc2fed remove TODO in test/e2e/framework/auth/helpers 2019-12-31 11:20:31 +08:00
Kubernetes Prow Robot
adf056230a
Merge pull request #86733 from oomichi/add-debugging-msg
Add debugging message to know the pod status
2019-12-30 18:53:39 -08:00
Howard Zhang
006980c160 Remove Todos for CSR checking
Remove Todos for verification of “allowed to
post CSR” and "allowed to auto approve CSR"
for bootstraptoken group, as these privilege
bindings are not managed by kubeadm source
code

Signed-off-by: Howard Zhang <howard.zhang@arm.com>
2019-12-31 09:49:00 +08:00
Kenichi Omichi
00abe6d505 Output test description in TestPreemption
Now we are facing flake test of TestPreemption due to less available
node. TestPreemption consists of multiple test cases and the resource
is shared in them.
At this time, we cannot see what test cases run before the flake
happens. So it is better to know that to distinguish the cleanup of
pods is not completed or not.
2019-12-31 00:14:03 +00:00
Kenichi Omichi
43d9748d3a Add error handling for Register() call
Register() can return an error as [1], so this adds the error handling.

[1]: f772c9017c/pkg/scheduler/framework/v1alpha1/registry.go (L56)
2019-12-30 23:35:26 +00:00
Kenichi Omichi
253a85db16 Move WaitForFailure() to the test
WaitForFailure() is used at a single e2e test.
So this moves the function to the specific test file for the cleanup.
2019-12-30 23:16:24 +00:00
Kenichi Omichi
99c2e74a23 Add debugging message to know the pod status
The log of a flake test says
"Pod did not start running: timed out waiting for the condition"
but it is hard to know what is actual status of the pod.
So this adds debugging message to know that.
2019-12-30 19:46:15 +00:00
Kenichi Omichi
52ddae0267 Remove Delete/CreateSyncInNamespace()
DeleteSyncInNamespace() was used at an e2e node test and DeleteSync()
only. In addition, the part of the e2e node test can be replaced with
DeleteSync(). CreateSyncInNamespace() is the same thing and can be
replaced with CreateSync(). So this replaces these functions and
removes them for the cleanup.
2019-12-30 18:59:42 +00:00
ialidzhikov
f438def93d Update to golang@1.13.5
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2019-12-30 13:17:17 +02:00
Kubernetes Prow Robot
9b59ba4ef8
Merge pull request #81895 from praseodym/fix-staticcheck-test/images
Fix staticcheck failures for test/images
2019-12-30 00:09:39 -08:00
Kubernetes Prow Robot
1e7c07ac4e
Merge pull request #86655 from k-toyoda-pi/add_alias_apierrors_endpointslice
Add alias of api/errors in endpointslice.go
2019-12-29 21:59:39 -08:00
SataQiu
8c77b96b75 fix staticcheck failures of test/integration/scale test/integration/serviceaccount test/integration/serving test/integration/volume 2019-12-30 13:35:13 +08:00
Kubernetes Prow Robot
a097243cba
Merge pull request #86062 from haosdent/clean-e2e-framework-gpu
e2e: move funs of framework/gpu to e2e_node
2019-12-28 21:23:39 -08:00
Kubernetes Prow Robot
481db52294
Merge pull request #86634 from tanjunchen/remove-unused-code-test-e2e-apps-deployment
remove unused code in test/e2e/apps/deployment
2019-12-28 10:29:39 -08:00
Claudiu Belu
72d66be439 test images: Adds E2E test image automated build
In order for the E2E test images to be automatically built and published
to the staging registry (from which they will be promoted to the regular
E2E test registry), the cloudbuild.yaml file has been added.

The file was added in conformance with [1].

Adds the ability to build all test images:

make -C test/images WHAT=all-images

[1] https://github.com/kubernetes/test-infra/blob/master/config/jobs/image-pushing/README.md
2019-12-28 09:15:03 -08:00
Kubernetes Prow Robot
de3be348a6
Merge pull request #86640 from tanjunchen/move-code-test/e2e/framework/job
move funcs from test/e2e/framework/job to test/e2e/apps
2019-12-27 19:47:51 -08:00
yuxiaobo
572c81ff53 e2e:remove func of framework/replicaset to e2e/upgrades/apps/replicasets.go
Signed-off-by: yuxiaobo <yuxiaobogo@163.com>
2019-12-27 16:37:57 +08:00
YuikoTakada
78c0517691 fix link in readme 2019-12-27 07:32:37 +00:00
yuxiaobo
161c6f4886 e2e:remove unused func in /test/e2e/framework/autoscaling/autoscaling_utils.go
Signed-off-by: yuxiaobo <yuxiaobogo@163.com>
2019-12-27 14:38:05 +08:00
Kubernetes Prow Robot
bcff8bf3aa
Merge pull request #86283 from haosdent/clean-e2e-framework-pv
e2e: move funs of framework/pv to e2e/storage
2019-12-26 21:17:39 -08:00
tanjunchen
f19ed6ccfe remove unused code in test/e2e/apps/deployment 2019-12-27 12:57:00 +08:00
toyoda
dbe7c920e0 Add alias of api/errors in endpointslice.go 2019-12-27 13:56:25 +09:00
tanjunchen
488b94767c remove TODO: Use return type string instead of []string and update func 2019-12-27 11:53:17 +08:00
Kubernetes Prow Robot
305377a2f5
Merge pull request #86541 from tanjunchen/move-replicaset-to-autoscaling_utils
move funcs in replicaset to autoscaling_utils
2019-12-26 18:00:01 -08:00
Kubernetes Prow Robot
4158e7c1de
Merge pull request #85123 from danielqsj/apierrs
Unify aliases for "k8s.io/apimachinery/pkg/api/errors"
2019-12-26 17:59:38 -08:00
tanjunchen
794a8668fa move funcs from test/e2e/framework/job to test/e2e/apps 2019-12-27 09:35:30 +08:00
Kubernetes Prow Robot
13133857af
Merge pull request #86639 from tanjunchen/move-func-2019-12-26
move func EnableAndDisableInternalLB from test/e2e/framework/service …
2019-12-26 16:43:50 -08:00
Kubernetes Prow Robot
04d71d8a7b
Merge pull request #86614 from ahg-g/ahg1-default2
Deprecate scheduler predicate and priority factory registration and associated types
2019-12-26 05:21:38 -08:00
Kubernetes Prow Robot
132d9e2f4f
Merge pull request #86570 from YuikoTakada/remove_NewMetricExporter
Remove unused function NewMetricExporter from e2e test
2019-12-26 03:57:38 -08:00
danielqsj
6596a14d39 add missing alias of api errors under test 2019-12-26 17:29:38 +08:00
danielqsj
fc738cbb1d unify alias of api errors under test 2019-12-26 16:40:45 +08:00
tanjunchen
2af5967310 move func EnableAndDisableInternalLB from test/e2e/framework/service to test/e2e/network 2019-12-26 16:30:06 +08:00
Kubernetes Prow Robot
2914ba8e04
Merge pull request #86573 from zhlhahaha/e2e_kubeadm_1410
add extra group and usage check for bootstraptoken
2019-12-25 21:49:38 -08:00
YuikoTakada
c467a733c3 Remove unused function NewMetricExporter from e2e test 2019-12-26 01:49:26 +00:00
Abdullah Gharaibeh
2b3df3587e Deprecate scheduler predicate and priority factory registration 2019-12-25 20:33:08 -05:00
Haosdent Huang
dbc9929012 e2e: move funs of framework/pv to e2e/storage 2019-12-25 20:39:09 +08:00
Kubernetes Prow Robot
4933d0f1d8
Merge pull request #86466 from yuxiaobo96/e2e-cleanup-deployment
e2e: move funs of framework/deployment/fixtures.go to e2e/apps/deploy…
2019-12-25 01:21:30 -08:00
Kubernetes Prow Robot
02a0d8073d
Merge pull request #86568 from YuikoTakada/remove_NewStaticResourceConsumer
Delete unused function from e2e test autoscaling_utils.go
2019-12-25 00:01:30 -08:00
Howard Zhang
299a9c8cf5 add extra group and usage check for bootstraptoken
kubeadm creates the bootstrap token with extra group
, system:bootstrappers:kubeadm:default-node-token,
should be able to be used for authentication and
signing.

Signed-off-by: Howard Zhang <howard.zhang@arm.com>
2019-12-25 10:23:11 +08:00
Abdullah Gharaibeh
fe7de96ebe cleanup scheduler's in-tree plugins registry naming 2019-12-24 15:56:36 -05:00
SataQiu
21c916c3d2 move Taint and toleration predicate to its Score plugin 2019-12-24 19:22:12 +08:00
yuxiaobo
4123973726 e2e: move funs of framework/deployment/fixtures.go to e2e/apps/deployment.go
Signed-off-by: yuxiaobo <yuxiaobogo@163.com>
2019-12-24 16:23:42 +08:00
tanjunchen
b086d296de move funcs in replicaset to autoscaling_utils 2019-12-24 10:32:15 +08:00
YuikoTakada
11382a3129 Delete unused function from e2e test autoscaling_utils.go 2019-12-24 01:04:01 +00:00
Kubernetes Prow Robot
82c7c86998
Merge pull request #86169 from clarklee92/move-e2e/framework/statefulset
e2e: move funs of framework/statefulset to e2e/apps & e2e/upgrades
2019-12-22 19:57:32 -08:00
Kubernetes Prow Robot
a81bc56dd7
Merge pull request #86321 from liggitt/unconditional-scale-update
Make e2e scale updates unconditional
2019-12-21 05:43:32 -08:00
Kubernetes Prow Robot
9e6d099b3c
Merge pull request #86389 from alvaroaleman/sample-apiserver-localhost
Sample apiserver: Avoid etcd listening on DNS result for "localhost"
2019-12-21 02:59:33 -08:00
Kubernetes Prow Robot
449fe0b1ba
Merge pull request #86397 from gnufied/fix-comparison-of-node-publish-unpublish
Expect NodeUnpublish calls when NodePublish is called
2019-12-20 09:09:32 -08:00
Kubernetes Prow Robot
9fa1e00be9
Merge pull request #83437 from matthyx/startupprobe-beta
Promote StartupProbe to beta for 1.18
2019-12-20 00:59:32 -08:00
Jordan Liggitt
2d2c9a884a Revert "Merge pull request #86376 from xieyanker/kubemark_deployment"
This reverts commit 661a08daf6, reversing
changes made to 8cd8784289.
2019-12-19 23:11:31 -05:00
Kubernetes Prow Robot
641d0290e4
Merge pull request #86399 from ahg-g/ahg1-prioritymeta
InterPodAffinity Priority as Score plugin
2019-12-19 13:39:56 -08:00
Kubernetes Prow Robot
37a5201cf0
Merge pull request #86109 from haosdent/clean-e2e-framework-job
e2e: move funs of framework/job to e2e/upgrades/apps/job
2019-12-19 12:40:42 -08:00
Kubernetes Prow Robot
4c6bed6e4e
Merge pull request #84480 from BrendanSChang/fuzz
Fix validation for metav1 fuzz targets.
2019-12-19 12:40:10 -08:00
Hemant Kumar
d1fb0b57df Expect NodeUnpublish calls when NodePublish is called
While this is looser check than original check, I do not think
we can quite expect NodePublish and NodeUnpublish call counts to match

NodePublishvolume call count may not be same as NodeUnpublishVolume
call count because reconciler may have a mount operation queued up
while previous one is finishing. So, it is not unusual to have more than one
NodePublishVolume call for same pod+volume combination, similarly
unmount may also run more than once.
2019-12-19 14:28:27 -05:00
Abdullah Gharaibeh
119a9a94d1 InterPodAffinity Priority as Score plugin 2019-12-19 13:42:49 -05:00
Kubernetes Prow Robot
810f0c2ae5
Merge pull request #86354 from p0lyn0mial/improve-watch-and-report-e2e
improves watch and report e2e
2019-12-19 10:11:57 -08:00
Kevin Klues
c60802e893 Add klueska as an approver in test/e2e_node/OWNERS 2019-12-19 15:37:03 +01:00
Kubernetes Prow Robot
16c2ae4607
Merge pull request #86411 from liggitt/plugin-test
Isolate kubectl test-cmd plugin tests
2019-12-19 05:52:09 -08:00
Kubernetes Prow Robot
4e35750abc
Merge pull request #86156 from tanjunchen/use-framework-Equal-test-e2e_node
test/e2e_node/:use framework.Equal() instead of using gomega.Expect(b…
2019-12-19 02:39:56 -08:00
Alvaro Aleman
096bdb7121 Sample apiserver: Avoid etcd listening on DNS result for "localhost"
We've had a fun case of `Sample API Server using the current
Aggregator` failing due to DNS returning a response for localhost that
is not 127.0.0.1 and does not exist on the node, causing etcd trying to
bind to a non-existing address and consequently failing. Trying to spare
others this fun :)
2019-12-19 10:41:49 +01:00
Kubernetes Prow Robot
6c98d5515b
Merge pull request #86396 from gnufied/fix-mock-driver-resizing-condition
Wait for resizing condition
2019-12-19 00:38:38 -08:00
Kubernetes Prow Robot
6eb4e7c443
Merge pull request #86315 from liggitt/delete-grace-period-debug
Add debugging for delete grace period e2e flake
2019-12-19 00:38:10 -08:00
Kubernetes Prow Robot
2f39e7304d
Merge pull request #86119 from haosdent/clean-e2e-framework-metrics
e2e: move funs of framework/metrics to e2e_node
2019-12-19 00:37:56 -08:00
Jordan Liggitt
f50638f439 Isolate kubectl test-cmd plugin tests 2019-12-19 01:35:36 -05:00
Kubernetes Prow Robot
661a08daf6
Merge pull request #86376 from xieyanker/kubemark_deployment
change kubemark from ReplicationController to Deployment
2019-12-18 21:49:56 -08:00
sewon.oh
745248dd6f
Fix cpu manager e2e test typo
Signed-off-by: sewon.oh <sewon.oh@samsung.com>
2019-12-19 13:41:05 +09:00
notpad
6511b603c9 Define workloads specs by YAML 2019-12-19 09:08:11 +08:00
Hemant Kumar
03df6320e5 Wait for resizing condition 2019-12-18 17:50:29 -05:00
Aaron Crickenberger
877381550d Revert "promote e2e tests for taint-tolerations in predicates"
This reverts commit 4d3d364d2b.

This commit promoted a test to conformance and also changed the test at
the same time. It should have been split up into two PRs to verify
whether the change had the intended effect. The test is now failing
consistently, so reverting.
2019-12-18 10:01:00 -05:00
xieyanker
48944b94da change kubemark from ReplicationController to Deployment 2019-12-18 15:46:41 +08:00
Kubernetes Prow Robot
127c47caf4
Merge pull request #85512 from serathius/remove-cluster-monitoring
Remove cluster-monitoring
2019-12-17 21:05:57 -08:00
Kubernetes Prow Robot
fc1824fadd
Merge pull request #86348 from soltysh/issue86179
Split cronjob tests, so they don't interfere
2019-12-17 19:48:21 -08:00
Kubernetes Prow Robot
eaa68dd247
Merge pull request #86316 from pierewoj/master
Use private master IP in GCE kubemark tests
2019-12-17 19:47:57 -08:00
Kubernetes Prow Robot
e5f0648c6b
Merge pull request #86284 from ahg-g/ahg1-prefilter2
Register nodeports and noderesources prefilters
2019-12-17 12:01:10 -08:00
Kubernetes Prow Robot
7fdefe5002
Merge pull request #84735 from liggitt/wardle-example-e2e
wardle example e2e
2019-12-17 12:00:28 -08:00
Kubernetes Prow Robot
a1fc96f41e
Merge pull request #84462 from klueska/upstream-cpu-manager-update-state-semantics
Update CPUManager stored state semantics
2019-12-17 12:00:12 -08:00
Kubernetes Prow Robot
0b830f3d68
Merge pull request #83652 from Jefftree/taint-tolerations
promote e2e tests for taint-tolerations in predicates
2019-12-17 09:47:39 -08:00
Maciej Szulik
667aaf33a6
Split cronjob tests, so they don't interfere 2019-12-17 15:36:42 +01:00
Kubernetes Prow Robot
40750a02fa
Merge pull request #84425 from yutedz/e2e-pods-const
Declare constants in pods test as const
2019-12-17 06:18:00 -08:00
Lukasz Szaszkiewicz
869aef61af improves watch and report e2e test to also check IsResourceExpired since the API can return both errors (Gone, Expired) 2019-12-17 14:29:25 +01:00
Abdullah Gharaibeh
b3abfdc9e4 registered nodeports and noderesources prefilters 2019-12-17 07:29:37 -05:00
Kubernetes Prow Robot
9b840a72c9
Merge pull request #86148 from tanjunchen/use-framework-Equal
test/e2e/: use framework.Equal() replace gomega.Expect(...).To(gomega…
2019-12-17 04:19:59 -08:00
Jakub Pierewoj
f9c4551a94 Use private master IP in GCE kubemark tests
Currently hollow nodes communicate with kubemark master using public
master IP, which results in each call going through cloud NAT. Cloud NAT
limitations become performance bottleneck (see kubernetes/perf-tests/issues/874).

To mitigate this, in this change, a second kubeconfig called "internal"
is created. It uses private master IP and is used to set up hollow nodes.

Note that we still need the original kubemark kubeconfig (using public master IP)
to be able to communicate with the master from outside the cluster (when
setting it up or running tests).

Testing:
- set up kubemark cluster, verified apiserver logs to confirm that the call
  from hollow nodes did not go through NAT
2019-12-17 12:49:50 +01:00
Kubernetes Prow Robot
acb2994f77
Merge pull request #86199 from hwdef/clean-e2e-framework
test/e2e: move funcs from test/e2e/pod to other folders
2019-12-16 21:39:03 -08:00
Kubernetes Prow Robot
e2cd6ff235
Merge pull request #86113 from haosdent/clean-e2e-framework-log
e2e: remove unused method in e2e/framework/log
2019-12-16 21:38:54 -08:00
Kubernetes Prow Robot
d97ed7c0d3
Merge pull request #86098 from tanjunchen/clean-e2e-framework-1209
move test/e2e/framework/lifecycle/ test/framework/cloud/gcp
2019-12-16 21:38:43 -08:00
Kubernetes Prow Robot
889030bdd5
Merge pull request #86061 from haosdent/clean-e2e-framework-deployment
e2e: move funs of framework/deviceplugin to e2e_node
2019-12-16 21:38:33 -08:00
Kubernetes Prow Robot
80f03eb2ac
Merge pull request #85453 from claudiubelu/tests/enable-for-windows
tests: Removes [LinuxOnly] tag from a few tests
2019-12-16 21:37:51 -08:00
Jordan Liggitt
5c537915bf Mark '[sig-apps] CronJob should delete successful/failed finished jobs with limit of one job' flaky 2019-12-16 17:05:30 -05:00
Jordan Liggitt
ce3839452e Mark '[sig-scheduling] PreemptionExecutionPath runs ReplicaSets to verify preemption running path' flaky 2019-12-16 17:05:05 -05:00
Jordan Liggitt
2164157113 Make e2e scale updates unconditional 2019-12-16 15:46:35 -05:00
Jordan Liggitt
176c95ff3e Add debugging for delete grace period e2e flake 2019-12-16 14:15:19 -05:00
Jordan Liggitt
d12608017d Mark GCEPD test flaky 2019-12-16 12:06:26 -05:00
Jordan Liggitt
8111bb3d77 Update wardle e2e image 2019-12-16 11:06:11 -05:00
Jordan Liggitt
cad5de706a Build sample-apiserver image using kubernetes 1.17 / go 1.13 2019-12-16 11:06:11 -05:00
hwdef
d45107a00d test/e2e: move funcs from test/e2e/pod to other folders 2019-12-16 11:58:49 +08:00
Mark Janssen
a634e254c1 Fix staticcheck failures for test/images
Errors from staticcheck:
test/images/agnhost/dns/common.go:79:6: func runCommand is unused (U1000)
test/images/agnhost/inclusterclient/main.go:75:16: using time.Tick leaks the underlying ticker, consider using it only in endless functions, tests and the main package, and use time.NewTicker here (SA1015)
test/images/agnhost/net/nat/closewait.go:41:5: var leakedConnection is unused (U1000)
test/images/agnhost/netexec/netexec.go:157:17: printf-style function with dynamic format string and no further arguments should use print-style function instead (SA1006)
test/images/agnhost/netexec/netexec.go:250:18: printf-style function with dynamic format string and no further arguments should use print-style function instead (SA1006)
test/images/agnhost/netexec/netexec.go:317:18: printf-style function with dynamic format string and no further arguments should use print-style function instead (SA1006)
test/images/agnhost/netexec/netexec.go:331:19: printf-style function with dynamic format string and no further arguments should use print-style function instead (SA1006)
test/images/agnhost/netexec/netexec.go:345:19: printf-style function with dynamic format string and no further arguments should use print-style function instead (SA1006)
test/images/agnhost/netexec/netexec.go:357:19: printf-style function with dynamic format string and no further arguments should use print-style function instead (SA1006)
test/images/agnhost/netexec/netexec.go:370:19: printf-style function with dynamic format string and no further arguments should use print-style function instead (SA1006)
test/images/agnhost/netexec/netexec.go:380:9: this value of err is never used (SA4006)
test/images/agnhost/netexec/netexec.go:381:17: printf-style function with dynamic format string and no further arguments should use print-style function instead (SA1006)
test/images/agnhost/netexec/netexec.go:386:17: printf-style function with dynamic format string and no further arguments should use print-style function instead (SA1006)
test/images/agnhost/pause/pause.go:43:23: syscall.SIGKILL cannot be trapped (did you mean syscall.SIGTERM?) (SA1016)
test/images/agnhost/serve-hostname/serve_hostname.go:125:15: the channel used with signal.Notify should be buffered (SA1017)
test/images/agnhost/webhook/patch_test.go:131:13: this value of err is never used (SA4006)
test/images/pets/peer-finder/peer-finder.go:155:6: this value of newPeers is never used (SA4006)
2019-12-15 22:34:27 +01:00
Kubernetes Prow Robot
32883e46d6
Merge pull request #86238 from SataQiu/fix-staticcheck-20191213
Fix staticcheck failures of test/e2e/manifest
2019-12-15 11:07:37 -08:00
Haosdent Huang
973fddd155 e2e: move funs of framework/gpu to e2e_node 2019-12-16 00:53:01 +08:00
Haosdent Huang
4536ed50a0 e2e: move funs of framework/deviceplugin to e2e_node 2019-12-16 00:46:56 +08:00
Haosdent Huang
21e906fba6 e2e: move funs of framework/job to e2e/upgrades/apps/job 2019-12-16 00:30:42 +08:00
Haosdent Huang
8d3a8d5a6c e2e: move funs of framework/metrics to e2e_node 2019-12-16 00:27:58 +08:00
Matthias Bertschy
6603f41a13 Promote StartupProbe to beta for 1.18 2019-12-15 14:49:34 +01:00
Kubernetes Prow Robot
5ead4974e0
Merge pull request #86000 from timoreimann/e2e-support-long-csi-driver-names
e2e: support long CSI driver names
2019-12-14 16:11:36 -08:00
Kubernetes Prow Robot
5135a13e77
Merge pull request #86240 from draveness/patch-4
doc: remove Draven from test package reviewers
2019-12-14 03:25:36 -08:00
Kubernetes Prow Robot
ae57548b2f
Merge pull request #86190 from SataQiu/test-owners-20191212
Promote SataQiu to an approver of test and test/e2e/framework
2019-12-13 16:19:49 -08:00
Kubernetes Prow Robot
6a919f2b54
Merge pull request #85903 from liggitt/disable-deprecated-apis
Remove ability to re-enable serving deprecated APIs
2019-12-13 16:19:36 -08:00
Timo Reimann
a70bec465d e2e: support long CSI driver names
The storage e2e test suite uses given CSI driver names as pod names. For
pod names that also get enriched by a prefix and suffix, it is very easy
to exceed the 63 character limit that pod names are subject to, thereby
causing tests to fail.

This change fixes the described problem by omitting the driver name from
the pod name suffix.

It also allows us to drop VolumeResource.VolType.
2019-12-13 22:54:06 +01:00
Kubernetes Prow Robot
69410eca4b
Merge pull request #86256 from liggitt/testapi
Remove use of testapi package
2019-12-13 12:55:50 -08:00
Kubernetes Prow Robot
6f49555208
Merge pull request #86193 from tanjunchen/clean-test-framework-apps
move funcs from test/e2e/framework to test/e2e/apps
2019-12-13 10:39:08 -08:00
clarklee92
623c4f9f17 e2e: move funs of framework/statefulset to e2e/apps & e2e/upgrades
Signed-off-by: clarklee92 <clarklee1992@hotmail.com>
2019-12-14 02:17:00 +08:00
Jordan Liggitt
749eea7e0f Prune server-side print exemption list 2019-12-13 12:23:39 -05:00
Jordan Liggitt
0387cc7cb3 Update generated files 2019-12-13 12:23:39 -05:00
Jordan Liggitt
f2f22b84cd Delete ReplicationControllerDummy 2019-12-13 12:21:33 -05:00
Jordan Liggitt
18ba6f9482 Remove references to unserved types 2019-12-13 12:21:33 -05:00
Jordan Liggitt
5d5b444c4d Remove use of testapi codecs, selflink, resourcepath functions 2019-12-13 11:56:29 -05:00
Kubernetes Prow Robot
5b77616374
Merge pull request #86177 from deads2k/configure-test
make test framework easier to re-use
2019-12-13 07:57:08 -08:00
Kubernetes Prow Robot
c34d140241
Merge pull request #86129 from damemi/remove-priority-code
Remove priority execution path from prioritizeNodes in generic_scheduler
2019-12-13 01:41:04 -08:00
Draven
d8c35733c0
doc: remove Draven from test package reviewers 2019-12-13 14:27:25 +08:00
SataQiu
95bf226533 fix staticcheck failures of test/e2e/manifest 2019-12-13 14:03:44 +08:00
tanjunchen
77a9d4772b move funcs from test/e2e/framework/replicaset to test/e2e/apps 2019-12-13 13:02:02 +08:00
Kubernetes Prow Robot
6715e35530
Merge pull request #86175 from ahg-g/ahg1-prefilters
Wrap InterPodAffinity predicate metadata as a Prefilter
2019-12-12 18:33:19 -08:00
tanjunchen
f786cb07b7 test/e2e/: use framework.Equal() replace gomega.Expect(...).To(gomega.BeTrue()|BeFalse()) 2019-12-13 10:11:47 +08:00
vpickard
0e644c8749 e2e-topology-manager: Fix bazel tests
Fix some tests

Signed-off-by: vpickard <vpickard@redhat.com>
2019-12-12 19:52:59 -05:00
Mike Dame
255ab6d2c3 Remove priority execution paths in favor of score plugins
Mainly affects core/generic_scheduler.go (and related tests). Removes the "prioritizers" field and related functions.
2019-12-12 19:30:44 -05:00
Kubernetes Prow Robot
b4b0d1903d
Merge pull request #85718 from dholbach/dholbach/remove-kube-timeout
drop KUBE_TIMEOUT in test/cmd/kubeadm.sh
2019-12-12 14:22:32 -08:00
vpickard
31b0d7f853 e2e-topology-manager: Fix package name
Change package name to e2enode

Signed-off-by: vpickard <vpickard@redhat.com>
2019-12-12 16:37:35 -05:00
vpickard
fba4a7be34 e2e-topology-manager: fixes for gofmt
Some cleanup for gofmt fixes

Signed-off-by: vpickard <vpickard@redhat.com>
2019-12-12 16:32:58 -05:00
vpickard
337fdf2f37 [WIP] e2e-topology-manager: Initial commit for E2E tests
This is the initial commit for E2E testing for Topology
Manager.

For now, run a subset of the CPU Manager tests.

Additional tests will be forthcoming.

Signed-off-by: vpickard <vpickard@redhat.com>
2019-12-12 16:32:58 -05:00
Kubernetes Prow Robot
c1b2ecaada
Merge pull request #86159 from clarklee92/move-e2e/framework/service
e2e: move funs of framework/service to e2e/network
2019-12-12 12:48:32 -08:00
Abdullah Gharaibeh
2fdf1fa3c1 inter-pod affinity prefilter 2019-12-12 15:20:14 -05:00
tanjunchen
89b31c8d69 move test/e2e/framework/lifecycle/ test/framework/cloud/gcp 2019-12-12 13:28:53 +08:00
Kubernetes Prow Robot
6dbd521cfa
Merge pull request #86178 from misterikkit/test-log-fix
fix log format string
2019-12-11 19:40:46 -08:00
SataQiu
20f0408f29 promote SataQiu to an approver of test and test/e2e/framework 2019-12-12 10:49:31 +08:00
Kubernetes Prow Robot
e76619931f
Merge pull request #86180 from Random-Liu/fix-critical-pod-cleanup-in-test
Make sure critical pod in the preemption test is always cleaned up.
2019-12-11 18:04:32 -08:00
Lantao Liu
915b096405 Make sure critical pod in the preemption test is always cleaned up.
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-12-11 16:51:21 -08:00
Kubernetes Prow Robot
b38dfb3ccb
Merge pull request #85522 from YuikoTakada/local-latencies
Fix func VerifyLatencyWithinThreshold() to local
2019-12-11 14:30:32 -08:00
Kevin Klues
69f8053850 Update top-level CPUManager to adhere to new state semantics
For now, we just pass 'nil' as the set of 'initialContainers' for
migrating from old state semantics to new ones. In a subsequent commit
will we pull this information from higher layers so that we can pass it
down at this stage properly.
2019-12-11 23:02:51 +01:00
Jonathan Basseri
dc17fc4283 fix log format string 2019-12-11 13:27:13 -08:00
David Eads
773fbeab1e expose the clientConfig to consumers trying to build custom clients against the kubeapiserver 2019-12-11 16:10:36 -05:00
David Eads
d0210220e4 dump information for all namespaces related to the test 2019-12-11 16:00:57 -05:00
David Eads
ea913f38ea allow configuration of customized AfterEach functions for all tests 2019-12-11 15:53:00 -05:00
Kubernetes Prow Robot
343020101c
Merge pull request #86110 from haosdent/clean-e2e-framework-kubelet
e2e: move funs of framework/kubelet to e2e/scheduling
2019-12-11 12:52:56 -08:00
Kubernetes Prow Robot
7fb322e174
Merge pull request #86059 from haosdent/e2e-cleanup-autoscaling
e2e: remove unused method in e2e/framework/autoscaling.
2019-12-11 12:52:46 -08:00
Kubernetes Prow Robot
4ca93592d2
Merge pull request #86147 from tanjunchen/use-framework-Equal-20191211
test/e2e/storage : use framework.Equal() replace gomega.Expect(...).To(gomega.BeTrue(),...)
2019-12-11 11:32:24 -08:00
Kubernetes Prow Robot
2f66bcf8a6
Merge pull request #86136 from alejandrox1/add-alejandrox1-as-approver
Added alejandrox1 to test/approvers
2019-12-11 11:32:16 -08:00
Kubernetes Prow Robot
30edc8ea83
Merge pull request #86112 from SataQiu/fix-staticcheck-20191210
Fix staticcheck failures of e2e/storage/utils e2e/storage/vsphere
2019-12-11 11:32:07 -08:00
Kubernetes Prow Robot
0e15d26fe7
Merge pull request #86077 from pohly/external-docs
e2e storage: improve instructions for external driver testing
2019-12-11 08:42:08 -08:00
Kubernetes Prow Robot
cfdc365525
Merge pull request #86133 from Huang-Wei/cleanup-predicate-path
Eliminate running paths of Predicates in scheduler
2019-12-11 06:18:06 -08:00
clarklee92
c4ad07b0b1 e2e: move funs of framework/service to e2e/network
Signed-off-by: clarklee92 <clarklee1992@hotmail.com>
2019-12-11 20:13:34 +08:00
tanjunchen
35b0f1f7dd test/e2e_node/:use framework.Equal() instead of using gomega.Expect(bool).To(gomega.BeTrue(),explain) 2019-12-11 18:50:29 +08:00
tanjunchen
f8e0c6bb41 test/e2e/storage : use framework.Equal() replace gomega.Expect(...).To(gomega.BeTrue(),...) 2019-12-11 16:25:26 +08:00
Kubernetes Prow Robot
eef4c00ae9
Merge pull request #85621 from chewong/in-tree-azure-disk-e2e
Rename Azure driver to Azure Disk driver in e2e test
2019-12-10 22:14:06 -08:00
Wei Huang
dc3d1bd238
Eliminate running paths of Predicates in scheduler
- eliminate running paths of Predicates in scheduler; use Filter Plugins instead.
- refactor all unit tests
- adjust the TestPreemptWithPermitPlugin integration test
2019-12-10 19:14:13 -08:00
SataQiu
e70120f083 fix staticcheck failures of e2e/storage/utils e2e/storage/vsphere 2019-12-11 10:33:21 +08:00
Kubernetes Prow Robot
30a5db136f
Merge pull request #86057 from SataQiu/fix-staticcheck-20191209
Fix staticcheck failures of e2e/storage/drivers e2e/storage/testsuites
2019-12-10 18:14:05 -08:00
Kubernetes Prow Robot
ca78590bdb
Merge pull request #86084 from cbf123/apiserver_rbac_fix
update RBAC rules in e2e aggregator test
2019-12-10 16:05:32 -08:00
Kubernetes Prow Robot
541b4e4b39
Merge pull request #85542 from schrodit/e2e-dump-ns
Dump namespace if the namespace could not be cleaned up
2019-12-10 16:05:20 -08:00
Kubernetes Prow Robot
c0d5d11263
Merge pull request #75583 from sandeeppsunny/zone_support
Added e2e test to verify zone support across datacenters
2019-12-10 16:04:06 -08:00
alejandrox1
c051fc2057 Added alejandrox1 to test/approvers
Signed-off-by: alejandrox1 <alarcj137@gmail.com>
2019-12-10 16:07:57 -05:00
Kubernetes Prow Robot
a8caae554f
Merge pull request #86028 from ahg-g/ahg1-benchmarks
Fix inter-pod affinity scheduler benchmarks
2019-12-10 08:59:29 -08:00
Abdullah Gharaibeh
a051c591a1 Fix inter-pod affinity scheduler benchmarks 2019-12-10 10:00:28 -05:00
SataQiu
3ed535a89a fix staticcheck failures of e2e/storage/drivers e2e/storage/testsuites 2019-12-10 16:09:29 +08:00
Haosdent Huang
6df97909bb e2e: remove unused method in e2e/framework/log 2019-12-10 16:00:37 +08:00
Haosdent Huang
546dbf8b3c e2e: move funs of framework/kubelet to e2e/scheduling 2019-12-10 15:40:20 +08:00
Kubernetes Prow Robot
78c56e6b4c
Merge pull request #84886 from YangLu1031/daemonRestartTest
Verify kubelet & kube-proxy recovery on Windows nodes
2019-12-09 21:35:28 -08:00
Kubernetes Prow Robot
3c4d2a5215
Merge pull request #78731 from claudiubelu/tests-hostnetwork
Sets HostNetwork to False for tests which do not require it
2019-12-09 15:22:39 -08:00
Kubernetes Prow Robot
47c7b99057
Merge pull request #86085 from robscott/gcp-lb-timeout
Increasing LoadBalancerPollTimeout from 15 to 22 minutes
2019-12-09 14:00:45 -08:00
Kubernetes Prow Robot
83ebf2ffba
Merge pull request #86050 from SataQiu/clean-e2e-framework-20191209
e2e: move funs of framework/deployment to e2e/apps
2019-12-09 14:00:35 -08:00
Kubernetes Prow Robot
95703a2e01
Merge pull request #85962 from spiffxp/include-cloud-gcp-in-e2e-test
Include cloud/gcp tests in e2e.test
2019-12-09 14:00:17 -08:00
Rob Scott
57b538e657
Increasing LoadBalancerPollTimeout from 15 to 22 minutes
Some related tests were flaking as a result of GCP LBs potentially
taking longer to update than 15 minutes.
2019-12-09 10:46:22 -08:00
Chris Friesen
a9f80c70b2 update RBAC rules in e2e aggregator test
Add the "get" and "watch" verbs to the ClusterRole created
for the sample apiserver.  Without this, the test complains about
"Failed to watch..." the resources in question.

Strictly speaking the "get" verb doesn't seem to be needed, but
this aligns the e2e test with the example at
staging/src/k8s.io/sample-apiserver/artifacts/example/rbac.yaml
2019-12-09 11:03:44 -06:00
Patrick Ohly
3cc926f5ef e2e storage: fix type in comment 2019-12-09 16:46:45 +01:00
Patrick Ohly
17ae1eda3e e2e storage: improve instructions for external driver testing
Some of the content was out-dated (`ShortName` was removed,
`dataSource` renamed). Better refer to the actual definitions with
functional links.

To make it simpler to find those, `driverDefinition` gets moved up in
`external.go`.
2019-12-09 15:20:13 +01:00
Marek Siarkowicz
31fb04fa98 Remove cluster-monitoring
Heapster is deprecated and no longer supported
2019-12-09 11:25:20 +01:00
Haosdent Huang
089374e8d6 e2e: remove unused method in e2e/framework/autoscaling. 2019-12-09 15:32:28 +08:00
SataQiu
10b173868a move funs of framework/deployment to e2e/apps 2019-12-09 11:30:15 +08:00
SataQiu
27d645dc5b fix staticcheck failures of test/e2e/storage 2019-12-07 21:32:11 +08:00
Kubernetes Prow Robot
8ef9caaded
Merge pull request #85676 from tanjunchen/fix-staticcheck-test-integration-apiserver
fix staticcheck in test/integration/apiserver
2019-12-06 19:49:08 -08:00
Kubernetes Prow Robot
e0f11a2fc3
Merge pull request #85893 from tanjunchen/fix-test-e2e-network
fix staticcheck in test/e2e/network/
2019-12-06 17:06:06 -08:00
Kubernetes Prow Robot
688149a0c6
Merge pull request #84613 from MorrisLaw/breakout-kubectl-from-utils
move KubectlCmd out of utils into its own package
2019-12-06 15:51:53 -08:00
Kubernetes Prow Robot
d49ce6ac42
Merge pull request #85751 from tanjunchen/fix-staticcheck-test-e2e-auth-cloud
fix staticcheck in   test/e2e/cloud/
2019-12-06 09:05:03 -08:00
tanjunchen
06c5901769 fix staticcheck in test/integration/apiserver 2019-12-06 23:05:20 +08:00
Kubernetes Prow Robot
93c9085e8a
Merge pull request #85973 from msau42/fix-e2e
Disable broken pd e2e test
2019-12-05 18:44:49 -08:00
Kubernetes Prow Robot
d47e1364c9
Merge pull request #85540 from pohly/testsuites-api
e2e storage: public API for testsuites, support CSIInlineVolume type for generic resource
2019-12-05 17:15:19 -08:00
Jefftree
4d3d364d2b promote e2e tests for taint-tolerations in predicates 2019-12-05 16:54:02 -08:00
Kubernetes Prow Robot
bf71df226d
Merge pull request #85967 from liggitt/kubectl-deflake
Deflake kubectl custom printing test
2019-12-05 15:55:28 -08:00
Kubernetes Prow Robot
4fe4ff885d
Merge pull request #85934 from xueweiz/e2e-node
Convert ExpectEqual(err, nil) to ExpectNoError(err)
2019-12-05 15:55:03 -08:00
Kubernetes Prow Robot
b8ce44f006
Merge pull request #85863 from nan-yu/pdb_status_renaming
Rename PodDisruptionsAllowed to DisruptionsAllowed in type PodDisruptionBudgetStatus
2019-12-05 15:54:49 -08:00
Michelle Au
2e6d6d73e7 disable node deletion detach test 2019-12-05 14:26:17 -08:00
Kubernetes Prow Robot
fe80f32904
Merge pull request #85780 from hwdef/fix-staticcheck16
test/e2e/auth: Fix static check failures
2019-12-05 13:50:44 -08:00
Kubernetes Prow Robot
e68d7be680
Merge pull request #85457 from BenTheElder/typecheck-fun
Typecheck support for verifying providerless build
2019-12-05 13:50:17 -08:00
Michelle Au
a8ba361fd6 expect node to be recreated with the same name 2019-12-05 13:32:17 -08:00
Jordan Liggitt
bacab3d457 Deflake kubectl custom printing test 2019-12-05 15:44:25 -05:00
Aaron Crickenberger
d924407ede Include cloud/gcp in e2e.test
Follows the pattern used by instrumentation to include
instrumentation/logging etc.
2019-12-05 12:42:30 -08:00
Kubernetes Prow Robot
864596f680
Merge pull request #85947 from jsafrane/privileged-hostpath
Run all csi-hostpath containers as privileged
2019-12-05 12:33:04 -08:00
Patrick Ohly
8227b61022 bazel update 2019-12-05 20:10:25 +01:00
Patrick Ohly
87ccd41af2 e2e storage: add compile test for public TestSuite API
This will catch accidentally adding a new interface function which
isn't exported. For example, an attempt to implement a new unexported
"foobar()" function then leads to:

test/e2e/storage/testsuites/api_test.go:54:5: cannot use &fakeSuite literal (type *fakeSuite) as type testsuites.TestSuite in assignment:
	*fakeSuite does not implement testsuites.TestSuite (missing testsuites.foobar method)
		have foobar()
		want testsuites.foobar()
FAIL	k8s.io/kubernetes/test/e2e/storage/testsuites [build failed]
2019-12-05 20:10:25 +01:00
Patrick Ohly
160da35b23 e2e storage: public API for testsuites, support CSIInlineVolume type for generic resource
Implementing a test suite was impossible outside of the
k8s.io/kubernetes/test/e2e/storage/testsuites package because all
interfaces and structs used by them were private.

As part of revamping the API, genericVolumeTestResource also gets
exported because it is useful for other test suites. Because the
TestResource interface became obsolete a while ago and isn't used
anymore, the new name is just testsuites.VolumeResource.

testpatterns.CSIInlineVolume needs special handling in a few places.
It can now be used in a test pattern for a test suite that uses a
VolumeResource instance.
2019-12-05 20:10:25 +01:00
Kubernetes Prow Robot
a3718d7653
Merge pull request #85872 from ahg-g/ahg-affinity-pref
Perf benchmarks for preferred (anti)pod affinity
2019-12-05 09:02:33 -08:00
Abdullah Gharaibeh
da67bcbd35 added benchmarks for preferred (anti)pod affinity 2019-12-05 10:50:00 -05:00
hwdef
d81dd48e2c test/e2e/auth: Fix static check failures 2019-12-05 22:42:04 +08:00
Jan Safranek
d3c562f7e0 Run all csi-hostpath containers as privileged
On systems with SELinux enabled, non-privileged containers can't access
data of privileged containers. Since the CSI driver socket is exposed
by a privileged container, all sidecars must be privileged too.
2019-12-05 13:02:53 +01:00
Kubernetes Prow Robot
2f58d2e3fe
Merge pull request #85890 from tanjunchen/fix-golint-test-e2e_node-ruuner
fix golint check in test/e2e_node/runner/remote
2019-12-05 00:36:32 -08:00
Benjamin Elder
94cf731978 typecheck support setting tags, skipping test code, and ignoring directories 2019-12-04 22:30:23 -08:00
tanjunchen
d51b72d9e9 fix staticcheck in test/e2e/network/ 2019-12-05 13:58:28 +08:00
Xuewei Zhang
c0db5b2562 Convert ExpectEqual(err, nil) to ExpectNoError(err) 2019-12-04 20:28:31 -08:00
Lantao Liu
32850dc47d Revert "Use ExpectEqual test/e2e_node"
This reverts commit 561ee6ece9.
2019-12-04 18:14:13 -08:00
Kubernetes Prow Robot
e8bc121341
Merge pull request #85916 from ahg-g/ahg-e2e
remove max pods from e2e test
2019-12-04 15:44:31 -08:00
MorrisLaw
e981d1ea44 remove framework dependency from framework sub-package kubectl 2019-12-04 21:00:34 +00:00
MorrisLaw
b85adbf1fd moved WriteFileViaContainer and ReadFileViaContainer to kubectl_utils 2019-12-04 20:31:57 +00:00
MorrisLaw
4b99e5305e remove CheckFileSizeViaContainer from framework 2019-12-04 20:30:51 +00:00
MorrisLaw
cd8da67b03 move KubectlCmd out of utils into its own package 2019-12-04 20:30:43 +00:00
Abdullah Gharaibeh
8aa26a6ed6 remove max pods from e2e test 2019-12-04 13:38:08 -05:00
Jakub Pierewoj
6f0eec4dff Create kubemark cluster as private
This removes setting KUBE_GCE_PRIVATE_CLUSTER=false flag when creating
kubemark master.

In result, util.sh detect-master function detects both private and
public master IPs. The comment about cloud NAT does not apply after
https://github.com/kubernetes/kubernetes/pull/81073/files got merged
(see comments in the PR discussion).

This is first PR to change kubemark clusters to use private master IPs:
https://github.com/kubernetes/perf-tests/issues/874.

Note that kubemark kubeconfig will still contain public master IP. This
will be addresses in the follow-up PRs.

Testing:
* set up kubemark cluster
* verified that both private and public kubemark master IPs are logged
* ran tests on kubemark cluster using cluster loader
2019-12-04 15:19:22 +01:00
tanjunchen
29eb15c3a8 fix golint check in test/e2e_node/runner/remote 2019-12-04 18:14:52 +08:00
Kubernetes Prow Robot
0f332bae5d
Merge pull request #85853 from SataQiu/fix-staticcheck-20191203
Fix staticcheck failures of test/e2e/upgrade
2019-12-03 21:51:18 -08:00
Kubernetes Prow Robot
f47e4ae6ac
Merge pull request #85787 from tanjunchen/use-ExpectEqual-test-e2e_node
Use ExpectEqual test/e2e_node
2019-12-03 21:51:09 -08:00
Kubernetes Prow Robot
99e4f6529f
Merge pull request #85770 from tanjunchen/ExpectExpect-test-e2e-storage
use ExpectEqual of framework in test/e2e/storage
2019-12-03 21:50:56 -08:00