Julian V. Modesto
f448c01651
Add kubectl diff + server-side dry-run to e2e
2020-04-02 20:54:53 -04:00
Julian V. Modesto
9c0320f1bf
Ensure diff doesn't persist patches
2020-04-02 19:23:32 -04:00
Kenichi Omichi
c0d09c943d
Move NodeUpgrade() into GCP e2e tests
...
These functions are for GCP e2e tests only, so this moves these
functions into the tests.
2020-04-02 22:13:50 +00:00
Kubernetes Prow Robot
aff467bbb4
Merge pull request #89777 from wojtek-t/fix_networking_tests_timeouts
...
Fix networking tests timeouts for large clusters
2020-04-02 12:43:20 -07:00
Kubernetes Prow Robot
e8a24cb7f4
Merge pull request #89703 from ahg-g/ahg-podinfo
...
Rename scheduler/nodeinfo pkg to scheduler/types
2020-04-02 12:43:11 -07:00
Kubernetes Prow Robot
4a897137b6
Merge pull request #89678 from tanjunchen/manifest
...
test/e2e/manifest:remove unused function
2020-04-02 10:50:38 -07:00
Kubernetes Prow Robot
6bad8cb126
Merge pull request #89676 from tanjunchen/move-func-20200331
...
test/e2e/framework move func logClusterImageSources to test/e2e/e2e.go
2020-04-02 10:50:25 -07:00
Kenichi Omichi
48fdb95a82
Add common SSHPort on e2essh
...
There were several sshPort values in e2e test packages because
we've migrated code from e2e framework by copying and pastting.
This adds common SSHPort on e2essh package to reduce such duplicated
code.
2020-04-02 17:41:49 +00:00
wojtekt
a20646ef8a
Hide constants to force using functions instead
2020-04-02 17:19:41 +02:00
wojtekt
268b51d023
Cleanup and fix networking test timeouts for large clusters
2020-04-02 17:19:41 +02:00
wojtekt
4c5a963463
Cleanup timeouts for networking tests
2020-04-02 16:30:40 +02:00
Kubernetes Prow Robot
2fd8debe9b
Merge pull request #87926 from fedepaol/agnostsctp
...
Preliminary SCTP connectivity tests
2020-04-02 02:12:24 -07:00
Kubernetes Prow Robot
1130e8910f
Merge pull request #89198 from tanjunchen/cleanup20200318
...
e2e/framework: security/ and /service remove direct import /k8s.io/kubernetes/pkg/
2020-04-01 22:15:05 -07:00
Kubernetes Prow Robot
8d773421ee
Merge pull request #80973 from xiaoanyunfei/bugfix/orphan-volume
...
fix orphaned pod flexvolume can not be cleaned up
2020-04-01 20:50:23 -07:00
Caleb Woodbine
31fea24c39
Promote Event resource lifecycle test
2020-04-02 15:36:49 +13:00
Kubernetes Prow Robot
205e2739bd
Merge pull request #87080 from aojea/tcpclose_lasttry
...
fix flakes on e2e test TCP CLOSE_WAIT timeout
2020-04-01 15:28:24 -07:00
John Belamaric
de5d8d612b
Various cleanup for the kubeconform command
2020-04-01 14:39:52 -07:00
Kubernetes Prow Robot
ed00f42848
Merge pull request #89563 from oomichi/RestartControllerManager
...
Separate RestartControllerManager() as e2ekubesystem
2020-04-01 13:42:23 -07:00
Kubernetes Prow Robot
6e9bec8ee2
Merge pull request #89504 from tanjunchen/remove-dependency-001
...
test/e2e/framework: remove direct imports to k8s.io/kubernetes/pkg
2020-04-01 11:02:23 -07:00
Aaron Crickenberger
1a5f6906e0
e2e: don't use kubelet api to verify pod deletion
...
Conformance tests must not rely on the kubelet API in order to
pass. In this case, I think it's unnecessary to verify that a
kubelet observes the deletion within gracePeriod seconds. The
remaining checks in this test verify that pod deletion happens,
and that the pod is removed.
2020-04-01 08:28:27 -07:00
Aaron Crickenberger
cc7c862ce1
e2e: use apiserver view of pods on node instead of kubelet
...
Conformance tests must not rely on the kubelet API in order to
pass. SchedulerPredicates tests attempt to use the kubelet API
in their BeforeEach, some of which are tagged as Conformance.
Is there a compelling reason to use the kubelet's view of pods
for a given node instead of the apiserver's view of the pods?
2020-04-01 08:28:14 -07:00
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
e39aa99c73
Merge pull request #89708 from spiffxp/update-conformance-instructions
...
Update conformance docs to reference correct bazel location of testdata
2020-04-01 00:21:27 -07: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
Caleb Woodbine
ce97b49965
Update conformance metadata
2020-04-01 12:54:09 +13: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
Aaron Crickenberger
ec0d6cb693
Fix bazel location of testdata
2020-03-31 16:11:18 -07: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
Caleb Woodbine
63632118b7
Fix conformance testdata
2020-04-01 09:43:56 +13:00
Julian V. Modesto
efed958779
Support kubectl scale --dry-run=server|client
2020-03-31 16:19:52 -04: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
Kubernetes Prow Robot
f6704fdd66
Merge pull request #89670 from seans3/apply-integration-tests
...
Fixes kubectl apply tests to run; updates broken tests
2020-03-30 23:22:40 -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
740a7b1233
Merge pull request #89235 from oomichi/issue/89185
...
Enable import-boss check for integration test
2020-03-30 17:08:40 -07:00
Sean R. Sullivan
4ca2d5a9da
Fixes kubectl apply tests to run; updates broken tests
2020-03-30 17:04:10 -07:00
Jordan Liggitt
343c1e7636
Fix client watch reestablishment handling of client-side timeouts
2020-03-30 17:48:00 -04: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