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
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
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
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
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
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
Deep Debroy
16d221e407
Promote GMSA to GA
...
Signed-off-by: Deep Debroy <ddebroy@docker.com >
2020-03-04 02:56:21 +00: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
Masaki Kimura
401b85e547
Add FromFile and FromExistingClassName support for SnapshotClass in external storage e2e test
2020-03-03 20:28:32 +00: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
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
Jan Safranek
f96c75bca2
Bump csi-driver-host-path version to get fixed block snapshots
2020-03-02 15:22:32 +01:00
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
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
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
Jordan Liggitt
f205e3dd59
Use only v1 CRD resources in e2e tests
2020-02-29 17:34:26 -05: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
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
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
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
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
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