Derek Carr
bce9d5f204
SupportPodPidsLimit feature beta with tests
2019-01-09 10:50:59 -05:00
Davanum Srinivas
53d0b8ce7e
Fix Referencing non existing var in e2e_node/conformance/run_test.sh
...
Change-Id: I16b9061c07f4a43aff9fe236892128af8697a0b4
2019-01-09 08:53:48 -05:00
Kubernetes Prow Robot
cb7ba72f2a
Merge pull request #71739 from vikaschoudhary16/fix-dp-e2e
...
Device plugins: fix e2e test
2019-01-08 16:43:25 -08:00
Vy Ta
ec8151d7bb
Ran ./hack/update-gofmt.sh
2019-01-08 22:40:38 +00:00
Guoliang Wang
3c24c99b08
Move users of factory.NewConfigFactory
to scheduler.New
2019-01-09 06:40:30 +08:00
Vy Ta
6ac7838a19
ran ./hack/update-bazel.sh
2019-01-08 22:39:40 +00:00
Vy Ta
5fe8825530
Adding newlines
2019-01-08 13:21:19 -08:00
Vy Ta
4bf6b670a2
fix bazel test
2019-01-08 10:45:53 -08:00
Vy Ta
765057765c
golint failure updates, and added skip check for non-windows
2019-01-08 10:11:35 -08:00
Katharine Berry
8e9f8e264f
Never skip multi-node conformance tests (instead just fail).
2019-01-08 09:24:43 -08:00
Patrick Lang
8f858afe69
Ran hack/update-bazel.sh
2019-01-08 08:49:54 -08:00
Jordan Liggitt
421d8649bf
Update service account token mount test
2019-01-08 11:27:51 -05:00
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
Patrick Lang
084a763926
Maybe fix bazel build
2019-01-07 15:00:57 -08:00
Patrick Lang
210bf624ea
Adding OWNERS
2019-01-07 14:47:40 -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
Tara Gu
492c042d9f
Surface error for run_recursive_resources_tests
2019-01-07 15:59:11 -05: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
Patrick Barker
c1b4ec298f
removes unneeded event var from audit-proxy image
2019-01-07 10:32:14 -07:00
Patrick Barker
5971f7dd92
adds audit-proxy image for dynamic audit e2e test
2019-01-07 16:28:12 +00:00
Jordan Liggitt
1afce6db13
Wait for propagation of secret deletion
2019-01-07 08:53:06 -05:00
Vallery Lancey
5a3b8a11fc
Add an e2e test for services with no endpoints ( #72561 )
2019-01-05 00:26:55 -08: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
Justin SB
19a5528a65
Remove executable permission from testdata
2019-01-03 12:21:31 -05: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
Vy Ta
ecee40158c
Adding Feature tag
2018-12-27 15:55:10 -07:00
Vy Ta
8d3ea6590d
Adding diff summary
2018-12-27 15:51:44 -07:00
Vy Ta
906aceb89a
Making requested changes
2018-12-27 15:46:26 -07: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
fatsheep9146
77eadd376b
add test for CRI log path
2018-12-26 16:09:15 +08:00
danielqsj
94d1050303
Change docker metrics to conform guideline
2018-12-26 15:58:04 +08: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
Patrick Ohly
5349ce75fa
e2e/storage: remove code duplication
...
The setup of the V0 hostpath driver was done with copy-and-paste and
then changing just the driver name and the manifests. The same can be
achieved by making the base struct a bit more configurable, which
simplifies future changes (less code).
Renaming the provisioner container was unnecessary and was reverted to
make it possible to use the same patch configuration.
While at it, also fix the InitHostV0PathCSIDriver typo.
2018-12-20 13:41:48 +01:00
Kubernetes Prow Robot
cdeb8c108f
Merge pull request #72205 from losipiuk/lo/env-gke-api-endpoint
...
Use CLOUDSDK_API_ENDPOINT_OVERRIDES_CONTAINER for GKE Api endpoint
2018-12-20 03:11:44 -08:00
Kubernetes Prow Robot
7ce7a80cda
Merge pull request #71355 from bradhoekstra/kube-proxy-services-optional
...
Make kube-proxy service abstraction optional
2018-12-19 15:27:12 -08:00
Kubernetes Prow Robot
00ca6939cb
Merge pull request #72038 from bowei/change-gce-cloud-provider
...
Change gce cloud provider
2018-12-19 14:13:55 -08:00
Kubernetes Prow Robot
6da32b078f
Merge pull request #72006 from soltysh/allnamespaces_shorthand
...
Introduce -A as a shorthand for --all-namespaces in kubectl
2018-12-19 14:13:40 -08:00
Kubernetes Prow Robot
1bd7c7126c
Merge pull request #70370 from liggitt/to_apps_v1
...
Switch client and test usage to apps/v1
2018-12-19 14:13:28 -08:00
Kubernetes Prow Robot
ac6fa2235b
Merge pull request #71742 from pohly/csi-sidecar-test
...
e2e: use quay.io/k8scsi images, bump versions
2018-12-19 11:58:37 -08:00
Łukasz Osipiuk
b1408dbe45
Use CLOUDSDK_API_ENDPOINT_OVERRIDES_CONTAINER for GKE Api endpoint
2018-12-19 17:55:33 +01:00
Jordan Liggitt
0ff455e340
generated files
2018-12-19 11:19:12 -05:00
Jordan Liggitt
b409ffa658
Update test manifests to apps/v1
2018-12-19 11:19:12 -05:00
Jordan Liggitt
fd9e9b01b1
Remove uses of extensions/v1beta1 clients
2018-12-19 11:18:53 -05:00
Weibin Lin
842bd1e1ec
update deployment, daemonset, replicaset, statefulset to apps/v1
2018-12-19 10:46:45 -05:00
Maciej Szulik
885bed15da
Introduce -A as a shorthand for --all-namespaces in kubectl
2018-12-19 14:37:43 +01:00
Kubernetes Prow Robot
33404d973a
Merge pull request #72174 from msau42/owners
...
Update sig-storage owners
2018-12-18 21:28:10 -08:00
Kubernetes Prow Robot
6858c95636
Merge pull request #72084 from ixdy/k8s-master-go1.11.4
...
Update to go1.11.4
2018-12-18 19:10:10 -08:00
Tim Allclair
10f45aacd5
Split audit test cases into separate tests
2018-12-18 16:58:19 -08:00
Kubernetes Prow Robot
a17a392d4b
Merge pull request #70939 from smarterclayton/skip_delta
...
e2e: Show the caller's stack for Skipf() instead of the local one
2018-12-18 15:44:04 -08:00
Michelle Au
b6e64936fe
Add owners file for storage e2e manifests
2018-12-18 15:15:47 -08:00
Kubernetes Prow Robot
9f40607ea7
Merge pull request #71209 from dczombera/add_impersonation_test
...
Add an impersonation test case to the audit E2E test
2018-12-18 12:30:11 -08:00
Bowei Du
6ef9105978
Update Bazel
2018-12-18 10:28:02 -08:00
Bowei Du
dfac4f7a2c
Update other references
2018-12-18 10:26:46 -08:00
Kubernetes Prow Robot
b97092ca8f
Merge pull request #71399 from resouer/eclass-task-1
...
Eclass task 1: clean up old code
2018-12-18 08:47:13 -08:00
Dennis Czombera
f9df691c72
Add an impersonation test case to the audit E2E test
2018-12-18 11:13:39 +01:00
Vikas Choudhary
1e0216f616
Device plugins: fix e2e test
2018-12-18 10:15:04 +05:30
Kubernetes Prow Robot
12be140dcd
Merge pull request #71094 from dekkagaijin/update-concealment
...
bump metadata-proxy to v0.1.11, update tests & test image
2018-12-17 17:48:40 -08:00
Harry Zhang
797601d99d
Fixed outdated bazel
2018-12-17 17:05:49 -08:00
wangqingcan
1081e919e3
Eclass Task 1: clean up old equiv class code
...
Co-authored-by: Harry Zhang <resouer@gmail.com>
Co-authored-by: Wang Qingcan <wangqingcan@baidu.com>
2018-12-17 17:05:49 -08:00
Kubernetes Prow Robot
e2be7c91d9
Merge pull request #70344 from andrewsykim/consolidate-node-delete
...
consolidate node deletion logic between kube-controller-manager and cloud-controller-manager
2018-12-17 15:49:16 -08:00
Jeff Grafton
7397a6278b
Update to go1.11.4
2018-12-15 12:25:05 -08:00
Kubernetes Prow Robot
680ee44f05
Merge pull request #72007 from anfernee/session-affinity-2
...
Logs [pod,node] pairs for sessionAffinity test
2018-12-14 19:02:42 -08:00
Kubernetes Prow Robot
151387738f
Merge pull request #72035 from seemethere/bump_1_11_3
...
Bump golang to 1.11.3 (CVE-2018-16875)
2018-12-14 17:28:34 -08:00
Yongkun Gui
ac1e99235a
Logs [pod,node] pairs for sessionAffinity test
...
Logs information for fixing flakiness for #71423
2018-12-14 12:12:31 -08:00
Eli Uriegas
d443402f35
bump golang to 1.11.3 (CVE-2018-16875)
...
Signed-off-by: Eli Uriegas <eli.uriegas@docker.com>
2018-12-14 18:27:21 +00:00
Kubernetes Prow Robot
8547036981
Merge pull request #72054 from mborsz/createnamespace
...
In CreateTestingNS generate name upfront to avoid namespace leakage.
2018-12-14 08:07:43 -08:00
Kubernetes Prow Robot
57ea592c06
Merge pull request #72052 from mborsz/taints
...
Add node notready/unreachable tolerations to load/density pods.
2018-12-14 06:56:42 -08:00
Maciej Borsz
3223d9bc94
In CreateTestingNS generate name upfront to avoid namespace leakage.
2018-12-14 13:39:14 +01:00
Maciej Borsz
25c2440996
Add node notready/unreachable tolerations to load/density pods.
2018-12-14 12:16:51 +01:00
wojtekt
fc346b2086
Allow for configuring etcd servers addresses in kubemark
2018-12-13 11:50:49 +01:00
yeya24
16acbc84ce
fix typos lable -> label
2018-12-13 17:52:13 +08:00
Kubernetes Prow Robot
05183bffe5
Merge pull request #71872 from yuexiao-wang/scheduler-nodeinfo
...
[scheduler cleanup phase 2]: Rename `pkg/scheduler/cache` to `pkg/scheduler/nodeinfo`
2018-12-12 08:08:33 -08:00
Kubernetes Prow Robot
b8fbb182a7
Merge pull request #71953 from monotek/patch-1
...
added monotek to instrumentation/logging/OWNERS file
2018-12-12 06:55:21 -08:00
Patrick Ohly
6ca66d7047
e2e: use quay.io/k8scsi images, bump versions
...
Commit 503f654d7a
, "Update CSI tests to
point to 1.0.0 external bits", changed to images published on gcr.io,
perhaps because the images on quay.io weren't ready yet. We now have
up-to-date images on quay.io and should be using those.
2018-12-12 14:49:23 +01:00
Kubernetes Prow Robot
c49896f924
Merge pull request #71974 from apelisse/fix-diff-overriding-names
...
diff: Make filename cross-platform compatible
2018-12-11 17:07:48 -08:00
Antoine Pelisse
95eec905c7
diff: Make filename cross-platform compatible
2018-12-11 15:36:26 -08:00
Kubernetes Prow Robot
425b1ff47d
Merge pull request #71923 from apelisse/fix-diff-overriding-names
...
diff: Fix overlapping filenames
2018-12-11 12:13:39 -08:00
André Bauer
f0cf660c66
added monotek to OWNERS file
2018-12-11 19:49:24 +01:00
Antoine Pelisse
b6135f63aa
diff: Fix overlapping filenames
...
The filename can overlap when multiple resources have the same name (but
obviously are of a different type). Include the name of the type in the
file name to prevent the overlap.
2018-12-11 09:19:52 -08:00
yuexiao-wang
7b6f60f085
modify BUILD
...
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
2018-12-11 11:22:06 +08:00
yuexiao-wang
f3353c358d
[scheduler cleanup phase 2]: Rename to
...
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
2018-12-11 11:21:12 +08:00
Vy Ta
0a09b1d2a7
Adding README.md
2018-12-10 16:09:10 -08:00
Vy Ta
28ed7875e7
Adding density test
2018-12-10 23:48:39 +00:00
Kubernetes Prow Robot
d4548645ce
Merge pull request #71849 from krzysied/scheduler_benchmark_5k
...
Adding 5000 nodes test to scheduler benchmark
2018-12-10 12:36:09 -08:00
Kubernetes Prow Robot
e712ff6709
Merge pull request #71857 from liggitt/bearer-token-file-ci
...
plumb bearer token and token file for e2e
2018-12-10 11:00:31 -08:00
Krzysztof Siedlecki
04c4bef206
adding 5000 nodes test to scheduler benchmark
2018-12-10 13:54:53 +01:00
Kubernetes Prow Robot
fe5d7c7c4e
Merge pull request #71543 from MrHohn/e2e-fw-test-timeout
...
[e2e] Bump firewall test timeout to something more reasonable
2018-12-07 20:02:10 -08:00
Jordan Liggitt
40e6f52299
plumb bearer token and token file for e2e
2018-12-07 17:01:47 -05:00
Kubernetes Prow Robot
71cf45f35c
Merge pull request #70092 from bclau/remove-test-selinux-options
...
Removes unnecessary SELinuxOptions from test case
2018-12-06 22:49:59 -08:00
Kubernetes Prow Robot
a5887009fc
Merge pull request #68275 from tanshanshan/fixtypo-0905-2
...
nits in e2e test
2018-12-06 19:02:57 -08:00
Eric Lin
5e2ed11cf7
Pass PodSandboxConfig to PullImage method in CRI
...
Fix #71745
2018-12-07 10:10:22 +08:00
Kubernetes Prow Robot
776bb1338a
Merge pull request #71801 from soltysh/issue71772
...
Set delete propagation policy to background when removing jobs and its dependents
2018-12-06 16:25:36 -08:00
Jordan Liggitt
a9dc919f82
Look up service accounts from informer before trying live lookup
2018-12-06 16:48:39 -05:00
Kubernetes Prow Robot
b5615259e5
Merge pull request #67511 from oomichi/add-debug-info
...
Add debugging info in pv/pvc protection e2e tests
2018-12-06 08:42:24 -08:00
Maciej Szulik
65e074fd1a
Set delete propagation policy to background when removing jobs and its dependents
2018-12-06 17:20:23 +01:00
Kubernetes Prow Robot
bdb7c24cab
Merge pull request #71243 from gnufied/fix-dummy-attachable-flex-driver
...
We do not pass device path to unmount device
2018-12-06 00:02:44 -08:00
Kubernetes Prow Robot
7cc8a8914f
Merge pull request #71762 from oomichi/add-oomichi
...
Add oomichi to test/OWNERS
2018-12-05 20:32:18 -08:00
Kubernetes Prow Robot
895f483fdf
Merge pull request #59525 from dashpole/fix_start_time
...
Use start times kubelet startup
2018-12-05 16:52:55 -08:00
David Ashpole
54e581930c
fix node and kubelet start times
2018-12-05 15:07:52 -08:00
Kenichi Omichi
1de5e4780e
Add oomichi to test/OWNERS
...
oomichi continues reviewing PRs which are related to e2e tests,
then this adds him to a reviewer to get him involved more.
2018-12-05 11:40:16 +00:00
Kubernetes Prow Robot
82cefcd99b
Merge pull request #68753 from johnSchnake/68687-consistentSSHKeyHandling
...
Make SSH path handling consistent across providers during e2e
2018-12-05 00:05:38 -08:00
soggiest
c7c119752c
Removed erroneous spaces in PodPreset E2E tests
2018-12-04 10:55:46 -08:00
Joseph-Irving
95165c5d4e
fix WaitForAllNodesSchedulable so it logs when cluster size is small
2018-12-04 14:28:17 +00:00
Kubernetes Prow Robot
a9b69dc381
Merge pull request #71615 from jpbetz/etcd-3.3.10-0-image
...
Update default etcd server to 3.3.10 for kubernetes 1.14
2018-12-04 02:54:34 -08:00
Kubernetes Prow Robot
6ba75e4b37
Merge pull request #71672 from prameshj/norecurse-test
...
Drop the norecurse flag in dns tests
2018-12-03 23:28:15 -08:00
Kubernetes Prow Robot
f5e98aa6d2
Merge pull request #70608 from spiffxp/add-conformance-reviewers
...
Add new reviewers for conformance
2018-12-03 20:09:42 -08:00
Hemant Kumar
1570f39d9e
We do not pass device path to unmount device
...
Also rename attachable-with-long-format file
2018-12-03 17:31:01 -05:00
Pavithra Ramesh
19e1fcc242
Remove 'norecurse' flag in dns tests.
...
dnsmasq 2.79 introduced a change to respond to all norecurse queries with ServFail.
This is to prevent cache snooping where an adversary can figure out if a particular hostname has been looked up or not.
These tests do not need the norecurse flag, hence removing it.
2018-12-03 14:27:39 -08:00
Joe Betz
862b945e5a
Update default etcd server to 3.3.10 for kubernetes 1.13
2018-12-03 11:03:49 -08:00
andrewsykim
5329f09663
consolidate node deletion logic between node lifecycle and cloud node controller
2018-12-03 13:33:53 -05:00
Patrick Ohly
1103477335
e2e/framework: absolute test file paths
...
Tests might want to use there own options for specifying a file path,
while still using the abstract file access API. For example,
framework.CreateFromManifests might be used to create a mixture of
files under the repo root and from elsewhere. To support this,
absolute paths can now be given to the testfiles package and they will
be read directly.
2018-12-03 18:57:11 +01:00
Kubernetes Prow Robot
4855b78c33
Merge pull request #71550 from pontiyaraja/privileged_disable
...
Removed privileged option for the test case [sig-storage] should give a volume the correct mode test case
2018-12-01 06:34:53 -08:00
Kubernetes Prow Robot
2c322a2ff5
Merge pull request #70227 from bsalamat/reserve
...
Add plugin interfaces for reserve and prebind extension points of the scheduling framework
2018-12-01 05:25:12 -08:00
Bobby (Babak) Salamat
679d88c1a0
Add 'reserve' and 'prebind' plugin tests
2018-11-30 16:09:43 -08:00
Bobby (Babak) Salamat
e60f510e38
Autogenerated files
2018-11-30 16:03:47 -08:00
Cheng Xing
87e4a460fb
Volume exec file test: added NodeSelector to pod
2018-11-30 15:31:34 -08:00
Brad Hoekstra
ae49bf6458
Add e2e test for service.kubernetes.io/service-proxy-name
2018-11-30 16:29:52 -05:00
k8s-ci-robot
51453a3131
Merge pull request #71576 from MrHohn/e2e-ingress-resp-new
...
[e2e ingress] actually assign value to resp
2018-11-30 12:09:28 -08:00
k8s-ci-robot
06cc355b76
Merge pull request #71574 from msau42/remove-events-e2e
...
Check for subpath error in container status instead of pod events
2018-11-30 12:09:18 -08:00
k8s-ci-robot
3156df3e80
Merge pull request #71537 from davidz627/fix/updateGCE
...
Create cloud-sa on GCE PD Driver creation
2018-11-30 08:20:29 -08:00
k8s-ci-robot
dda9637f94
Merge pull request #71281 from Huang-Wei/preemption-e2e-test
...
Preemption e2e test
2018-11-30 08:19:59 -08:00
k8s-ci-robot
0955c930be
Merge pull request #70756 from msau42/add-io-exec-test
...
Add e2e test for file exec
2018-11-30 08:19:48 -08:00
Maciej Borsz
1d9b1a69b1
In NodeKiller.Run, wait before first attempt to kill.
2018-11-30 11:01:55 +01:00
k8s-ci-robot
16c0f3ce4a
Merge pull request #71493 from smarterclayton/limit_max
...
e2e: Allow max-node-to-gather to be changed when running against larger clusters
2018-11-30 01:20:17 -08:00
k8s-ci-robot
9ebf53fffd
Merge pull request #71480 from msau42/remove-legacy-flex-e2e
...
Remove legacy gci flex directory from e2e tests
2018-11-30 01:20:08 -08:00
k8s-ci-robot
8b6d20ab60
Merge pull request #71339 from cofyc/fix71301
...
Add prebound pvs test cases in integration stress tests
2018-11-30 00:04:08 -08:00
k8s-ci-robot
79e5cb2cb7
Merge pull request #71302 from liggitt/verify-unit-test-feature-gates
...
Split mutable and read-only access to feature gates, limit tests to readonly access
2018-11-29 21:45:12 -08:00
k8s-ci-robot
550f6200c5
Merge pull request #67036 from Huang-Wei/update-ds-pod-tolerations
...
update logic of adding default DS pod tolerations
2018-11-29 19:04:17 -08:00
Michelle Au
7571b7e100
Check for subpath error in container status instead of pod events
2018-11-29 15:57:02 -08:00
k8s-ci-robot
bf7efc6272
Merge pull request #71256 from bclau/fixes-hardcoded-image-names
...
tests: Fixes wrong Pod Container Image usage in test/e2e/apps
2018-11-29 15:27:04 -08:00
k8s-ci-robot
05fe21fa52
Merge pull request #71210 from pohly/podlogs-activated-pods
...
e2e/framework: capture logs only from pods that actually started
2018-11-29 15:26:31 -08:00
Zihong Zheng
4069dc7c05
[e2e ingress] actually assign value to resp
2018-11-29 13:57:54 -08:00
k8s-ci-robot
409a5ecae2
Merge pull request #71036 from bclau/test-windows-permissions
...
tests: Checks for Windows permissions as well
2018-11-29 11:16:49 -08:00
k8s-ci-robot
7db6ad1f0e
Merge pull request #70781 from emwalker/68026-golint-fixes-4
...
Remove test/images/* from hack/.golint_failures
2018-11-29 11:16:28 -08:00
Michelle Au
03065a1bde
Refactor driverinfo feature support into capabilities map
2018-11-29 11:10:06 -08:00
Michelle Au
8bb501bc70
Add e2e test for file exec
2018-11-29 11:08:15 -08:00
David Zhu
67a40cd3cc
Do GCE Secret setup in driver creation instead of skip test
2018-11-29 10:51:01 -08:00
Wei Huang
f9f588f052
address comments
2018-11-29 10:29:39 -08:00
k8s-ci-robot
ba5f1cbfba
Merge pull request #71320 from mborsz/nodekiller
...
Introduce NodeKiller -- a utility to simulate node failures in e2e tests
2018-11-29 05:18:52 -08:00
Maciej Borsz
9e493e169d
Implement NodeKiller -- a util to simulate node failures.
2018-11-29 12:56:50 +01:00
k8s-ci-robot
9f75e03481
Merge pull request #70714 from freehan/serve-hostname-close
...
add ability to close connection for serve-host
2018-11-29 02:01:23 -08:00
Wei Huang
ad6e3617d3
update logic of adding default DS pod tolerations
...
- update DS pod default tolerations: add PIDPressure, remove OutOfDisk
- remove useless tolerations testcases
2018-11-29 01:18:32 -08:00
k8s-ci-robot
e5326f22ea
Merge pull request #70471 from xichengliudui/fix181031
...
Fix some typos
2018-11-29 00:48:16 -08:00
Zihong Zheng
aaafb216d7
[e2e] Bump firewall test timeout to something more reasonable
2018-11-28 18:20:38 -08:00
Michelle Au
b02cada150
Revert "CSI: enhance driver tests to update the drivers."
2018-11-28 17:10:13 -08:00
soggiest
d80bbb9d57
PodPreset: Added tests to verify initcontainers modified as expected
2018-11-28 15:09:37 -08:00
k8s-ci-robot
3f47b4febd
Merge pull request #70578 from jsafrane/csi-e2e-driver-update
...
CSI: enhance driver tests to update the drivers.
2018-11-28 05:20:45 -08:00
pontiyaraja
6bdbb460fc
Removed privileged option for [sig-storage] host path
2018-11-28 12:33:44 +05:30
Clayton Coleman
653ed22fc9
e2e: Allow max-node-to-gather to be changed when running against larger clusters
...
While debugging issues I found myself having to change the constant in the code
for a cluster > 20 nodes, and then on a very small cluster I found myself passing
0 to avoid the mostly useless output (it's useful in specific scenarios but generates
a *lot* of output that doesn't help debugging the rest of the time).
2018-11-27 23:26:54 -05:00
Masaki Kimura
bae2e8a5e3
Fix timeout for testPodFailSubpathError longer to avoid flake
2018-11-28 00:04:52 +00:00
Michelle Au
6032a1e2df
Remove legacy gci flex directory from e2e tests
2018-11-27 15:10:37 -08:00
Jan Safranek
8fb3e9fe2a
Make HostPath CSI driver persistent across restart.
...
The driver dynamically provisions its volumes in /tmp. To preserve the data
across driver restarts, the directory must be mapped to more persistent
place, /tmp on the host seems to be the safest choice.
2018-11-27 13:53:48 +01:00
k8s-ci-robot
fad23990ce
Merge pull request #71429 from gnufied/fix-detach-while-mount-flake
...
Fix flake with e2e test that checks detach while mount in progress
2018-11-26 16:57:21 -08:00
k8s-ci-robot
ce68cfa453
Merge pull request #71428 from mkimuram/issue/71383
...
Fix subpath test flake that is caused in testPodFailSubpathError
2018-11-26 15:43:33 -08:00
k8s-ci-robot
855f3fae5e
Merge pull request #71235 from msau42/fix-hostpath-io
...
Fix io test to use unique file names and cleanup all files
2018-11-26 13:34:10 -08:00
Hemant Kumar
df88257ad8
Fix flake with e2e test that checks detach while mount in progress
...
A volume can show up as in-use even before it gets attached
to the node.
2018-11-26 15:28:05 -05:00
Masaki Kimura
790de995f3
Fix testPodFailSubpathError to make only WaitTimeoutForPodEvent wait
2018-11-26 17:29:25 +00:00
Masaki Kimura
f81abad51c
Fix eventOccurred to check message from all the events
2018-11-26 17:21:20 +00:00
Jan Safranek
51fc7930d6
CSI: enhance driver tests to update the drivers.
...
We want to check that kubelet correctly handles driver update
on a node.
2018-11-26 12:45:01 +01:00
k8s-ci-robot
610f48f424
Merge pull request #71362 from aleksandra-malinowska/autoscaling-test-fix-26
...
Extend timeout before breaking node in autoscaling test
2018-11-24 11:04:33 -08:00
Aleksandra Malinowska
2f278a316f
Extend timeout before breaking node in autoscaling test
2018-11-23 13:47:05 +01:00
k8s-ci-robot
205eaee0e5
Merge pull request #71145 from gnufied/test-mounted-detach
...
Fix volume detach while mount in progress
2018-11-22 23:27:48 -08:00
Yecheng Fu
37b20f0116
refactor volume binding stress tests to test scheduling one pod repeatedly
...
this helps to detect races between Find/Assume and Bind volumes
2018-11-22 18:02:57 +08:00
Claudiu Belu
0df9c0adf6
tests: Checks for Windows permissions as well
...
Some mounttest related tests are checking the file permissions set on the
container files, but the default file permissions on Windows is 775 instead of
644, causing some tests to fail.
Keep in mind that file permissions work differently on Windows, and setting file
permissions via Kubernetes is not currently supported on Windows.
2018-11-21 23:02:48 -08:00
k8s-ci-robot
20e1ab6744
Merge pull request #71314 from saad-ali/csi03Compat
...
Reintroduce CSI 0.3.x support in CSI Volume Plugin
2018-11-21 19:58:33 -08:00
saad-ali
aa8244beb5
Modify CSI to handle both 0.3 and 1.0
...
Modify the CSI volume plugin to handle CSI version 0.x as well as 1.x
2018-11-21 18:37:31 -08:00
k8s-ci-robot
2b0212de9c
Merge pull request #71206 from stlaz/enc_config_opt
...
Rename '--experimental-encryption-provider-config' to '--encryption-provider-config'
2018-11-21 11:30:12 -08:00
Jordan Liggitt
4dca07ef7e
Fixup incorrect use of DefaultFeatureGate.Set in tests
2018-11-21 11:51:33 -05:00
Jordan Liggitt
d440ecdd3b
Update non-test code to use DefaultMutableFeatureGate
2018-11-21 11:51:33 -05:00
Wei Huang
4ce10eda64
cleanup PriorityClass after each test
2018-11-20 11:00:27 -08:00
Hemant Kumar
d2b6e30143
Fix bug with volume getting marked as not in-use with pending op
...
Add test for verifying volume detach
2018-11-20 11:58:47 -05:00
Wei Huang
c1e7ab07bd
add an e2e test to verify preemption running path
2018-11-20 08:52:17 -08:00
Claudiu Belu
626cbe9001
tests: Fixes wrong Pod Container Image usage in test/e2e/apps
...
Some tests are not using the configured registry image names, causing
some tests to fail on Windows, since those images are Linux only.
2018-11-20 11:21:55 +02:00
Michelle Au
11627ae134
Fix io test to use unique file names and cleanup all files
2018-11-19 15:09:27 -08:00
Jake Sanders
2a6dd3b854
bump metadata-proxy to v0.1.11, update tests & test image
2018-11-19 13:59:17 -08:00
Sergei Orlov
21c1bb8830
kubeapiserver: rename '--experimental-encryption-provider-config' to '--encryption-provider-config'.
...
This change renames the '--experimental-encryption-provider-config'
flag to '--encryption-provider-config'. The old flag is accepted but
generates a warning.
In 1.14, we will drop support for '--experimental-encryption-provider-config'
entirely.
Co-authored-by: Stanislav Laznicka <slaznick@redhat.com>
2018-11-19 16:34:09 +01:00
Patrick Ohly
a4fc58cc98
e2e/framework: capture logs only from pods that actually started
...
Attempting to retrieve logs for a container that hasn't started yet
may have been the reason for the "the server does not allow this
method on the requested resource" error that showed up on the GCE CI
test cluster (issue #70888 ).
If we wait with retrieving logs until the pod is running or has
terminated, then we might be able to avoid that error. It's the right
thing to do either way and not complicated to implement.
2018-11-19 14:55:10 +01:00
k8s-ci-robot
f7b9b669e5
Merge pull request #71208 from losipiuk/lo/fix-flaky-scalup-test
...
Fix flaky 'shouldn't trigger additional scale-ups during processing scale-up' test
2018-11-19 05:51:43 -08:00
Łukasz Osipiuk
4d154179c4
Fix flaky 'shouldn't trigger additional scale-ups during processing scale-up' test
2018-11-19 13:37:50 +01:00
toyoda
52959b4bcb
e2e/auth: fix NodeAuthenticator tests not working
2018-11-19 15:40:17 +09:00
k8s-ci-robot
46ebebcc4f
Merge pull request #65763 from x13n/audit-logging
...
Add option to k8s apiserver to reject incoming requests upon audit failure
2018-11-17 04:39:56 -08:00
k8s-ci-robot
e3420cc46f
Merge pull request #70494 from RenaudWasTaken/pluginwatcher
...
Ignore non socket files in the kubelet plugin watcher
2018-11-16 22:46:42 -08:00
k8s-ci-robot
ec2e767e59
Merge pull request #71167 from msau42/block-beta
...
Promote raw block volume support to beta
2018-11-16 20:28:03 -08:00
k8s-ci-robot
f38cc95505
Merge pull request #62692 from mikedanese/trev2
...
authn: extend authenticator.Token to support audience validation
2018-11-16 20:27:25 -08:00
k8s-ci-robot
39c8219999
Merge pull request #71158 from liggitt/revert-openapi-publish
...
Revert openapi publish
2018-11-16 18:22:43 -08:00
Renaud Gaubert
1a3fbf1f13
Update e2e tests to include CSI
2018-11-17 01:52:57 +01:00
k8s-ci-robot
b6bbb01f04
Merge pull request #71058 from verult/nodeinfomanager-retry
...
Augmenting API call retry in nodeinfomanager; Revert #70891
2018-11-16 16:31:40 -08:00
k8s-ci-robot
1e22f080ec
Merge pull request #67383 from stlaz/enc_config_promotion
...
Introduce apiserver.config.k8s.io/v1 and use standard method for parsing encryption config file
2018-11-16 16:31:30 -08:00
Mike Danese
effad15ecc
patch webhook authenticator to support token review with arbitrary audiences
2018-11-16 19:30:42 -05:00
k8s-ci-robot
859ab7450d
Merge pull request #71146 from davidz627/fix/csiPath
...
Simplify GCE PD CSI Socket path
2018-11-16 15:17:12 -08:00
Jordan Liggitt
8799eb4e2e
Revert "Merge pull request #67205 from roycaihw/crd-openapi-spec"
...
This reverts commit 54ee58b2d6
, reversing
changes made to 9e2820e4c9
.
2018-11-16 16:36:24 -05:00
Cheng Xing
b275ebb5a8
Revert "Make csi alpha failing test skip"
...
This reverts commit f98b87cac1
.
2018-11-16 13:00:58 -08:00
David Zhu
5c0948c9f1
Simplify GCE PD CSI Socket path
2018-11-16 12:00:27 -08:00
Matthew Wong
bee759b925
Add volume mode downgrade test: should not mount/map in <1.13
2018-11-16 13:38:59 -05:00
Matthew Wong
0c671b1211
Remove [Feature:BlockVolume] everywhere
2018-11-16 13:38:59 -05:00
David Eads
9b31985b08
fix client-side specification of timeout now that it is honored
2018-11-16 11:43:37 -05:00
k8s-ci-robot
c9a31e490f
Merge pull request #71048 from m1kola/e2e_portforward_log_polling
...
Fixes flaky tests for kubectl port-forward
2018-11-16 05:13:00 -08:00
k8s-ci-robot
54ee58b2d6
Merge pull request #67205 from roycaihw/crd-openapi-spec
...
Serve OpenAPI spec for registered CRDs
2018-11-16 05:12:41 -08:00
k8s-ci-robot
1a54fd4319
Merge pull request #71021 from liggitt/node-self-deletion
...
Remove self-deletion permissions from kubelets
2018-11-16 01:53:31 -08:00
k8s-ci-robot
6fc60428a7
Merge pull request #71020 from saad-ali/updateCSI10
...
Bump CSI Spec to 1.0.0 and gRPC to 1.13.0
2018-11-16 01:53:21 -08:00
Daniel Kłobuszewski
7a10f4eda7
Add option to k8s apiserver to reject incoming requests upon audit failure
2018-11-16 10:32:49 +01:00
saad-ali
503f654d7a
Update CSI tests to point to 1.0.0 external bits.
2018-11-15 20:01:50 -08:00
Haowei Cai
4625bf7dad
add basic e2e test and integration for CRD openapi
2018-11-15 16:39:49 -08:00
saad-ali
9d4810f25a
Bump grpc from 1.7.5 to 1.13.0
2018-11-15 16:39:42 -08:00
k8s-ci-robot
90245bec24
Merge pull request #70987 from pohly/storage-volume-testsuites-names
...
e2e/storage: distinct test names for provisioning
2018-11-15 15:00:21 -08:00
k8s-ci-robot
e4ee887121
Merge pull request #69303 from appian/host_aliases_on_same_line
...
Write HostAliases aliases on same line per host IP
2018-11-15 14:59:52 -08:00
Mikalai Radchuk
9cc47e3ba3
Fixes flaky tests for kubectl port-forward
2018-11-15 20:07:00 +00:00
David Ashpole
630cb53f82
add kubelet grpc server for pod-resources service
2018-11-15 09:43:20 -08:00
k8s-ci-robot
076adbf4a2
Merge pull request #71075 from jsafrane/csi-skip-attach-tag
...
Rename tag for CSI skip attach tests
2018-11-15 08:37:08 -08:00
Jan Safranek
6fee3688a0
Rename tag for CSI skip attach tests
...
So it has the same name as alpha feature
2018-11-15 15:42:00 +01:00
k8s-ci-robot
db680631df
Merge pull request #71030 from wojtek-t/fix_density_test
...
Fix density test
2018-11-15 03:54:45 -08:00
k8s-ci-robot
b1a52a38e9
Merge pull request #67257 from pbarker/audit
...
dynamic audit configuration
2018-11-15 02:42:59 -08:00
k8s-ci-robot
5b76030760
Merge pull request #71039 from mkimuram/issue/70760hostpath
...
Fix CreateSecPodWithNodeName to properly set node to be deployed
2018-11-14 23:19:57 -08:00
k8s-ci-robot
726c07eb26
Merge pull request #69929 from jsafrane/csi-ga
...
Promote CSIPersistentVolume feature to GA
2018-11-14 20:34:58 -08:00
Patrick Barker
eb89d3dddd
adds dynamic audit configuration
2018-11-14 17:54:06 -07:00
k8s-ci-robot
33576d4154
Merge pull request #70299 from pontiyaraja/69911
...
added non-optional and empty key test cases for secret and configMap
2018-11-14 15:39:36 -08:00
k8s-ci-robot
9c304cf0cb
Merge pull request #70157 from mikedanese/trev1
...
retrofit svcacct token authenticator to support audience validation
2018-11-14 13:16:44 -08:00
Patrick Ohly
7efad66ae8
e2e/storage: distinct test names for provisioning
...
A test name should not be the subset of another, because then it is
impossible to focus on it.
In this case, -ginkgo.focus=should.provision.storage ran both "should
provision storage" and "should provision storage with mount options"
without the ability to select just the former.
2018-11-14 19:37:58 +01:00
John Schnake
266080e18d
Make SSH path handling consistent across providers during e2e
...
There were providers which would:
- allow overrides of the file base name but not the path
- allow oeverrides of the file path
- not allow any overrides at all
This change makes it such that each of the supported providers
can override the SSH key location using an env var. The env
var itself may vary based on the provider though.
If given an absolute path to the key, it is used. If given
a relative path it will be made relative to ~/.ssh
Fixes : #68747
2018-11-14 11:52:58 -06:00
Masaki Kimura
6a94656d0e
Fix CreateSecPodWithNodeName to properly set node to be deployed
2018-11-14 16:10:14 +00:00
k8s-ci-robot
cbcd6bf444
Merge pull request #70989 from pohly/storage-volume-testsuites-fmt
...
e2e/storage: avoid fmt.Sprintf for single string
2018-11-14 08:08:03 -08:00
Jan Safranek
e95b188656
Generated files
2018-11-14 14:01:16 +01:00
k8s-ci-robot
5ac8be2792
Merge pull request #71015 from msau42/remove-serial
...
Remove serial from gcepd-external tests
2018-11-14 03:39:34 -08:00
k8s-ci-robot
47e0a6a900
Merge pull request #70474 from k-toyoda-pi/myfeature
...
fix typos in test/e2e/kubectl/kubectl.go
2018-11-14 03:39:24 -08:00
wojtekt
68bae382b1
Fix density test
2018-11-14 10:17:40 +01:00
k8s-ci-robot
3e6d414b55
Merge pull request #70967 from mikedanese/fixtropts
...
Fix broken defaulting and validation in TokenRequest enablement
2018-11-13 22:03:42 -08:00
Jordan Liggitt
8d7cc39031
Remove self-deletion permissions from kubelets
2018-11-14 00:42:06 -05:00
Mike Danese
67bbf753cb
retrofit svcacct token authenticator to support audience validation
2018-11-13 20:38:41 -08:00
k8s-ci-robot
4c4a76557d
Merge pull request #70956 from apelisse/add-diff-test
...
Add test for CRD server-dry-run and fix bug
2018-11-13 19:45:53 -08:00
k8s-ci-robot
54243e1921
Merge pull request #69344 from zegl/improve-kubectl-apply-prune-output
...
Fix dry-run output in kubectl apply --prune
2018-11-13 19:45:34 -08:00
toyoda
b5fe04dae5
fix typos in test/e2e/kubectl/kubectl.go
2018-11-14 10:39:02 +09:00
Mike Danese
06935e1c90
split TokenRequest initialization out of run and into complete and validate
2018-11-13 17:27:13 -08:00
Michelle Au
63068be7ef
Remove serial from gcepd-external tests
2018-11-13 16:42:57 -08:00
k8s-ci-robot
d00cb23c8d
Merge pull request #71006 from liggitt/kubectl-run-apps-v1
...
update kubectl run to generate apps/v1 deployments
2018-11-13 16:14:23 -08:00
k8s-ci-robot
89698c5866
Merge pull request #71003 from bsalamat/int-tests
...
Disable equivalence cache by default in the scheduler integration tests
2018-11-13 16:14:14 -08:00
Nathan Gieseker
1a7e07b618
Rebase, fixes format error, removes a host name from confomance test
2018-11-13 14:15:05 -08:00
Nathan Gieseker
ee73270915
Removes PQDNs from conformance tests and places them in their own tests
2018-11-13 13:59:18 -08:00
k8s-ci-robot
7050a84753
Merge pull request #70789 from seunghunee/roundtrip-bugfix
...
Fix e2e conformance test error
2018-11-13 13:45:22 -08:00
Jordan Liggitt
03f26e4612
update kubectl run to generate apps/v1 deployments
2018-11-13 14:39:25 -05:00
Bobby (Babak) Salamat
1b8e1d9ed8
Disable equivalence cache by default in the scheduler integration tests
2018-11-13 11:23:19 -08:00
Stanislav Laznicka
628d1fef37
autogen files
2018-11-13 18:06:12 +01:00
Slava Semushin
c21cb548e6
Introduce kubeapiserver.config.k8s.io/v1 with EncryptionConfiguration and use a standard method for parsing config file.
...
Co-authored-by: Stanislav Laznicka <slaznick@redhat.com>
2018-11-13 14:05:21 +01:00
Patrick Ohly
89193ac0fd
e2e/storage: avoid fmt.Sprintf for single string
...
The fmt.Sprintf call is either redundant (if the format string
contains no format characters) or broken (if it does, because there
are no parameters).
2018-11-13 10:43:19 +01:00
pontiyaraja
6b9db24ed0
added non-optional and empty key test cases for secret and configMap
2018-11-13 13:08:02 +05:30
Eric Walker
d8390c4845
Remove test/images/* from hack/.golint_failures
2018-11-12 20:51:41 -07:00
Antoine Pelisse
d3d4d268ac
Add test for CRD server-dry-run and fix bug
...
Add a new test to make sure we can server-dry-run CRDs and also fix a
typo now that we have a test, we could notice that it doesn't work.
2018-11-12 11:06:27 -08:00
k8s-ci-robot
0ca67bde54
Merge pull request #70362 from ddebroy/ddebroy-multi-pvc
...
Add multi PVC versions of e2e tests for WaitForFirstConsumer
2018-11-12 03:14:39 -08:00
Clayton Coleman
68090bf078
e2e: Show the caller's stack for Skipf() instead of the local one
...
Ginkgo expects the caller to pass the appropriate skip, which we do
not do. Slightly improve call site messages by eliding the util.go
stack frame. Also drop the timestamp from skip messages since skip
is almost always called to check for global conditions, not temporal
ones.
2018-11-12 00:26:51 -05:00
Bill Warshaw
ab507dfc1f
Write HostAliases aliases on same line per host IP
...
* change HostAliases to put all aliases for an IP
on the same line in /etc/hosts rather than writing
one line per IP-alias pair
* having multiple entries in /etc/hosts for the same IP
causes issues with DNS resolution for some software
* https://unix.stackexchange.com/questions/102660/hosts-file-is-it-incorrect-to-have-the-same-ip-address-on-multiple-lines
2018-11-11 20:54:52 -05:00
Gustav Westling
37c253aba1
Fix the TestRunApplyPrintsValidObjectList test
...
The fake webclient should return one ConfigMap per request, not the whole ConfigMapList
Also added additional tests to the output
2018-11-11 15:19:29 +01:00
Mikalai Radchuk
b73b5bc99c
Fixes error message in e2e tests
2018-11-11 13:24:37 +00:00
Davanum Srinivas
e558e291d1
s/glog/klog/ - keep up with master
...
Change-Id: I27ff0545bc456ed8c0900cfeb90555f9ab7ae235
2018-11-10 07:57:01 -05:00
Davanum Srinivas
954996e231
Move from glog to klog
...
- Move from the old github.com/golang/glog to k8s.io/klog
- klog as explicit InitFlags() so we add them as necessary
- we update the other repositories that we vendor that made a similar
change from glog to klog
* github.com/kubernetes/repo-infra
* k8s.io/gengo/
* k8s.io/kube-openapi/
* github.com/google/cadvisor
- Entirely remove all references to glog
- Fix some tests by explicit InitFlags in their init() methods
Change-Id: I92db545ff36fcec83afe98f550c9e630098b3135
2018-11-10 07:50:31 -05:00
k8s-ci-robot
97baad34a7
Merge pull request #67006 from mbohlool/crd_webhook_conversion
...
CRD webhook conversion
2018-11-10 02:33:51 -08:00
k8s-ci-robot
344b42f0a4
Merge pull request #70891 from mkimuram/issue/70760
...
Make csi alpha failing test skip
2018-11-10 00:14:31 -08:00
k8s-ci-robot
be71fbe511
Merge pull request #70034 from wangzhen127/cleanup-node-lease
...
Delete node lease if the corresponding node is deleted
2018-11-09 23:01:05 -08:00
k8s-ci-robot
0320fd4d9f
Merge pull request #70869 from aniket-s-kulkarni/flexvolume-resize-implementation
...
fix for test failure #70774
2018-11-09 16:23:04 -08:00
k8s-ci-robot
94bc005fb1
Merge pull request #70830 from mtaufen/dkcfg-fix
...
Don't compare interface values in dynamic config controller
2018-11-09 16:22:46 -08:00
Mehdy Bohlool
d51d0164c5
Update generated files
2018-11-09 15:57:35 -08:00
Mehdy Bohlool
e2ca575d0f
CRD Conversion
2018-11-09 15:57:35 -08:00
Mehdy Bohlool
ea54a0c504
E2E Test
2018-11-09 12:50:22 -08:00
Mehdy Bohlool
8235e389fb
Example webhook implementation (used in E2E test)
2018-11-09 12:50:21 -08:00
Masaki Kimura
f98b87cac1
Make csi alpha failing test skip
...
Fixes : #70760
2018-11-09 20:42:55 +00:00
Deep Debroy
923df464fb
Add multi PVC versions of tests for delayed binding
...
Signed-off-by: Deep Debroy <ddebroy@docker.com>
2018-11-09 12:17:31 -08:00
Michael Taufen
1089cb629f
Don't compare interface values in dynamic config controller
...
This previously caused a panic when moving lastKnownGood between two
non-nil values, because we were comparing the interface wrapper instead
of comparing the NodeConfigSources. The case of moving from one non-nil
lastKnownGood config to another doesn't appear to be tested by the e2e
node tests. I added a unit test and an e2e node test to help catch bugs
with this case in the future.
2018-11-09 10:45:12 -08:00
k8s-ci-robot
06e737367d
Merge pull request #69589 from oomichi/issue/69588
...
Add the existence check of /proc/net/nf_conntrack
2018-11-09 10:20:01 -08:00
Aniket Kulkarni
62770789d3
fix for test failure #70774
2018-11-09 12:15:16 -05:00
k8s-ci-robot
e133ab274d
Merge pull request #70515 from davidz627/feature/csiNodeInfo
...
Add explicit "Installed" field to CSINodeInfo and change update semantics
2018-11-09 06:42:09 -08:00
David Zhu
4621887037
Updated test files with new fields
2018-11-08 19:45:01 -08:00
k8s-ci-robot
be800e623a
Merge pull request #69663 from sttts/sttts-scheduler-secure-serving
...
scheduler: enable secure port and authn/z
2018-11-08 17:36:14 -08:00
seunghunee
c0cacd2525
Fix conformance test error with log level 8
...
Fix : #70788
e2e conformance test completely passed with log level 5,
but failed only with log level 8.
2018-11-09 00:30:52 +00:00
k8s-ci-robot
f212b9db23
Merge pull request #70598 from dims/switch-from-sigs.k8s.io/yaml-to-ghodss/yaml
...
Switch to sigs.k8s.io/yaml from ghodss/yaml
2018-11-08 10:57:36 -08:00
k8s-ci-robot
3f5db92840
Merge pull request #68812 from WanLinghao/token_projection_ca_secret_create
...
Create Ca-certificate configmap used by token projected volume
2018-11-08 10:57:25 -08:00
Dr. Stefan Schimanski
1588af4031
kube-scheduler: add secure serving and authn/z integration tests
2018-11-08 16:43:59 +01:00
Dr. Stefan Schimanski
98d8e87120
integration: rename test/integration/{controllermanager -> serving}
2018-11-08 16:43:59 +01:00
Dr. Stefan Schimanski
d91feb6d18
kube-scheduler: move stopCh creation out of scheduler factory code
...
Enforces clean ownership of the channel.
2018-11-08 16:43:59 +01:00
tanshanshan
cb95edafe8
kube-scheduler: enable secure ports 10259
2018-11-08 16:43:59 +01:00
k8s-ci-robot
3c10143967
Merge pull request #60195 from humblec/glusterfs-pvspec-3
...
Refactor GlusterFS PV spec.
2018-11-08 00:24:39 -08:00
Zhen Wang
b8b12796fc
Delete node lease if the corresponding node is deleted
2018-11-07 20:31:47 -08:00
k8s-ci-robot
16d0992534
Merge pull request #69753 from wangzhen127/diff-node-status
...
Update kubelet node status report logic with node lease feature
2018-11-07 20:26:45 -08:00
WanLinghao
efac533f92
To inject ca.crt into container when projected volume was specified, configmap should be created in each namespace.
...
This patch add a controller called "root-ca-cert-publisher" to complete above job as well as some bootstrap rbac policies.
2018-11-08 11:33:47 +08:00
k8s-ci-robot
ac217310bf
Merge pull request #70769 from mkimuram/issue/70760
...
Fix test driver's unique name consistent
2018-11-07 19:10:55 -08:00
k8s-ci-robot
3bf41a210b
Merge pull request #69820 from ixdy/fork-multiarch-register
...
Use a forked copy of multiarch/qemu-user-static scripts instead of a privileged container
2018-11-07 19:10:15 -08:00
k8s-ci-robot
e83804d364
Merge pull request #70720 from roycaihw/sig-node-tests
...
Mark configmap and downward_api e2e tests under [sig-node]
2018-11-07 14:26:24 -08:00
k8s-ci-robot
98cd708619
Merge pull request #70648 from maht/master
...
Fix end-to-end test logic to get image name
2018-11-07 14:26:14 -08:00
Masaki Kimura
d33211dc44
Fix test driver's unique name consistent
...
Fixes : #70760
2018-11-07 22:24:48 +00:00
k8s-ci-robot
6f305d925f
Merge pull request #68025 from mkimuram/issue/68024
...
Make csi drivers and in-tree drivers share e2e tests
2018-11-07 12:52:47 -08:00
Zhen Wang
98fc4a107a
Update kubelet node status report logic with node lease feature
...
When node lease feature is enabled, kubelet reports node status to api server
only if there is some change or it didn't report over last report interval.
2018-11-07 11:59:42 -08:00
k8s-ci-robot
46413e7958
Merge pull request #70694 from mborsz/rcconfig
...
Don't fail RCConfig.start on node restart.
2018-11-07 11:36:59 -08:00
k8s-ci-robot
a99e004818
Merge pull request #70681 from justinsb/block_master_all_ips
...
e2e: block all master addresses
2018-11-07 11:36:50 -08:00
k8s-ci-robot
ebcc2c7d26
Merge pull request #70667 from aniket-s-kulkarni/flexvolume-resize-implementation
...
adding test case for flex volume resize on pod restart
2018-11-07 11:36:32 -08:00
Davanum Srinivas
43f523d405
Switch to sigs.k8s.io/yaml from ghodss/yaml
...
Change-Id: Ic72b5131bf441d159012d67a6a3d87088d0e6d31
2018-11-07 13:17:32 -05:00
Masaki Kimura
b89b367247
Make csi drivers and in-tree drivers share e2e tests
2018-11-07 15:42:58 +00:00
k8s-ci-robot
465d578d93
Merge pull request #70695 from mborsz/DeleteResourceAndWaitForGC
...
Few improvements to DeleteResourceAndWaitForGC
2018-11-07 02:47:37 -08:00
Maciej Borsz
0748cbe2b2
Don't fail RCConfig.start on node restart.
2018-11-07 11:03:51 +01:00
k8s-ci-robot
7fe59165b6
Merge pull request #70193 from saad-ali/csiCRDAddon
...
Register CSI CRDs as addon
2018-11-06 23:55:56 -08:00
k8s-ci-robot
e05659cf8e
Merge pull request #70710 from msau42/remove-subpath-ro-test
...
Remove subpath ro test
2018-11-06 20:21:44 -08:00
Haowei Cai
598d459bc6
Mark configmap and downwardapi tests with sig-node
2018-11-06 17:58:26 -08:00
Justin SB
c136a99bf2
e2e: Better error reporting in firewall test
...
Clearly report the particular ip/port that failed.
2018-11-06 18:00:49 -05:00
k8s-ci-robot
95014b2666
Merge pull request #70689 from mborsz/waitForPodsInactive
...
Modify waitForPodsInactive to return meaningful error message.
2018-11-06 14:02:15 -08:00
Minhan Xia
0fb2da902b
add ability to close connection for serve-host
2018-11-06 13:57:11 -08:00
Kenichi Omichi
f3e59a5c15
Add the existence check of /proc/net/nf_conntrack
...
The existence of /proc/net/nf_conntrack depends on the Linux kernel
config CONFIG_NF_CONNTRACK_PROCFS, and Ubuntu 16.04's one is disabled.
So the e2e test "should set TCP CLOSE_WAIT timeout" fails on that.
This adds the existence check of /proc/net/nf_conntrack for skipping
the test if not existing.
In addition, this makes IssueSSHCommandWithResult return Stderr in
the error message if err is nil to check "No such file or directory"
as nonexistence of /proc/net/nf_conntrack.
2018-11-06 21:32:19 +00:00
saad-ali
a679486a5e
Register CSI CRDs as addon
2018-11-06 10:58:09 -08:00
Michelle Au
75459fc3de
remove subpath readonly test for new directories
2018-11-06 10:39:36 -08:00
Michelle Au
c13eb07cdf
Fix csi rbac in e2e manifests
2018-11-06 10:35:46 -08:00
k8s-ci-robot
8dcdec0a67
Merge pull request #70669 from pohly/e2e-create-secrets
...
e2e: create and patch items of type Secret, code cleanup
2018-11-06 10:23:41 -08:00
k8s-ci-robot
a13599be7e
Merge pull request #70649 from jbartosik/e2e-logging
...
Add more logging to e2e HPA tests
2018-11-06 06:06:35 -08:00
Maciej Borsz
fa31f65db1
A few improvements for DeleteResourceAndWaitForGC:
...
* Better error messages
* Increase a timeout for removing pod to 20 minutes to handle
kubelet restarts gracefully.
2018-11-06 14:15:02 +01:00
k8s-ci-robot
c2aa35866c
Merge pull request #70665 from cblecker/go-1.11.2
...
Update to use go1.11.2
2018-11-06 04:54:17 -08:00
Humble Chirammal
bdb051c72d
Refactor GlusterFS PV spec.
...
This patch introduces glusterfsPersistentVolumeSource addition
to glusterfsVolumeSource. All fields remains same as glusterfsVolumeSource
with an addition of a new field
called `EndpointsNamespace` to define namespace of endpoint in the
spec.
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2018-11-06 15:51:01 +05:30
Patrick Ohly
8c1d08c750
e2e: create and patch items of type Secret, code cleanup
...
Creating secrets is useful for CSI drivers like ceph-csi which have to
be configured via secrets.
While at it, the UniqueName method gets replaced with
MetaNamespaceKeyFunc which does the same thing (at least as long as
non-namespaced items don't have a redundant namespace set) and the
factory types aren't exported anymore (not necessary).
2018-11-06 10:48:22 +01:00
Maciej Borsz
760f7dd24a
Modify waitForPodsInactive to return meaningful error message.
2018-11-06 09:48:14 +01:00
k8s-ci-robot
cfd53d6dae
Merge pull request #70263 from oomichi/remove-test
...
Remove subPath tests from host_path.go
2018-11-05 22:11:55 -08:00
Justin SB
0400871df9
e2e: block all master addresses
...
This way we can be sure that the kubelet can't communicate with the
master, even if falls-back to the internal/external IP (which seems to
be the case with DNS)
Issue #56787
2018-11-05 22:35:19 -05:00
k8s-ci-robot
c8604653f0
Merge pull request #70449 from mikedanese/simplcache
...
remove webhook cache implementation and replace with token cache
2018-11-05 16:32:34 -08:00
Aniket Kulkarni
624f2f5136
adding test case for flex volume resize on pod restart
2018-11-05 18:15:05 -05:00
Kenichi Omichi
01d0dc3697
Remove subPath tests from host_path.go
...
As discussing on #68905
some tests of test/e2e/common/host_path.go are covered with
test/e2e/storage/testsuites/subpath.go
So we don't need to keep them in test/e2e/common/host_path.go
anymore for the maintenance.
2018-11-05 21:35:17 +00:00
Mike Danese
0ec4d6d396
remove webhook cache implementation and replace with the token cache
...
The striped cache used by the token cache is slightly more sophisticated
however the simple cache provides about the same exact behavior. I used
the striped cache rather than the simple cache because:
* It has been used without issue as the primary token cache.
* It preforms better under load.
* It is already exposed in the public API of the token cache package.
2018-11-05 13:08:45 -08:00
Joachim Bartosik
100e61a7d6
Add more logging to e2e HPA tests
...
To debug flakes if there will be any more. Log status of HPA when
waching for recommendations stability (place where most flakes seem to
happen).
2018-11-05 11:32:41 +01:00
Miguel Herranz
d0aa30205d
Fix end-to-end test logic to get image name
...
The command executed in ValidateController function uses the
image name of the running container. This is a problem in multiarch
images, since the image name is the name of the image specific to
the architecture, but the image passed as parameter is the multiarch
one (as the test are architecture agnostic), making the test to fail.
This patch fixes it by making the logic use a command that get the
multiarch name given in the container spec.
Signed-off-by: Miguel Herranz <miguel@midokura.com>
2018-11-05 11:05:02 +01:00
Monis Khan
f39158a310
Add CRDs to etcd storage path test
...
This change updates the etcd storage path test to exercise custom
resource storage by creating custom resource definitions before
running the test.
Duplicated custom resource definition test logic was consolidated.
Signed-off-by: Monis Khan <mkhan@redhat.com>
2018-11-04 16:54:35 -05:00
k8s-ci-robot
5fdad5c19f
Merge pull request #68771 from liyongxin/master
...
typo fix from utilites to utilities
2018-11-03 16:50:28 -07:00
Christoph Blecker
b71e74626e
Bump golang version to 1.11.2
2018-11-03 14:10:45 -07:00
Aaron Crickenberger
ec2ba35662
Add new reviewers for conformance
...
Put into OWNERS files what has effectively been happening
for the past few months, we review and shepherd PR's
through other SIG reviewers before bringing to sig-arch
for a final /approve.
The goal is to eventually grow approvers when it's been
demonstrated that we have sufficient context.
2018-11-02 21:47:32 -07:00
k8s-ci-robot
33555943dc
Merge pull request #57099 from mfojtik/increase_downwardapi_volume_timeout
...
increase the podLogTimeout for downward volume test
2018-11-02 21:28:20 -07:00
k8s-ci-robot
6b2a01709c
Merge pull request #69796 from Huang-Wei/e2e-TaintBasedEvictions
...
add e2e tests for TaintBasedEvictions
2018-11-02 20:11:28 -07:00
k8s-ci-robot
247b8fffb7
Merge pull request #70597 from msau42/update-pd-csi
...
Update pd csi e2e yamls with latest driver
2018-11-02 18:02:17 -07:00
k8s-ci-robot
b36d08b810
Merge pull request #70592 from ravisantoshgudimetla/remove-resource-limits-priority
...
Remove resource limits priority
2018-11-02 18:02:07 -07:00
k8s-ci-robot
408973d88e
Merge pull request #70582 from pohly/csi-driver-registrar-rbac
...
e2e: remove "nodes" permission from driver-registrar RBAC
2018-11-02 18:01:58 -07:00
k8s-ci-robot
03cbb2c321
Merge pull request #70571 from lichuqiang/provision-test-fix
...
remove meaningless case in volume binding test
2018-11-02 18:01:48 -07:00
Michelle Au
45ee18a1f1
Update pd csi e2e yamls with latest driver
2018-11-02 13:35:39 -07:00
ravisantoshgudimetla
2a7e92e11d
Build file generated
2018-11-02 14:13:16 -04:00
ravisantoshgudimetla
0308d24df7
Remove resource priority limit e2e function
2018-11-02 14:12:18 -04:00
k8s-ci-robot
6813ebb568
Merge pull request #67851 from aniket-s-kulkarni/flexvolume-resize-implementation
...
Flexvolume resize implementation
2018-11-02 10:47:01 -07:00
k8s-ci-robot
879312205f
Merge pull request #70579 from jbartosik/e2e-deflake
...
Deflake e2e HPA tests
2018-11-02 08:39:16 -07:00
k8s-ci-robot
3cfc89a48a
Merge pull request #70483 from MaciekPytel/maciekpytel_e2e_owner
...
Add MaciekPytel to test OWNERS.
2018-11-02 08:38:57 -07:00
k8s-ci-robot
77fd16e0e7
Merge pull request #69266 from SataQiu/fix-20180930
...
Remove the redundant space
2018-11-02 08:38:37 -07:00
k8s-ci-robot
9fb1153bd8
Merge pull request #70550 from liggitt/cleanup-scale-clients
...
Drop generated clients for Scale types
2018-11-02 05:29:15 -07:00
Patrick Ohly
7ba52472b7
e2e: remove "nodes" permission from driver-registrar RBAC
...
In the review of
https://github.com/kubernetes-csi/driver-registrar/pull/69 it was
pointed out that the "nodes" permissions are not longer needed.
2018-11-02 12:29:16 +01:00
Joachim Bartosik
b0265bed42
Deflake e2e HPA tests
...
Tests for scaling down based on external metric are flaky. I think this
is because they:
- Start with 2 replicas,
- Export metric value == 1/2 target,
- Expect scale down to 1.
Since the expected recommendation is exactly 1 it might flake (and with
scale down stabilization any recommendations higher than 1 will
persist).
Change expected value of the metric so recommended size will be lower
than 1. This should make those tests less flaky.
2018-11-02 11:32:22 +01:00
k8s-ci-robot
808557e468
Merge pull request #69583 from audreylim/annotate-apimachinery-e2e-test-errors
...
Annotate errors in apimachinery e2e tests
2018-11-02 02:32:32 -07:00
SataQiu
c9bc625428
Remove the redundant space
2018-11-02 15:45:11 +08:00
lichuqiang
f7dbcce272
remove meaningless case
2018-11-02 15:17:20 +08:00
k8s-ci-robot
5581f52c0f
Merge pull request #69111 from rajansandeep/clustername
...
Adapt e2e tests for cluster-domain other than cluster.local
2018-11-01 23:45:22 -07:00
k8s-ci-robot
7e102de723
Merge pull request #70475 from pohly/csi-driver-deployment-logging
...
e2e: less verbose item creation
2018-11-01 13:44:27 -07:00
k8s-ci-robot
4351cea80c
Merge pull request #70046 from cheftako/lintCleanGce
...
Fixed lint errors for pkg/cloudprovider/providers/gce.
2018-11-01 13:44:06 -07:00
Jordan Liggitt
ff9dc86b3c
Drop generated clients for Scale types
2018-11-01 14:49:51 -04:00
k8s-ci-robot
a525a2b4ee
Merge pull request #70401 from ravisantoshgudimetla/fix-e2e-node-capacity
...
Fix capacities as well
2018-11-01 09:53:04 -07:00
Sandeep Rajan
4c8a65ac01
configure cluster domain via flags
2018-11-01 12:27:54 -04:00
k8s-ci-robot
215234d3a3
Merge pull request #67778 from gyuho/typo
...
staing/apimachinery: fix typo "perfer" to "prefer"
2018-11-01 03:21:02 -07:00
k8s-ci-robot
3b0c20bedc
Merge pull request #69675 from pontiyaraja/rc_cnf_test
...
Promote Replication Controller and Replica Set e2e tests to Conformance
2018-10-31 23:04:46 -07:00
k8s-ci-robot
b8731a76f0
Merge pull request #70395 from seans3/expose-bug-fix
...
kubectl: fixes expose bug for workload without selectors
2018-10-31 14:48:16 -07:00
k8s-ci-robot
50dffba0f3
Merge pull request #70140 from agau4779/beef-up-negs
...
test switching between standalone/Ingress NEG
2018-10-31 13:07:38 -07:00
k8s-ci-robot
ebe5e635c0
Merge pull request #70422 from zqm19941101/patch-1
...
fix typo
2018-10-31 11:50:41 -07:00
pontiyaraja
b81936320b
Promote Replication Controller and Replica Set e2e tests to Conformance
2018-11-01 00:20:04 +05:30
Ashley Gau
4840bfd913
test switching between standalone/Ingress NEG
2018-10-31 09:49:18 -07:00
Maciej Pytel
8f897d1dbd
Add MaciekPytel to test OWNERS.
2018-10-31 14:56:11 +01:00
k8s-ci-robot
dc1307b826
Merge pull request #70441 from jbartosik/e2e-deflake
...
Deflake HPA tests
2018-10-31 06:36:05 -07:00
Patrick Ohly
84db64fbcc
e2e: less verbose item creation
...
The detailed dumps of original and patched item content was useful
while developing the feature, but is less relevant now and too
verbose. It might be relevant again, so it's left in the code as
comments.
What gets logged now is just a single-line "creating" resp. "deleting"
message with the type of the item and its unique name.
This also enhances up some other aspects of the original logging:
- the namespace is included for item types that are namespaced
- the "deleting" message no longer gets replicated in each factory
method
Fixes : #70448
2018-10-31 10:23:12 +01:00
xichengliudui
8477389e7c
Fix some types
...
Fix some typos
2018-10-31 04:05:25 -04:00
Sean Sullivan
d5865240c5
kubectl: fixes expose bug for workload without selectors
2018-10-30 19:27:10 -07:00
k8s-ci-robot
0d37650107
Merge pull request #69986 from pohly/podlogs
...
e2e: live streaming of pod events and stdout for CSI volume tests
2018-10-30 16:16:06 -07:00
k8s-ci-robot
f9c744acb8
Merge pull request #70242 from bclau/fixes-dns-false-positives
...
tests: Fixes DNS tests false positives
2018-10-30 12:22:58 -07:00
Joachim Bartosik
cb6a8a2564
Deflake HPA tests
...
- Scale down based on custom metric was flaking. Increase target value
of the metric.
- Scale down based on CPU was flaking during stabilization. Increase
tolerance of stabilization (caused by resource consumer using more CPU
than requested).
2018-10-30 19:27:42 +01:00
Wei Huang
ca10e616bf
add e2e tests for TaintBasedEvictions
2018-10-30 10:40:05 -07:00
ravisantoshgudimetla
dd06ca7631
Fix capacities as well
2018-10-30 13:26:41 -04:00
k8s-ci-robot
76234a31b0
Merge pull request #69680 from jonfriesen/fix_golint_test/utils/images
...
Fixes golint in test/utils/image
2018-10-30 08:01:55 -07:00
zqm19941101
05013135b4
fix typo
2018-10-30 19:27:36 +08:00
Patrick Ohly
1449353067
e2e: live streaming of pod events and stdout for CSI volume tests
...
Debugging the CSI driver tests depends a lot on the output of the CSI
sidecar containers and the CSI driver, but that information was not
captured automatically and thus unavailable after a test run. This is
particularly bad when running in a remote CI system, but also manually
watching the cluster during a test was cumbersome.
Now pod events and log messages get copied to the test's output at the
time that they happen (when running without report directory) or get
written to individual log files (when running with report directory in
the CI).
2018-10-30 09:18:48 +01:00
k8s-ci-robot
070a35f9c3
Merge pull request #69544 from justinsb/tempdir_cleanup
...
Introduce test harness into unit tests
2018-10-29 20:07:27 -07:00
k8s-ci-robot
9d0a6d0fc6
Merge pull request #70390 from spiffxp/add-spiffxp-as-reviewer-to-test-conformance
...
Add myself as reviewer to test/conformance/OWNERS
2018-10-29 18:53:31 -07:00
k8s-ci-robot
975e6c0a73
Merge pull request #70039 from liggitt/deployment-rollback
...
Switch kubectl rollout to directly rolling back deployments
2018-10-29 18:52:51 -07:00
k8s-ci-robot
dab98f9546
Merge pull request #70329 from ravisantoshgudimetla/fix-e2e-limits
...
Fix e2e limits
2018-10-29 17:11:38 -07:00
k8s-ci-robot
361f8c31bd
Merge pull request #70314 from samdamana/auth-revert
...
Revert "limit forbidden error to details of what was forbidden"
2018-10-29 17:11:27 -07:00
k8s-ci-robot
2ecc71da47
Merge pull request #69868 from pohly/e2e-manifests
...
e2e manifests
2018-10-29 17:11:08 -07:00
Jon Friesen
0415ebe439
Fixes golint in test/utils/image
...
This change fixes the test/utils/image package golint errors.
2018-10-29 17:07:01 -07:00
k8s-ci-robot
861e866b51
Merge pull request #69947 from tallclair/runtimeclass-e2e
...
Implement a basic RuntimeClass E2E
2018-10-29 15:53:59 -07:00
Aaron Crickenberger
a188653334
Add myself as reviewer to test/conformance/OWNERS
...
I'd like to start fielding more reviews of this code since I'm actively
involved in efforts that are consumers of it
2018-10-29 15:48:00 -07:00
Tim Allclair
fe7fe3cc64
Implement a basic RuntimeClass E2E
2018-10-29 12:44:56 -07:00
k8s-ci-robot
0768fa5604
Merge pull request #70188 from rajansandeep/ipv6tests
...
Extend DNS ConfigMap tests to support IPv6
2018-10-29 12:08:03 -07:00
walter
735ad9ed63
Fixed lint errors for pkg/cloudprovider/providers/gce.
...
Fixed minor issues.
Cleaned up from merge errors.
2018-10-29 11:52:24 -07:00
qingsenLi
3e83f0f08a
fix typo and instead of amd
2018-10-30 01:27:50 +08:00
Sandeep Rajan
9e8bd5ccca
extend tests to support ipv6 functionality
...
ipv6 tests for configmap
2018-10-29 12:34:00 -04:00
k8s-ci-robot
fb6716e83c
Merge pull request #67495 from islinwb/policy_psp
...
use PodSecurityPolicySpec of policy/v1beta1 instead of extensions/v1beta1
2018-10-29 08:31:15 -07:00
Gyuho Lee
1adb8100ba
staing/apimachinery: fix typo "perfer" to "prefer"
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2018-10-27 20:29:54 -07:00
ravisantoshgudimetla
fedfddcb21
Build files
2018-10-27 19:06:24 -04:00
ravisantoshgudimetla
e47d587bee
Fix e2e node status updates
2018-10-27 19:04:52 -04:00
k8s-ci-robot
8616687c90
Merge pull request #70282 from justinsb/better_unsupported_provider_messages
...
Disambiguate "unsupported provider" messages
2018-10-27 13:49:05 -07:00
Jordan Liggitt
57df11bc0f
Switch kubectl rollout to directly rolling back deployments
2018-10-26 23:48:44 -04:00
k8s-ci-robot
7b5705c619
Merge pull request #70203 from ravisantoshgudimetla/fix-e2e-resource-limits
...
Fix e2e resource limits
2018-10-26 19:13:41 -07:00
k8s-ci-robot
95613765e4
Merge pull request #70114 from mikedanese/svcacctscale
...
scale test service account token projection in kubemark
2018-10-26 17:58:01 -07:00
Samuel Davidson
294e02ed4b
Revert "limit forbidden error to details of what was forbidden"
...
This reverts commit ecbd013795
.
2018-10-26 15:58:09 -07:00
Patrick Ohly
248df4ac58
e2e: update bazel BUILD files
...
Generated via hack/update-bazel.sh.
2018-10-27 00:39:44 +02:00
Patrick Ohly
a56c518292
e2e CSI: bump all containers to v0.4.1
2018-10-27 00:39:44 +02:00
k8s-ci-robot
1355e6b277
Merge pull request #70283 from justinsb/only_reconcile_health_check_on_gce
...
e2e: Only do LB health check reconciliation test on GCE
2018-10-26 14:44:01 -07:00
Patrick Ohly
38efff564c
e2e: deploy from manifest files + enhance CSI volume output
...
Ensuring that CSI drivers get deployed for testing exactly as intended
was problematic because the original .yaml files had to be converted
into code. e2e/manifest helped a bit, but not enough:
- could not load all entities
- didn't handle loading .yaml files with multiple entities
- actually creating and deleting entities still had to be done in tests
The new framework utility code handles all of that, including the
tricky cleanup operation that tests got wrong (AfterEach does not get
called after test failures!).
In addition, it is ensuring that each test gets its own instance of the
entities.
The PSP role binding for hostpath is now necessary because we switch
from creating a pod directly to creation via the StatefulSet
controller, which runs with less privileges.
Without this, the hostpath test runs into these errors in the
kubernetes-e2e-gce job:
Oct 19 16:30:09.225: INFO: At 2018-10-19 16:25:07 +0000 UTC - event for csi-hostpath-attacher: {statefulset-controller } FailedCreate: create Pod csi-hostpath-attacher-0 in StatefulSet csi-hostpath-attacher failed error: pods "csi-hostpath-attacher-0" is forbidden: unable to validate against any pod security policy: []
Oct 19 16:30:09.225: INFO: At 2018-10-19 16:25:07 +0000 UTC - event for csi-hostpath-provisioner: {statefulset-controller } FailedCreate: create Pod csi-hostpath-provisioner-0 in StatefulSet csi-hostpath-provisioner failed error: pods "csi-hostpath-provisioner-0" is forbidden: unable to validate against any pod security policy: []
Oct 19 16:30:09.225: INFO: At 2018-10-19 16:25:07 +0000 UTC - event for csi-hostpathplugin: {daemonset-controller } FailedCreate: Error creating: pods "csi-hostpathplugin-" is forbidden: unable to validate against any pod security policy: []
The extra role binding is silently ignored on clusters which don't
have this particular role.
2018-10-26 22:07:34 +02:00
k8s-ci-robot
c56dcddbe4
Merge pull request #70253 from dekkagaijin/master
...
always allow unimportant legacy root paths
2018-10-26 12:22:29 -07:00
ravisantoshgudimetla
c0a8d4702a
Fix e2e test and build file
2018-10-26 13:48:51 -04:00
ravisantoshgudimetla
fad6b326e3
Fix default algorithm provider priority insertion
2018-10-26 13:48:44 -04:00
Mike Danese
7613482623
scale test service account token projection in kubemark
2018-10-26 09:57:56 -07:00
Justin SB
4f3aafd6f5
e2e: Only do LB health check reconciliation test on GCE
...
The test requires restarting kube-controller-manager, we don't support
that on GKE.
Fix #70280
2018-10-26 07:19:43 -04:00
Justin SB
ff8a0e08cb
Disambiguate "unsupported provider" messages
...
When we get an unsupported provider message, it often isn't clear what
method actually failed - add more information to the error message.
Issue #70280
2018-10-26 07:13:20 -04:00
Patrick Ohly
dcbcef13b4
e2e: simplify gcePD .yaml files
...
Setting command line arguments via env variables that are not needed
by the binaries is just unnecessarily complex. The driver renaming
code in the E2E manifest PR would have to be made more complex to deal
with such a deployment. It is easier for that code and humans who look
at the .yaml file to remove the indirection.
2018-10-26 10:32:46 +02:00
Patrick Ohly
1effe0ca0f
e2e framework: UniqueName
...
This is needed for tests which have to create entities that aren't
namespaced, like ServiceAccounts.
2018-10-26 10:32:46 +02:00
k8s-ci-robot
022c05c141
Merge pull request #70254 from msau42/add-out-of-tree-pd-tests
...
Add new driver config for testing PD CSI driver out of tree
2018-10-25 23:24:22 -07:00
Michelle Au
9acb8bca6d
Add new driver config for testing PD CSI driver out of tree
2018-10-25 16:42:51 -07:00
k8s-ci-robot
35290b2207
Merge pull request #70243 from runcom/test-output-useful
...
test/e2e/storage: fix output in case of failure and use another NFS mount option
2018-10-25 15:25:46 -07:00
k8s-ci-robot
1975747b10
Merge pull request #70210 from cblecker/remove-golang-fork
...
Remove golang fork for typecheck
2018-10-25 14:03:17 -07:00
k8s-ci-robot
ebace7718a
Merge pull request #70099 from grayluck/five-sec-hc
...
Change GCE LB health check interval from 2s to 8s
2018-10-25 14:03:07 -07:00
Jake Sanders
2a585d3fc7
bump metadata-concealment version to 1.1.1
2018-10-25 13:05:37 -07:00
Jake Sanders
884bfd11d9
always allow unimportant legacy root paths
2018-10-25 12:32:19 -07:00
Aniket Kulkarni
82f83a8f82
Updating build files after review comments
2018-10-25 14:49:01 -04:00
k8s-ci-robot
9ed206e3b9
Merge pull request #70206 from runcom/fix-cronjob-e2e
...
test/e2e/apps: fix race in cronjob test
2018-10-25 11:46:50 -07:00
Antonio Murdaca
fc80120a0f
test/e2e/storage: use relatime for checking NFS options
...
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
Signed-off-by: Antonio Murdaca <runcom@linux.com>
2018-10-25 20:44:33 +02:00
Antonio Murdaca
ebdc25a80e
test/e2e/storage: provide useful output if test fail
...
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
Signed-off-by: Antonio Murdaca <runcom@linux.com>
2018-10-25 20:44:28 +02:00
Aniket Kulkarni
45aec048db
Incorporating review comments
2018-10-25 14:29:01 -04:00
Christoph Blecker
e415c1ec1d
Fix typecheck test error message
...
extra characters due to whitespace differences
2018-10-25 11:27:58 -07:00
Christoph Blecker
8574c38f81
Update srcimporter.go to golang/go@5f0a9ba
...
Also move to third_party/ as it's copied code.
2018-10-25 11:27:53 -07:00
k8s-ci-robot
2dc511a4ec
Merge pull request #70233 from jbartosik/e2e-deflake
...
Change back HPA e2e tests to request 500 mCPU
2018-10-25 08:24:56 -07:00
k8s-ci-robot
63e9ecabb6
Merge pull request #70209 from ixdy/update-images-after-#69995
...
Update images after #69995
2018-10-25 05:55:29 -07:00
Joachim Bartosik
1b90dc96d7
Change back HPA e2e tests to request 500 mCPU
...
I increased request from 500mCPU to 1CPU in
https://github.com/kubernetes/kubernetes/pull/70125 but this interacts
poorly with other e2e tests (higher requests mean pods fil to schedule).
So revert that change.
2018-10-25 11:16:31 +02:00
k8s-ci-robot
689df2010d
Merge pull request #68676 from mikkeloscar/fix-redis-statefulset-test
...
Fix Redis StatefulSet e2e test
2018-10-24 22:53:05 -07:00
k8s-ci-robot
0df5462db6
Merge pull request #69700 from verult/repd-e2e-regionalcluster
...
Updated Regional PD failover test to use node taints instead of instance group deletion
2018-10-24 19:26:51 -07:00
k8s-ci-robot
375ff10803
Merge pull request #70195 from dekkagaijin/master
...
Increment version for metadata-concealment test image
2018-10-24 18:10:31 -07:00
k8s-ci-robot
432e8d43e0
Merge pull request #70141 from pohly/provider-warning
...
e2e: allow unknown providers with a warning
2018-10-24 18:10:22 -07:00
yankaiz
40ab479f06
Change GCE LB health check interval from 2s to 8s, unhealthyThreashold to 3
...
Force ELB to ensureHealthCheck when target pool exists.
Add e2e test to ensure that HC interval will be reconciled when
kube-controller-manager restarts.
Health checks with bigger thresholds and larger intervals will not be reconciled.
Add unittest for ILB and ELB to ensure HC reconciles and is configurable.
2018-10-24 17:55:26 -07:00
Christoph Blecker
328c3ce90a
Swap typecheck to use go/types stdlib
2018-10-24 17:39:52 -07:00
k8s-ci-robot
c31d7f5b26
Merge pull request #70199 from mkimuram/issue/70191
...
Move the provisioning test for retain policy back to volume_provisioning.go
2018-10-24 16:58:31 -07:00
Jeff Grafton
162c00bdbc
Update e2e test image manifests
2018-10-24 16:23:12 -07:00
Jeff Grafton
7b93b50e40
Update to use kube-addon-manager:v8.9
2018-10-24 16:19:51 -07:00
Antonio Murdaca
48f12259b1
test/e2e/apps: fix race in cronjob test
...
With CRI-O we've been hitting a lot of flakes with the following test:
[sig-apps] CronJob should remove from active list jobs that have been deleted
The events shown in the test failures in both kube and openshift were the following:
STEP: Found 13 events.
Oct 24 20:20:05.541: INFO: At 2018-10-24 20:14:02 +0000 UTC - event for forbid: {cronjob-controller } SuccessfulCreate: Created job forbid-1540412040
Oct 24 20:20:05.541: INFO: At 2018-10-24 20:14:02 +0000 UTC - event for forbid-1540412040: {job-controller } SuccessfulCreate: Created pod: forbid-1540412040-z7n7t
Oct 24 20:20:05.541: INFO: At 2018-10-24 20:14:02 +0000 UTC - event for forbid-1540412040-z7n7t: {default-scheduler } Scheduled: Successfully assigned e2e-tests-cronjob-rjr2m/forbid-1540412040-z7n7t to 127.0.0.1
Oct 24 20:20:05.541: INFO: At 2018-10-24 20:14:03 +0000 UTC - event for forbid-1540412040-z7n7t: {kubelet 127.0.0.1} Pulled: Container image "docker.io/library/busybox:1.29" already present on machine
Oct 24 20:20:05.541: INFO: At 2018-10-24 20:14:03 +0000 UTC - event for forbid-1540412040-z7n7t: {kubelet 127.0.0.1} Created: Created container
Oct 24 20:20:05.541: INFO: At 2018-10-24 20:14:03 +0000 UTC - event for forbid-1540412040-z7n7t: {kubelet 127.0.0.1} Started: Started container
Oct 24 20:20:05.541: INFO: At 2018-10-24 20:14:12 +0000 UTC - event for forbid: {cronjob-controller } MissingJob: Active job went missing: forbid-1540412040
Oct 24 20:20:05.541: INFO: At 2018-10-24 20:15:02 +0000 UTC - event for forbid: {cronjob-controller } SuccessfulCreate: Created job forbid-1540412100
Oct 24 20:20:05.541: INFO: At 2018-10-24 20:15:02 +0000 UTC - event for forbid-1540412100: {job-controller } SuccessfulCreate: Created pod: forbid-1540412100-rq89l
Oct 24 20:20:05.541: INFO: At 2018-10-24 20:15:02 +0000 UTC - event for forbid-1540412100-rq89l: {default-scheduler } Scheduled: Successfully assigned e2e-tests-cronjob-rjr2m/forbid-1540412100-rq89l to 127.0.0.1
Oct 24 20:20:05.541: INFO: At 2018-10-24 20:15:06 +0000 UTC - event for forbid-1540412100-rq89l: {kubelet 127.0.0.1} Started: Started container
Oct 24 20:20:05.541: INFO: At 2018-10-24 20:15:06 +0000 UTC - event for forbid-1540412100-rq89l: {kubelet 127.0.0.1} Created: Created container
Oct 24 20:20:05.541: INFO: At 2018-10-24 20:15:06 +0000 UTC - event for forbid-1540412100-rq89l: {kubelet 127.0.0.1} Pulled: Container image "docker.io/library/busybox:1.29" already present on machine
The code in test is racy because the Forbid policy can still let the controller to create
a new pod for the cronjob. CRI-O is fast at re-creating the pod and by the time
the test code reaches the check, it fails. The events are as follow:
[It] should remove from active list jobs that have been deleted
/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/apps/cronjob.go:192
STEP: Creating a ForbidConcurrent cronjob
STEP: Ensuring a job is scheduled
STEP: Ensuring exactly one is scheduled
STEP: Deleting the job
STEP: deleting Job.batch forbid-1540412040 in namespace e2e-tests-cronjob-rjr2m, will wait for the garbage collector to delete the pods
Oct 24 20:14:02.533: INFO: Deleting Job.batch forbid-1540412040 took: 2.699182ms
Oct 24 20:14:02.634: INFO: Terminating Job.batch forbid-1540412040 pods took: 100.223228ms
STEP: Ensuring job was deleted
STEP: Ensuring there are no active jobs in the cronjob
[AfterEach] [sig-apps] CronJob
/go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:148
It looks clear that by the time we're ensuring that there are no more active jobs, there
could be _already_ a new job spinned, making the test flakes.
This PR fixes all the above by making sure that the _deleted_ job is not in the Active
list anymore, besides other pod already running but with different UUID which is
going to be fine anyway for the purpose of the test.
Signed-off-by: Antonio Murdaca <runcom@linux.com>
2018-10-25 00:14:19 +02:00
k8s-ci-robot
2126045bcc
Merge pull request #70197 from dims/switch-from-mirror-to-main-download-site-for-zookeeper
...
Switch from mirror to main download site for zookeeper
2018-10-24 14:47:25 -07:00
Kim Min
79599ac419
Prune internal clientset/informer from kubeapiserver admission initializer ( #70167 )
...
* externalize pv resize admission controller
* externalize podtolerationrestriction admission controller
* externalize podnodeselector admission controller
* remove internal clientset/informer from kubeapiserver admission initializer
* minor change: fixes scheduler integration test compiliation
2018-10-24 14:47:16 -07:00
k8s-ci-robot
10121e6448
Merge pull request #69898 from Huang-Wei/scheudler-perf-more-cases
...
add more scheduler benchmark testcases
2018-10-24 14:47:06 -07:00
k8s-ci-robot
86e2d2bf03
Merge pull request #69587 from jonfriesen/fix_golint_tests
...
Fixes golint for test/list
2018-10-24 14:46:57 -07:00
Cheng Xing
8ee882a98a
Updated Regional PD failover test to use node taints instead of instance group deletion
2018-10-24 13:22:39 -07:00
Patrick Ohly
bf08f5c63c
e2e: allow unknown providers with a warning
...
The E2E refactoring tightened the sanity checking of the --provider
parameter such that it only allowed known providers. That seemed to
make sense because it catches typos, but it turned out that various
callers depended on the "accept arbitrary provider value" behavior,
therefore it gets restored.
2018-10-24 21:57:02 +02:00
Aniket Kulkarni
bfc0d45303
e2e tests for flex volume expand
...
mysterious build error
2018-10-24 15:31:24 -04:00
Aniket Kulkarni
75350d11e9
adding support for expanding in use persistent volumes for Flex
2018-10-24 15:31:16 -04:00
Masaki Kimura
6afcaccf7d
Move the provisioning test for retain policy back to volume_provisioning.go
...
Provisioning test for retain policy requires each driver's backend volume
deletion logic. Without it, volume leakage happens. Move this test back
to volume_provisioning.go and test it only for gce, until general
backend volume deletion code for each driver becomes available.
Fixes : #70191
2018-10-24 19:21:28 +00:00
Davanum Srinivas
3e56e3c1c6
Switch from mirror to main download site for zookeeper
...
Change-Id: I14cd6aeef2f10ac3d270d03e624216eed78368ec
2018-10-24 14:46:45 -04:00
Jake Sanders
5d943acc09
Increment version for metadata-concealment test image
2018-10-24 11:36:25 -07:00
Wei Huang
5259d09c38
add more scheduler benchmark testcases
...
- add benchmark test for PodAffinity
- add benchmark test for NodeAffinity
- add 1000-nodes test for PodAntiAffinity/PodAffinity/NodeAffinity
2018-10-24 11:06:32 -07:00
zuoxiu.jm
38ddb4413a
update token authn constructor
2018-10-24 16:56:38 +08:00
Audrey Lim
3eaab702fb
Annotate errors in apimachinery e2e tests
2018-10-23 20:34:20 -07:00
k8s-ci-robot
daf17e2aee
Merge pull request #69571 from bclau/tests-linux-commands-fix
...
tests: Makes tests' commands platform agnostic
2018-10-23 09:33:30 -07:00
k8s-ci-robot
8be25aaade
Merge pull request #70125 from jbartosik/e2e-deflake
...
Deflake e2e tests of HPA
2018-10-23 08:21:30 -07:00
k8s-ci-robot
83d3f7033b
Merge pull request #69441 from mkimuram/provision
...
Move minimum set of dynamic provisioning e2e test to testsuites
2018-10-23 07:08:35 -07:00
Joachim Bartosik
e2394bd3b8
Deflake e2e tests of HPA
...
Resource consumer might use slightly more CPU than requested. That
resulted in HPA sometimes increasing size of deployments during e2e
tests. Deflake tests by:
- Scaling up CPU requests in those tests. Resource consumer might go a fixed
number of milli CPU seconds above target. Having higher requests makes
the test less sensitive.
- On scale down consume CPU in the middle between what would generate
recommendation of expexted size and 1 pod fewer (instead of righ on
edge beween expected and expected +1).
Some variables were int32 but always cast to int before use. Make them
int.
2018-10-23 14:50:41 +02:00
k8s-ci-robot
fecaa546c9
Merge pull request #69593 from dekkagaijin/legacy-metadata-test
...
account for disabled legacy metadata endpoints
2018-10-23 03:20:44 -07:00
k8s-ci-robot
b1fbdfe76b
Merge pull request #69993 from Pradip-Khakurel/issue-#34059-annotate-auth-e2e-errors
...
make error messages more helpful for some e2e auth tests
2018-10-23 02:08:22 -07:00
k8s-ci-robot
4d182cec03
Merge pull request #70105 from mikedanese/trev1
...
promote --service-account-api-audiences to top level kube-apiserver config
2018-10-22 23:59:34 -07:00
k8s-ci-robot
baa8d800ad
Merge pull request #69582 from mikedanese/trev7
...
tokenreview: authenticator interface changes
2018-10-22 23:59:04 -07:00
k8s-ci-robot
2472d67357
Merge pull request #68218 from jcsirot/fix-SkipIfMultizone-message
...
Fix the skip message since it was the exact opposite of the tested co…
2018-10-22 22:46:32 -07:00
k8s-ci-robot
77a1199b6c
Merge pull request #70019 from enj/enj/t/shared_etcd_stubs
...
Refactor dry run test to reuse ETCD storage data
2018-10-22 19:44:29 -07:00
Mike Danese
371b1e7fed
promote --service-account-api-audiences to top level kube-apiserver config
...
The service account authenticator isn't the only authenticator that
should respect API audience. The authentication config structure should
reflect that.
2018-10-22 18:21:37 -07:00
Mike Danese
e5227216c0
rebase authenticators onto new interface.
2018-10-22 10:16:59 -07:00
Masaki Kimura
4fcb36e205
Move minimum set of dynamic provisioning e2e test to testsuites
2018-10-22 16:04:43 +00:00
Claudiu Belu
fb8d2f7ef5
tests: Fixes DNS tests false positives
...
If dig fails to reach the DNS, it will output errors to stdout, which
can cause the test -n to falsely pass:
ubuntu@ubuntu:~$ dig +notcp +noall +answer +search kubernetes.default A
;; connection timed out; no servers could be reached
command terminated with exit code 9
ubuntu@ubuntu:~$ test -n "$(dig +notcp +noall +answer +search kubernetes.default A)" && echo OK
OK
This patch solves this issue by making sure the dig command actually succeeds
before checking its output.
2018-10-21 14:29:15 -07:00
k8s-ci-robot
570f9195d0
Merge pull request #69829 from jpbetz/watch-e2e-test1
...
Add api-machinery 'watch-consistency' e2e test
2018-10-19 22:17:54 -07:00
Claudiu Belu
d76108c595
Removes unnecessary SELinuxOptions from test case
...
The test "should run with the expected status" passes with and without
the set SELinuxOptions, but removing it will ensure that the test will
be able to run and pass on Windows nodes as well.
2018-10-19 17:31:49 -07:00
Benjamin Elder
3787a4b5be
register skeleton provider
2018-10-19 17:05:06 -07:00
k8s-ci-robot
82cba09870
Merge pull request #69995 from ixdy/purge-libsystemd-from-debian-base
...
debian-base: purge libsystemd0 to eliminate CVE false-positives
2018-10-19 16:04:23 -07:00
Monis Khan
c16edb2738
Refactor dry run test to reuse ETCD storage data
...
This change updates the ETCD storage test so that its data is
exported. Thus it can be used by other tests. The dry run test was
updated to consume this data instead of having a duplicate copy.
The code to start a master that can be used for "one of every
resource" style tests was also factored out. It is reused in the
dry run test as well.
This prevents these tests from drifting in the future and reduces
the long term maintenance burden.
Signed-off-by: Monis Khan <mkhan@redhat.com>
2018-10-19 18:35:56 -04:00
Joe Betz
f87d2c61f3
Add api-machinery 'watch-consistency' e2e test
2018-10-19 14:05:43 -07:00
k8s-ci-robot
8b36038b41
Merge pull request #68483 from pohly/e2e-refactor-pr
...
e2e refactor
2018-10-19 12:32:01 -07:00
Jeff Grafton
7a8696c331
Update to debian-base 0.4.0
...
Additionally, update the addon-manager to use kubectl v1.11.3.
2018-10-19 11:13:28 -07:00
k8s-ci-robot
c0d9a0728c
Merge pull request #69897 from code-sleuth/develop
...
Remove error output from stdout to stderr
2018-10-19 04:57:33 -07:00
k8s-ci-robot
cfd6343477
Merge pull request #66515 from justinsb/verify_kubectl_dump
...
Add test for kubectl cluster-info dump
2018-10-18 18:38:52 -07:00
k8s-ci-robot
c30f5269a3
Merge pull request #69810 from chrisohaver/checkmem
...
Add DNS container memory check to scalability tests
2018-10-18 14:44:09 -07:00
Ibrahim Mbaziira
7480650e05
Remove error output from stdout to stderr
2018-10-19 00:28:36 +03:00
Pradip-Khakurel
8c4fd312c9
make error messages more helpful for some e2e auth tests
2018-10-18 22:03:02 +02:00
Chris O'Haver
402266afde
add dns pod memory constraint
2018-10-18 10:35:30 -04:00
k8s-ci-robot
0ab29b4852
Merge pull request #69944 from jingxu97/defertest
...
Make sure kubelet is restarted after it is stopped in the test
2018-10-18 00:10:54 -07:00
Weibin Lin
e81776b140
update bazel
2018-10-18 10:18:15 +08:00
Weibin Lin
d02e3bd780
use PodSecurityPolicySpec of policy/v1beta1 instead of extensions/v1beta1
2018-10-18 10:18:13 +08:00
k8s-ci-robot
0652e098d0
Merge pull request #67547 from pbarker/audit-api
...
dynamic audit configuration api
2018-10-17 16:19:39 -07:00
Jing Xu
9de354034b
Make sure kubelet is restarted in the storage test
...
In some storage tests, kubelet is stopped first and the test check node
NotReady state. However, if it fails to have this state, kubelet could
not be restarted because the defer function is placed after the stop
kubelet command. This PR fixes this issue.
2018-10-17 14:19:04 -07:00
k8s-ci-robot
897b3a9fa7
Merge pull request #69437 from ravisantoshgudimetla/promote-resource-limits-priority-function
...
Promote resource limits priority function to beta
2018-10-17 11:57:02 -07:00
Jeff Grafton
a88244598a
Use sudo only when not already root
2018-10-16 23:42:22 -07:00
Jeff Grafton
9e4fa1493d
Use our forked qemu-static-register scripts instead of a privileged container
2018-10-16 23:41:32 -07:00
k8s-ci-robot
bba6e2583e
Merge pull request #69739 from mortent/UnflakeCmdRsTest
...
Remove flaky test by avoiding reuse of name for replicaset
2018-10-16 19:26:05 -07:00
k8s-ci-robot
1d3d1e8968
Merge pull request #68518 from leakingtapan/golint-fix-volume-empty-dir
...
fix golint issues for pkg/volume/empty_dir
2018-10-16 17:52:44 -07:00
k8s-ci-robot
851444f382
Merge pull request #68300 from yliaog/e2e-api
...
Upgraded e2e/apimachinery/aggregator to 1.10 Sample API server
2018-10-16 16:23:17 -07:00
k8s-ci-robot
08be38186d
Merge pull request #69755 from mrunalp/use_fsync
...
Use fsync instead of sync for test
2018-10-16 13:01:52 -07:00
k8s-ci-robot
dbd3be9213
Merge pull request #67695 from ipuustin/start-kubemark
...
start-kubemark.sh: clean up the shell script.
2018-10-16 10:03:04 -07:00
ravisantoshgudimetla
ba71ae7227
E2E and build file generated
2018-10-16 12:58:38 -04:00
Patrick Barker
b8e1250487
adds dynamic audit api generated
2018-10-16 13:07:27 +00:00
Patrick Barker
381d0a5d14
adds dynamic audit api
2018-10-16 06:46:34 -06:00
Wei Huang
8726ed29ef
enable and improve e2e of NoExecuteTaintManager
...
- e2e test file cannot end with "_test.go". rename "taints_test.go" to "taints.go"
- test multiple pods case
2018-10-15 16:02:05 -07:00
Yu Liao
ce1e62fb1b
Upgraded the test to 1.10 Sample API server.
2018-10-15 15:35:24 -07:00
k8s-ci-robot
c7886f8ba4
Merge pull request #69828 from ironcladlou/e2e-psp-reentrancy-fix
...
Make CreatePrivilegedPSPBinding reentrant
2018-10-15 15:04:53 -07:00
Mrunal Patel
6327c7403b
Use fsync instead of sync for test
...
sync sometimes hangs with misbehaving NFS during the tests
Signed-off-by: Mrunal Patel <mpatel@redhat.com>
2018-10-15 14:27:26 -07:00
k8s-ci-robot
d54e0fc0bc
Merge pull request #69670 from atlassian/simplify-rand-seed
...
Simplify rand seeding
2018-10-15 13:53:01 -07:00
Cheng Pan
42ef7ae8d5
fix golint issues for pkg/volume/empty_dir
2018-10-15 20:00:36 +00:00
Dan Mace
0bef5e4325
Make CreatePrivilegedPSPBinding reentrant
...
Make CreatePrivilegedPSPBinding reentrant so tests using it (e.g. DNS) can be
executed more than once against a cluster. Without this change, such tests will
fail because the PSP already exists, short circuiting test setup.
2018-10-15 15:31:25 -04:00
k8s-ci-robot
d20912c83f
Merge pull request #69728 from SataQiu/fix-2018101201
...
fix some typos
2018-10-13 21:47:08 -07:00
k8s-ci-robot
e9066b848d
Merge pull request #64993 from liggitt/aggregator-authz
...
Add auth-delegator permissions for e2e sample server test
2018-10-13 14:26:58 -07:00
k8s-ci-robot
2129bc9f85
Merge pull request #69742 from apelisse/fix-diff-error
...
Rename KUBERNETES_EXTERNAL_DIFF to KUBECTL_EXTERNAL_DIFF
2018-10-13 09:54:52 -07:00
k8s-ci-robot
1ba56437d9
Merge pull request #69673 from dims/add-labels-when-conformance-directory-changes
...
Add labels when conformance/ directory changes
2018-10-13 07:37:32 -07:00
k8s-ci-robot
d918327926
Merge pull request #69239 from fedebongio/aggregator-update
...
upgrading sample-apiserver to 1.10
2018-10-12 20:41:59 -07:00
k8s-ci-robot
d82397b5c9
Merge pull request #69192 from tanshanshan/scheduler927
...
Move pkg/scheduler/algorithm/well_known_labels.go out
2018-10-12 20:41:50 -07:00
k8s-ci-robot
79869afda5
Merge pull request #68910 from msau42/fix-names
...
Distinguish projected secret, configmap and downward api tests
2018-10-12 20:41:40 -07:00
k8s-ci-robot
9c5cf3ccf7
Merge pull request #69549 from tallclair/podevent-test
...
Fix WaitTimeoutForPodEvent logic
2018-10-12 19:13:52 -07:00
tanshanshan
b7c7966b9f
Move pkg/scheduler/algorithm/well_known_labels.go out
2018-10-13 09:10:00 +08:00
k8s-ci-robot
53e85280f4
Merge pull request #69714 from ericchiang/owners
...
Remove ericchiang from OWNERS files
2018-10-12 16:01:52 -07:00
Federico Bongiovanni
f777787481
Update BASEIMAGE
...
Adding suggested lost in translation missing ARCH to the BASEIMAGE
2018-10-12 15:18:40 -07:00
k8s-ci-robot
a8c76d4d57
Merge pull request #69674 from mooncak/fix_e2e_issue
...
Fix typos in the test comments
2018-10-12 14:48:46 -07:00
k8s-ci-robot
4d4c9065de
Merge pull request #69631 from Huang-Wei/use-gcr-io-pause
...
use k8s.gcr.io/pause instead of kubernetes/pause
2018-10-12 14:48:36 -07:00
k8s-ci-robot
3348f9ae23
Merge pull request #69627 from dims/updating-ghodss-yaml-to-latest-version-2
...
Updating ghodss/yaml and gopkg.in/yaml.v2 to latest version 2
2018-10-12 14:48:26 -07:00
Antoine Pelisse
572a028148
kubectl diff: Print error when something goes wrong
2018-10-12 14:12:32 -07:00
Jordan Liggitt
f8cfb7437c
Add auth-delegator permissions for e2e sample server test
2018-10-12 15:01:17 -04:00
Morten Torkildsen
dcb3d8b14f
Remove flaky test by avoiding reuse of name for replicaset
2018-10-12 12:01:07 -07:00
Tim Allclair
5214be3f16
Fix WaitTimeoutForPodEvent logic
2018-10-12 11:59:45 -07:00
SataQiu
e1d5b97f3f
fix some typos
2018-10-12 22:29:18 +08:00
k8s-ci-robot
23a84774b1
Merge pull request #69241 from wangzhen127/heartbeat
...
NodeLifecycleController treats node lease renewal as a heartbeat signal
2018-10-12 03:32:15 -07:00
k8s-ci-robot
e1a1aa2112
Merge pull request #69695 from justinsb/service_utils_typos
...
e2e: fix some small typos
2018-10-11 20:46:30 -07:00
k8s-ci-robot
b516a99a01
Merge pull request #69568 from bclau/fixes-webhook-test
...
Fixes webhook test failures
2018-10-11 19:35:42 -07:00
k8s-ci-robot
b3033a7278
Merge pull request #67934 from tanshanshan/typo828
...
fix spelling mistakes
2018-10-11 18:26:24 -07:00
Eric Chiang
766f5875bf
Remove ericchiang from OWNERS files
...
Kept myself in the OpenID Connect ones for now.
2018-10-11 18:11:15 -07:00
Zhen Wang
e35d808aa2
NodeLifecycleController treats node lease renewal as a heartbeat signal
2018-10-11 16:07:15 -07:00
k8s-ci-robot
cdf264cab5
Merge pull request #69651 from justinsb/faster_dns_e2e
...
e2e: speed up DNS tests
2018-10-11 15:22:25 -07:00
k8s-ci-robot
94306c12f5
Merge pull request #69057 from denkensk/create-a-new-scheduler-constructor
...
create-a-new-scheduler-constructor
2018-10-11 13:45:02 -07:00
Justin Santa Barbara
ee1b0c81a7
e2e: fix some small typos
2018-10-11 13:06:42 -07:00
k8s-ci-robot
632df63061
Merge pull request #68822 from pohly/csi-pod-creation
...
CSI E2E: retry csi-pod creation
2018-10-11 12:32:28 -07:00
Wei Huang
328f63179e
use k8s.gcr.io/pause instead of kubernetes/pause
2018-10-11 11:39:57 -07:00
mooncake
91419e6782
Fix typos in the test comments
...
Signed-off-by: mooncake <xcoder@tenxcloud.com>
2018-10-11 19:25:55 +08:00
Davanum Srinivas
744b8c1694
Add labels when conformance/ directory changes
...
So we don't have to do this manually for every PR
Change-Id: I4dc656e84ff6c48bc582b2aee6615bef11553257
2018-10-11 07:18:07 -04:00
Mikhail Mazurskiy
55bc668f8d
Seed math/rand in TestMain before tests are executed
2018-10-11 22:07:45 +11:00
Mikhail Mazurskiy
f5e9c0473c
Remove unnecessary random re-seeding
...
Package k8s.io/apimachinery/pkg/util/rand seeds the random based on time
during the package initialization, so no need to re-seed it.
2018-10-11 22:02:01 +11:00
Mikhail Mazurskiy
3a243090a5
Simplify random seed initialization
...
There is no need to set the time zone as the result does not
depend on it
2018-10-11 21:01:15 +11:00
Patrick Ohly
97101a6a86
e2e: update bazel BUILD files
...
Generated via hack/update-bazel.sh.
2018-10-11 11:36:25 +02:00
Patrick Ohly
8b17db7e0c
e2e: modular framework
...
Not all users of the E2E framework want to run cloud-provider specific
tests. By splitting out the code it becomes possible to decide in
a E2E test suite which providers are supported.
This is achieved in two ways:
- the framework calls certain functions through a provider
interface instead of calling specific cloud provider functions
directly
- tests that are cloud-provider specific directly import the
new provider packages
The ingress test utilities are only needed by a few tests. Splitting
them out into a separate package makes the framework simpler for test
suites not using those tests.
Fixes : #66649
2018-10-11 11:16:11 +02:00
k8s-ci-robot
8012b9583e
Merge pull request #69650 from justinsb/remove_etcd2_test_workarounds
...
e2e: remove workarounds for etcd2 test jobs
2018-10-10 22:22:58 -07:00
k8s-ci-robot
a9fb3f5fc9
Merge pull request #69616 from k82cn/sched_perf_owner
...
Aligned sched_perf owner.
2018-10-10 20:25:04 -07:00
k8s-ci-robot
362de68bef
Merge pull request #68353 from wgliang/fixbug/handle-close-not-check-err
...
fix bug not check error before defer conn.Close()
2018-10-10 20:24:27 -07:00
Justin Santa Barbara
ed7840ad50
e2e: speed up DNS tests
...
Poll a little more often, and use PollImmediate instead of Poll.
2018-10-10 19:33:57 -07:00
Justin Santa Barbara
9023dae86b
e2e: remove workarounds for etcd2 test jobs
...
Now we've removed support for etcd2, we should make sure we're testing
chunking fully.
2018-10-10 19:31:57 -07:00
k8s-ci-robot
8042411f0c
Merge pull request #65296 from lichuqiang/povision_inter_test
...
Add volume topology-aware dynamic provisioning related integration case
2018-10-10 13:13:48 -07:00
k8s-ci-robot
9c94363ef9
Merge pull request #69105 from pohly/e2e-settings
...
E2E settings
2018-10-10 12:01:07 -07:00
Davanum Srinivas
65da81f42e
Fix up test cases
...
Change-Id: Ib9245f78dbfb88f1f37a26ca64bf80d3f78d7497
2018-10-10 10:24:09 -04:00
wangqingcan
a74fd15e62
create a new scheduler constructor
2018-10-10 17:10:10 +08:00
Da K. Ma
f6ad347982
Fixed node namespace to none.
...
Signed-off-by: Da K. Ma <klaus1982.cn@gmail.com>
2018-10-10 16:17:15 +08:00
Da K. Ma
0064c2c4d4
Aligned sched_perf owner.
...
Signed-off-by: Da K. Ma <klaus1982.cn@gmail.com>
2018-10-10 16:05:04 +08:00
lichuqiang
db775814e2
add volume topology-aware dynamic provisioning integration case
2018-10-10 09:38:04 +08:00
Michelle Au
17c0e9f7ea
Update build and conformance test list
2018-10-09 14:27:58 -07:00
Michelle Au
253e8d5b74
Update test suite names
2018-10-09 14:25:30 -07:00
Michelle Au
cb7cb9aa8e
Keep related test cases and delete the rest
2018-10-09 14:25:29 -07:00
Michelle Au
f82ff5b16d
Break up projected.go into projected_combined/configmap/secret/downwardapi
2018-10-09 14:25:29 -07:00
Kenichi Omichi
2e6a8deece
Add debugging info in pv/pvc protection e2e tests
...
When facing an issue which is due to lack of PV/PVC Protection
finalizer on the e2e tests, the error message is just like
Expected
<bool>: false
to be true
Actually we cannot understand what happened during the tests.
This adds more debugging info on the tests.
2018-10-09 21:15:45 +00:00
Jake Sanders
e5945c2da0
account for disabled legacy metadata endpoints
...
Signed-off-by: Jake Sanders <jsand@google.com>
2018-10-09 13:43:17 -07:00
k8s-ci-robot
830e09cc96
Merge pull request #46517 from goblain/cli-port-forward-listen
...
port-forward listen on address
2018-10-09 12:38:55 -07:00
Jon Friesen
65ada74b98
Fixes golint for test/list
...
Fixes minor golint errors in the test/list tool.
ref: #68026
2018-10-09 12:32:27 -07:00
k8s-ci-robot
637ba154c8
Merge pull request #65189 from juanvallejo/jvallejo/path-fixes-cmd-copy
...
fix paths w shortcuts when copying from pods
2018-10-09 10:14:28 -07:00
juanvallejo
e55a28d169
fix paths w shortcuts when copying from pods
...
Addresses an issue where copying from a remote location containing path
shortcuts (podName:../../../tmp/foo) causes an index out of range panic.
2018-10-09 10:27:54 -04:00
k8s-ci-robot
321313b19e
Merge pull request #69004 from mgdevstack/master-pods-websocket-conformance
...
Promote pod's websocket based NodeConformance tests to Conformance
2018-10-08 22:28:12 -07:00
k8s-ci-robot
1d2e10c7c6
Merge pull request #69541 from justinsb/remove_unnecessary_mkdir
...
Remove superfluous MkdirAll from MakeTempDirOrDie
2018-10-08 20:55:30 -07:00
Guoliang Wang
f5ff020892
fix bug not checkou err before defer conn.CLose()
2018-10-09 10:35:50 +08:00
k8s-ci-robot
a34123d9c3
Merge pull request #67901 from dims/drop-flaky-test-from-conformance
...
Remove conformance tag from flaky test
2018-10-08 19:24:58 -07:00
Claudiu Belu
7cd4ebf3c3
tests: Makes tests' commands platform agnostic
...
Some commands used in tests are Linux specific and do not exist
or do not behave the same on Windows nodes. This can cause those
tests to fail on Windows nodes.
Replaces the mentioned commands with ones that behave the same on
both Linux and Windows.
2018-10-08 17:19:18 -07:00
Claudiu Belu
6db2dadc87
Fixes webhook test failures
...
The test "Should be able to deny attaching pod" can randomly fail
because it never waits for the pod to enter a "Running" state. Because
of this, the "kubectl attach" command can potentially fail, if the pod is
not in the correct state.
Additionally, if the "kubectl attach" actually manages to attach, then the
test will hang. The command should be executed with a timeout.
2018-10-08 16:55:33 -07:00
Justin Santa Barbara
b56d577e4d
Add test for kubectl cluster-info dump
...
kubectl cluster-info dump is currently giving a schema error; adding a
test for it.
2018-10-08 18:52:52 -04:00
Justin Santa Barbara
58fc3c8c23
Introduce test harness into unit tests
...
The harness lets us execute code after the test has completed.
Use it to clean-up temp dirs in the flexvolume tests (initially).
2018-10-08 18:44:05 -04:00
Justin Santa Barbara
f841f3ab40
Remove superfluous MkdirAll from MakeTempDirOrDie
...
After the call to ioutil.TempDir, the directory has already been
created, and MkdirAll therefore can't do anything. The mode argument
in particular is misleading.
2018-10-08 18:11:09 -04:00
k8s-ci-robot
981a064c85
Merge pull request #68793 from aveshagarwal/master-rhbz-1628998
...
Fix DS tests to set node selectors related annotations on test namespaces to empty.
2018-10-08 10:41:57 -07:00
Radek Pieczonka
4643c6e95e
port-forward listen on address
...
adds an address flag to kubectl port-forward to allow to bind to a different ip then localhost
2018-10-07 22:18:18 +02:00
k8s-ci-robot
c00f19bd15
Merge pull request #68403 from wgliang/master.deprecate-Parallelize
...
Replace Parallelize with function ParallelizeUntil and formally depre…
2018-10-06 09:40:07 -07:00
k8s-ci-robot
664d797245
Merge pull request #69466 from mooncak/fix_test_issues
...
Remove the duplicated words in test files
2018-10-05 22:18:31 -07:00
k8s-ci-robot
bc135bd328
Merge pull request #69198 from mkumatag/fix-tests
...
Use proper manifest images
2018-10-05 20:25:23 -07:00
k8s-ci-robot
0abb0f533a
Merge pull request #69377 from justinsb/avoid_spurious_highlighting
...
e2e: change test strings to avoid error highlighting
2018-10-05 18:47:51 -07:00
k8s-ci-robot
0f17e9ade6
Merge pull request #69386 from cblecker/go-1.11
...
Update to go1.11.1
2018-10-05 17:35:51 -07:00
Christoph Blecker
ee3e404122
fix vet error in test/soak/serve_hostnames/serve_hostnames.go
...
test/soak/serve_hostnames/serve_hostnames.go:124: Warningf format %e has arg ns of wrong type string
2018-10-05 16:05:17 -07:00
Christoph Blecker
781d3f6055
fix vet error in test/soak/cauldron/cauldron.go
...
test/soak/cauldron/cauldron.go:106: Warningf format %e has arg ns of wrong type string
2018-10-05 16:04:40 -07:00
k8s-ci-robot
13705ac81e
Merge pull request #68310 from cheftako/cpiMove
...
Moving the cloudprovider interface to staging.
2018-10-05 13:29:01 -07:00
Christoph Blecker
97b2992dc1
Update gofmt for go1.11
2018-10-05 12:59:38 -07:00
Christoph Blecker
962fdbcbca
Bump golang version to 1.11.1
2018-10-05 12:58:56 -07:00
mooncake
4894f5583d
Remove the duplicated words in test files
...
Signed-off-by: mooncake <xcoder@tenxcloud.com>
2018-10-05 22:55:16 +08:00
Patrick Ohly
4423735dc3
e2e: update bazel BUILD files
...
Generated via hack/update-bazel.sh.
2018-10-05 14:28:03 +02:00
Patrick Ohly
7305a3e395
e2e/lifecycle: decentralized settings
...
Tests settings should be defined in the test source code itself
because conceptually the framework is a separate entity that not all
test authors can modify.
For the sake of backwards compatibility the name of the command line
flags are not changed.
2018-10-05 14:24:35 +02:00
Patrick Ohly
752203d3fa
e2e/instrumentation: decentralized settings
...
Tests settings should be defined in the test source code itself
because conceptually the framework is a separate entity that not all
test authors can modify.
Using the new framework/config code also has several advantages:
- defaults can be set with less code
- no confusion around what's a duration
- the options can also be set via command line flags
While at it, a minor bug gets fixed:
- readConfig() returns only defaults when called while
registering Ginkgo tests because Viperize() gets called later,
so the scale in the logging soak test couldn't really be configured;
now the value is read when the test runs and thus can be changed
The options get moved into the "instrumentation.logging"
resp. "instrumentation.monitoring" group to make it more obvious where
they are used. This is a breaking change, but that was already
necessary to improve the duration setting from plain integer to a
proper time duration.
2018-10-05 14:24:35 +02:00
Patrick Ohly
8cde9c08f0
e2e/storage: decentralized settings
...
Tests shouldn't have to use the central context for their settings,
because conceptually tests and framework get developed independently.
This does not yet use the new framework/config utility code because
that code still needs to be reviewed.
Besides moving the flags, they also get renamed from the top-level
"--csiImage{Version|Registry}" to
"--storage.csi.image.{version|registry}". These flags were introduced
fairly recently and shouldn't be in use much, so now is a good time to
introduce a hierarchical naming for storage flags, in particular
because more flags will be added soon.
2018-10-05 14:24:35 +02:00
Patrick Ohly
cf0dcc6ab2
e2e: clarify and enhance configuration support
...
Storing settings in the framework's TestContext is not something that
out-of-tree test authors can do because for them the framework is a
read-only upstream component. Conceptually the same is true for
in-tree tests, so the recommended approach is to define configuration
settings in the code that uses them.
How to do that is a bit uncertain. Viper has several
drawbacks (maintenance status uncertain, cannot list supported
options, cannot validate the configuration file). How to handle
configuration files is currently getting discussed for kubeadm, with
similar concerns about
Viper (https://github.com/kubernetes/kubeadm/issues/1040 ).
Instead of making a choice now for E2E, the recommendation is that
test authors continue to define command line flags as before, except
that they should do it in their own code and with better flag names.
But the ability to read options also from a file is useful, so
several enhancements get added:
- all settings defined via flags can also be read from a
configuration file, without extra work for test authors
- framework/config makes it possible to populate a struct directly
and define flags with a single function call
- a path and file suffix can be given to --viper-config (as in
"--viper-config /tmp/e2e.json") instead of expecting the file in
the current directory; as before, just plain "--viper-config e2e"
still works
- if "--viper-config" is set, the file must exist; otherwise the
"e2e" config is optional (as before)
- errors from Viper are no longer silently ignored, so syntax errors
are detected early
- Viper support is optional: test suite authors who don't want
it are not forced to use it by the e2e/framework
2018-10-05 14:22:18 +02:00
Guoliang Wang
c2622dd9d8
Replace Parallelize with function ParallelizeUntil and formally deprecate the Parallelize
2018-10-05 17:56:56 +08:00
k8s-ci-robot
766d860f86
Merge pull request #69021 from mgdevstack/master-kubelet-conformance
...
Promote kubelet NodeConformance tests to Conformance
2018-10-04 18:19:25 -07:00
Walter Fender
f3f46d5f5a
Moving the cloudprovider interface to staging.
...
Individual implementations are not yet being moved.
Fixed all dependencies which call the interface.
Fixed golint exceptions to reflect the move.
Added project info as per @dims and
https://github.com/kubernetes/kubernetes-template-project .
Added dims to the security contacts.
Fixed minor issues.
Added missing template files.
Copied ControllerClientBuilder interface to cp.
This allows us to break the only dependency on K8s/K8s.
Added TODO to ControllerClientBuilder.
Fixed GoDeps.
Factored in feedback from JustinSB.
2018-10-04 14:41:20 -07:00
k8s-ci-robot
409871ecae
Merge pull request #69310 from liggitt/remove-etcd2
...
Remove etcd2 storage backend
2018-10-04 13:40:00 -07:00
k8s-ci-robot
166490a473
Merge pull request #69103 from pohly/testfiles
...
E2E: handling extra files
2018-10-04 13:39:49 -07:00
k8s-ci-robot
c568da3ab4
Merge pull request #69384 from oomichi/add-distros
...
Update options of master/node-os-distro
2018-10-04 10:09:45 -07:00
Jordan Liggitt
ad46728158
Switch e2e_node to etcd3
2018-10-04 11:41:16 -04:00
k8s-ci-robot
68536e4382
Merge pull request #68520 from verult/top-auth-integration
...
Auth integration tests for CSINodeInfo changes
2018-10-03 21:32:01 -07:00
k8s-ci-robot
5dd78df7da
Merge pull request #68982 from aruneli/master
...
Fixes #65869 Do not listen insecurely if secure port is specified
2018-10-03 17:32:28 -07:00
k8s-ci-robot
16256296d2
Merge pull request #69353 from davidz627/fix/provisionerName
...
Update provisioner name and don't supply zone in GCE PD CSI test
2018-10-03 15:21:59 -07:00
Cheng Xing
c65d7c9a49
NodeAuthorizer and NodeRestriction integration test for CSINodeInfo permissions
2018-10-03 14:31:16 -07:00
k8s-ci-robot
10368ee68b
Merge pull request #68915 from oomichi/issue/68914
...
Add fall-back to get node IP on host_path tests
2018-10-03 13:01:54 -07:00
k8s-ci-robot
e03886c34a
Merge pull request #68297 from leakingtapan/golint-fix-gce-pd
...
fix golint for pkg/volume/gce_pd
2018-10-03 13:01:34 -07:00
Kenichi Omichi
b259e91420
Update options of master/node-os-distro
...
Some e2e tests are skipped by depending on Linux distribution of
master and node, and the options can be one of "debian", "ubuntu",
"gci" or "custom". This updates the help message of the options.
2018-10-03 17:44:28 +00:00
k8s-ci-robot
c635e19e59
Merge pull request #69349 from davidz627/fix/gcePDCSITest
...
Add PodSecurityPolicy Binding back to GCE PD CSI Test and make non-serial
2018-10-03 10:38:16 -07:00
Justin Santa Barbara
153f91693b
e2e: change test strings to avoid error highlighting
...
The words "error" and "fail" are magic in test output, and are
highlighted in the build logs. Change some test strings to avoid
hitting the highlighting in normal operation.
2018-10-03 09:37:26 -07:00
k8s-ci-robot
c1ad6e961a
Merge pull request #69337 from MrHohn/addon-manager-manifest-8.8
...
Bump addon-manager to v8.8
2018-10-03 04:44:17 -07:00
k8s-ci-robot
f149d2a2c2
Merge pull request #68409 from wgliang/feature/remove-chaosclien
...
Remove unused chaosclient
2018-10-02 21:46:22 -07:00
k8s-ci-robot
c179a9c9df
Merge pull request #67356 from yliaog/master
...
Moved staging/src/k8s.io/client-go/tools/bootstrap to staging/src/k8s…
2018-10-02 20:35:51 -07:00
k8s-ci-robot
2d67d782de
Merge pull request #69225 from gnufied/volume-limit-tidy-up
...
Enable volume limit feature by default
2018-10-02 17:03:32 -07:00
David Zhu
fa41fa9acd
Update provisioner name and don't supply zone in GCE PD CSI test
2018-10-02 16:52:14 -07:00
David Zhu
fd18fc548d
Remove redundant [Serial] tags and dont delete CRD's at the end of test
2018-10-02 16:01:38 -07:00
David Zhu
e7af381538
Add Pod Security Policy back in to GCE PD Cluster Role
2018-10-02 14:42:14 -07:00
Zihong Zheng
81eae648cb
Bump addon-manager to v8.8
...
- Rebase docker image on debian-base:0.3.2.
2018-10-02 11:43:40 -07:00
Hemant Kumar
e38cfb61be
Add a e2e test to check node limits
2018-10-02 13:59:05 -04:00
Yu Liao
fc21115c3f
Moved staging/src/k8s.io/client-go/tools/bootstrap to staging/src/k8s.io/cluster-bootstrap
2018-10-02 09:46:13 -07:00