Commit Graph

10771 Commits

Author SHA1 Message Date
Davanum Srinivas
d1c948acdc
Add support for listing conformance tests
we print yaml, so you can use yaml tools like `yq`:
```
e2e.test --list-conformance-tests | yq r - --collect *.testname
```

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-04-01 10:48:53 -04:00
Davanum Srinivas
b6a07b92fc
add conformance testdata/ and make it available from bindata
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-04-01 10:48:01 -04:00
Kubernetes Prow Robot
53eb7cd733
Merge pull request #86858 from ii/create-event-test-to-ensure-creating-modifying-patching-deleting-and-listing
Create Event lifecycle test - +5 endpoint coverage
2020-03-31 21:31:27 -07:00
Jordan Liggitt
93c7b24562 github.com/googleapis/gnostic v0.4.1 2020-03-31 23:07:50 -04:00
tanjunchen
45b7736390 remove unused code 2020-04-01 10:50:59 +08:00
Abdullah Gharaibeh
ed3fe054df move scheduler nodeinfo to pkg/scheduler/types 2020-03-31 21:02:09 -04:00
Antonio Ojea
a89c2bdaf1
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-04-01 01:16:39 +02:00
Caleb Woodbine
2b325f07f4 Fix DeleteOptions value 2020-04-01 11:00:20 +13:00
Caleb Woodbine
a8592dd9d1 Fix sig in podtemplates.go 2020-04-01 10:45:20 +13:00
Kubernetes Prow Robot
1b7f5662e1
Merge pull request #89215 from k-toyoda-pi/use_expectnotequal_service
Use ExpectNotEqual in test/e2e/network/
2020-03-31 14:15:28 -07:00
Caleb Woodbine
916d96e428 Update test/e2e/framework/events/events.go
Co-Authored-By: Aaron Crickenberger <spiffxp@google.com>
2020-04-01 09:57:29 +13:00
Kubernetes Prow Robot
b7faac459f
Merge pull request #89188 from tallclair/psp-tests
Move PSP tests behind a feature tag
2020-03-31 12:37:14 -07:00
Kubernetes Prow Robot
7b1a531976
Merge pull request #88588 from ii/create-replication-controller-lifecycle-test
Create ReplicationController lifecycle test - +7 endpoint coverage
2020-03-31 08:04:41 -07:00
tanjunchen
59a183f6b3 test/e2e/framework move func logClusterImageSources to test/e2e/e2e.go 2020-03-31 11:34:24 +08:00
Kubernetes Prow Robot
238d2c8776
Merge pull request #89639 from gavinfish/kubelet-metrics
e2e/framework: remove direct imports to /pkg/kubelet/...
2020-03-30 20:10:40 -07:00
tanjunchen
6003ff44e8 e2e/framework:security/ remove direct import /k8s.io/kubernetes/pkg/ 2020-03-31 09:54:43 +08:00
gavinfish
e50afd00e9 e2e/framework: remove direct imports to /pkg/kubelet/... 2020-03-31 09:31:54 +08:00
tanjunchen
fb078347e3 test/e2e/framework: remove direct imports to k8s.io/kubernetes/pkg 2020-03-31 09:26:07 +08:00
Kubernetes Prow Robot
52c2ff6d1a
Merge pull request #89506 from tanjunchen/remove-dependency-002
test/e2e/framework: remove direct dependency to k8s.io/kubernetes/pkg/controller
2020-03-30 17:08:54 -07:00
Kubernetes Prow Robot
184fe990aa
Merge pull request #89592 from dcbw/e2e-np-previous-logs
e2e/network: get previous pod logs on NetworkPolicy test failure
2020-03-30 14:20:40 -07:00
Kubernetes Prow Robot
9df42c0342
Merge pull request #89641 from tanjunchen/remove-dependeny-20200330
test/e2e/framework/kubelet/:remove the direct dependency to k8s.io/kubernetes/pkg
2020-03-30 08:22:37 -07:00
Kubernetes Prow Robot
8d257ad315
Merge pull request #88118 from pohly/wait-for-persistent-volume-deleted-error
e2e/storage: check result of WaitForPersistentVolumeDeleted
2020-03-30 07:01:55 -07:00
tanjunchen
72558add6a test/e2e/framework/kubelet/: remove direct dependency k8s.io/kubernetes/pkg/kubelet/dockershim/metrics 2020-03-30 13:36:58 +08:00
Kubernetes Prow Robot
e03c7756c7
Merge pull request #89213 from tanjunchen/cleanup20200318-003
e2e/framework : pods.go remove direct imports to k8s.io/kubernetes/pkg/
2020-03-28 11:27:54 -07:00
Kubernetes Prow Robot
e3eb0532da
Merge pull request #89568 from SataQiu/staging-e2e-framework-20200327
e2e/framework: remove direct import to pkg/kubelet/util/format
2020-03-27 17:12:15 -07:00
Kubernetes Prow Robot
4e9dd8fd36
Merge pull request #89454 from gavinfish/import-aliases
Update .import-aliases for e2e test framework
2020-03-27 14:35:54 -07:00
Dan Williams
fe74d08e60 e2e/network: get previous pod logs on NetworkPolicy test failure
Sometimes the pod has already been cleaned up by the time the test
tried to grab the logs.

