Commit Graph

12142 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
8327e43359 Merge pull request #72645 from liggitt/service-account-test
Wait for propagation of secret deletion
2019-01-07 15:25:31 -08:00
Kubernetes Prow Robot
cd507fea85 Merge pull request #72230 from krmayankk/verify-gid
verify gid in runasuser tests
2019-01-07 15:25:00 -08:00
Kubernetes Prow Robot
998167767f Merge pull request #71764 from linxiulei/fix_cri_pullimage
Pass PodSandboxConfig to PullImage method in CRI
2019-01-07 15:24:48 -08:00
Kubernetes Prow Robot
168b4563e0 Merge pull request #68792 from johnSchnake/68747-fallbackToInternalIP
e2e: Fallback to internal IPs when using SSH in tests
2019-01-07 14:11:41 -08:00
Kubernetes Prow Robot
349ebc78bd Merge pull request #72200 from sttts/sttts-test-graceful-shutdown
kube-apiserver: test graceful shutdown
2019-01-07 12:09:14 -08:00
Kubernetes Prow Robot
5acac9b3e2 Merge pull request #70439 from jsafrane/worlload-test
CSI: Add test for passing Pod information in NodePublish call
2019-01-07 12:08:51 -08:00
Jordan Liggitt
1afce6db13 Wait for propagation of secret deletion 2019-01-07 08:53:06 -05:00
Kubernetes Prow Robot
34ca1301da Merge pull request #72537 from mortent/FixEvictionsFlake
Fix flaking evictions test
2019-01-04 20:11:32 -08:00
Kubernetes Prow Robot
48c2a5ceda Merge pull request #72585 from dims/add-debug-logs-for-etcd-server
Add debug logs for etcd server in integration tests
2019-01-04 18:56:35 -08:00
Davanum Srinivas
8c8c01f913 Add debug logs for etcd server in integration tests
Change-Id: Ic1dd8a7c7e0adef27b969007e24c2eb089d6bb12
2019-01-04 15:22:29 -05:00
Kubernetes Prow Robot
3724e2e5a0 Merge pull request #71489 from tallclair/audit-test
Split audit test cases into separate tests
2019-01-04 09:02:24 -08:00
Jan Safranek
e1556c1549 Fix hostpath driver name 2019-01-04 17:26:24 +01:00
Kubernetes Prow Robot
a103bddc2a Merge pull request #72354 from globervinodhn/conformance-slow
Remove SLOW tag from Probing container and EmptyDir Wrapper Volume
2019-01-03 20:21:53 -08:00
Michelle Au
6279515914 Add e2e test for removing the subpath directory 2019-01-03 16:35:54 -08:00
Kubernetes Prow Robot
18778ea4a1 Merge pull request #72521 from dims/ensure-capture-of-http-and-trace-logs
Ensure we capture http and trace related logs
2019-01-03 15:52:06 -08:00
Kubernetes Prow Robot
47f2f7a53a Merge pull request #72410 from pohly/storage-gcepd-config-fix
e2e/storage: reset driver config in the test suite
2019-01-03 15:51:44 -08:00
Kubernetes Prow Robot
1061f31644 Merge pull request #71188 from taragu/readonly-test-validate-readonly-io
Add test case for validate container cannot write to readonly volumes
2019-01-03 15:51:23 -08:00
Tara Gu
fb324249c2 Add test case for validate container cannot write to readonly volumes 2019-01-03 15:24:31 -05:00
Morten Torkildsen
4b3078fe9a Fix flaking evictions test 2019-01-03 11:45:29 -08:00
Davanum Srinivas
e6f8e51c50 Ensure we capture http and trace related logs
When we are running apiserver related code, we do not currently capture
the logs from `httplog.NewLogged` and `trace.LogIfLong` since the
default log verbosity is not set. So just make sure we have a minimum
verbosity set in these circumstance.

Change-Id: I64a30029778615e679b244ddba801833218d1573
2019-01-03 11:03:12 -05:00
Dr. Stefan Schimanski
00a717b572 apiserver: start only one compactor per unique storage transport config 2019-01-03 12:01:47 +01:00
Jan Safranek
d617dcb1e0 CSI: Add test for passing Pod information in NodePublish call 2019-01-02 16:11:41 +01:00
Dr. Stefan Schimanski
a2e19f1228 kube-apiserver: add e2e graceful shutdown integration test 2019-01-02 15:26:04 +01:00
Dr. Stefan Schimanski
7b242533a2 apiserver: separate transport setting from storagebackend.Config 2019-01-02 12:52:38 +01:00
Kubernetes Prow Robot
6e182ed5ea Merge pull request #71816 from liggitt/service-account-lookup
Look up service accounts from informer before trying live lookup
2018-12-31 21:18:55 -08:00
Kubernetes Prow Robot
65fdea80e7 Merge pull request #71922 from vikramk7/master
Make error messages more helpful in some e2e tests
2018-12-31 20:07:35 -08:00
globervinodhn
b3217cc624 Remove SLOW tag from KUBEDESCRIBE and SIGDESCRIBE
Remove SLOW tag and update description for KUBEDESCRIBE(Probing container) and SIGDESCRIBE(EmptyDir Wrapper Volume)

