Commit Graph

16045 Commits

Author SHA1 Message Date
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