tanjunchen
b60703c172
test/e2e/framework:refactor generateWriteBlockCmd due to the same function
2020-01-14 21:58:27 +08:00
tanjunchen
8b1eb7f973
remove TODO(random-liu): Move pod wait function into this file
2020-01-14 18:36:50 +08:00
YuikoTakada
c402a4bf65
WIP: use e2eskipper package in test/e2e/autoscaling
2020-01-14 06:03:53 +00:00
YuikoTakada
77f482c553
WIP: use e2eskipper package in test/e2e/cloud
2020-01-14 03:24:23 +00:00
yuxiaobo
cb07680ee9
remove TODO in test/e2e/framework/providers/gce/ingress.go
...
Signed-off-by: yuxiaobo <yuxiaobogo@163.com>
2020-01-14 10:43:03 +08:00
YuikoTakada
16fbb5be33
use e2eskipper package in test/e2e/auth
2020-01-14 02:01:13 +00:00
s-ito-ts
4789e51d8e
Use e2eskipper package in e2e/scheduling and e2e/servicecatalog
2020-01-14 01:54:25 +00:00
zouyee
c1de3d6e5b
fix ci-kubernetes-node-kubelet-serial Non-system critical priority classes are not allowed to have a value larger than HighestUserDefinablePriority
...
Signed-off-by: Zou Nengren <zouyee1989@gmail.com>
2020-01-14 09:43:04 +08:00
tanjunchen
07c36de3e2
e2e/instrumentation:Use e2eskipper package
2020-01-14 09:32:39 +08:00
Kubernetes Prow Robot
b008eda8b2
Merge pull request #87125 from yuxiaobo96/k8s-skipper3
...
test/e2e/ui and test/e2e/upgrades:Use e2eskipper package
2020-01-13 14:00:17 -08:00
Kubernetes Prow Robot
e97212f3d1
Merge pull request #87124 from yuxiaobo96/k8s-skipper2
...
test/e2e/storage:Use e2eskipper package
2020-01-13 14:00:04 -08:00
Kubernetes Prow Robot
6aa4c7eca8
Merge pull request #87102 from tanjunchen/migrate-to-skipper-004
...
test/e2e/kubectl test/e2e_kubeadm:Use e2eskipper package
2020-01-13 13:59:40 -08:00
Kubernetes Prow Robot
652cc2ef40
Merge pull request #87073 from tanjunchen/migrate-to-skipper-002
...
e2e/network/:Use e2eskipper package
2020-01-13 13:59:09 -08:00
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
Kubernetes Prow Robot
af202d207f
Merge pull request #86891 from gnufied/move-publish-unpublish-check
...
Move publish and unpublish counting up in test
2020-01-08 14:45:53 -08:00
Abdullah Gharaibeh
21202b08d4
remove e2e dependency on scheduler/predicates package
2020-01-08 17:24:42 -05:00
Haowei Cai
326935c1b9
extend crd openapi e2e timeout to deflake the test, plus small improvements:
...
switch to use discovery rest client, which has higher burst/qps settings;
use jsoniter instead of encoding/json in kube-aggregator downloader.
2020-01-08 11:38:44 -08:00
Mike Dame
d227b7822f
Move selector spreading priority code to plugin
2020-01-08 13:37:37 -05:00
Aaron Crickenberger
4d731d92bf
Demote Delete Grace Period test to [Flaky]
...
This is currently the top flake against PRs, so I'm tagging it
as [Flaky]. Flaky tests can't be conformance tests, so I'm
removing it from [Conformance] as well until this is resolved.
2020-01-08 10:12:47 -08:00
Kubernetes Prow Robot
6c677b52a1
Merge pull request #86856 from ii/create-test-for-finding-service-from-listing-all-namespaces
...
Create test for finding service from listing all namespaces
2020-01-08 06:33:40 -08:00
Christian Huffman
3db91b2bdc
Enabled reading config files for vsphere e2e tests
2020-01-08 09:00:40 -05:00
Kenichi Omichi
f3c70a2ed2
Move IsAppArmorSupported() from e2e framework
...
The function is only used at a single place.
This moves it to the place.
2020-01-08 13:46:50 +00:00
Antonio Ojea
704ec25352
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-01-08 12:47:53 +01:00
Kubernetes Prow Robot
db1990f48b
Merge pull request #86932 from spiffxp/revert-86708
...
Revert "fix flakiness on e2e test TCP CLOSE_WAIT timeout"
2020-01-08 02:59:16 -08:00
Kubernetes Prow Robot
35434fdfea
Merge pull request #86901 from tanjunchen/staticcheck-002
...
staticcheck:test/integration/master/
2020-01-08 02:58:55 -08:00
Kubernetes Prow Robot
c983a3a44e
Merge pull request #86854 from ii/create-namespace-patch-test
...
Create namespace patch test
2020-01-08 02:58:22 -08:00
gavinfish
68532e0c0f
Remove redundant nil check
2020-01-08 15:28:46 +08:00
Kubernetes Prow Robot
110da204f6
Merge pull request #85190 from danielqsj/f-event
...
refactor events utils in e2e
2020-01-07 22:35:40 -08:00
Claudiu Belu
a3b90584a1
Image Promoter: Bump timeout limit
...
50 minutes are not enough for building all the conformance images.
Bumps the timeout limit to 90 minutes.
2020-01-07 21:31:47 -08:00
Kubernetes Prow Robot
a38096a069
Merge pull request #87483 from claudiubelu/image-promoter-tty
...
Image Promoter: Remove -it from docker command
2020-01-23 06:01:02 -08:00
Kubernetes Prow Robot
f0486a6b6a
Merge pull request #87178 from YuikoTakada/fix_81657_1
...
Fix static check failures in test/e2e/instrumentation/logging/st…
2020-01-23 06:00:49 -08:00
YuikoTakada
e5a2aeeae6
Fix static check failures in test/e2e/instrumentation/logging/stackdriver
2020-01-21 00:43:21 +00:00
Claudiu Belu
30058c9d35
Image Promoter: Remove -it from docker command
...
It seems that the Image Promoter is running containers without the -t flag, which causes the error:
the input device is not a TTY
Removing the -it from the docker command in kubernetes/test/images/image-util.sh solves this.
2020-01-07 15:34:47 -08:00
Kubernetes Prow Robot
9da4b00d40
Merge pull request #86767 from tanjunchen/move-functions
...
move functions from e2e/framework/deployment/ to e2e/apps/ and e2e/up…
2020-01-07 14:08:31 -08:00
Caleb Woodbine
9ed55bc520
Add: JSON marshal error failure checking; Fix: formatting
2020-01-07 22:02:41 +00:00
Caleb Woodbine
232da60430
Update: json patch generation
2020-01-07 20:50:16 +00:00
Caleb Woodbine
c53006b1a2
Add: test for finding service from listing all namespaces
2020-01-07 20:42:56 +00:00
Caleb Woodbine
b4fb46409d
Update: test secret contains a default label, secrets are listed via default label, patch payload is marshaled instead of written in raw JSON, secret deleted check; Fix: comments, test namespace usage
2020-01-07 19:51:24 +00:00
Aaron Crickenberger
b8cac87646
Revert "fix flakes on e2e test TCP CLOSE_WAIT timeout"
...
This reverts commit 0b064f34ae
.
2020-01-07 11:35:54 -08:00
Morten Torkildsen
81a6cf2847
Change PDB tests to use pod conditions instead of phase
2020-01-07 08:47:47 -08:00
Kubernetes Prow Robot
11a31590e4
Merge pull request #86900 from tanjunchen/staticcheck-001
...
staticcheck:test/integration/auth/
2020-01-07 07:36:31 -08:00
tanjunchen
8d313f333e
staticcheck:test/integration/master/
2020-01-07 21:56:37 +08:00
Kubernetes Prow Robot
2effc322f2
Merge pull request #86748 from clarklee92/move-e2e/framework/volume
...
move funs of framework/volume to e2e/storage
2020-01-07 01:12:54 -08:00
Kubernetes Prow Robot
7467f3442c
Merge pull request #86738 from tanjunchen/remove-TODO-test/e2e/framework/auth/helpers
...
remove TODO in test/e2e/framework/auth/helpers
2020-01-07 01:12:31 -08:00
Kubernetes Prow Robot
9dab44f23c
Merge pull request #86707 from ialidzhikov/enh/golang@1.13.5
...
Update to golang@1.13.5
2020-01-07 01:12:18 -08:00
tanjunchen
264a1cf5f6
staticcheck:test/integration/auth/
2020-01-07 15:23:19 +08:00
Kubernetes Prow Robot
0c77e3a58a
Merge pull request #86653 from tanjunchen/remove-TODO-001
...
remove TODO: Use return type string instead of []string and update func
2020-01-06 21:06:17 -08:00
Kubernetes Prow Robot
ca70efd741
Merge pull request #86874 from php-coder/patch-1
...
kubetestgen: improve errors handling
2020-01-06 18:07:18 -08:00
Kubernetes Prow Robot
bd33f62523
Merge pull request #86708 from aojea/tcpClose
...
fix flakiness on e2e test TCP CLOSE_WAIT timeout
2020-01-06 18:06:31 -08:00
Caleb Woodbine
ab12f460d9
Update: to use framework instead of gomega for testing values
2020-01-07 00:56:19 +00:00
Caleb Woodbine
616003a8e9
Add: OWNERS file - based off of staging/src/k8s.io/apimachinery/OWNERS
2020-01-07 00:50:20 +00:00
Caleb Woodbine
2754cc37ea
Update: namespaceName value updating order to prevent error expection
2020-01-06 22:32:19 +00:00
Caleb Woodbine
bd6550fb34
Update: formatting, gomega Expect to framework ExpectEqual, framework creation to standard function
2020-01-06 22:18:29 +00:00
Hemant Kumar
fca9963c24
Move publish and unpublish counting up in test
...
So as publish and unpublish are counted always
2020-01-06 16:50:55 -05:00
Caleb Woodbine
c5e3ab1248
Fix: formatting, spelling
2020-01-06 21:47:08 +00:00
Kubernetes Prow Robot
c409446d41
Merge pull request #86781 from SataQiu/staticcheck-20200102
...
Fix staticcheck failures of test/integration/client test/integration/disruption
2020-01-06 13:34:45 -08:00
Kubernetes Prow Robot
f497c4d446
Merge pull request #86743 from clarklee92/move-e2e/framework/viperconfig
...
e2e: move funs of framework/viperconfig to e2e
2020-01-06 13:34:31 -08:00
Caleb Woodbine
9951a9c98e
Add: namespace patch test
2020-01-06 21:21:22 +00:00
Jing Xu
51d5303662
Fix err variable shadowing issue in storage/utils
...
Issue: https://github.com/kubernetes/kubernetes/issues/86884
This PR fixes the issue that err variable gets shadowed. Because of
this, it might get nil pointer error.
Change-Id: Ib7da918418a7c8148a6ca598db12b3744eb3b7c8
2020-01-06 12:15:29 -08:00
Kubernetes Prow Robot
9781bb60e0
Merge pull request #86438 from klueska/upstream-e2e-approver
...
Add klueska as an approver in test/e2e_node/OWNERS
2020-01-06 11:12:16 -08:00
Claudiu Belu
4c51eb9063
test images: Image Promoter fixes
...
Prior to the Image Centralization part 4 (https://github.com/kubernetes/kubernetes/pull/81170 ),
a PR merged that enables the Image Promoter to run on the k/k test images.
The Image Promoter currently only builds the Conformance-related images, but the
Image Centralization part 4 centralized some of those images into agnhost, so they
need to be removed from the conformance_images list.
Additionally, https://github.com/kubernetes/kubernetes/pull/81226 proposes mounttest-user
image to be removed, and RunAsUser to be used in tests instead.
The image used by the Image Promoter (gcr.io/k8s-testimages/gcb-docker-gcloud:v20190906-745fed4)
is based on busybox, and thus, the sed binary is actually busybox. image-util.sh calls
kube::util::ensure-gnu-sed several times, which ensures that a GNU sed binary exists
(it checks by greping GNU in its --help output). Obviously, it won't match the busybox sed
binary. But the sed usage in image-util.sh is fairly simple, and the busybox sed is sufficient.
Bumps image versions for: jessie-dnsutils, nonewprivs, resource-consumer, sample-apiserver. These
images are included in the conformance_images that are being built by the Image Promoter, so
we're bumping them just to make sure we're not breaking anything and cause all the CIs to fall.
We're going to bump the image versions used in tests in a subsequent PR. The image version was not
bumped for: agnhost, kitten, nautilus, as they were already bumped by the Image Centralization part 4
PR.
2020-01-06 09:08:51 -08:00
Slava Semushin
02885845ff
kubetestgen: improve errors handling
...
- don't proceed when a file creation has been failed
- handle a possible error from WriteString()
2020-01-06 15:21:54 +00:00
Caleb Woodbine
edd612d9f1
Add: test to patch a secret
2020-01-06 01:31:55 +00:00
Kubernetes Prow Robot
10dc4a0c79
Merge pull request #86822 from ahg-g/ahg-cleanup
...
Cleanup deprecated scheduler functions/files
2020-01-05 12:37:41 -08:00
Kubernetes Prow Robot
94fa017ee2
Merge pull request #86831 from tanjunchen/remove-unused-code-use-framework
...
remove unused code and use framework
2020-01-05 03:25:40 -08:00
Kubernetes Prow Robot
2d56d75061
Merge pull request #86730 from ahg-g/ahg1-ds
...
Break DS controller dependency on scheduler predicates and predicate errors
2020-01-04 14:39:40 -08:00
tanjunchen
c2d41fda6c
remove unused code and use framework
2020-01-04 22:24:04 +08:00
Antonio Ojea
0b064f34ae
fix flakes on e2e test TCP CLOSE_WAIT timeout
...
it turns out that the e2e test was no 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-01-04 10:09:25 +01:00
Abdullah Gharaibeh
041e5b5560
addressed comments
2020-01-04 01:14:24 -05:00
Kubernetes Prow Robot
6be12b8235
Merge pull request #86796 from tanjunchen/remove-unused-code-test/e2e/framework/google_compute.go
...
remove unused code test/e2e/framework/google_compute.go
2020-01-03 21:41:40 -08:00
Abdullah Gharaibeh
d31dcecd20
cleanup unused scheduler functions/files
2020-01-03 19:09:14 -05:00
Abdullah Gharaibeh
7d604c318c
Break DS controller on scheduler predicates and predicate errors
2020-01-03 13:05:07 -05:00
Krzysztof Siedlecki
2d95520a3f
adding private cluster check
2020-01-03 17:28:39 +01:00
tanjunchen
2371c58a73
remove unused code test/e2e/framework/google_compute.go
2020-01-03 19:04:28 +08:00
SataQiu
17b0b77026
fix staticcheck failures of test/integration/client test/integration/disruption
2020-01-03 17:23:35 +08:00
Kubernetes Prow Robot
b3c4c90a72
Merge pull request #86673 from ahg-g/ahg1-provider
...
Define algorithm providers in terms of plugins
2020-01-02 22:25:53 -08:00
Kubernetes Prow Robot
ebdde7c9f8
Merge pull request #86768 from tanjunchen/logger-use-framework
...
if no cycle dependency , use framework in test/e2e_node/
2020-01-02 19:16:15 -08:00
Kubernetes Prow Robot
cc5144ff13
Merge pull request #86160 from notpad/feautre/scheduler_perf
...
Define workloads specs by YAML
2020-01-02 19:15:41 -08:00
Abdullah Gharaibeh
b535ed3b0c
Merge scheduler's ConfigProducerRegistry into LegacyRegistry
2020-01-02 16:40:33 -05:00
tanjunchen
9324664330
remove TODO in test/e2e/framework/node/resource.go
2020-01-02 21:55:58 +08:00
tanjunchen
fc3b210ad8
if no cycle dependency , use framework in test/e2e_node subpackage
2020-01-02 15:52:05 +08:00
tanjunchen
2f0e5b262a
move functions from e2e/framework/deployment/ to e2e/apps/ and e2e/upgrades
2020-01-02 13:01:09 +08:00
Kubernetes Prow Robot
2099c00290
Merge pull request #86745 from Aresforchina/fix-staticcheck-test01
...
Fix staticcheck failures of test/integration/replicationcontroller
2019-12-31 20:31:39 -08:00
Kubernetes Prow Robot
6b5cf90ecd
Merge pull request #86598 from zhlhahaha/e2e_kubeadm_1410_2
...
Remove todos for verification of “allowed to post CSR” and "allowed to auto approve CSR" for bootstraptoken group
2019-12-31 15:43:39 -08:00
Kubernetes Prow Robot
63411a137f
Merge pull request #86732 from oomichi/move-WaitForFailure
...
Move WaitForFailure() to the test
2019-12-31 05:15:39 -08:00
clarklee92
7171f9a7f4
move funs of framework/volume to e2e/storage
...
Signed-off-by: clarklee92 <clarklee1992@hotmail.com>
2019-12-31 18:43:08 +08:00
Aresforchina
bf47d14c27
Fix staticcheck failures of test/integration/replicationcontroller
2019-12-31 17:16:01 +08:00
Kubernetes Prow Robot
55b692fa48
Merge pull request #86661 from yuxiaobo96/e2e-cleanup-replicaset
...
e2e:remove func of framework/replicaset to e2e/upgrades/apps/replicas…
2019-12-31 01:00:04 -08:00
Kubernetes Prow Robot
b765dd9e81
Merge pull request #86657 from yuxiaobo96/e2e-cleanup-autoscaling
...
e2e:remove unused func in /test/e2e/framework/autoscaling/autoscaling…
2019-12-31 00:59:51 -08:00
clarklee92
4d43e9e39b
e2e: move funs of framework/viperconfig to e2e
...
Signed-off-by: clarklee92 <clarklee1992@hotmail.com>
2019-12-31 16:42:30 +08:00
Kubernetes Prow Robot
36db62cd73
Merge pull request #86737 from oomichi/add-test-title-in-TestPreemption
...
Output test description in TestPreemption
2019-12-30 23:15:39 -08:00
Kubernetes Prow Robot
822a2de262
Merge pull request #86731 from oomichi/use-DeleteSync
...
Remove Delete/CreateSyncInNamespace()
2019-12-30 20:39:46 -08:00
Kubernetes Prow Robot
d0c719dbd9
Merge pull request #86716 from SataQiu/staticcheck-20191230
...
Fix staticcheck failures of test/integration/scale test/integration/serviceaccount test/integration/serving test/integration/volume
2019-12-30 20:39:39 -08:00
tanjunchen
587dbc2fed
remove TODO in test/e2e/framework/auth/helpers
2019-12-31 11:20:31 +08:00
Kubernetes Prow Robot
adf056230a
Merge pull request #86733 from oomichi/add-debugging-msg
...
Add debugging message to know the pod status
2019-12-30 18:53:39 -08:00
Howard Zhang
006980c160
Remove Todos for CSR checking
...
Remove Todos for verification of “allowed to
post CSR” and "allowed to auto approve CSR"
for bootstraptoken group, as these privilege
bindings are not managed by kubeadm source
code
Signed-off-by: Howard Zhang <howard.zhang@arm.com>
2019-12-31 09:49:00 +08:00
Kenichi Omichi
00abe6d505
Output test description in TestPreemption
...
Now we are facing flake test of TestPreemption due to less available
node. TestPreemption consists of multiple test cases and the resource
is shared in them.
At this time, we cannot see what test cases run before the flake
happens. So it is better to know that to distinguish the cleanup of
pods is not completed or not.
2019-12-31 00:14:03 +00:00
Kenichi Omichi
43d9748d3a
Add error handling for Register() call
...
Register() can return an error as [1], so this adds the error handling.
[1]: f772c9017c/pkg/scheduler/framework/v1alpha1/registry.go (L56)
2019-12-30 23:35:26 +00:00
Kenichi Omichi
253a85db16
Move WaitForFailure() to the test
...
WaitForFailure() is used at a single e2e test.
So this moves the function to the specific test file for the cleanup.
2019-12-30 23:16:24 +00:00
Kenichi Omichi
99c2e74a23
Add debugging message to know the pod status
...
The log of a flake test says
"Pod did not start running: timed out waiting for the condition"
but it is hard to know what is actual status of the pod.
So this adds debugging message to know that.
2019-12-30 19:46:15 +00:00
Kenichi Omichi
52ddae0267
Remove Delete/CreateSyncInNamespace()
...
DeleteSyncInNamespace() was used at an e2e node test and DeleteSync()
only. In addition, the part of the e2e node test can be replaced with
DeleteSync(). CreateSyncInNamespace() is the same thing and can be
replaced with CreateSync(). So this replaces these functions and
removes them for the cleanup.
2019-12-30 18:59:42 +00:00
ialidzhikov
f438def93d
Update to golang@1.13.5
...
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2019-12-30 13:17:17 +02:00
Kubernetes Prow Robot
9b59ba4ef8
Merge pull request #81895 from praseodym/fix-staticcheck-test/images
...
Fix staticcheck failures for test/images
2019-12-30 00:09:39 -08:00
Kubernetes Prow Robot
1e7c07ac4e
Merge pull request #86655 from k-toyoda-pi/add_alias_apierrors_endpointslice
...
Add alias of api/errors in endpointslice.go
2019-12-29 21:59:39 -08:00
SataQiu
8c77b96b75
fix staticcheck failures of test/integration/scale test/integration/serviceaccount test/integration/serving test/integration/volume
2019-12-30 13:35:13 +08:00
Kubernetes Prow Robot
a097243cba
Merge pull request #86062 from haosdent/clean-e2e-framework-gpu
...
e2e: move funs of framework/gpu to e2e_node
2019-12-28 21:23:39 -08:00
Kubernetes Prow Robot
481db52294
Merge pull request #86634 from tanjunchen/remove-unused-code-test-e2e-apps-deployment
...
remove unused code in test/e2e/apps/deployment
2019-12-28 10:29:39 -08:00
Claudiu Belu
72d66be439
test images: Adds E2E test image automated build
...
In order for the E2E test images to be automatically built and published
to the staging registry (from which they will be promoted to the regular
E2E test registry), the cloudbuild.yaml file has been added.
The file was added in conformance with [1].
Adds the ability to build all test images:
make -C test/images WHAT=all-images
[1] https://github.com/kubernetes/test-infra/blob/master/config/jobs/image-pushing/README.md
2019-12-28 09:15:03 -08:00
Kubernetes Prow Robot
de3be348a6
Merge pull request #86640 from tanjunchen/move-code-test/e2e/framework/job
...
move funcs from test/e2e/framework/job to test/e2e/apps
2019-12-27 19:47:51 -08:00
yuxiaobo
572c81ff53
e2e:remove func of framework/replicaset to e2e/upgrades/apps/replicasets.go
...
Signed-off-by: yuxiaobo <yuxiaobogo@163.com>
2019-12-27 16:37:57 +08:00
YuikoTakada
78c0517691
fix link in readme
2019-12-27 07:32:37 +00:00
yuxiaobo
161c6f4886
e2e:remove unused func in /test/e2e/framework/autoscaling/autoscaling_utils.go
...
Signed-off-by: yuxiaobo <yuxiaobogo@163.com>
2019-12-27 14:38:05 +08:00
Kubernetes Prow Robot
bcff8bf3aa
Merge pull request #86283 from haosdent/clean-e2e-framework-pv
...
e2e: move funs of framework/pv to e2e/storage
2019-12-26 21:17:39 -08:00
tanjunchen
f19ed6ccfe
remove unused code in test/e2e/apps/deployment
2019-12-27 12:57:00 +08:00
toyoda
dbe7c920e0
Add alias of api/errors in endpointslice.go
2019-12-27 13:56:25 +09:00
tanjunchen
488b94767c
remove TODO: Use return type string instead of []string and update func
2019-12-27 11:53:17 +08:00
Kubernetes Prow Robot
305377a2f5
Merge pull request #86541 from tanjunchen/move-replicaset-to-autoscaling_utils
...
move funcs in replicaset to autoscaling_utils
2019-12-26 18:00:01 -08:00
Kubernetes Prow Robot
4158e7c1de
Merge pull request #85123 from danielqsj/apierrs
...
Unify aliases for "k8s.io/apimachinery/pkg/api/errors"
2019-12-26 17:59:38 -08:00
tanjunchen
794a8668fa
move funcs from test/e2e/framework/job to test/e2e/apps
2019-12-27 09:35:30 +08:00
Kubernetes Prow Robot
13133857af
Merge pull request #86639 from tanjunchen/move-func-2019-12-26
...
move func EnableAndDisableInternalLB from test/e2e/framework/service …
2019-12-26 16:43:50 -08:00
Kubernetes Prow Robot
04d71d8a7b
Merge pull request #86614 from ahg-g/ahg1-default2
...
Deprecate scheduler predicate and priority factory registration and associated types
2019-12-26 05:21:38 -08:00
Kubernetes Prow Robot
132d9e2f4f
Merge pull request #86570 from YuikoTakada/remove_NewMetricExporter
...
Remove unused function NewMetricExporter from e2e test
2019-12-26 03:57:38 -08:00
danielqsj
6596a14d39
add missing alias of api errors under test
2019-12-26 17:29:38 +08:00
danielqsj
fc738cbb1d
unify alias of api errors under test
2019-12-26 16:40:45 +08:00
tanjunchen
2af5967310
move func EnableAndDisableInternalLB from test/e2e/framework/service to test/e2e/network
2019-12-26 16:30:06 +08:00
Kubernetes Prow Robot
2914ba8e04
Merge pull request #86573 from zhlhahaha/e2e_kubeadm_1410
...
add extra group and usage check for bootstraptoken
2019-12-25 21:49:38 -08:00
YuikoTakada
c467a733c3
Remove unused function NewMetricExporter from e2e test
2019-12-26 01:49:26 +00:00
Abdullah Gharaibeh
2b3df3587e
Deprecate scheduler predicate and priority factory registration
2019-12-25 20:33:08 -05:00
Haosdent Huang
dbc9929012
e2e: move funs of framework/pv to e2e/storage
2019-12-25 20:39:09 +08:00
Kubernetes Prow Robot
4933d0f1d8
Merge pull request #86466 from yuxiaobo96/e2e-cleanup-deployment
...
e2e: move funs of framework/deployment/fixtures.go to e2e/apps/deploy…
2019-12-25 01:21:30 -08:00
Kubernetes Prow Robot
02a0d8073d
Merge pull request #86568 from YuikoTakada/remove_NewStaticResourceConsumer
...
Delete unused function from e2e test autoscaling_utils.go
2019-12-25 00:01:30 -08:00
Howard Zhang
299a9c8cf5
add extra group and usage check for bootstraptoken
...
kubeadm creates the bootstrap token with extra group
, system:bootstrappers:kubeadm:default-node-token,
should be able to be used for authentication and
signing.
Signed-off-by: Howard Zhang <howard.zhang@arm.com>
2019-12-25 10:23:11 +08:00
Abdullah Gharaibeh
fe7de96ebe
cleanup scheduler's in-tree plugins registry naming
2019-12-24 15:56:36 -05:00
SataQiu
21c916c3d2
move Taint and toleration predicate to its Score plugin
2019-12-24 19:22:12 +08:00
yuxiaobo
4123973726
e2e: move funs of framework/deployment/fixtures.go to e2e/apps/deployment.go
...
Signed-off-by: yuxiaobo <yuxiaobogo@163.com>
2019-12-24 16:23:42 +08:00
tanjunchen
b086d296de
move funcs in replicaset to autoscaling_utils
2019-12-24 10:32:15 +08:00
YuikoTakada
11382a3129
Delete unused function from e2e test autoscaling_utils.go
2019-12-24 01:04:01 +00:00
Kubernetes Prow Robot
82c7c86998
Merge pull request #86169 from clarklee92/move-e2e/framework/statefulset
...
e2e: move funs of framework/statefulset to e2e/apps & e2e/upgrades
2019-12-22 19:57:32 -08:00
Kubernetes Prow Robot
a81bc56dd7
Merge pull request #86321 from liggitt/unconditional-scale-update
...
Make e2e scale updates unconditional
2019-12-21 05:43:32 -08:00
Kubernetes Prow Robot
9e6d099b3c
Merge pull request #86389 from alvaroaleman/sample-apiserver-localhost
...
Sample apiserver: Avoid etcd listening on DNS result for "localhost"
2019-12-21 02:59:33 -08:00
Kubernetes Prow Robot
449fe0b1ba
Merge pull request #86397 from gnufied/fix-comparison-of-node-publish-unpublish
...
Expect NodeUnpublish calls when NodePublish is called
2019-12-20 09:09:32 -08:00
Kubernetes Prow Robot
9fa1e00be9
Merge pull request #83437 from matthyx/startupprobe-beta
...
Promote StartupProbe to beta for 1.18
2019-12-20 00:59:32 -08:00
Jordan Liggitt
2d2c9a884a
Revert "Merge pull request #86376 from xieyanker/kubemark_deployment"
...
This reverts commit 661a08daf6
, reversing
changes made to 8cd8784289
.
2019-12-19 23:11:31 -05:00
Kubernetes Prow Robot
641d0290e4
Merge pull request #86399 from ahg-g/ahg1-prioritymeta
...
InterPodAffinity Priority as Score plugin
2019-12-19 13:39:56 -08:00
Kubernetes Prow Robot
37a5201cf0
Merge pull request #86109 from haosdent/clean-e2e-framework-job
...
e2e: move funs of framework/job to e2e/upgrades/apps/job
2019-12-19 12:40:42 -08:00
Kubernetes Prow Robot
4c6bed6e4e
Merge pull request #84480 from BrendanSChang/fuzz
...
Fix validation for metav1 fuzz targets.
2019-12-19 12:40:10 -08:00
Hemant Kumar
d1fb0b57df
Expect NodeUnpublish calls when NodePublish is called
...
While this is looser check than original check, I do not think
we can quite expect NodePublish and NodeUnpublish call counts to match
NodePublishvolume call count may not be same as NodeUnpublishVolume
call count because reconciler may have a mount operation queued up
while previous one is finishing. So, it is not unusual to have more than one
NodePublishVolume call for same pod+volume combination, similarly
unmount may also run more than once.
2019-12-19 14:28:27 -05:00
Abdullah Gharaibeh
119a9a94d1
InterPodAffinity Priority as Score plugin
2019-12-19 13:42:49 -05:00
Kubernetes Prow Robot
810f0c2ae5
Merge pull request #86354 from p0lyn0mial/improve-watch-and-report-e2e
...
improves watch and report e2e
2019-12-19 10:11:57 -08:00
Kevin Klues
c60802e893
Add klueska as an approver in test/e2e_node/OWNERS
2019-12-19 15:37:03 +01:00
Kubernetes Prow Robot
16c2ae4607
Merge pull request #86411 from liggitt/plugin-test
...
Isolate kubectl test-cmd plugin tests
2019-12-19 05:52:09 -08:00