Remove slow references for tests that execute below 5 minutes
2018-12-31 13:13:11 +05:30
Kubernetes Prow Robot
65f87b5a4a Merge pull request #72259 from bsalamat/fix_nominated_node
Fix a race in setting nominated node and the scheduling cycle after it.
2018-12-30 00:01:26 -08:00
Bobby (Babak) Salamat
b75672c4ba autogenerated files 2018-12-29 22:54:15 -08:00
Kubernetes Prow Robot
74f779fbb5 Merge pull request #69087 from tanshanshan/error926
make sure to check for errors and close the request body in the cluster size autoscaling e2e test
2018-12-29 01:58:26 -08:00
John Schnake
23a7538c4d e2e: Fallback to internal IPs when using SSH in tests
Some tests which utilized SSH to run commands on nodes would
first look for external IPs but fall back to internal IPs
since those could be reachable by the testing program.

This change adds that same fallback logic to another method
used to find the appropriate SSH address for each node.

Fixes #68747
2018-12-28 20:35:35 -06:00
Patrick Ohly
98ba1d8519 e2e/storage: reset driver config in the test suite
PR #70862 made each driver responsible for resetting its config, but
as it turned out, one place was missed in that PR: the in-tree gcepd
sets a node selector. Not resetting that caused other tests to fail
randomly depending on test execution order.

Now the test suite resets the config by taking a copy after setting up
the driver and restoring that copy before each test.

Long term the intention is to separate the entire test config from the
static driver info (https://github.com/kubernetes/kubernetes/issues/72288),
but for now resetting the config is the fastest way to fix the test flake.

Fixes: #72378
2018-12-28 22:44:09 +01:00
Kubernetes Prow Robot
a6ba2ebf85 Merge pull request #72376 from liggitt/filter-ns-debugging
Filter resources logged by e2e ns debugging
2018-12-27 22:38:56 -08:00
Jordan Liggitt
73dcfe12da Stop checking VolumeScheduling feature gate 2018-12-27 17:45:45 -05:00
Jordan Liggitt
78c987751c Filter resources logged by e2e ns debugging 2018-12-27 14:35:11 -05:00
Wei Huang
5492e2f8c3 move resource_quota e2e test to apimachinery folder 2018-12-27 10:45:41 -08:00
Bobby (Babak) Salamat
5581497846 Add a test that reproduces the race condition between setting nominated node name of a pod and scheduling cycle of other pods 2018-12-27 02:15:59 -08:00
Jordan Liggitt
e243e646fc Fix create secret docker-registry compatibility 2018-12-26 11:11:29 -05:00
Vikram Krishnamurthy
da0896c101 Make error messages more helpful in some e2e tests 2018-12-25 11:13:03 -08:00
Shyam Jeedigunta
ce79d27048 Add eks case to GetSigner() 2018-12-24 16:50:45 -08:00
Kubernetes Prow Robot
eb79f8f279 Merge pull request #69615 from k82cn/update_node_ns
Fixed node namespace to none.
2018-12-23 23:39:09 -08:00
Kubernetes Prow Robot
37dc6789d7 Merge pull request #71978 from denkensk/move-predicate-types
Move predicate types from algorithm to predicates
2018-12-21 19:05:29 -08:00
Kubernetes Prow Robot
e3bf5dbc5b Merge pull request #70862 from pohly/e2e-storage-tests
e2e storage tests: usable out-of-tree
2018-12-21 16:03:41 -08:00
wangqingcan
b82a1d4600 Move predicate types from algorithm to predicates 2018-12-21 22:26:47 +08:00
Patrick Ohly
ac8ac8ee6c e2e: update bazel BUILD files
Generated via hack/update-bazel.sh.
2018-12-21 10:30:10 +01:00
Patrick Ohly
3253e9ab6b e2e/storage: refactor test config
Exposing framework.VolumeTestConfig as part of the testsuite package
API was confusing because it was unclear which of the values in it
really have an effect. How it was set also was a bit awkward: a test
driver had a copy that had to be overwritten at test runtime and then
might have been updated and/or overwritten again by the driver.

Now testsuites has its own test config structure. It contains the
values that might have to be set dynamically at runtime. Instead of
overwriting a copy of that struct inside the test driver, the test
driver takes some common defaults (specifically, the framework pointer
and the prefix) when it gets initialized and then manages its own
copy. For example, the hostpath driver has to lock the pods to a
single node.

framework.VolumeTestConfig is still used internally and test drivers
can decide to run tests with a fully populated instance if needed (for
example, after setting up an NFS server).
2018-12-21 10:30:06 +01:00
Mayank Kumar
d141221a8e verify gid in runasuser tests 2018-12-20 10:49:32 -08:00
wojtekt
73d14dede6 Promote Lease API to v1 2018-12-20 15:39:57 +01:00
Patrick Ohly
dfcf2ca345 e2e/storage: separate generic testsuites from specific drivers
This makes it possible to use the testsuites package out-of-tree
without pulling in unnecessary dependencies and code (in
test/e2e/storage/vsphere) that defines tests that are not wanted in a
custom test suite.
2018-12-20 13:41:48 +01:00
Patrick Ohly
41ab9449ed e2e/storage: drivers determine the claim size
Different drivers support different volume sizes. Some have certain
minimum sizes, some maximum sizes. Instead of hard-coding some kind of
default into the testsuites, now each driver that supports dynamic
provisioning has to provide the size.
2018-12-20 13:41:48 +01:00