Mar 27 16:19:38.066: INFO: Waiting for client-a-jt4tf to complete.
Mar 27 16:19:38.066: INFO: Waiting up to 5m0s for pod "client-a-jt4tf" in namespace "e2e-network-policy-c-9007" to be "success or failure"
Mar 27 16:19:38.072: INFO: Pod "client-a-jt4tf": Phase="Pending", Reason="", readiness=false. Elapsed: 6.270302ms
Mar 27 16:19:40.078: INFO: Pod "client-a-jt4tf": Phase="Pending", Reason="", readiness=false. Elapsed: 2.01233019s
Mar 27 16:19:42.086: INFO: Pod "client-a-jt4tf": Phase="Succeeded", Reason="", readiness=false. Elapsed: 4.020186873s
STEP: Saw pod success
Mar 27 16:19:42.086: INFO: Pod "client-a-jt4tf" satisfied condition "success or failure"
Mar 27 16:19:42.093: FAIL: Error getting container logs: the server could not find the requested resource (get pods client-a-jt4tf)

Full Stack Trace
github.com/openshift/origin/vendor/k8s.io/kubernetes/test/e2e/network.checkNoConnectivity(0xc00104adc0, 0xc0016b82c0, 0xc001666400, 0xc000c32000)
    /go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/k8s.io/kubernetes/test/e2e/network/network_policy.go:1457 +0x2a0
github.com/openshift/origin/vendor/k8s.io/kubernetes/test/e2e/network.testCannotConnect(0xc00104adc0, 0xc0016b82c0, 0x55587e9, 0x8, 0xc000c32000, 0x50)
    /go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/k8s.io/kubernetes/test/e2e/network/network_policy.go:1406 +0x1fc
github.com/openshift/origin/vendor/k8s.io/kubernetes/test/e2e/network.glob..func13.2.7()
    /go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/k8s.io/kubernetes/test/e2e/network/network_policy.go:285 +0x883
github.com/openshift/origin/pkg/test/ginkgo.(*TestOptions).Run(0xc001e47830, 0xc001e50b70, 0x1, 0x1, 0x0, 0x0)
    /go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/pkg/test/ginkgo/cmd_runtest.go:59 +0x41f
main.newRunTestCommand.func1(0xc00121b900, 0xc001e50b70, 0x1, 0x1, 0x0, 0x0)
    /go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/cmd/openshift-tests/openshift-tests.go:238 +0x15d
