Commit Graph

17175 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
6b594c25c8 Merge pull request #90615 from dims/drop-conformance-tag-for-tests-that-rely-directly-on-kubelet-logs-api
Drop conformance tag for tests that rely directly on kubelet /logs API
2020-05-01 00:42:12 -07:00
Kubernetes Prow Robot
cff910b890 Merge pull request #90509 from knight42/fix/flaky-explain-test
fix flaky conformance test
2020-05-01 00:40:18 -07:00
Kubernetes Prow Robot
a0344973a3 Merge pull request #90591 from cofyc/fix-e2e-namespace-creation
e2e: regenerate namespace name if the name is already taken
2020-04-30 15:56:13 -07:00
tanjunchen
caddb3ffd3 test/e2e/framework:remove the direct dependency for k8s.io/kubernetes/pkg 2020-04-30 23:08:33 +08:00
louisgong
9390ff35a1 clean some dead configs 2020-04-30 20:07:08 +08:00
Kubernetes Prow Robot
8876563700 Merge pull request #90360 from tnozicka/fix-client-ca-reload
Fix client-ca dynamic reload in apiserver
2020-04-30 01:10:18 -07:00
Caleb Woodbine
bd9269f444 Fix formatting 2020-04-30 14:21:04 +12:00
Davanum Srinivas
3292bb6145 Drop conformance tag for tests that rely directly on kubelet /logs API
In caf0d1d61874a2c8687b7deb773eca30ddaee5b6 we documented a policy to
ensure that conformance tests should not rely in existence or use of
kubelet apis directly. So based on that we should drop conformance for
the two tests here that use the "/logs" endpoint directly.

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-04-29 20:16:51 -04:00
Hemant Kumar
9d4329f62c Check for empty zone string 2020-04-29 10:46:15 -04:00
Tomas Nozicka
b22a170d46 Fix client-ca dynamic reload in apiserver 2020-04-29 16:03:09 +02:00
tanjunchen
3b5ea194ea test/e2e/framework : move AddOrUpdateTaintOnNode to subpackage node 2020-04-29 21:29:38 +08:00
Claudiu Belu
06a1b7b491 tests: Retries exec after container restart due to liveness
The test "should not change the subpath mount on a container restart if the environment variable changes"
creates a pod with the liveness probe: cat /volume_mount/test.log. The test then
deletes that file, which causes the probe to fail and the container to be restarted.
After which it recreates the file by exec-ing into the pod, but there is a chance
that the container was not created yet, or it did not start yet.

This commit adds a few retries to the exec command.
2020-04-29 03:22:30 -07:00
Claudiu Belu
707883d52b tests: Refactors Variable Expansion tests 2020-04-29 03:21:35 -07:00
Yecheng Fu
38c5da01ad regenerate namespace name if the name is already taken 2020-04-29 17:27:52 +08:00
Aaron Crickenberger
c209fe8439 fix .import-restrictions to work with import-boss --include-test-files
this is mainly to ensure integration tests (which all end in _test)
are properly bossed around for their imports

I had to adjust some of the _test files to adhere to existing
reverse_rules specified elsewhere
2020-04-28 08:41:36 -07:00
Aaron Crickenberger
81881e4a12 prune .import-restrictions
specifically:

- cmd/kubeadm/.import-restrictions
  - we don't need to explicitly allow k8s.io repos (external or published)
- rm pkg/controller/.import-restrictions
  - pkg/client/unversioned was removed in 59042
- pkg/kubectl/.import-restrictions
  - pkg/printers is no longer used
  - pkg/api was masking all of the pkg/apis prefixes
- rm staging/src/k8s.io/code-generator/cmd/lister-gen/.import-restrictions
  - noop / empty file
- test/e2e/framework/.import-restrictions
  - we don't need to explicitly allow k8s.io repos (external or published)
2020-04-28 08:41:36 -07:00
Aaron Crickenberger
f306a0dbb4 convert .import-restrictions to yaml
yaml has comments, so we can explain why we have certain rules or
certain prefixes

for those files that weren't already commented yaml, I converted them to
yaml and took a best guess at comments based on the PRs that introduced
or updated them
2020-04-28 08:41:36 -07:00
knight42
b9fb9b82f3 test(kubectl::explain): move the flaky test out of conformance
Signed-off-by: knight42 <anonymousknight96@gmail.com>
2020-04-28 21:35:30 +08:00
Kubernetes Prow Robot
f86bf71dbe Merge pull request #89560 from gavinfish/direct-k8s-pod
e2e/framework: remove direct imports to /pkg/api/v1/pod
2020-04-27 22:26:05 -07:00
Hemant Kumar
850da22c02 Azure - do not use 0 zone or empty string for zone when creating PVs 2020-04-27 17:14:50 -04:00
Antonio Ojea
2c2e9cdd72 Fix e2e network performance test 2020-04-27 11:57:10 +02:00
Patrick Ohly
e3d258d6ca e2e storage: wait for PV deletion also for late binding
When a test pattern or storage class uses late binding, the cleanup
code didn't know about the PV that may have been created for the PVC
since setting it up and thus then also didn't wait for PV deletion.

