Commit Graph

16045 Commits

Author SHA1 Message Date
Benjamin Elder
e6234519e1 set test image cloudbuild directory 2020-01-13 11:38:19 -08:00
Wei Huang
4083c7d49c Fix a flaky scheduler preemption e2e
- Use preemptor pod's Status.NominatedNodeName to signal success of the Preemption behavior
- Optimize the test to eliminate unnecessary Pods creation
- Increase timeout from 1 minute to 2 minutes
2020-01-13 09:39:48 -08:00
Manjunath A Kumatagi
f6d58ae3a9 Multi arch for nonroot image 2020-01-13 23:09:39 +05:30
Kubernetes Prow Robot
e265afa2cd Merge pull request #81170 from claudiubelu/test-images/centralize-image-to-agnhost-part-4
Centralizes images into agnhost (part 4)
2020-01-13 09:37:38 -08:00
Quan Tian
e8017795d1 Fix GetPodLogs failures in NetworkPolicy e2e tests
GetPodLogs always fails when the tests fail, which is because the tests
specify wrong container names when getting logs.

When creating a client Pod, it specifies "<podName>-container" as
container name and "<podName>-" as Pod GenerateName. For instance,
podName "client-a" will result in "client-a-container" as the container
name and "client-a-vx5sv" as the actual Pod name, but it always uses the
actual Pod name to construct the container name when getting logs, e.g.
"client-a-vx5sv-container".

This patch fixes it by specifying the same static container name when
creating Pod and getting logs.
2020-01-13 19:04:24 +08:00
yuxiaobo
07f31b3b17 test/e2e/ui and test/e2e/upgrades:Use e2eskipper package
Signed-off-by: yuxiaobo <yuxiaobogo@163.com>
2020-01-13 14:19:50 +08:00
yuxiaobo
73fb0ab5ec test/e2e/storage:Use e2eskipper package
Signed-off-by: yuxiaobo <yuxiaobogo@163.com>
2020-01-13 14:04:10 +08:00
yuxiaobo
34359176aa e2e/gke_local_ssd.go and e2e/gke_node_pools.go:Use e2eskipper package
Signed-off-by: yuxiaobo <yuxiaobogo@163.com>
2020-01-13 11:22:45 +08:00
wojtekt
7cc3971ee0 Immutable secrets/configmaps tests 2020-01-12 21:09:06 +01:00
ialidzhikov
e1f7b16fa6 Update to golang@1.13.6
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2020-01-12 02:17:40 +02:00
Kubernetes Prow Robot
dd465b82cf Merge pull request #86939 from msau42/update-sidecars
Update hostpath and mock csi drivers with latest sidecars
2020-01-11 02:43:49 -08:00
Kubernetes Prow Robot
9d1eb45bc6 Merge pull request #86627 from tnqn/flaky-e2e-job
Fix a flaky e2e test of Job completion
2020-01-11 02:43:36 -08:00
Kubernetes Prow Robot
50dcac4ce7 Merge pull request #86857 from ii/create-secret-patching-test
Create test to patch a secret
2020-01-11 00:15:37 -08:00
tanjunchen
f3b9a6e12f test/e2e/windows/:Use e2eskipper package 2020-01-11 15:27:54 +08:00
tanjunchen
3d34a814d6 test/e2e/kubectl test/e2e_kubeadm:Use e2eskipper package 2020-01-11 14:32:19 +08:00
tanjunchen
586e1f2325 e2e/network/: Use e2eskipper package 2020-01-11 12:05:10 +08:00
Kenichi Omichi
a19aa1069a Remove duplicated ServiceStartTimeout
ServiceStartTimeout is defined at e2e core framework and the one of
the core is used at many places, but the one of this endpoints/ports.go
is not used at the other places.
So this removes the one of endpoints/ports.go for the cleanup.
2020-01-11 00:03:21 +00:00
Kubernetes Prow Robot
5c3b85a042 Merge pull request #87023 from gavinfish/drfish_cmd_test_apps
Remove workaround for RS bug in cmd apps test
2020-01-10 14:33:37 -08:00
Kubernetes Prow Robot
d0f582c9bf Merge pull request #87069 from tanjunchen/migrate-to-skipper-001
e2e/node/:Use e2eskipper package
2020-01-10 12:25:40 -08:00
Kubernetes Prow Robot
62f6a4239e Merge pull request #87061 from k-toyoda-pi/use_skip_e2e_apps
Use e2eskipper package in e2e/apps
2020-01-10 12:25:25 -08:00
Kubernetes Prow Robot
942b526e5c Merge pull request #87051 from Huang-Wei/remove-prio-util-pkg
Remove scheduler/algorithm/priorities/util package
2020-01-10 12:25:01 -08:00
Claudiu Belu
26ea420c0e Image Promoter: Cleans manifest list
The manifest list is stateful, which means that the same list will get amended
with each successive image published. That's unintended, and can lead to the
wrong image being pulled from the manifest list.

Resets the manifest list before amending new images into it.
2020-01-10 00:35:38 -08:00
tanjunchen
8c481022c1 e2e/node/:Use e2eskipper package 2020-01-10 16:21:12 +08:00
Kubernetes Prow Robot
e3f90df767 Merge pull request #87052 from oomichi/add-error-handling-issue86678
Add error handling of CloseWrite()
2020-01-10 00:20:34 -08:00
Quan Tian
c84a371f3d Fix a flaky e2e test of Job completion
The test was flaky because it required the job succeeds 3 times with
pseudorandom 50% failure chance within 15 minutes, while there is an
exponential back-off delay (10s, 20s, 40s …) capped at 6 minutes before
recreating failed pods. As 7 consecutive failures (1/128 chance) could
take 20+ minutes, exceeding the timeout, the test failed intermittently
because of "timed out waiting for the condition".

