tanjunchen
97db7f4b99
move GetPodSecretUpdateTimeout from framework/utils to framework/pod
2020-03-11 15:48:15 +08:00
Kenichi Omichi
c586d8837a
Move GetClusterZones() to e2enode
2020-03-10 18:16:54 +00:00
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
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
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
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
Christian Huffman
c6fd25d100
Updated CSIDriver references
2020-03-06 08:21:26 -05: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
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
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
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
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
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
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
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
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
Aleksandra Malinowska
c326149b4a
ignore gcloud warning in test framework
2020-03-04 14:45:05 +01: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
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
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
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
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