This is problematic for test isolation because the next test was
allowed to be started before fully cleaning up. Worse, it the driver
gets removed after the test, the volume might never get deleted.
2020-04-27 10:34:50 +02:00
Gaurav Singh
8240f21753 Convert index variable to interface{} 2020-04-26 11:10:00 -04:00
Gaurav Singh
98051aaba2 Fix race condition in logging 2020-04-25 22:01:21 -04:00
Kubernetes Prow Robot
4e45845530 Merge pull request #90095 from agadelshin/87893-ingress-egress-test
Add test for ingress/egress combination
2020-04-25 05:57:28 -07:00
Kubernetes Prow Robot
52ba6dc560 Merge pull request #89594 from wojtek-t/beta_immutable_secrets
Promote Immutable Secrets/ConfigMaps to Beta
2020-04-25 03:17:29 -07:00
Kubernetes Prow Robot
d0f10f1d4f Merge pull request #90465 from wojtek-t/fix_loadbalancer_tets
Migrate ingress test manifests to networking API group
2020-04-24 15:32:37 -07:00
Kubernetes Prow Robot
b68bf25531 Merge pull request #90448 from soltysh/issue87851
Fix run command when waiting for pods
2020-04-24 15:32:17 -07:00
Kubernetes Prow Robot
219f062769 Merge pull request #64829 from dixudx/e2e_hostpath_type
fix bug on checking non directory HostPathType and add e2e tests for HostPathType
2020-04-24 15:31:29 -07:00
Kubernetes Prow Robot
7fdb2b16ae Merge pull request #90468 from liggitt/fix-cache-control
Restore cache-control header filter
2020-04-24 14:01:29 -07:00
Jordan Liggitt
5efcc9e633 Restore cache-control header filter 2020-04-24 15:38:51 -04:00
wojtekt
b112393394 Migrate ingress test manifests to networking API group 2020-04-24 20:41:48 +02:00
Maciej Szulik
6f1484256d waitForPod should use different exitCondition depending on restart policy 2020-04-24 16:30:46 +02:00
Kubernetes Prow Robot
70c18e4a15 Merge pull request #90404 from beautytiger/200423-nil-check
cleanup: delete unnacessary nil check before range
2020-04-24 04:42:06 -07:00
Kubernetes Prow Robot
f7b9960767 Merge pull request #90313 from tangcong/fix-scheduler-static-checkerr
fix e2e scheduling staticcheck error
2020-04-23 23:30:20 -07:00
Kubernetes Prow Robot
a62cfe8451 Merge pull request #75111 from tnozicka/fix-e2e-watches
Fix watches in e2e tests
2020-04-23 19:20:07 -07:00
Kubernetes Prow Robot
aef471ec3c Merge pull request #90392 from tanjunchen/remove-direct-dependency
test/e2e_node/gpu_device_plugin_test.go:Remove direct prometheus dependencies from k/k
2020-04-23 17:20:20 -07:00
Kubernetes Prow Robot
775feed217 Merge pull request #90018 from wojtek-t/deprecate_default_conversions
Deprecate default conversions
2020-04-23 10:23:10 -07:00
Tomas Nozicka
c62db98e95 Update Bazel 2020-04-23 17:27:13 +02:00
Tomas Nozicka
d0a4c52392 Fix watches in apparmor e2e 2020-04-23 17:26:28 +02:00
Tomas Nozicka
df8994c202 Fix watches in e2e framework 2020-04-23 17:17:26 +02:00
Tomas Nozicka
c0ddbb0e97 Fix watches in init container e2e tests 2020-04-23 16:52:29 +02:00
Tomas Nozicka
2256991c93 Fix watches in StatefulSet e2e tests 2020-04-23 16:08:32 +02:00
Guangming Wang
bbd4fea21c cleanup: delete unnacessary nil check before range 2020-04-23 20:28:14 +08:00
Kubernetes Prow Robot
c12aeb2b77 Merge pull request #89753 from ii/promote-event-resource-lifecycle-test
Promote Event resource lifecycle test  +5 test endpoint coverage
2020-04-23 03:57:45 -07:00
tanjunchen
de99aaf8d2 test/e2e_node/gpu_device_plugin_test.go:Remove prometheus dependencies from k/k 2020-04-23 14:23:43 +08:00
Caleb Woodbine
e09e781a0c Promote ServiceAccount resource lifecycle test 2020-04-23 16:32:54 +12:00
Di Xu
3f5e09b6e2 add e2e tests for HostPathType and mark as slow 2020-04-23 10:52:40 +08:00
Kubernetes Prow Robot
7ad2eb04af Merge pull request #90354 from ii/mark-replicationcontroller-resource-lifecycle-test-as-flaky
Mark ReplicationController resource lifecycle test as flaky
2020-04-22 19:22:43 -07:00
Kubernetes Prow Robot
53374fa519 Merge pull request #90343 from neolit123/1.19-remove-kubernetes-anywhere
remove kubernetes-anywhere from this repository
2020-04-22 19:22:24 -07:00