github.com/openshift/origin/vendor/github.com/spf13/cobra.(*Command).execute(0xc00121b900, 0xc001e50b30, 0x1, 0x1, 0xc00121b900, 0xc001e50b30)
    /go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/github.com/spf13/cobra/command.go:826 +0x460
github.com/openshift/origin/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0xc00121b180, 0x0, 0x60d2d00, 0x9887ec8)
    /go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/github.com/spf13/cobra/command.go:914 +0x2fb
github.com/openshift/origin/vendor/github.com/spf13/cobra.(*Command).Execute(...)
    /go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/vendor/github.com/spf13/cobra/command.go:864
main.main.func1(0xc00121b180, 0x0, 0x0)
    /go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/cmd/openshift-tests/openshift-tests.go:59 +0x9c
main.main()
    /go/src/github.com/openshift/origin/_output/local/go/src/github.com/openshift/origin/cmd/openshift-tests/openshift-tests.go:60 +0x341
STEP: Cleaning up the pod client-a-jt4tf
STEP: Cleaning up the policy.
2020-03-27 13:47:28 -05:00
SataQiu
b748c702d9 e2e/framework: remove direct import to pkg/kubelet/util/format 2020-03-27 17:19:00 +08:00
Kenichi Omichi
42bb845f40 Separate RestartControllerManager() as e2ekubesystem
RestartControllerManager() is kube-controller specific function
and it is better to separate the function as subpackage of e2e
test framework.
In addition, the function made invalid dependency into e2essh.
So this separates the function into e2ekubesystem subpackage.
2020-03-27 03:52:17 +00:00
Clayton Coleman
acb242f99c
test: Remove final user of startup-script image
It can be replaced with nc in busybox like other tests.
2020-03-26 23:51:55 -04:00
tanjunchen
27e133afe2 e2e/framework : pods.go remove direct imports to k8s.io/kubernetes/pkg/ 2020-03-27 11:42:22 +08:00
Kubernetes Prow Robot
9dd55b0555
Merge pull request #89509 from tanjunchen/remove-dependency-003
test/e2e/framework /service and /pv:remove direct dependency to k8s.io/kubernetes/pkg
2020-03-26 17:24:36 -07:00
Kubernetes Prow Robot
123691bd93
Merge pull request #89231 from andrewsykim/e2e-framework-ssh
e2e/framework: implement ssh exec internally
2020-03-26 17:24:23 -07:00
Kubernetes Prow Robot
708dd2ea7a
Merge pull request #89308 from zshihang/sync
sync api/v1/pod/util with api/pod/util
2020-03-26 14:10:49 -07:00
Kubernetes Prow Robot
f022274d8c
Merge pull request #88778 from ii/create-endpoints-resource-lifecycle-test
Create Endpoints resource lifecycle test - +5 endpoint coverage
2020-03-26 11:13:50 -07:00
tanjunchen
9b9b27d768 test/e2e/framework /service and /pv:remove direct dependency to k8s.io/kubernetes/pkg/ 2020-03-27 01:11:13 +08:00
tanjunchen
d7e787adce test/e2e/framework: remove direct dependency to k8s.io/kubernetes/pkg/controller 2020-03-26 23:21:22 +08:00
Patrick Ohly
c9004e704d e2e/storage: check result of WaitForPersistentVolumeDeleted
When deleting fails, the tests should be considered as failed,
too. Ignoring the error caused a wrong return code in the CSI mock
driver to go unnoticed (see
https://github.com/kubernetes-csi/csi-test/pull/250). The v3.1.0
release of the CSI mock driver fixes that.
2020-03-26 13:22:04 +01:00
Kubernetes Prow Robot
f8e62e33c9
Merge pull request #89502 from SataQiu/staging-e2e-20200326
e2e/framework: remove direct imports to pkg/util/taints
2020-03-26 03:34:25 -07:00
Kubernetes Prow Robot
295b53f7b4
Merge pull request #89214 from jingyih/update_etcd_server_3p4p4
Update default etcd server to 3.4.4 in k8s v1.19
2020-03-26 01:14:24 -07:00
SataQiu
d294e672c1 e2e/framework: remove direct imports to pkg/util/taints 2020-03-26 14:43:23 +08:00
Kenichi Omichi
7398c83afd Move RestartApiserver() into e2e/network
The function is called from e2e/network test only, so this moves
the function into the test for reducing e2e/framework/util.go code
and removing invalid dependency on e2e test framework.
2020-03-25 20:23:25 +00:00
Jie Shen
68a4b7d621
Move assertCleanup() to e2e kubectl (#89452)
* Move assertCleanup() to e2e kubectl

* Update test/e2e/kubectl/kubectl.go

Co-Authored-By: SataQiu <1527062125@qq.com>

Co-authored-by: SataQiu <1527062125@qq.com>
2020-03-25 11:20:06 -07:00
Kubernetes Prow Robot
3afbcad669
Merge pull request #89436 from oomichi/RestartKubelet
Move RestartKubelet() into e2e/storage/vsphere
2020-03-25 02:03:17 -07:00
张潇
0588958fd3
beta.kubernetes.io/os is already deprecated 2020-03-25 12:57:06 +08:00
drfish
dfab6b637f Update .import-aliases for e2e test framework 2020-03-25 11:40:02 +08:00
Kubernetes Prow Robot
aa4f8e9a39
Merge pull request #89405 from tanjunchen/move-websocket-subpackage-websocket
test/e2e/framework:move OpenWebSocketForURL to subpackage(new) websocket
2020-03-24 20:09:02 -07:00
Caleb Woodbine
9aa3c23ad3 Update DynamicClient fetch of Pod statement 2020-03-25 15:10:28 +13:00
Shihang Zhang
b56da85a77 sync api/v1/pod/util with api/pod/util and remove DefaultContainers 2020-03-24 16:42:32 -07:00
Kenichi Omichi
2158989d6f Move WaitForPersistentVolumeDeleted() to e2epv
The function is for persistent volumes and it doesn't have any
reason why it stays in core test framework. So this moves the
function into e2epv package for reducing e2e/framework/util.go
code.
2020-03-24 22:54:07 +00:00
Kubernetes Prow Robot
91766b86a9
Merge pull request #89387 from oomichi/NewAgnhostPod
Move NewAgnhostPod() to e2e/network
2020-03-24 15:27:53 -07:00
Kubernetes Prow Robot
dfe83809f3
Merge pull request #89379 from derekwaynecarr/increase-graceperiod-timeout
deflake grace period for pod deletion in node e2e
2020-03-24 15:27:44 -07:00
Kubernetes Prow Robot
f898f45b20
Merge pull request #89070 from alculquicondor/static-partitioning
Add chunk size option to ParallelizeUntil
2020-03-24 15:27:02 -07:00
Caleb Woodbine
dacd32887f Update DeleteOptions 2020-03-25 11:24:14 +13:00
Caleb Woodbine
f64d348505 Update DeleteOptions 2020-03-25 11:22:31 +13:00
Caleb Woodbine
58c532b968 Update name of watchEvent and comment on timeout for watch 2020-03-25 11:05:40 +13:00
Caleb Woodbine
772eacadc1 Update naming of watchEvents 2020-03-25 10:50:03 +13:00
Caleb Woodbine
cdcff31585 Update conformance metadata release version to v1.19 2020-03-25 09:35:24 +13:00
Caleb Woodbine
fce812b502 Update conformance metadata to have release version v1.19 2020-03-25 09:31:04 +13:00
Kenichi Omichi
23066215f5 Move RestartKubelet() into e2e/storage/vsphere
Since 4e7c2f638d the function has been
called from storage vsphere e2e test only. This moves the function
into the test file for
- Reducing test/e2e/framework/util.go which is one of huge files
- Remove invalid dependency on e2e test framework
- Remove unnecessary TODO
2020-03-24 17:42:58 +00:00
Kubernetes Prow Robot
bf4cc5b3d9
Merge pull request #89408 from gavinfish/delete-cleanup
Delete Cleanup method in e2e util
2020-03-24 10:42:58 -07:00
tanjunchen
aa9d06d79b test/e2e/framework:move OpenWebSocketForURL to subpackage(new) websocket 2020-03-24 22:54:35 +08:00
Aldo Culquicondor
b01e3dc394 Add transient dependency to test/e2e/framework/.import-restrictions
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-03-24 10:37:50 -04:00
Kenichi Omichi
62f3223dec Move BlockNetwork() to e2enetwork
for removing invalid dependency from e2e core framework to e2essh
subpackage and reducing test/e2e/framework/util.go code which is
one of huge files today.
2020-03-24 13:43:51 +00:00
Kenichi Omichi
5c77461733 Move NewAgnhostPod() to e2e/network
because the function is called in e2e/network tests only.
2020-03-24 05:46:49 +00:00
Kubernetes Prow Robot
07a7c4902e
Merge pull request #89388 from oomichi/NewTestPod
Move NewTestPod() to e2e/scheduling
2020-03-23 21:57:00 -07:00
Kubernetes Prow Robot
cc06d2a2be
Merge pull request #89243 from SataQiu/staging-e2e-framework-20200319
e2e/framework: remove direct imports to /pkg/controller/nodelifecycle
2020-03-23 21:56:47 -07:00
gavinfish
6ea15783e9 Delete Cleanup method in e2e util 2020-03-24 11:44:09 +08:00
Kubernetes Prow Robot
a04c098d1d
Merge pull request #89386 from oomichi/GetFileModeRegex
Move GetFileModeRegex to e2e/common
2020-03-23 20:31:28 -07:00
Kenichi Omichi
d1361d10fe Move NewTestPod() to e2e/scheduling
because the function is called in e2e/scheduling tests.
2020-03-23 23:56:09 +00:00
Kenichi Omichi
5f81f5b96c Move GetFileModeRegex to e2e/common
because the function is used at e2e/common tests only.
2020-03-23 23:23:54 +00:00
Kubernetes Prow Robot
1da4f75e24
Merge pull request #85128 from kevtaylor/kep/VolumeSubpathExpansion-Conformance
Promote VolumeSubpathEnvExpansion e2e tests to Conformance
2020-03-23 15:32:47 -07:00
Derek Carr
02e4ce6835 deflake grace period for pod deletion in node e2e 2020-03-23 15:23:54 -04:00
Kenichi Omichi
d191660c25 Use e2epod.WaitForPodTerminatedInNamespace directly
WaitForPod*() are just wrapper functions for e2epod package, and they
made an invalid dependency to sub e2e framework from the core framework.
So this replaces WaitForPodTerminated() with the e2epod function.
2020-03-22 17:43:33 +00:00
tanjunchen
bed22fbb44 WaitForPodReady is simply wrapper functions for e2epod package,
and they made an invalid dependency to sub e2e framework from the core framework.

So we can use e2epod.WaitTimeoutForPodReadyInNamespace to remove invalid dependency.

The main purpose of this pr is to handle the framework core package dependency subpackage pod.
2020-03-22 23:08:52 +08:00
Kubernetes Prow Robot
d23310a40e
Merge pull request #89324 from tanjunchen/remove-invalid-dependency-waitForPod-002
use e2epod.WaitForPodRunningInNamespaceSlow directly
2020-03-22 00:36:44 -07:00
tanjunchen
aa52bfe4d6 use e2epod.WaitForPodRunningInNamespaceSlow directly 2020-03-21 15:51:49 +08:00
tanjunchen
d18e6569e0 use e2epod.WaitForPodNotFoundInNamespace directly 2020-03-21 15:11:40 +08:00
Kubernetes Prow Robot
53e86a814d
Merge pull request #89204 from tanjunchen/cleanup20200318-002
test/framework: psp.go skipper.go remove direct import /k8s.io/kubernetes/pkg
2020-03-20 23:08:44 -07:00
SataQiu
799cdbf7b0 e2e/framework: remove direct imports to /pkg/controller/nodelifecycle 2020-03-21 11:08:57 +08:00
Kubernetes Prow Robot
d3b2199b2f
Merge pull request #89321 from oomichi/WaitForPodNoLongerRunning
Use e2epod.WaitForPodNoLongerRunningInNamespace directly
2020-03-20 20:00:53 -07:00
Kubernetes Prow Robot
bf4bc4d883
Merge pull request #89283 from SataQiu/staging-e2e-framework-20200320
e2e/framework: remove direct imports to /pkg/client/conditions
2020-03-20 20:00:44 -07:00
Kubernetes Prow Robot
a26f50a52e
Merge pull request #86679 from oomichi/remove-invalid-dependency-27
Use e2epod.WaitForPodNameRunningInNamespace directly
2020-03-20 15:58:44 -07:00
Kenichi Omichi
12ff8f2861 Use e2epod.WaitForPodNoLongerRunningInNamespace directly
WaitForPod*() are just wrapper functions for e2epod package, and they
made an invalid dependency to sub e2e framework from the core framework.
So this replaces WaitForPodNoLongerRunning() with the e2epod function.
2020-03-20 21:05:01 +00:00
Kubernetes Prow Robot
8a7c682c06
Merge pull request #88949 from gavinfish/remove-node
Remove framework.go's dependency on e2e node sub fw
2020-03-20 14:02:09 -07:00
SataQiu
86fe8f6472 e2e/framework: remove direct imports to /pkg/client/conditions
Signed-off-by: SataQiu <1527062125@qq.com>
2020-03-20 15:13:12 +08:00
Kubernetes Prow Robot
990a3802f6
Merge pull request #89180 from oomichi/LogOutput
Move podlogs into e2e/storage/testsuites
2020-03-19 20:31:22 -07:00
Kubernetes Prow Robot
0fe5157009
Merge pull request #88923 from Jefftree/conformance-name
Fix Testname missing in conformance.yaml
2020-03-19 20:30:50 -07:00
tanjunchen
a3d802cb68 test/framework: psp.go skipper.go remove direct import /k8s.io/kubernetes/pkg 2020-03-20 10:13:44 +08:00
drfish
f5450543e0 Remove framework.go's dependency on e2e node sub fw 2020-03-20 10:01:51 +08:00
Kubernetes Prow Robot
a480f07b99
Merge pull request #88798 from k-toyoda-pi/update_e2e_for_pdb
Improve waitForPDBCollectionToBeDeleted in e2e test
2020-03-19 17:44:36 -07:00
Andrew Sy Kim
f26b8372f8 e2e/framework: implement ssh exec internally
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-03-19 11:43:04 -04:00
Kubernetes Prow Robot
e5c67f75a9
Merge pull request #89199 from SataQiu/staging-test-framework-20200318
e2e/framework: remove direct imports to pkg/api/v1/pod
2020-03-19 08:27:37 -07:00
Kubernetes Prow Robot
6d67bb3c02
Merge pull request #89228 from andrewsykim/e2e-framework-v1-helper
e2e/framework: remove import to pkg/apis/core/v1/helper
2020-03-19 06:06:56 -07:00
Kubernetes Prow Robot
1115ac231a
Merge pull request #89227 from adelina-t/serial_windows_test
Label Windows test as Serial.
2020-03-19 06:06:46 -07:00
Kubernetes Prow Robot
f01e0b2f70
Merge pull request #89192 from andrewsykim/e2e-framework-ports
e2e/framework: remove imports to pkg/master/ports
2020-03-19 06:06:37 -07:00
Kubernetes Prow Robot
b8a729b899
Merge pull request #89191 from misterikkit/vsphere-panic
Fix nil panic in vsphere tests
2020-03-19 06:06:29 -07:00
Kubernetes Prow Robot
2db51c85b9
Merge pull request #89187 from andrewsykim/e2e-framework-jobs
e2e/framework: remove imports to pkg/controller/job
2020-03-19 06:06:20 -07:00
Kubernetes Prow Robot
71839b58e3
Merge pull request #89186 from andrewsykim/e2e-framework-deployment-util
e2e/framework: remove direct imports to pkg/controller/deployment/util
2020-03-19 06:06:10 -07:00
Kubernetes Prow Robot
9bee0747a9
Merge pull request #89183 from andrewsykim/e2e-framework-storage-class
e2e/framework: remove direct import to pkg/apis/v1/storage/util
2020-03-19 06:06:00 -07:00
Kubernetes Prow Robot
de931d569e
Merge pull request #89105 from andyzhangx/upgrade-40.2
Upgrade to azure-sdk v40.2.0
2020-03-18 22:24:29 -07:00
Kubernetes Prow Robot
10d6efa04a
Merge pull request #89032 from tanjunchen/move-GetPodSecretUpdateTimeout
move GetPodSecretUpdateTimeout from framework/utils to test/e2e/framework/pod/
2020-03-18 22:24:01 -07:00
Kubernetes Prow Robot
df989a45f0
Merge pull request #89011 from oomichi/move-GetClusterZones
Move GetClusterZones() to e2enode
2020-03-18 22:23:43 -07:00
Kubernetes Prow Robot
e6e6f7d4dc
Merge pull request #89010 from oomichi/remove-E2ETestNodePreparer
Remove unused E2ETestNodePreparer and functions
2020-03-18 22:23:33 -07:00
Kubernetes Prow Robot
b52f703d2c
Merge pull request #88941 from dims/add-version-command-line-parameter
Add version flag to e2e.test
2020-03-18 22:23:11 -07:00
Jefftree
90cd496e72 Include testname 2020-03-18 14:54:06 -07:00
Kenichi Omichi
017eaf170a Move podlogs into e2e/storage/podlogs
The e2e framework package podlogs is used in e2e/storage/testsuites
only. In addition we considered we should have a single e2e framework
package for pod without the podlogs. So this moves the podlogs into
e2e/storage/podlogs for the e2e storage tests.
2020-03-18 17:44:12 +00:00
Andrew Sy Kim
145c1c123c e2e/framework: remove import to pkg/apis/core/v1/helper
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-03-18 13:18:39 -04:00
Adelina Tuvenie
d7995f3260 Label Windows test as Serial.
Windows test "[sig-windows] [Feature:Windows] Cpu Resources Container
limits should not be exceeded after waiting 2 minutes" should be run
serially to prevent flakyness.
2020-03-18 17:50:36 +01:00
toyoda
7499d80fd8 Use ExpectNotEqual in test/e2e/network/ 2020-03-18 16:30:56 +09:00
jingyih
f9e0e4c6b4 Update default etcd server to 3.4.4 2020-03-18 00:27:46 -07:00
SataQiu
6a41f331da e2e/framework: remove direct imports to pkg/api/v1/pod 2020-03-18 11:10:06 +08:00
Kubernetes Prow Robot
b88ea8d2bb
Merge pull request #88930 from oomichi/Failf
Replace ExpectNoError(fmt.Errorf(..)) with funcs
2020-03-17 19:28:20 -07:00
Kubernetes Prow Robot
d88571833e
Merge pull request #88830 from msau42/update-pd
Update version of pd csi driver
2020-03-17 19:27:27 -07:00
Kubernetes Prow Robot
e5f1048945
Merge pull request #88805 from aleksandra-malinowska/gce-multizone-tests
ignore gcloud warning in test framework
2020-03-17 19:26:41 -07:00
Kubernetes Prow Robot
fbdda693b4
Merge pull request #88796 from tanjunchen/remove-TODO-20200304
test/e2e/framework:remove TODO
2020-03-17 19:26:27 -07:00
Kubernetes Prow Robot
359f39c215
Merge pull request #88531 from claudiubelu/tests/configurable-private-image-pull
tests: Adds configurable docker conf for test
2020-03-17 16:21:19 -07:00
Kubernetes Prow Robot
9b8e247839
Merge pull request #88218 from SomtochiAma/pod-creation-methods
Refactors MakeSecPods function
2020-03-17 16:20:20 -07:00
Kubernetes Prow Robot
44c103c40d
Merge pull request #87644 from gavinfish/remove_sub_resource
Move resource methods from e2e core util to e2e resource fw
2020-03-17 16:19:39 -07:00
Andrew Sy Kim
c1e2f147ce e2e/frameworK: refactor GetPodsForDeployment to not depend on
pkg/controller/deployment/utils

Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-03-17 18:38:52 -04:00
Andrew Sy Kim
f0f6c6fc81 e2e/framework: remove imports to pkg/master/ports
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-03-17 17:42:43 -04:00
Jonathan Basseri
7f17ef28a8 Fix nil panic in vsphere tests
During test cleanup, we iterate over nodes.Items, but if test fails
during setup, nodes may be nil.
2020-03-17 14:00:10 -07:00
Tim Allclair
acf38c5f8a Move PSP tests behind a feature tag 2020-03-17 13:58:34 -07:00
Andrew Sy Kim
6c7bb454d5 e2e/framework: remove imports to pkg/controller/job
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-03-17 16:55:56 -04:00
Andrew Sy Kim
d4d3f3dda8 e2e/framework: copied constants for default storage class annotations should be unexported
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-03-17 16:40:23 -04:00
Andrew Sy Kim
60cb0d3cc1 e2e/framework: remove direct import to pkg/apis/v1/storage/util
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-03-17 16:07:42 -04:00
Kenichi Omichi
2c8955fd4a Use e2epod.WaitForPodNameRunningInNamespace directly
WaitForPod*() are just wrapper functions for e2epod package, and they
made an invalid dependency to sub e2e framework from the core framework.
So this replaces WaitForPodRunning() with the e2epod function.
2020-03-17 00:13:14 +00:00
Antonio Ojea
2a095f434b e2e wait until controller manager pod ready 2020-03-14 12:17:25 +01:00
andyzhangx
da20cc202f chore: upgrade to azure-sdk v40.2.0
chore: use autorest v0.9.6

fix go module issue

fix go module error
2020-03-13 11:51:25 +00:00
Antonio Ojea
334d46eed5
fix logging on e2e metrics grabber test 2020-03-13 09:48:39 +01:00
Kevin Taylor
468b3b40d8 Promote VolumeSubpathExpansion e2e tests to Conformance 2020-03-12 20:05:28 +00:00
Kubernetes Prow Robot
5bf4a4ca2f
Merge pull request #89078 from liggitt/kubectl-table-test
Remove kubectl column output test
2020-03-12 02:08:38 -07:00
Somtochi Onyekwere
ee41c6b1a4 Refactors MakeSecPods function 2020-03-12 07:14:08 +01:00
Jordan Liggitt
a35ca04dd6 Remove kubectl column output test 2020-03-11 22:59:51 -04:00
Antonio Ojea
4361f8f052 wait until /metrics are ready on e2e test
Some e2e tests depend on the controller-manager to expose metrics
on the path /metrics.

It may happen that when the test runs, the pod is not available or the
URL not ready, causing it to fail.

Previously, the test were waiting until the pod was running, but we
need to wait until the /metrics URL is ready.
2020-03-11 14:32:03 +01:00
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
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