Manuel Alejandro de Brito Fontes
ee2c4e514f
Refactor kubectl without stdin test
2020-09-16 09:31:59 -03:00
Antonio Ojea
3eeed2f7fe
e2e sctp support for ipv6
2020-09-16 11:47:11 +02:00
Kubernetes Prow Robot
fcba5fe4e4
Merge pull request #94800 from mborsz/revert-92643-connDebug
...
Revert "conntrack e2e test debug connections"
2020-09-16 02:35:20 -07:00
zhouya0
3b8603acbc
Fix e2e autoscaling namespace error
2020-09-16 14:01:44 +08:00
Rob Scott
4aef5b8f4c
Increasing acceptable timeout for EndpointSlice garbage collection
...
This should help minimize flakiness for these tests.
2020-09-15 21:32:48 -07:00
zhouya0
59bc823547
Delete namespace parameter in create adapter
2020-09-16 11:44:30 +08:00
Kubernetes Prow Robot
3e8e0dbf4a
Merge pull request #94482 from oomichi/expect_no_error-2
...
Use ExpectNoError(err) for some e2e tests
2020-09-15 18:27:19 -07:00
Kubernetes Prow Robot
303810c7a2
Merge pull request #94782 from adtac/SpreadServiceOrFail
...
ubernetes_lite.go: remove image argument from SpreadServiceOrFail
2020-09-15 16:21:33 -07:00
Maciej Borsz
bb6d0f9820
Revert "conntrack e2e test debug connections"
2020-09-15 12:16:56 +02:00
Harshal Patil
feea9f3708
Move the RuntimeClass tests out of node-kubelet-orphans
...
Signed-off-by: Harshal Patil <harpatil@redhat.com>
2020-09-15 12:51:38 +05:30
zhouya0
438ec9be49
Clean up remaining ns flag
2020-09-15 10:43:51 +08:00
Kubernetes Prow Robot
76e0e25118
Merge pull request #94609 from soltysh/kubectl_e2e
...
Use namespace flag passed to RunKubectl* methods
2020-09-14 19:16:06 -07:00
Adhityaa Chandrasekar
9970966844
ubernetes_lite.go: remove image argument from SpreadServiceOrFail
...
Signed-off-by: Adhityaa Chandrasekar <adtac@google.com>
2020-09-14 20:32:06 +00:00
David Eads
c0c033b12f
generated
2020-09-14 09:24:41 -04:00
David Eads
c7911a384c
remove pod presets
2020-09-14 09:24:40 -04:00
Kubernetes Prow Robot
66334f02e8
Merge pull request #94731 from spiffxp/rm-http-ingress-gce-tests
...
Remove tests related to HTTPS support for ingress-gce
2020-09-12 04:08:56 -07:00
David Ashpole
20863a8b43
add retry for creating metrics grabber to fix test flakes
2020-09-11 13:52:45 -07:00
Aaron Crickenberger
deffddbfb5
Remove tests related to HTTPS support for ingress-gce
2020-09-11 13:32:27 -07:00
Maciej Szulik
eec4a04c2d
Use namespace flag passed to RunKubectl* methods
2020-09-11 14:51:03 +02:00
Kubernetes Prow Robot
f5a42d69c9
Merge pull request #93475 from ravisantoshgudimetla/fix-kubelet-scc
...
Strip unnecessary security contexts on Windows
2020-09-10 18:14:14 -07:00
Kubernetes Prow Robot
c7d6f796fe
Merge pull request #94144 from gnufied/prevent-stale-pv-read
...
Reduce offline volume expansion flake
2020-09-10 14:22:31 -07:00
Kubernetes Prow Robot
ac6447c76f
Merge pull request #94318 from gnufied/fix-namespace-deletion
...
Prevent deletion of namespace again
2020-09-10 10:46:03 -07:00
Hemant Kumar
4614817100
Increase time it takes for second pod to startup for offline resizing
2020-09-10 10:03:12 -04:00
Kubernetes Prow Robot
c3b888f647
Merge pull request #93930 from pohly/multi-volume-generic-ephemeral-test-fix
...
e2e storage: skip multi-volume generic ephemeral volume test
2020-09-10 02:33:45 -07:00
Kubernetes Prow Robot
88e3c95d7c
Merge pull request #94647 from pohly/ephemeral-fixes
...
storage E2E: explicitly wait for PV deletion after ephemeral test
2020-09-09 20:43:44 -07:00
Hemant Kumar
c4ce420667
Prevent deletion of namespace again
2020-09-09 11:22:08 -04:00
Jan Safranek
7df879ea95
Tolerate NotFound errors when deleting snapshots
2020-09-09 14:50:11 +02:00
Patrick Ohly
16635f5902
storage E2E: explicitly wait for PV deletion after ephemeral test
...
Even with foreground deletion, removal of the PVs that may have been
created for a pod with generic ephemeral volumes happens
asynchronously, in the worst case after the test has completed and the
driver for the volume got removed.
Perhaps this can be fixed in Kubernetes itself, but for now we need to
deal with it as part of the test.
2020-09-09 13:14:46 +02:00
Kubernetes Prow Robot
7d4fb9dc2b
Merge pull request #94614 from sttts/sttts-fix-non-unique-test-env-var
...
e2e: fix deployment non-unique env vars to avoid SSA error
2020-09-08 09:43:43 -07:00
Kubernetes Prow Robot
4847c69ced
Merge pull request #91442 from saschagrunert/seccomp-ga-e2e
...
Update seccomp e2e test for GA
2020-09-08 04:53:58 -07:00
Dr. Stefan Schimanski
aa04982471
e2e: fix deployment non-unique env vars to avoid SSA error
2020-09-08 13:45:32 +02:00
Kubernetes Prow Robot
b16070f3ce
Merge pull request #92643 from aojea/connDebug
...
conntrack e2e test debug connections
2020-09-07 05:03:42 -07:00
Kenichi Omichi
12c0eaef25
Use ExpectNoError(err)
...
We missed another pattern to check error doesn't happen on e2e tests.
This covers the pattern for consistent test implementation.
2020-09-03 23:29:07 +00:00
Kubernetes Prow Robot
48d5d204c3
Merge pull request #92614 from tnqn/onfailure-recreate
...
Don't create a new sandbox for pod with RestartPolicyOnFailure if all containers succeeded
2020-09-03 14:57:40 -07:00
Kubernetes Prow Robot
f736be5721
Merge pull request #94397 from wojtek-t/stop_setting_selflink
...
Stop setting SelfLink in kube-apiserver.
2020-09-03 12:31:55 -07:00
Kubernetes Prow Robot
8da7c92a2f
Merge pull request #93975 from avr1254/master
...
Removed broken link to Analytics
2020-09-03 06:16:09 -07:00
Matthew Fenwick
81219ca9d2
address review comments
2020-09-02 21:49:45 -04:00
Daniel Smith
75f835aa08
move port definitions to a common location
2020-09-02 10:48:25 -07:00
Antonio Ojea
b0dfe256f5
remove iperf e2e test ip family tags
2020-09-02 17:39:38 +02:00
Kubernetes Prow Robot
bdcdfe42be
Merge pull request #89582 from fedepaol/testsctppolicy
...
Add SCTP Network Policy tests
2020-09-02 00:41:06 -07:00
Kubernetes Prow Robot
19820b7bf1
Merge pull request #93876 from jsafrane/fix-wait-errormsg
...
Fix waiting for PVC to get bound
2020-09-01 18:43:42 -07:00
Swetha Repakula
e6428ae214
Add e2e multiple endpoint services test
...
- ensures that when multiple services with the same selector will
function even if one of the services is deleted
2020-09-01 16:36:33 -07:00
Kubernetes Prow Robot
b49724d5fc
Merge pull request #94287 from jingyih/update_etcd_server_3p4p13
...
Update default etcd server to 3.4.13
2020-09-01 15:35:20 -07:00
wojtekt
2539912a22
Stop setting SelfLink in kube-apiserver.
2020-09-01 20:57:38 +02:00
Kubernetes Prow Robot
e23d83eead
Merge pull request #93710 from Jiawei0227/attachable2non
...
Detect volume attach-ability in the middle of attaching
2020-08-31 17:39:50 -07:00
Federico Paolinelli
254905caa7
Mark SCTPConnectivity tests as disruptive.
...
Since the SCTP module verification tests were added, their result may be affected by
running the SCTPConnectivity tests. For this reason, they are now marked as disruptive.
Signed-off-by: Federico Paolinelli <fpaoline@redhat.com>
2020-08-31 10:39:32 +02:00
Federico Paolinelli
345cab6ee9
Add tests for SCTP network policies.
...
Signed-off-by: Federico Paolinelli <fpaoline@redhat.com>
2020-08-31 10:39:29 +02:00
Claudiu Belu
13849214c1
tests: Refactor agnhost image pod usage
...
Creates a few agnhost related functions that creates agnhost
pods / containers for general purposes.
The following commits will refactor tests to use those functions.
2020-08-29 15:48:03 -07:00
Kubernetes Prow Robot
9ac9616361
Merge pull request #94310 from twosigma/movee2etestfqdn
...
Moving SetHostnameAsFQDn e2e tests to e2e_node directory to include tests in Node Testgrid
2020-08-28 17:15:19 -07:00
Andi Li
673af97bcd
Fix testpattern check
2020-08-28 13:44:42 -04:00
Javier Diaz-Montes
0f5a03195b
Moving e2e tests to e2e_node directory
2020-08-28 12:54:12 -04:00
Andi Li
d915463451
Combine switch case into one case
2020-08-28 12:36:15 -04:00
Andi Li
5b4dffb6b7
Ran hack/update-bazel.sh but discarded changes to root build file
2020-08-28 12:36:15 -04:00
Andi Li
e748ec3de2
Move common portion of dynamic snapshot out of switch statement
2020-08-28 12:36:15 -04:00
Andi Li
7918f69055
Remove custom hash function, generate a random UUID for snapshot and snapcontent name instead
2020-08-28 12:36:15 -04:00
Andi Li
86af5a5ec3
Stack snapshot tests into one to reuse snapshot resource and reduce time taken on prow.
2020-08-28 12:36:15 -04:00
Andi Li
a4498846b1
Quick commit
2020-08-28 12:36:15 -04:00
Andi Li
854645d7c3
Remove snapshot class from prepv test because it is not needed.
...
Prepv snapshots only need to specify driver.
2020-08-28 12:36:15 -04:00
Andi Li
42b2d1c52c
Combine two tests with overlap to reduce overall snapshot test suite time
2020-08-28 12:36:15 -04:00
Andi Li
e78aee9965
Add pre provisioned snapshot tests
...
Make pre provisioned snapshots using CSI driver by
1. Take a dynamic snapshot with retain policy
2. Delete the dynamic snapshot and content
3. Create a preprovisioned snapshot with snapshotHandle
This commit adds a preprovisiond test pattern, all snapshots made using
create snapshot resource become prepv snapshots. All exisitng test cases
now run again with prepv snapshots.
2020-08-28 12:36:15 -04:00
Andi Li
ed85129831
Minor cleanup in snapshot test suite.
2020-08-28 12:29:07 -04:00
Kubernetes Prow Robot
3a79bb68bd
Merge pull request #94238 from jingxu97/Aug/subpathtest
...
Set snapshotType for tests with NTFS.
2020-08-28 08:04:55 -07:00
Kubernetes Prow Robot
9ff9e8798a
Merge pull request #93498 from luigibk/use-ebtables-from-utils
...
Update k8s.io/utils dependency and use ebtables from there
2020-08-28 06:37:21 -07:00
Kubernetes Prow Robot
f6d169c7ca
Merge pull request #93120 from msau42/e2e-export
...
Export WaitForCSIDriverRegistrationOnAllNodes
2020-08-28 06:34:53 -07:00
jingyih
c96b93fbd4
Update default etcd server to 3.4.13
2020-08-28 21:19:24 +08:00
Kubernetes Prow Robot
db9916673a
Merge pull request #93081 from oomichi/MasterUpgradeGKE
...
Move MasterUpgrade() out from e2e framework
2020-08-28 03:20:53 -07:00
Kubernetes Prow Robot
a04f1b8d59
Merge pull request #93046 from oomichi/WatchUntilWithoutRetry
...
Move WatchUntilWithoutRetry() from e2e framework
2020-08-28 02:02:52 -07:00
Jiawei Wang
250d861be7
Fail early on stress test and improve logging
2020-08-27 21:10:23 -07:00
Kubernetes Prow Robot
32f034de38
Merge pull request #92845 from oomichi/remove-DeprecatedMightBeMasterNode
...
Remove DeprecatedMightBeMasterNode()
2020-08-27 19:07:25 -07:00
Kubernetes Prow Robot
c143ea4bbf
Merge pull request #90522 from beautytiger/fix/nilranger
...
cleanup: no need nil check before range
2020-08-27 17:54:31 -07:00
Kubernetes Prow Robot
ef1655f691
Merge pull request #93963 from claudiubelu/tests/fixes-expansion-tests-negative-test
...
Fixes variable expansion false positive
2020-08-27 16:07:47 -07:00
Kubernetes Prow Robot
0f3262cddb
Merge pull request #94231 from twosigma/addfqdntestgrid
...
Changing label to NodeAlphaFeature to include tests in Node Testgrid
2020-08-27 14:41:24 -07:00
Kubernetes Prow Robot
b5de8b9979
Merge pull request #94242 from jingxu97/Aug/filemode
...
Remove file_mode args for Windows test
2020-08-27 10:38:33 -07:00
Kubernetes Prow Robot
597eb78b25
Merge pull request #94160 from matthyx/startupprobe-ga
...
Remove StartupProbe featuregate and related logic
2020-08-27 06:42:49 -07:00
Kubernetes Prow Robot
b9c461afe5
Merge pull request #93852 from nikhita/cleanup-vsphere-owners
...
vsphere: remove inactive members from OWNERS
2020-08-27 06:42:21 -07:00
Kubernetes Prow Robot
2770fc6128
Merge pull request #94061 from mattcary/fix-expand-offline-comment
...
fix misleading comment in expand_volume.go
2020-08-27 04:49:45 -07:00
Kubernetes Prow Robot
54d7adc1f5
Merge pull request #93982 from jayunit100/wait_func_cleanup
...
wait function and util comments and cleanup
2020-08-27 04:49:07 -07:00
Kubernetes Prow Robot
5507cb772b
Merge pull request #93950 from Jiawei0227/parse-mock-logs
...
Make CSI mock driver log parse more flexible
2020-08-27 04:48:38 -07:00
Kubernetes Prow Robot
e3bd0de6df
Merge pull request #93923 from jsafrane/reduce-cinder-sizes
...
Reduce test volume sizes
2020-08-27 04:48:11 -07:00
Kubernetes Prow Robot
1c2e8e67fb
Merge pull request #93583 from aojea/policyIPv6
...
support ipv6 in e2e policy tests
2020-08-27 00:08:10 -07:00
Kubernetes Prow Robot
9a497c8be6
Merge pull request #94246 from jingxu97/Aug/snapshot
...
Fix issue on skipTest in storage suits
2020-08-26 20:51:37 -07:00
Kubernetes Prow Robot
305f48936c
Merge pull request #93588 from jsturtevant/gmsa-serial
...
Mark gmsa test serial due to race conditions
2020-08-26 19:41:02 -07:00
Jing Xu
d35eb56322
Fix issue on skipTest in storage suits
...
After PR https://github.com/kubernetes/kubernetes/pull/92555 , there are a number of gce pd default fs tests skipped. Here the testpatten has SnapshotType set because some provisioning tests use snapshots. But for drivers such as In-tree gce pd driver, the tests will be skipped because of the logic in skipUnsupportedTesthttps://github.com/kubernetes/kubernetes/blob/master/test/e2e/storage/testsuites/base.go#L154
Since multiple drivers might test with the same pattern, so I think we need keep SnapshotType here.
This PR removes the part of the logic in skipUnsupportedTest. This should be ok because all snapshot tests will check whether a driver has snapshot capability or not.
2020-08-25 23:31:47 -07:00
Jing Xu
0d9c8202d5
Remove file_mode args for Windows test
...
Due to issue https://github.com/kubernetes/kubernetes/issues/94237 ,
remove file_mode arg for subPath tests for now.
2020-08-25 20:05:40 -07:00
Jing Xu
b426689ca4
Set snapshotType for tests with NTFS.
...
Set the snapshotType for tests with NTFS. Return error if type is not
set.
2020-08-25 19:39:30 -07:00
Javier Diaz-Montes
c74a772794
Adding label NodeAlphaFeature to include tests in Node Testgrid
2020-08-25 16:38:11 -04:00
Jiawei Wang
a6d8e6c5c2
Detect change of volume attachability in the middle of attaching
...
- Add Unit tests for both volumemanager and attach/detach controller
- Add E2E test
2020-08-24 17:15:11 -07:00
Matthias Bertschy
ea14585500
Remove StartupProbe featuregate and related logic
2020-08-22 15:09:52 +02:00
Spencer Hance
7c0169d976
Reserve Static IP in Ingress test
2020-08-21 10:54:10 -07:00
Antonio Ojea
fcaf580c9b
fix e2e test
...
the test is not working because is trying to execute bash in a
busybox image, that is not present. Using sh works.
2020-08-19 22:45:21 +02:00
jay vyas
04b38e9f91
Update wait function w/ descriptions of global node states, TODO for kubelet
...
API.
2020-08-19 13:55:54 -04:00
Kubernetes Prow Robot
3352c44949
Merge pull request #93777 from pohly/capacity-test-flake-fix
...
e2e storage: avoid flaky test failure when watch dies
2020-08-19 04:47:12 -07:00
Claudiu Belu
8ca08f1ced
tests: Use Windows absolute path on Windows pods
...
The test "should fail substituting values in a volume subpath with absolute path" creates a pod
with a variable expansion path which is set as an absolute path. However "/tmp" is not an absolute
on Windows, it has to be prefixed with the drive letter (C:\tmp). But C:\tmp does not typically
exist on Windows nodes, so we use C:\Users instead.
2020-08-18 13:39:31 -07:00
Matthew Cary
8ea57e55d7
fix misleading comment in expand_volume.go
2020-08-17 13:51:03 -07:00
Jordan Liggitt
f5490cb5c8
Remove flaky audit e2e test
2020-08-17 09:59:59 -04:00
Kubernetes Prow Robot
a42a1c8dea
Merge pull request #93921 from zhouya0/never_restart_agnhost_pod
...
[Flaky test]kubectl log test never restart pod
2020-08-14 01:54:22 -07:00
Arjun Ramachandrula
dcc1ab176d
Removed broken link to Analytics
2020-08-13 16:03:37 -04:00
Jiawei Wang
0ce86eb553
Make CSI mock driver log parse more flexible
2020-08-13 10:27:38 -07:00
Kubernetes Prow Robot
68168541ea
Merge pull request #93869 from Jiawei0227/namespace-collision
...
[e2e]Bind csi driver namespace to test namespace to avoid namespace collision
2020-08-12 17:00:28 -07:00
Jiawei Wang
d030c64743
[e2e]Bind csi driver namespace to test namespace to avoid namespace collision
2020-08-12 10:20:30 -07:00
Matthew Fenwick
14fe811563
back out conversion of DialFromNode->DialFromTestContainer
2020-08-12 13:11:51 -04:00
Patrick Ohly
1a510a1bec
e2e storage: avoid flaky test failure when watch dies
...
As discussed in https://github.com/kubernetes/kubernetes/pull/93658 ,
relying on a watch to deliver all events is not acceptable, not even
for a test, because it can and did (at least for OpenShift testing) to
test flakes.
The solution in #93658 was to replace log flooding with a clear test
failure, but that didn't solve the flakiness.
A better solution is to use a RetryWatcher which "under normal
circumstances" (https://github.com/kubernetes/kubernetes/pull/93777#discussion_r467932080 )
should always deliver all changes.
2020-08-12 17:56:24 +02:00
Patrick Ohly
441324e8c8
e2e storage: skip multi-volume generic ephemeral volume test
...
This test might flake when run on a multi-zone cluster (similar to
persistent volumes, see
https://github.com/kubernetes/kubernetes/issues/75776 ). We don't do
that at the moment, but it's better to fix this anyway.
2020-08-12 16:01:13 +02:00
Kubernetes Prow Robot
c780554a64
Merge pull request #93829 from aojea/e2eSvcSlice
...
e2e services wait for endpoint and endpoint slices
2020-08-12 06:49:45 -07:00
Antonio Ojea
f31839acea
e2e services wait for endpoint and endpoint slices
...
Since 1.19 endpoint slices is enabled by default, so all the e2e
tests should consider them.
The e2e networking tests for services use the jig object for
all the tests, but was not taking into account endpoint slices.
This considers endpoints slices for the method waitForAvailableEndpoint()
Date: Sun Aug 9 12:34:06 2020 +0200
2020-08-12 14:13:42 +02:00
Jan Safranek
fea06a204c
Reduce test volume sizes
...
To reduce costs and to increase speed. Formating 5GiB volume took too long
in a badly overloaded CI cluster.
All in-tree volume plugins support at least 1GiB volumes.
2020-08-12 14:00:30 +02:00
Kubernetes Prow Robot
abede62bf0
Merge pull request #93857 from soltysh/fix_lb_test
...
Skip LB test per schedulable node count
2020-08-12 04:29:44 -07:00
Antonio Ojea
f9a5e5a283
support ipv6 in e2e policy tests
2020-08-12 13:01:07 +02:00
zhouya0
b18e265315
[Flaky test]kubectl log test never restart pod
2020-08-12 18:26:18 +08:00
Kubernetes Prow Robot
fa13dc11d1
Merge pull request #93907 from robscott/endpointslice-e2e-test-fix
...
Updating EndpointSlice e2e tests to accept duplicate EndpointSlices
2020-08-11 20:07:45 -07:00
Kubernetes Prow Robot
35c8fece86
Merge pull request #93521 from msau42/update-registry
...
Update e2e csi images to k8s.gcr.io
2020-08-11 17:57:46 -07:00
Rob Scott
17ff005c4b
Updating EndpointSlice e2e tests to accept duplicate EndpointSlices
...
Although rare, the EndpointSlice controller can create duplicate
EndpointSlices. This is considered a valid state and tests that find
this state should not fail.
2020-08-11 14:51:30 -07:00
jay vyas
9ecf96cb46
Add maxTries logging statement, otherwise the numbers are really hard to interpret
2020-08-11 12:28:08 -04:00
jay vyas
56e2adbd79
implement breadth first try
2020-08-11 11:32:46 -04:00
Jan Safranek
96eeb98215
Fix error messages
...
Separate different errors by ": ".
2020-08-11 11:14:15 +02:00
Jan Safranek
6a83a39ae6
Fix Poll variable name
...
Parameter names should start with lowercase
2020-08-11 11:14:15 +02:00
Jan Safranek
d3503a2881
Fix waiting for PVCs to get Bound
...
When Get() returns error, the loop should not return with nil. Make sure
that the faulty Get() marks phaseFoundInAllClaims as not satisfied.
2020-08-11 11:14:15 +02:00
yodarshafrir1
24010022ef
Number of failed jobs should exceed the backoff limit and not big equal.
...
Remove patch in e2e test of backoff limit due to usage of NumRequeues
2020-08-11 11:06:09 +03:00
Kubernetes Prow Robot
da5ec168e7
Merge pull request #93618 from Jiawei0227/e2e-csi-mock-flaky
...
Fix flaky test: wait for mock CSI Driver bringup to perform e2e test
2020-08-10 15:41:59 -07:00
jay vyas
ccbfa84173
golint
...
flip logging messages
run pod->node conformance tests the same way
2020-08-10 15:46:49 -04:00
Jiawei Wang
76b4973b42
Wait for mock CSI Driver bringup to perform e2e test
...
In our current mock CSI driver e2e test, we are not waiting
for the CSI driver register successfully to perform test
including provision PVC. This can lead to timeout when the
csi driver takes longer to register the socket.
This change adds the waiting part so that the system will
wait for up to 10 minutes for the driver to be ready. This
normally won't take this long. However, under a resource
constraint environment it can take longer than expected time.
https://github.com/kubernetes/kubernetes/issues/93358
2020-08-10 11:03:35 -07:00
Maciej Szulik
5765bf74ce
Skip LB test per schedulable node count
2020-08-10 16:13:29 +02:00
Nikhita Raghunath
53e87ddd15
vsphere: remove inactive members from OWNERS
...
As a part of cleaning up inactive members (who haven't been active since
beginning of 2019) from OWNERS files, this commit moves abrarshivani to
emeritus_approvers section.
2020-08-10 15:23:25 +05:30
Sascha Grunert
3bef0e40a6
Update seccomp e2e test for GA
...
We now execute the seccomp tests with `[LinuxOnly]` as described in the
appropriate KEP test plan:
https://github.com/kubernetes/enhancements/blob/master/keps/sig-node/20190717-seccomp-ga.md#test-plan
The tests have been changed to used the new seccomp field within the
security context in replacement for the annotations.
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-08-10 08:50:44 +02:00
jay vyas
35f5e8e66f
minor logic fix
2020-08-09 16:45:51 -04:00
jay vyas
84f7d1e636
e2e test intra-pod breadth first logging and summary
...
gofmt
2020-08-09 16:35:03 -04:00
Wei Huang
24bbedb27d
Deflake LimitRange e2e test
2020-08-07 17:22:35 -07:00
Kubernetes Prow Robot
a640545167
Merge pull request #93567 from gnufied/fix-stale-attachments
...
Make AttachDisk for EBS idempotent again
2020-08-07 07:16:19 -07:00
Hemant Kumar
f91d448e1b
Add tests for out of band attachments
2020-08-07 08:23:25 -04:00
Antonio Ojea
db4bca086d
e2e delete namespaces after finish
2020-08-07 08:35:39 +02:00
Kubernetes Prow Robot
9dec51e8f3
Merge pull request #93670 from wojtek-t/fix_readyz_sync_informer
...
Fix /readyz to contain informer-sync
2020-08-04 19:48:29 -07:00
Kubernetes Prow Robot
56c76023f7
Merge pull request #93658 from dcbw/csi-fail-test-on-close
...
test/e2e: fail test rather than flooding logs if PVC watch is closed prematurely
2020-08-04 18:08:42 -07:00
wojtekt
5b4ab8f41b
Fix /readyz to contain informer-sync
2020-08-04 15:29:43 +02:00
ravisantoshgudimetla
cd8686bc57
Strip unnecessary security contexts on Windows
...
As of now, the kubelet is passing the security context to container runtime even
if the security context has invalid options for a particular OS. As a result,
the pod fails to come up on the node. This error is particularly pronounced on
the Windows nodes where kubelet is allowing Linux specific options like SELinux,
RunAsUser etc where as in [documentation](https://kubernetes.io/docs/setup/production-environment/windows/intro-windows-in-kubernetes/#v1-container ),
we clearly state they are not supported. This PR ensures that the kubelet strips
the security contexts of the pod, if they don't make sense on the Windows OS.
2020-08-03 23:43:31 -04:00
Kubernetes Prow Robot
0d2299e227
Merge pull request #93271 from ii/promote-preferred-version
...
Promote: Discovery PreferredVersion test+16 Endpoints
2020-08-03 18:46:19 -07:00
Michelle Au
ab5b3e256b
Update e2e csi images to k8s.gcr.io
...
Change-Id: Ic6c3f805aab1647f01f40fee725d6e8be992d04e
2020-08-03 17:04:21 -07:00
Kubernetes Prow Robot
ae9f76153f
Merge pull request #93535 from gnufied/create-service-for-endpoint
...
Create service for gluster endpoint
2020-08-03 16:10:33 -07:00
Dan Williams
e0f9fe2cd3
test/e2e: fail test rather than flooding logs if PVC watch is closed prematurely
...
If the watch is closed prematurely the for/select loop will
spew "PVC event : <nil>" as fast as possible until the test times
out, flooding logs.
STEP: Checking PVC events
Aug 3 16:35:53.930: INFO: PVC event ADDED: &v1.PersistentVolumeClaim{TypeMeta:v1.TypeMeta{Kind:"", APIVersion:""}, ObjectMeta:v1.ObjectMeta{Name:"pvc-zrchk", GenerateName:"pvc-", Namespace:"e2e-csi-mock-volumes-5292", SelfLink:"/api/v1/namespaces/e2e-csi-mock-volumes-5292/persistentvolumeclaims/pvc-zrchk", UID:"221369cd-50c3-48be-8c08-dc4d8f6f36e0", ResourceVersion:"42154", Generation:0, CreationTimestamp:v1.Time{Time:time.Time{wall:0x0, ext:63732069329, loc:(*time.Location)(0x9e74040)}}, DeletionTimestamp:(*v1.Time)(nil), DeletionGracePeriodSeconds:(*int64)(nil), Labels:map[string]string(nil), Annotations:map[string]string(nil), OwnerReferences:[]v1.OwnerReference(nil), Finalizers:[]string{"kubernetes.io/pvc-protection"}, ClusterName:"", ManagedFields:[]v1.ManagedFieldsEntry{v1.ManagedFieldsEntry{Manager:"openshift-tests", Operation:"Update", APIVersion:"v1", Time:(*v1.Time)(0xc001639060), FieldsType:"FieldsV1", FieldsV1:(*v1.FieldsV1)(0xc001639080)}}}, Spec:v1.PersistentVolumeClaimSpec{AccessModes:[]v1.PersistentVolumeAccessMode{"ReadWriteOnce"}, Selector:(*v1.LabelSelector)(nil), Resources:v1.ResourceRequirements{Limits:v1.ResourceList(nil), Requests:v1.ResourceList{"storage":resource.Quantity{i:resource.int64Amount{value:1073741824, scale:0}, d:resource.infDecAmount{Dec:(*inf.Dec)(nil)}, s:"1Gi", Format:"BinarySI"}}}, VolumeName:"", StorageClassName:(*string)(0xc000876e90), VolumeMode:(*v1.PersistentVolumeMode)(0xc000876ec0), DataSource:(*v1.TypedLocalObjectReference)(nil)}, Status:v1.PersistentVolumeClaimStatus{Phase:"Pending", AccessModes:[]v1.PersistentVolumeAccessMode(nil), Capacity:v1.ResourceList(nil), Conditions:[]v1.PersistentVolumeClaimCondition(nil)}}
Aug 3 16:35:53.930: INFO: PVC event MODIFIED: &v1.PersistentVolumeClaim{TypeMeta:v1.TypeMeta{Kind:"", APIVersion:""}, ObjectMeta:v1.ObjectMeta{Name:"pvc-zrchk", GenerateName:"pvc-", Namespace:"e2e-csi-mock-volumes-5292", SelfLink:"/api/v1/namespaces/e2e-csi-mock-volumes-5292/persistentvolumeclaims/pvc-zrchk", UID:"221369cd-50c3-48be-8c08-dc4d8f6f36e0", ResourceVersion:"42159", Generation:0, CreationTimestamp:v1.Time{Time:time.Time{wall:0x0, ext:63732069329, loc:(*time.Location)(0x9e74040)}}, DeletionTimestamp:(*v1.Time)(nil), DeletionGracePeriodSeconds:(*int64)(nil), Labels:map[string]string(nil), Annotations:map[string]string{"volume.beta.kubernetes.io/storage-provisioner":"csi-mock-e2e-csi-mock-volumes-5292"}, OwnerReferences:[]v1.OwnerReference(nil), Finalizers:[]string{"kubernetes.io/pvc-protection"}, ClusterName:"", ManagedFields:[]v1.ManagedFieldsEntry{v1.ManagedFieldsEntry{Manager:"kube-controller-manager", Operation:"Update", APIVersion:"v1", Time:(*v1.Time)(0xc0016a6060), FieldsType:"FieldsV1", FieldsV1:(*v1.FieldsV1)(0xc0016a6080)}, v1.ManagedFieldsEntry{Manager:"openshift-tests", Operation:"Update", APIVersion:"v1", Time:(*v1.Time)(0xc0016a60a0), FieldsType:"FieldsV1", FieldsV1:(*v1.FieldsV1)(0xc0016a60c0)}}}, Spec:v1.PersistentVolumeClaimSpec{AccessModes:[]v1.PersistentVolumeAccessMode{"ReadWriteOnce"}, Selector:(*v1.LabelSelector)(nil), Resources:v1.ResourceRequirements{Limits:v1.ResourceList(nil), Requests:v1.ResourceList{"storage":resource.Quantity{i:resource.int64Amount{value:1073741824, scale:0}, d:resource.infDecAmount{Dec:(*inf.Dec)(nil)}, s:"1Gi", Format:"BinarySI"}}}, VolumeName:"", StorageClassName:(*string)(0xc0012aa020), VolumeMode:(*v1.PersistentVolumeMode)(0xc0012aa030), DataSource:(*v1.TypedLocalObjectReference)(nil)}, Status:v1.PersistentVolumeClaimStatus{Phase:"Pending", AccessModes:[]v1.PersistentVolumeAccessMode(nil), Capacity:v1.ResourceList(nil), Conditions:[]v1.PersistentVolumeClaimCondition(nil)}}
Aug 3 16:35:53.930: INFO: PVC event MODIFIED: &v1.PersistentVolumeClaim{TypeMeta:v1.TypeMeta{Kind:"", APIVersion:""}, ObjectMeta:v1.ObjectMeta{Name:"pvc-zrchk", GenerateName:"pvc-", Namespace:"e2e-csi-mock-volumes-5292", SelfLink:"/api/v1/namespaces/e2e-csi-mock-volumes-5292/persistentvolumeclaims/pvc-zrchk", UID:"221369cd-50c3-48be-8c08-dc4d8f6f36e0", ResourceVersion:"43201", Generation:0, CreationTimestamp:v1.Time{Time:time.Time{wall:0x0, ext:63732069329, loc:(*time.Location)(0x9e74040)}}, DeletionTimestamp:(*v1.Time)(nil), DeletionGracePeriodSeconds:(*int64)(nil), Labels:map[string]string(nil), Annotations:map[string]string{"pv.kubernetes.io/bind-completed":"yes", "pv.kubernetes.io/bound-by-controller":"yes", "volume.beta.kubernetes.io/storage-provisioner":"csi-mock-e2e-csi-mock-volumes-5292"}, OwnerReferences:[]v1.OwnerReference(nil), Finalizers:[]string{"kubernetes.io/pvc-protection"}, ClusterName:"", ManagedFields:[]v1.ManagedFieldsEntry{v1.ManagedFieldsEntry{Manager:"openshift-tests", Operation:"Update", APIVersion:"v1", Time:(*v1.Time)(0xc0016a6100), FieldsType:"FieldsV1", FieldsV1:(*v1.FieldsV1)(0xc0016a6120)}, v1.ManagedFieldsEntry{Manager:"kube-controller-manager", Operation:"Update", APIVersion:"v1", Time:(*v1.Time)(0xc0016a6140), FieldsType:"FieldsV1", FieldsV1:(*v1.FieldsV1)(0xc0016a6160)}}}, Spec:v1.PersistentVolumeClaimSpec{AccessModes:[]v1.PersistentVolumeAccessMode{"ReadWriteOnce"}, Selector:(*v1.LabelSelector)(nil), Resources:v1.ResourceRequirements{Limits:v1.ResourceList(nil), Requests:v1.ResourceList{"storage":resource.Quantity{i:resource.int64Amount{value:1073741824, scale:0}, d:resource.infDecAmount{Dec:(*inf.Dec)(nil)}, s:"1Gi", Format:"BinarySI"}}}, VolumeName:"pvc-221369cd-50c3-48be-8c08-dc4d8f6f36e0", StorageClassName:(*string)(0xc0012aa090), VolumeMode:(*v1.PersistentVolumeMode)(0xc0012aa0a0), DataSource:(*v1.TypedLocalObjectReference)(nil)}, Status:v1.PersistentVolumeClaimStatus{Phase:"Pending", AccessModes:[]v1.PersistentVolumeAccessMode(nil), Capacity:v1.ResourceList(nil), Conditions:[]v1.PersistentVolumeClaimCondition(nil)}}
Aug 3 16:35:53.930: INFO: PVC event MODIFIED: &v1.PersistentVolumeClaim{TypeMeta:v1.TypeMeta{Kind:"", APIVersion:""}, ObjectMeta:v1.ObjectMeta{Name:"pvc-zrchk", GenerateName:"pvc-", Namespace:"e2e-csi-mock-volumes-5292", SelfLink:"/api/v1/namespaces/e2e-csi-mock-volumes-5292/persistentvolumeclaims/pvc-zrchk", UID:"221369cd-50c3-48be-8c08-dc4d8f6f36e0", ResourceVersion:"43203", Generation:0, CreationTimestamp:v1.Time{Time:time.Time{wall:0x0, ext:63732069329, loc:(*time.Location)(0x9e74040)}}, DeletionTimestamp:(*v1.Time)(nil), DeletionGracePeriodSeconds:(*int64)(nil), Labels:map[string]string(nil), Annotations:map[string]string{"pv.kubernetes.io/bind-completed":"yes", "pv.kubernetes.io/bound-by-controller":"yes", "volume.beta.kubernetes.io/storage-provisioner":"csi-mock-e2e-csi-mock-volumes-5292"}, OwnerReferences:[]v1.OwnerReference(nil), Finalizers:[]string{"kubernetes.io/pvc-protection"}, ClusterName:"", ManagedFields:[]v1.ManagedFieldsEntry{v1.ManagedFieldsEntry{Manager:"openshift-tests", Operation:"Update", APIVersion:"v1", Time:(*v1.Time)(0xc0016a6600), FieldsType:"FieldsV1", FieldsV1:(*v1.FieldsV1)(0xc0016a6620)}, v1.ManagedFieldsEntry{Manager:"kube-controller-manager", Operation:"Update", APIVersion:"v1", Time:(*v1.Time)(0xc0016a6660), FieldsType:"FieldsV1", FieldsV1:(*v1.FieldsV1)(0xc0016a6680)}}}, Spec:v1.PersistentVolumeClaimSpec{AccessModes:[]v1.PersistentVolumeAccessMode{"ReadWriteOnce"}, Selector:(*v1.LabelSelector)(nil), Resources:v1.ResourceRequirements{Limits:v1.ResourceList(nil), Requests:v1.ResourceList{"storage":resource.Quantity{i:resource.int64Amount{value:1073741824, scale:0}, d:resource.infDecAmount{Dec:(*inf.Dec)(nil)}, s:"1Gi", Format:"BinarySI"}}}, VolumeName:"pvc-221369cd-50c3-48be-8c08-dc4d8f6f36e0", StorageClassName:(*string)(0xc0012aa450), VolumeMode:(*v1.PersistentVolumeMode)(0xc0012aa460), DataSource:(*v1.TypedLocalObjectReference)(nil)}, Status:v1.PersistentVolumeClaimStatus{Phase:"Bound", AccessModes:[]v1.PersistentVolumeAccessMode{"ReadWriteOnce"}, Capacity:v1.ResourceList{"storage":resource.Quantity{i:resource.int64Amount{value:1073741824, scale:0}, d:resource.infDecAmount{Dec:(*inf.Dec)(nil)}, s:"1Gi", Format:"BinarySI"}}, Conditions:[]v1.PersistentVolumeClaimCondition(nil)}}
Aug 3 16:35:53.930: INFO: PVC event : <nil>
Aug 3 16:35:53.930: INFO: PVC event : <nil>
Aug 3 16:35:53.930: INFO: PVC event : <nil>
Aug 3 16:35:53.930: INFO: PVC event : <nil>
Aug 3 16:35:53.930: INFO: PVC event : <nil>
Aug 3 16:35:53.930: INFO: PVC event : <nil>
Aug 3 16:35:53.930: INFO: PVC event : <nil>
Aug 3 16:35:53.930: INFO: PVC event : <nil>
Aug 3 16:35:53.930: INFO: PVC event : <nil>
<a million lines later...>
Aug 3 16:36:26.571: INFO: PVC event : <nil>
Aug 3 16:36:26.571: INFO: PVC event : <nil>
Aug 3 16:36:26.571: INFO: PVC event : <nil>
Aug 3 16:36:26.571: INFO: PVC event : <nil>
<test times out>
2020-08-03 13:01:00 -05:00
Caleb Woodbine
8411ada27a
Adjust default replica count to 2 replicas
2020-08-03 09:03:10 +12:00
Kubernetes Prow Robot
cf6a0868be
Merge pull request #93597 from wojtek-t/validate_endpoint_slices
...
Wait for both endpoints and endpointslices in e2e tests
2020-08-01 20:22:04 -07:00
Kubernetes Prow Robot
d3a49f7c63
Merge pull request #93589 from jingxu97/July/csiwindowstest
...
Update e2e storage tests for Windows cluster
2020-08-01 20:21:54 -07:00
Kubernetes Prow Robot
f0485f5098
Merge pull request #93557 from knight42/fix/snat-test
...
fix(e2e::network): refactor NoSNAT test
2020-08-01 20:21:41 -07:00
Kubernetes Prow Robot
0051d65f9f
Merge pull request #92954 from sbueringer/pr-fix-delete-orphan-test
...
conformance-tests: make orpan RS created by deployment test more resilient
2020-07-31 13:51:40 -07:00
Jing Xu
015f2998e5
Update e2e storage tests for Windows cluster
...
This PR fixes a few things for e2e storage suite to run on Windows
cluster.
1. increaes timeout due to longer pod startup time for windows
2. Only set SELinuxOptions or fsGroup if os is not windows
3. Add VolumeSnapshot delete policy for windows3. Add VolumeSnapshot
delete policy for windows3. Add VolumeSnapshot delete policy for windows
2020-07-31 10:09:28 -07:00
knight42
7b07b33094
fix(e2e::network): refactor NoSNAT test
...
Signed-off-by: knight42 <anonymousknight96@gmail.com>
2020-08-01 00:51:51 +08:00
wojtekt
76b3fe7f6d
Wait for both endpoints and endpointslices in e2e tests
2020-07-31 17:24:53 +02:00
Claudiu Belu
72a26aed7d
tests: Fixes variable expansion false positive test
...
Some of the tests are negative test cases which are supposed to ensure that those
invalid usecases are handled properly.
However, some of the tests are false positives, they can pass due to various reasons.
One such example is: "should fail substituting values in a volume subpath with absolute path".
This test can pass if:
- the Pod cannot start due to various reasons (e.g.: the container image cannot be pulled or does
not exist).
- the Pod ran to completion, even though the container was not supposed to start in the first place.
2020-07-31 01:23:09 -07:00
Kubernetes Prow Robot
20fbf09c3e
Merge pull request #93551 from brianpursley/runtimeclass-e2e-fix
...
Remove special case for node e2e tests when expecting pod rejection
2020-07-30 23:53:06 -07:00
Kubernetes Prow Robot
62b8faed40
Merge pull request #93539 from Jefftree/conformance-format
...
Update formatting of conformance comment
2020-07-30 22:11:07 -07:00
Kubernetes Prow Robot
debcc37798
Merge pull request #93327 from aojea/dnsipv6
...
e2e dns test autodetect the IP family
2020-07-30 18:39:09 -07:00
James Sturtevant
faa84d61c7
mark this test serial due to race conditions
2020-07-30 15:41:22 -07:00
Hemant Kumar
20934d7e50
Create service for gluster endpoint
...
Creating an endpoint without a service can cause endpoint to disappear
https://github.com/kubernetes/kubernetes/issues/12964
2020-07-30 16:34:11 -04:00
Luigi Bitonti
19793bd3fa
Update k8s.io/utils dependency and use ebtables from there
2020-07-30 08:58:21 +01:00
Jefftree
fca714f4b7
Fix conformance ordering
2020-07-29 20:50:45 -07:00
Jefftree
ace97738e2
Update formatting of conformance comment
2020-07-29 20:50:44 -07:00
Brian Pursley
6029346d0d
Remove special case for node e2e tests when expecting pod rejection
2020-07-29 22:28:03 -04:00
Kubernetes Prow Robot
f105cfc210
Merge pull request #93487 from ii/fix-missing-e2e-test-metadata
...
Add missing release metadata for e2e tests
2020-07-28 19:26:10 -07:00
Kubernetes Prow Robot
5ca6d567c4
Merge pull request #93086 from ii/heyste-create-delete-core-v1-collection-namespaced-pod-test
...
Promote Delete Collection Pods e2e test to conformance +1 endpoint coverage
2020-07-28 19:25:48 -07:00
Kubernetes Prow Robot
d2d8c63a87
Merge pull request #90939 from ii/ii-promote-endpoint-resource-lifecycle-test
...
Promote Endpoints resource lifecycle test - +4 endpoint coverage
2020-07-28 16:31:47 -07:00
Caleb Woodbine
0a6dc830da
Fix label reference in deployment checks
2020-07-29 10:33:21 +12:00
Caleb Woodbine
d4540f2b40
Update readiness checks
2020-07-29 08:54:55 +12:00
Caleb Woodbine
29664dd77e
Update ready condition
2020-07-29 08:46:00 +12:00
Rob Scott
6051a16edd
Improving logging in EndpointSlice e2e tests
...
When these tests failed it was unclear that the reason for the failure
could have been more EndpointSlices than expected. It was also unclear
what EndpointSlices were actually found when that occurred. This fixes
both of those issues.
2020-07-27 21:36:51 -07:00
Stephen Heywood
1077a9e862
Add missing release metadata for e2e tests
2020-07-27 21:56:49 +00:00
Kubernetes Prow Robot
00da04ba23
Merge pull request #92163 from knight42/fix/large-cluster-network-e2e
...
fix(e2e::network): eliminate the dependency of external ips
2020-07-27 07:30:17 -07:00
Caleb Woodbine
875dddf2ba
Create Deployment resource lifecycle test
2020-07-27 16:26:39 +12:00
Caleb Woodbine
e311df70e1
Promote Endpoint resource lifecycle test
2020-07-27 09:11:42 +12:00
Kubernetes Prow Robot
17a2e5e990
Merge pull request #93402 from robscott/endpointslice-test-fix
...
Updating EndpointSlice e2e tests to be less flaky and easier to debug
2020-07-25 12:20:16 -07:00
Kubernetes Prow Robot
7348ab957c
Merge pull request #93356 from justaugustus/vdf
...
[VDF] Normalize container image references to k8s.gcr.io
2020-07-25 02:58:17 -07:00
Kubernetes Prow Robot
54e2070722
Merge pull request #93410 from nikhita/apimachinery-triage-labels
...
Don't apply triage/needs-information on apimachinery and instrumentation PRs
2020-07-24 19:08:16 -07:00
Kubernetes Prow Robot
c0a4d4b0b6
Merge pull request #93427 from liggitt/default-ingress-class
...
Mark default ingressclass tests serial, do not set default ingressclass in conformance
2020-07-24 14:26:30 -07:00
Kubernetes Prow Robot
6f7b6b6d13
Merge pull request #93426 from liggitt/test-certs
...
Add subjectAltName to test serving certificates
2020-07-24 14:26:16 -07:00
Rob Scott
3e4745ddaf
Updating EndpointSlice e2e tests to be less flaky and easier to debug
...
This adjusts tests that were waiting for Pods to be ready to instead
just wait for them to have IPs assigned to them. This relies on the
associated publishNotReadyAddresses field on Services. Additionally this
increases the the length of time we'll wait for EndpointSlices to be garbage
collected from 12s to 30s. Finally, this adds additional logging to
ExpectNoError calls so it's easier to understand where and why a test
failed.
2020-07-24 10:35:13 -07:00
Jordan Liggitt
4c203fd96e
Mark default ingressclass tests serial, do not set default ingressclass in conformance
2020-07-24 12:12:20 -04:00
Nikhita Raghunath
3a74f461a2
Revert "Merge pull request #93160 from logicalhan/triage-instrumentation"
...
This reverts commit 1ed2cf1895
, reversing
changes made to 04ecdb9eb6
.
2020-07-24 18:09:07 +05:30
Kubernetes Prow Robot
607c5daabd
Merge pull request #93405 from liggitt/revert-pod-lifecycle-flake
...
Revert "Merge pull request #90942 from ii/ii-create-pod%2Bpodstatus-resource-lifecycle-test"
2020-07-24 04:30:22 -07:00
Kubernetes Prow Robot
55476fb872
Merge pull request #93373 from liggitt/deflake-pod-collection
...
Delete pod collection immediately
2020-07-24 02:08:22 -07:00
Nikhita Raghunath
c00dae0607
Revert "Merge pull request #93156 from logicalhan/triage-api-machinery"
...
This reverts commit 32438cf269
, reversing
changes made to bb6a6aa391
.
2020-07-24 13:01:02 +05:30
Jordan Liggitt
3fa8b15636
Revert "Merge pull request 92589 from ii/create-deployment-resource-lifecycle-test"
2020-07-24 00:30:13 -04:00
Jordan Liggitt
bf6f87c637
Revert "Merge pull request 90942 from ii/ii-create-pod%2Bpodstatus-resource-lifecycle-test"
2020-07-24 00:24:27 -04:00
Kubernetes Prow Robot
8a3fc2d7e2
Merge pull request #92589 from ii/create-deployment-resource-lifecycle-test
...
Create AppsV1Deployment resource lifecycle test - +6 endpoint coverage
2020-07-23 19:30:23 -07:00
Kubernetes Prow Robot
8e5c02255c
Merge pull request #90942 from ii/ii-create-pod%2Bpodstatus-resource-lifecycle-test
...
Create Pod+PodStatus resource lifecycle test - +4 endpoint coverage
2020-07-23 13:54:23 -07:00
Jordan Liggitt
acce8871d6
Add subjectAltName to test serving certificates
2020-07-23 15:57:44 -04:00
Kubernetes Prow Robot
1ed2cf1895
Merge pull request #93160 from logicalhan/triage-instrumentation
...
auto triage sig-instrumentation tagged PRs
2020-07-23 11:19:26 -07:00
Kubernetes Prow Robot
04ecdb9eb6
Merge pull request #93332 from hasheddan/wait-for-owned
...
Wait for resources owned by pod to be cleaned up in sig-storage tests
2020-07-23 08:59:40 -07:00
Kubernetes Prow Robot
09e2230951
Merge pull request #92891 from ii/update-and-improve-endpoint-resource-lifecycle-test
...
Update and improve Endpoints resource lifecycle test
2020-07-23 00:31:40 -07:00
Jordan Liggitt
6ef0fa6244
Delete pod collection immediately
2020-07-23 00:01:46 -04:00
Caleb Woodbine
642bed3c6c
Update test images to use conformance images
2020-07-23 14:13:40 +12:00
Caleb Woodbine
ee29022ac8
Update test images to use conformance images
2020-07-23 14:07:01 +12:00
hasheddan
efe3747c22
Wait for resources owned by pod to be cleaned up in ephemeral volume tests
...
sig-storage tests that delete pods need to wait for owned resources to
also be cleaned up before returning in the case that resources such as
ephemeral inline volumes are being used. This was previously implemented
by modifying the pod delete call of the e2e framework, which negatively
impacted other tests. This was reverted and now the logic has been moved
to StopPodAndDependents, which is local to the sig-storage tests.
Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2020-07-22 17:52:19 -05:00
Kubernetes Prow Robot
2fbe301b2d
Merge pull request #93296 from chelseychen/event-e2e-conformance
...
Add conformance test for events Update operation
2020-07-22 13:51:41 -07:00
Caleb Woodbine
c9acca7c48
Update and improve Endpoints resource lifecycle test
2020-07-23 08:42:07 +12:00
Stephen Augustus
99dd7570eb
[VDF] Remove references to gcr.io/google-containers
...
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-07-22 16:10:12 -04:00
Kubernetes Prow Robot
c2b7aa0353
Merge pull request #93000 from hakman/node-os-arch
...
Skip arch dependent kubectl test for non AMD64 nodes
2020-07-22 04:28:05 -07:00
Antonio Ojea
4bbf2c4a3e
e2e dns test autodetect the IP family
...
instead of using tag to discriminate the e2e test, we can use
the e2e framework IPFamily method.
2020-07-22 12:23:21 +02:00
Caleb Woodbine
080ad0990a
Add logs for Pod observations while watching for a running state
2020-07-22 16:44:18 +12:00
Caleb Woodbine
a0861aeb52
Fix fmt and staticcheck
2020-07-22 15:23:56 +12:00
Kubernetes Prow Robot
b0140227fb
Merge pull request #93306 from bart0sh/PR0092-revert-foreground-deletion
...
Revert "e2epod: use foreground deletion"
2020-07-21 19:52:43 -07:00
Kubernetes Prow Robot
32438cf269
Merge pull request #93156 from logicalhan/triage-api-machinery
...
automatically assign triage labels to api-machinery tagged PRs
2020-07-21 19:52:34 -07:00
Caleb Woodbine
d26cb7150a
Remove created check
2020-07-22 13:55:29 +12:00
Caleb Woodbine
84de375921
Fix error message
2020-07-22 11:17:37 +12:00
Caleb Woodbine
d60a57ad73
Update watches to use watchtools.Until, namespace var name
2020-07-22 10:33:55 +12:00
Caleb Woodbine
bd34e1c445
Fix label patch and check
2020-07-22 10:07:18 +12:00
Caleb Woodbine
11492f7b91
Add check for Modified after patch; Update checks for scale
2020-07-22 09:57:11 +12:00
Caleb Woodbine
fc8e24c686
Add watchtools.Until for fetching watch events; Remove plain watch
2020-07-22 09:29:09 +12:00
Caleb Woodbine
9c2330db4c
Revert ginkgoRecover
2020-07-22 08:48:28 +12:00
Ed Bartosh
6a40cc90e9
Revert "e2epod: use foreground deletion"
...
This reverts commit af91e76d
"e2epod: use foreground deletion"
and fixes node-kubelet-conformance tests.
2020-07-21 22:40:31 +03:00
Chelsey Chen
5b1bdd8e38
Add comformance test for event Update
2020-07-21 14:53:26 -04:00
Kubernetes Prow Robot
a1a2f8c5f8
Merge pull request #93225 from hasheddan/storage-panic
...
Return error instead of panic if container index outside bounds
2020-07-21 09:15:15 -07:00
Kubernetes Prow Robot
adabcc31f0
Merge pull request #93212 from liggitt/gcepd-delete
...
Deflake GCEPD namespace deletion test
2020-07-21 01:55:28 -07:00
Stephen Heywood
86ba88d52f
Promote: Discovery PreferredVersion test
2020-07-21 00:30:25 +00:00
Kubernetes Prow Robot
5feab0aa1e
Merge pull request #93207 from hasheddan/nvidia-gpu-installer
...
Use local daemonset manifest for installing Nvidia drivers
2020-07-20 09:02:51 -07:00
Kubernetes Prow Robot
c237804533
Merge pull request #92755 from chelseychen/event-e2e-conformance
...
Promote Event CRUD tests to conformance
2020-07-20 05:50:51 -07:00
Caleb Woodbine
125e839d77
Fix formatting
2020-07-20 13:16:35 +12:00
Caleb Woodbine
05163497bc
Fix bazel build
2020-07-20 11:15:57 +12:00
Caleb Woodbine
b38d7f25fe
Remove watch tooling
2020-07-20 11:00:37 +12:00
Caleb Woodbine
dc30156fb8
Update error handling formatting, handling of type conversion in watch event loop
2020-07-20 10:03:49 +12:00
Caleb Woodbine
6e04fbdde1
Update error statements
2020-07-20 10:03:49 +12:00
Caleb Woodbine
a2c19d7ae0
Add watch checks
2020-07-20 10:03:49 +12:00
Caleb Woodbine
a4e29f2481
Fix formatting
2020-07-20 10:03:49 +12:00
Caleb Woodbine
cb7835bcb0
Add check for unmarshalling onto a Pod object type
2020-07-20 10:03:49 +12:00
Caleb Woodbine
c6a86b5fed
Fix test to use values from v1, wording; Update variables to be more templatable
2020-07-20 10:03:49 +12:00
Caleb Woodbine
47cd8dde56
Update to check response data of UpdateStatus instead of listing after updating the status
2020-07-20 10:03:49 +12:00
Caleb Woodbine
19e9368eb8
Create Pod+PodStatus resource lifecycle test
2020-07-20 10:03:49 +12:00
hasheddan
4e4d629af7
Return error instead of panic if container index outside bounds
...
Adds check for index out of bounds error instead of panic when passing
container to kubectl exec.
Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2020-07-19 10:04:53 -05:00
Kubernetes Prow Robot
92e471a0bd
Merge pull request #93216 from liggitt/deflake-preferred-version
...
Deflake PreferredVersion e2e test
2020-07-18 21:44:50 -07:00
Jordan Liggitt
9718e7906f
Deflake PreferredVersion e2e test
2020-07-18 22:51:56 -04:00
hasheddan
e990698d5f
Use local daemonset manifest for installing Nvidia drivers
...
Updates sig-scheduling e2e Nvidia GPU tests to install drivers using
local manifest by default. Currently the DaemonSet is fetched from the
GoogleCloudPlatform/container-enginer-accelerators repo by default.
Using a local manifest allows for manually specifying the image
cos-gpu-installer image rather than always using latest. A remote
manifest can still be fetched by setting
NVIDIA_DRIVER_INSTALLER_DAEMONSET env var.
Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2020-07-18 21:01:00 -05:00
Kubernetes Prow Robot
a789d56b65
Merge pull request #93119 from dcbw/e2e-ingress-misisng-return
...
test/e2e/ingress: add missing return to fix panics on !GCE
2020-07-18 13:58:49 -07:00
Jordan Liggitt
9d83ca4b02
Deflake GCEPD namespace deletion test
2020-07-18 15:32:02 -04:00
Kubernetes Prow Robot
3a0b683c01
Merge pull request #93084 from ii/heyste-get-code-version-test
...
Promote Check Server Version e2e test to conformance - 1 Endpoint Coverage
2020-07-18 06:14:50 -07:00
Kenichi Omichi
80c19e4cef
Move MasterUpgrade() out from e2e framework
...
MasterUpgrade() is called only from cloud/gcp/cluster_upgrade.go.
And the function depends on GCP, so it is nice to move this function
from e2e framework.
2020-07-17 18:27:35 +00:00
Kubernetes Prow Robot
f9ad7db9a6
Merge pull request #92349 from jingyih/update_etcd_server_3p4p9
...
Update default etcd server to 3.4.9
2020-07-17 07:53:01 -07:00
Kubernetes Prow Robot
a3e3b355fa
Merge pull request #92619 from ii/heyste-get-apigroup-list-test
...
Write checkAPIGroupPreferredVersion Test - +16 Endpoint coverage
2020-07-17 02:51:01 -07:00
Kubernetes Prow Robot
23b66eaabd
Merge pull request #93038 from ii/fix-ingress-status
...
Write readNetworkingV1NamespacedIngressStatus test - +1 endpoint coverage
2020-07-16 23:05:00 -07:00
Stephen Heywood
ca550a280a
Relocate preferred version e2e test to discovery.go
2020-07-16 21:13:55 +00:00
Stephen Heywood
6e3919fae7
Check that empty sets are passed through the test
2020-07-16 20:50:14 +00:00
Stephen Heywood
a0410c8789
Claify the intention of the e2e test
2020-07-16 20:50:14 +00:00
Stephen Heywood
f886164491
Validate that PreferredVersion contains a valid option
2020-07-16 20:50:14 +00:00
Stephen Heywood
e81b6dce15
Update BUILD
2020-07-16 20:50:14 +00:00
Stephen Heywood
bc873c192c
Fix naming for apigroup list
2020-07-16 20:50:14 +00:00
Stephen Heywood
dcf72dfd32
Update bazel BUILD
2020-07-16 20:50:14 +00:00
Stephen Heywood
a9cb510c7f
Fix test name and log formatting
2020-07-16 20:50:14 +00:00
Stephen Heywood
6a6ccbc45c
Add e2e test for get*APIGroupList endpoints
2020-07-16 20:50:14 +00:00
Han Kang
f3c02d7221
auto triage sig-instrumentation tagged PRs
...
Change-Id: Ibae7373fb197485aeb222f1455515178cc3b4d13
2020-07-16 13:48:25 -07:00
Han Kang
9129dbc98b
automatically assign triage labels to api-machinery tagged PRs
...
Change-Id: Ifcc8a85d190d6370423af27f6e6c4c90b8472981
2020-07-16 13:13:59 -07:00
Dan Williams
e24f9ed1cd
test/e2e/ingress: add missing return to fix panics on !GCE
...
A missing 'return' causes the AfterEach() to try to clean up
GCE ingress objects when they haven't been created, because
the test was skipped in BeforeEach().
2020-07-15T17:21:10.3690332Z [BeforeEach] GCE [Slow] [Feature:kubemci]
2020-07-15T17:21:10.3690715Z /home/runner/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/network/ingress.go:592
2020-07-15T17:21:10.3690970Z Jul 15 17:21:10.368: INFO: Only supported for providers [gce gke] (not )
2020-07-15T17:21:10.3694003Z [AfterEach] GCE [Slow] [Feature:kubemci]
2020-07-15T17:21:10.3696927Z /home/runner/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/network/ingress.go:614
2020-07-15T17:21:10.3697845Z [1mSTEP[0m: No ingress created, no cleanup necessary
2020-07-15T17:21:10.3698213Z [1mSTEP[0m: Cleaning up cloud resources
2020-07-15T17:21:15.3709789Z E0715 17:21:15.370134 78875 runtime.go:78] Observed a panic: "invalid memory address or nil pointer dereference" (runtime error: invalid memory address or nil pointer dereference)
2020-07-15T17:21:15.3710883Z goroutine 63 [running]:
2020-07-15T17:21:15.3711892Z [AfterEach] [sig-network] Loadbalancing: L7
2020-07-15T17:21:15.3712802Z k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/util/runtime.logPanic(0x40215e0, 0x7b71700)
2020-07-15T17:21:15.3713654Z /home/runner/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:179
2020-07-15T17:21:15.3714871Z /home/runner/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:74 +0xa3
2020-07-15T17:21:15.3715130Z Jul 15 17:21:15.370: INFO: Waiting up to 3m0s for all (but 0) nodes to be ready
2020-07-15T17:21:15.3715703Z k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/util/runtime.HandleCrash(0x0, 0x0, 0x0)
2020-07-15T17:21:15.3716215Z /home/runner/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:48 +0x82
2020-07-15T17:21:15.3716610Z panic(0x40215e0, 0x7b71700)
2020-07-15T17:21:15.3717184Z /opt/hostedtoolcache/go/1.13.4/x64/src/runtime/panic.go:679 +0x1b2
2020-07-15T17:21:15.3717803Z k8s.io/kubernetes/test/e2e/framework/providers/gce.(*IngressController).deleteForwardingRule(0x0, 0x0, 0xc0034cce04, 0x2)
2020-07-15T17:21:15.3718372Z /home/runner/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/framework/providers/gce/ingress.go:158 +0x20b
2020-07-15T17:21:15.3718859Z k8s.io/kubernetes/test/e2e/framework/providers/gce.(*IngressController).Cleanup(0x0, 0x0, 0x1, 0xc0034ccd68)
2020-07-15T17:21:15.3719369Z /home/runner/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/framework/providers/gce/ingress.go:724 +0x38
2020-07-15T17:21:15.3719947Z k8s.io/kubernetes/test/e2e/framework/providers/gce.(*IngressController).CleanupIngressControllerWithTimeout.func1(0xc0034ccd78, 0xc00315e8a0, 0xc0002acf88)
2020-07-15T17:21:15.3720474Z /home/runner/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/framework/providers/gce/ingress.go:88 +0x33
2020-07-15T17:21:15.3720968Z k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/util/wait.runConditionWithCrashProtection(0xc0034ccfa0, 0xc0034cce00, 0x0, 0x0)
2020-07-15T17:21:15.3721508Z /home/runner/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:211 +0x6f
2020-07-15T17:21:15.3722020Z k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/util/wait.WaitFor(0xc003393120, 0xc0034ccfa0, 0xc00341ae40, 0x0, 0x0)
2020-07-15T17:21:15.3722542Z /home/runner/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:528 +0x159
2020-07-15T17:21:15.3723233Z k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/util/wait.pollInternal(0xc003393120, 0xc0034ccfa0, 0x0, 0x0)
2020-07-15T17:21:15.3723771Z /home/runner/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:414 +0x9f
2020-07-15T17:21:15.3724305Z k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/util/wait.Poll(0x12a05f200, 0xd18c2e2800, 0xc0034ccfa0, 0xc0000a4940, 0xc0034ccfb0)
2020-07-15T17:21:15.3724872Z /home/runner/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:408 +0x4d
2020-07-15T17:21:15.3725377Z k8s.io/kubernetes/test/e2e/framework/providers/gce.(*IngressController).CleanupIngressControllerWithTimeout(0x0, 0xd18c2e2800, 0x0, 0x0)
2020-07-15T17:21:15.3726709Z /home/runner/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/framework/providers/gce/ingress.go:87 +0x69
2020-07-15T17:21:15.3743725Z k8s.io/kubernetes/test/e2e/framework/providers/gce.(*IngressController).CleanupIngressController(...)
2020-07-15T17:21:15.3744385Z /home/runner/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/framework/providers/gce/ingress.go:81
2020-07-15T17:21:15.3744822Z k8s.io/kubernetes/test/e2e/network.glob..func10.4.2()
2020-07-15T17:21:15.3745340Z /home/runner/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/network/ingress.go:626 +0x12a
2020-07-15T17:21:15.3745868Z k8s.io/kubernetes/vendor/github.com/onsi/ginkgo/internal/leafnodes.(*runner).runSync(0xc000e17740, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
2020-07-15T17:21:15.3746756Z /home/runner/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/github.com/onsi/ginkgo/internal/leafnodes/runner.go:113 +0xb8
Fixes: 0f81362fa0
2020-07-16 14:56:08 -05:00
Kubernetes Prow Robot
1f4da99f69
Merge pull request #92813 from ii/heyste-create-delete-core-v1-collection-namespaced-event-test
...
Promote deleteCoreV1CollectionNamespacedEvent test - +1 endpoint coverage
2020-07-15 19:16:34 -07:00
Michelle Au
10a8c195a1
Export WaitForCSIDriverRegistrationOnAllNodes to be used by external csi driver repos
...
Change-Id: Ie61430b1050a778d8ba98177e0c995ff2553f9cd
2020-07-15 16:53:37 -07:00
Gaurav Singh
339ed92ba8
[e2e/storage] fix range issue in getCSINodeLimits
...
Signed-off-by: Gaurav Singh <gaurav1086@gmail.com>
2020-07-15 19:09:30 -04:00