This PR forces the Pods of a Job to be scheduled to a single node and
uses a hostPath volume instead of an emptyDir to persist data across new
Pods.
2020-01-10 16:04:56 +08:00
toyoda
91dca8ff8c Use e2eskipper package in e2e/apps 2020-01-10 15:08:19 +09:00
Kubernetes Prow Robot
75a8715145 Merge pull request #84058 from claudiubelu/test-image-publishing
test images: Adds E2E test image automated build
2020-01-09 21:58:35 -08:00
Wei Huang
b2159b5d66 Remove scheduler/algorithm/priorities/util package 2020-01-09 20:16:05 -08:00
Kubernetes Prow Robot
387e6931e5 Merge pull request #87031 from oomichi/move-skip
Separate skip as framework subpackage
2020-01-09 20:13:17 -08:00
Kubernetes Prow Robot
d350ace52b Merge pull request #84373 from serathius/metrics-stability-variables
Allow usage of consts and variables for stable metrics in static analysis
2020-01-09 20:12:49 -08:00
Kenichi Omichi
99b135442c Add error handling of CloseWrite()
The e2e test "Kubectl Port forwarding With a server listening .."
is failed sometimes due to the difference between expected data and
received data. To receive the data, the test does CloseWrite() but
it didn't have the corresponding error handling.
This adds it to investigate the issue more.
2020-01-10 03:14:39 +00:00
Caleb Woodbine
dcd4dcdf21 Update: comments, searching for secrets in lists 2020-01-10 02:38:49 +00:00
drfish
010b885236 Remove workaround for RS bug in cmd apps test 2020-01-10 09:39:54 +08:00
Caleb Woodbine
07e3c46cb4 Add: secret data patch check 2020-01-09 22:05:28 +00:00
Antonio Ojea
58dabc7397 Revert "fix flakes on e2e test TCP CLOSE_WAIT timeout"
This reverts commit 704ec25352.
2020-01-09 20:48:14 +01:00
Kubernetes Prow Robot
91e55c7927 Merge pull request #85154 from johnbelamaric/johnbelamaric-conformance-owners
Add johnbelamaric as conformance code reviewer/approver
2020-01-09 11:32:47 -08:00
Kubernetes Prow Robot
b9c0aa0b2a Merge pull request #86782 from tanjunchen/remove-TODO-test/e2e/framework/node/resource
remove TODO in test/e2e/framework/node/resource.go
2020-01-09 09:17:58 -08:00
Odin Ugedal
c04ead5fb1 Add error check for instance insert
Not all errors will happen in sync during Instances.Insert(...).Do(), so
it is important to verify the operation object to see why insert fails.
An example is when exceeding the resource quota.

Eg.
could not create instance test-cos-beta-80-12739-29-0: [&{Code:QUOTA_EXCEEDED Location: Message:Quota 'CPUS' exceeded.  Limit: 24.0 in region europe-west6. ForceSendFields:[] NullFields:[]}

This fixes the issue where tests will fail "silently" when instance
insert fails.
2020-01-09 09:49:38 +01:00
Kenichi Omichi
0d86f0a037 Separate skip as framework subpackage 2020-01-09 08:44:55 +00:00
Kubernetes Prow Robot
ef69bc910f Merge pull request #86991 from oomichi/skip
Move IsAppArmorSupported() from e2e framework
2020-01-08 23:45:44 -08:00
Kubernetes Prow Robot
2c800c5a70 Merge pull request #86985 from ahg-g/ahg-cleanup4
Remove test/integration dependency on predicates and algorithmprovider
2020-01-08 21:29:58 -08:00
Kubernetes Prow Robot
4d41f4809f Merge pull request #86890 from damemi/move-selector-spread-to-plugin
Move selector spreading priority code to plugin
2020-01-08 21:29:45 -08:00
Kubernetes Prow Robot
9db337be05 Merge pull request #86983 from ahg-g/ahg1-cleanup3
Remove test/e2e dependency on scheduler/predicates package
2020-01-08 19:12:31 -08:00
Kubernetes Prow Robot
5b4d1bf559 Merge pull request #86931 from roycaihw/crd-openapi-deflake
crd openapi e2e: increase waitForOpenAPISchema timeout
2020-01-08 19:12:01 -08:00
Kubernetes Prow Robot
61cf95f2a9 Merge pull request #86366 from mortent/DeflakePDBTest
Change PDB tests to use pod conditions instead of phase
2020-01-08 19:11:39 -08:00
Michelle Au
d829d9b0fd Update hostpath and mock csi drivers with latest sidecars
Change-Id: Ib1db651a94e49bbfb609ac0470794a6b5d0726ec
2020-01-08 18:54:42 -08:00
Kubernetes Prow Robot
2bd9f5737a Merge pull request #86924 from aojea/tcpclosev6
fix e2e test TCP CLOSE_WAIT
2020-01-08 18:01:39 -08:00
Abdullah Gharaibeh
c86f59610c remove test/integration dependency on predicates and algorithmprovider 2020-01-08 19:51:22 -05:00
Kubernetes Prow Robot
d3f976d345 Merge pull request #86962 from spiffxp/demote-delete-grace-period
Demote Delete Grace Period test to [Flaky]
2020-01-08 14:47:03 -08:00
Kubernetes Prow Robot
8046feb2b3 Merge pull request #86947 from gavinfish/drfish_redundant_nil_check
Remove redundant nil check in apiserver integration test
2020-01-08 14:46:34 -08:00