Commit Graph

15322 Commits

Author SHA1 Message Date
draveness
089e85e098 feat: convert selector spread priority to score plugin 2019-11-06 15:48:29 +08:00
Kubernetes Prow Robot
2aeacf025b
Merge pull request #84723 from hypnoglow/fix-golint-kubeapiserver
Fix golint issues in pkg/kubeapiserver
2019-11-05 22:18:20 -08:00
Kubernetes Prow Robot
d5fbc1126b
Merge pull request #84471 from oomichi/move-e2e-util
Move functions from e2e/framework/util.go
2019-11-05 22:17:59 -08:00
Kubernetes Prow Robot
254f657df2
Merge pull request #83748 from robscott/kubectl-e2e
Adding e2e test to ensure kubectl get output is using custom columns when desired
2019-11-05 22:17:28 -08:00
Wei Huang
019d7497a5
bazel files 2019-11-05 20:57:21 -08:00
Wei Huang
dd74205bcf
Move out const strings in pkg/scheduler/api/well_known_labels.go 2019-11-05 20:56:21 -08:00
Justin SB
e3a9d6fd1a
e2e: Provide more helpful error output for failing test
Tests should provide more verbose output when their core functionality
fails; in this case we were only logging that the job count did not
match but this is not sufficient for understanding a failure.
2019-11-05 23:09:12 -05:00
Kenichi Omichi
eb9d1cb5cc Move functions from e2e/framework/util.go Part-2
This PR moves functions from test/e2e/framework.util.go for making e2e
core framework small and simple:

- RestartKubeProxy: Moved to e2e network package
- CheckConnectivityToHost: Moved to e2e network package
- RemoveAvoidPodsOffNode: Move to e2e scheduling package
- AddOrUpdateAvoidPodOnNode: Move to e2e scheduling package
- UpdateDaemonSetWithRetries: Move to e2e apps package
- CheckForControllerManagerHealthy: Moved to e2e storage package
- ParseKVLines: Removed because of e9345ae5f0
- AddOrUpdateLabelOnNodeAndReturnOldValue: Removed because of ff7b07c43c
2019-11-06 03:59:28 +00:00
Kubernetes Prow Robot
74cbf0dc33
Merge pull request #84745 from davidz627/revert-84656-fix/syncReal
Revert "Make writing file via container in tests sync for real this time by enclosing multiple commands in quotes"
2019-11-05 15:31:41 -08:00
Kubernetes Prow Robot
0e53f3f455
Merge pull request #84499 from YuikoTakada/move-suites
Move funcs of suites.go to e2e.go
2019-11-05 15:31:03 -08:00
Kubernetes Prow Robot
336f0c6cd8
Merge pull request #84489 from zxl381/DL_audit
Fix a double lock in test/utils
2019-11-05 15:30:45 -08:00
Claudiu Belu
3247f0a814 tests: Fixes minor agnhost error 2019-11-05 15:21:58 -08:00
Kubernetes Prow Robot
75aca1fe03
Merge pull request #84795 from ahg-g/ahg-custom
Convert multiple node label predicates to be a single filter plugin
2019-11-05 11:45:11 -08:00
Kubernetes Prow Robot
e52df5bcc3
Merge pull request #84725 from liggitt/e2e-useragent
Set user agent for e2e consistently
2019-11-05 11:44:40 -08:00
Igor Zibarev
03dfa1a641 Fix golint issues in pkg/kubeapiserver 2019-11-05 22:25:32 +03:00
Kubernetes Prow Robot
b01ac96bd4
Merge pull request #84770 from mikedanese/uuid
remove github.com/pborman/uuid
2019-11-05 08:47:05 -08:00
Abdullah Gharaibeh
134baa50b9 Convert multiple node label predicates to be a single filter plugin. 2019-11-05 10:34:51 -05:00
Mike Dame
75f0712be2 Fix typo in error reporting in graceful shutdown test 2019-11-05 08:35:20 -05:00
Kubernetes Prow Robot
ee309ced7e
Merge pull request #84766 from Huang-Wei/tbe-flake
Fix a TaintBasedEviction integration test flake
2019-11-05 04:54:38 -08:00
wojtekt
ffad401b4e Promote NodeLease feature to GA 2019-11-05 09:01:12 +01:00
YuikoTakada
da89d212dd Move funcs of suites.go to e2e.go 2019-11-05 07:21:38 +00:00
Kubernetes Prow Robot
efe5edfb3d
Merge pull request #84412 from jfbai/move-funcs-of-nodeutil-to-cloud-gcp
Move funcs of node_util to cloud/gcp.
2019-11-04 23:16:38 -08:00
Mike Danese
a4ca9e6c93 migrate callers to g/g/uuid 2019-11-04 23:15:29 -08:00
Wei Huang
8021fc5a37
Fix a TaintBasedEviction integration test flake 2019-11-04 19:46:50 -08:00
Kubernetes Prow Robot
1b0caa496e
Merge pull request #84640 from clarklee92/UseFrameworkLogIn-e2e/framework/kubelet
Use log functions of core framework on test/e2e/framework/kubelet
2019-11-04 19:40:38 -08:00
Kubernetes Prow Robot
8ff16f35f8
Merge pull request #84007 from wojtek-t/reduce_node_update_frequency
Reduce node update frequency
2019-11-04 15:28:43 -08:00
Kubernetes Prow Robot
1d1385af91
Merge pull request #83474 from msau42/topology-ga
CSI Topology ga
2019-11-04 15:28:27 -08:00
Kubernetes Prow Robot
2999b8bebb
Merge pull request #83055 from bclau/tests/agnhost-guestbook-app
tests: Adds guestbook app subcommand in agnhost
2019-11-04 15:28:10 -08:00
Roy Hvaara
a9ed936792
Fix golint issues in test/e2e_kubeadm 2019-11-04 23:20:24 +01:00
Kubernetes Prow Robot
46e286edcc
Merge pull request #83897 from krzysied/kubemark_enable_logging
Enabling fluentd on kubemark
2019-11-04 13:44:11 -08:00
David Zhu
c23c4296d1
Revert "Make writing file via container in tests sync for real this time by enclosing multiple commands in quotes" 2019-11-04 11:26:34 -08:00
Jordan Liggitt
f0e33fee21 Change wardle API group to wardle.example.com 2019-11-04 12:57:16 -05:00
Kubernetes Prow Robot
7b6369c803
Merge pull request #84249 from odinuge/bump-shellcheck
Bump shellcheck to v0.7.0
2019-11-04 06:19:40 -08:00
Jordan Liggitt
300daa13a4 Set user agent for e2e consistently 2019-11-04 09:11:20 -05:00
Benjamin Elder
83c56a0373
remove hack/e2e.go 2019-11-03 19:36:59 -05:00
wojtekt
12c8b4a9df Bumpd NodeProblemDetector 2019-11-03 08:50:22 +01:00
Jianfei Bai
e9345ae5f0 Move funcs of nodeutil to cloud/nodes.go. 2019-11-03 11:45:36 +08:00
clarklee92
dfa069a4bd Use log functions of core framework on test/e2e/framework/kubelet
1. move GetOneTimeResourceUsageOnNode() from test/e2e/framework/kubelet/stats.go to getOneTimeResourceUsageOnNode() in test/e2e/framework/resource_usage_gatherer.go
2. copy GetKubeletPods() from test/e2e/framework/kubelet/kubelet_pods.go to getKubeletPods() in test/e2e/framework/util.go
Signed-off-by: clarklee92 <clarklee1992@hotmail.com>
2019-11-03 00:41:22 +08:00
Kubernetes Prow Robot
510fb38f27
Merge pull request #83671 from yue9944882/flow-control-api-model
Apiserver flowcontrol api models
2019-11-01 22:49:40 -07:00
Kubernetes Prow Robot
567c1bb4ec
Merge pull request #84513 from ingvagabund/retryAddOrUpdateAvoidPodOnNode
test/e2e: AddOrUpdateAvoidPodOnNode/RemoveAvoidPodsOffNode: retry when conflict hit during annotation update
2019-11-01 19:59:52 -07:00
Kubernetes Prow Robot
2da4678a80
Merge pull request #83578 from Huang-Wei/sched-policy-api-refactor
Scheduler Policy API Refactoring
2019-11-01 19:59:39 -07:00
Kubernetes Prow Robot
61200c9338
Merge pull request #84656 from davidz627/fix/syncReal
Make writing file via container in tests sync for real this time by enclosing multiple commands in quotes
2019-11-01 18:08:45 -07:00
Kubernetes Prow Robot
9820925e07
Merge pull request #84463 from clarklee92/move-funcs-of-create
Move funcs of create.go to e2e/storage
2019-11-01 18:08:26 -07:00
Wei Huang
703a669db3
autogen files
- make generated_files
- update-bazel.sh & update-vendor.sh)
2019-11-01 14:38:09 -07:00
Wei Huang
c649666b4a
manual API changes and code refactoring
- add Policy API to pkg/scheduler/apis/config and staging/src/k8s.io/kube-scheduler/config/v1
- dual-register Policy as apiGroup "v1" and "kubescheduler.config.k8s.io
- move/merge pkg/scheduler/api to pkg/scheduler/apis/config/...
- alias schedulerapi to pkg/scheduler/apis/config
- alias legacyapi to pkg/scheduler/api
- eliminate latest.Codec; use scheme.Codecs instead
- unit tests to verify Policy YAML with version "v1" or "kubescheduler.config.k8s.io/v1" can be loaded properly
- update api/api-rules/violation_exceptions.list
2019-11-01 14:24:36 -07:00
Rob Scott
8ae5632859
Adding e2e test to ensure kubectl get output is using custom columns when desired.
This uses etcd test data to load resources and then ensures that
kubectl get output contains a different set of columns than default.
This assumes that all future API resources will either have appropriate
kubectl get output or add an exception here.

Co-authored-by: Luis Sanchez <sanchezl@redhat.com>
2019-11-01 14:08:08 -07:00
David Zhu
1f1859f937 Make writing file via container in tests sync for real this time 2019-11-01 11:35:22 -07:00
Kenichi Omichi
ca4c349096 Move functions from e2e/framework/util.go
- SimpleGET: Moved to ingress sub package of e2e framework
- PollURL: Moved to ingress sub package of e2e framework
- ProxyMode: Moved to service e2e test package
- ListNamespaceEvents: Moved to e2e_node test package
- NewE2ETestNodePreparer: Removed since 59533f0cd1
2019-11-01 17:39:29 +00:00
Kubernetes Prow Robot
4b95ea0cdd
Merge pull request #84500 from RainbowMango/pr_remove_prom_from_metrics_validation
Remove prom from metrics validation
2019-11-01 07:21:25 -07:00
Kubernetes Prow Robot
c89bc5cec7
Merge pull request #84384 from alejandrox1/framework-move-skips
Cleaned up and reorder skip functions from e2e framework
2019-11-01 02:11:24 -07:00
clarklee92
78d3d52ac2 Move funcs of create.go to e2e/storage
Signed-off-by: clarklee92 <clarklee1992@hotmail.com>
2019-11-01 13:52:24 +08:00
Kubernetes Prow Robot
ed5b038313
Merge pull request #84218 from cofyc/fix74552
Support local filesystem volume with block source reconstruction and add related e2e tests
2019-10-31 21:53:36 -07:00
Kubernetes Prow Robot
9d6edae63a
Merge pull request #84509 from clarklee92/move-psp-under-e2e/framework
Use log functions of core framework on test/e2e/freamwork/psp.go
2019-10-31 12:34:51 -07:00
alejandrox1
3da66c44e8 Cleaned up skip functions from e2e framework
This patch moves skip-related functions from framework/util.go to
another file.

Signed-off-by: alejandrox1 <alarcj137@gmail.com>
2019-10-31 11:25:07 -04:00
Jan Safranek
17307c055c Grab init containers logs in e2e tests
Storage tests use initContainers + framework.TestContainerOutput and they
will benefit from logging their output in failed tests.
2019-10-31 14:58:51 +01:00
Jan Chaloupka
821220ecac test/e2e: AddOrUpdateAvoidPodOnNode/RemoveAvoidPodsOffNode: retry when conflict hit during annotation update
In case node object update fails due to revision conflict, it does not make sense to return success.
It needs to be retried so the v1.PreferAvoidPodsAnnotationKey annotation can be properly set in the next round.
2019-10-31 12:48:58 +01:00
Kubernetes Prow Robot
dda78d59be
Merge pull request #84379 from oomichi/e2e-network
Separate e2enetwork from e2e core framework
2019-10-31 02:55:37 -07:00
clarklee92
358dec9f3d Use log functions of core framework on test/e2e/freamwork/psp.go
Signed-off-by: clarklee92 <clarklee1992@hotmail.com>
2019-10-31 17:43:09 +08:00
Kubernetes Prow Robot
c7bb076ade
Merge pull request #84303 from jackkleeman/dynamic-sni-cert
Dynamic SNI certificates
2019-10-31 01:25:51 -07:00
Kubernetes Prow Robot
10ded881fc
Merge pull request #83727 from bertinatto/e2e_hostpath_selinux
Optionally run e2e pod as privileged for SELinux
2019-10-31 01:25:37 -07:00
Kubernetes Prow Robot
ee4e1465ea
Merge pull request #84427 from YuikoTakada/local-DescribeItem
Change DescribeItem() to local func
2019-10-30 23:33:49 -07:00
Kubernetes Prow Robot
58b9232a9e
Merge pull request #84531 from johnbelamaric/conformance-behavior-kep-owners
Add conformance-behavior-approvers to OWNERS_ALIASES
2019-10-30 21:56:16 -07:00
Kubernetes Prow Robot
6196a5c7d1
Merge pull request #84495 from SataQiu/test-refactor-rcutil
test refactor: move test specific functions from rc_util.go
2019-10-30 21:56:03 -07:00
Kubernetes Prow Robot
c06f552e49
Merge pull request #84491 from davidz627/fix/verifyLoop
Force file sync after writing file via container in test
2019-10-30 21:55:50 -07:00
Kubernetes Prow Robot
da5b90a8c3
Merge pull request #84045 from bclau/tests/agnhost-netexec-changes
tests: Extends agnhost netexec udp buffers
2019-10-30 18:23:36 -07:00
David Zhu
e3d2432e01 Force file sync after writing file via container and wait for pod to
disappear after removal in test
2019-10-30 15:40:53 -07:00
Kubernetes Prow Robot
966cfde450
Merge pull request #84362 from johnSchnake/addSomeImageREADMEs
Adds some basic READMEs to some of the test images
2019-10-30 12:01:04 -07:00
Kubernetes Prow Robot
e1d3cc74e5
Merge pull request #84329 from jingyih/update_etcd_server_to_3.4
Update default etcd server to 3.4.3
2019-10-30 02:30:52 -07:00
Kubernetes Prow Robot
d0d4572c82
Merge pull request #84411 from jfbai/move-funcs-of-framework-to-common
Move funcs of framework to common runtimeclass.
2019-10-29 21:18:52 -07:00
Kubernetes Prow Robot
e86878436f
Merge pull request #84410 from jfbai/move-funcs-of-expect-to-common
move funcs of expect.go to e2e/common
2019-10-29 19:54:52 -07:00
Kubernetes Prow Robot
a8727f0f04
Merge pull request #84449 from ahg-g/ahg-prioritymeta
Priorities use SharedLister interface instead of NodeInfo Map
2019-10-29 17:21:03 -07:00
Kubernetes Prow Robot
345bea9a6f
Merge pull request #84444 from cofyc/fix84233
Improve e2e HostExec utility
2019-10-29 17:20:52 -07:00
Tim Allclair
9f7394ac63 Update generated files 2019-10-29 16:14:34 -07:00
Tim Allclair
62e7d197e3 Add mirror pod e2e test 2019-10-29 16:14:06 -07:00
Abdullah Gharaibeh
c6baa263a3 Update priorities to use SharedLister instead of using the snapshot directly 2019-10-29 16:22:00 -04:00
John Belamaric
c0e6a8704c Add conformance-behavior-approvers to OWNERS_ALIASES 2019-10-29 11:24:06 -07:00
Kubernetes Prow Robot
9731b51d23
Merge pull request #84501 from pohly/hostpath-dev-raw-block
e2e: share /dev with host in hostpath driver deployment
2019-10-29 08:22:43 -07:00
Jun Gong
81b705960f Cancel context to make sure all plugins are cancelled when each schedule finishes 2019-10-29 22:37:59 +08:00
Kubernetes Prow Robot
3f8b0a30ad
Merge pull request #84484 from zxl381/GL_framework
Prevent 2 goroutines in test from being leaked if proxy hangs
2019-10-29 05:52:56 -07:00
Kubernetes Prow Robot
a2eb319b31
Merge pull request #84450 from gongguan/fix_scheduler_predicate_test
Uncomment interpod affinity integration tests
2019-10-29 01:34:58 -07:00
Kubernetes Prow Robot
a8e819746d
Merge pull request #83442 from serathius/remove-prometheus-addon
Remove prometheus addon
2019-10-29 01:34:43 -07:00
Patrick Ohly
327a12cd08 e2e: share /dev with host in hostpath driver deployment
This is needed for raw block volumes. It mirrors a change made in the upstream
deployment in https://github.com/kubernetes-csi/csi-driver-host-path/pull/109

Raw block volumes use loop devices under the hood. "losetup --find
--show" uses LOOP_CTL_GET_FREE to get a free loop device. It then
expects to have the corresponding /dev/loopX already available. When
/dev inside the container is a static tmpfs which doesn't already have
those /dev/loop* devices (*) the new device fails to show up,
resulting in:

I1028 13:25:19.937846       1 server.go:117] GRPC call: /csi.v1.Controller/CreateVolume
I1028 13:25:19.938083       1 server.go:118] GRPC request: {"accessibility_requirements":{"preferred":[{"segments":{"topology.hostpath.csi/node":"pmem-csi-pmem-govm-worker3"}}],"requisite":[{"segments":{"topology.hostpath.csi/node":"pmem-csi-pmem-govm-worker3"}}]},"capacity_range":{"required_bytes":5368709120},"name":"pvc-24985a49-5638-4bf6-b789-bb99a28d1073","volume_capabilities":[{"AccessType":{"Block":{}},"access_mode":{"mode":1}}]}
I1028 13:25:19.961124       1 volume_path_handler_linux.go:41] Creating device for path: /csi-data-dir/635c6569-f986-11e9-baa6-0242ac110004
I1028 13:25:20.391472       1 volume_path_handler_linux.go:75] Failed device create command for path: /csi-data-dir/635c6569-f986-11e9-baa6-0242ac110004 exit status 1 losetup: /csi-data-dir/635c6569-f986-11e9-baa6-0242ac110004: failed to set up loop device: No such file or directory
E1028 13:25:20.392916       1 server.go:121] GRPC error: rpc error: code = Internal desc = failed to create volume 635c6569-f986-11e9-baa6-0242ac110004: failed to attach device /csi-data-dir/635c6569-f986-11e9-baa6-0242ac110004: exit status 1

(*) It seems that the static tmpfs gets populated by Docker based on
what's currently on the host when the container starts. That would
explain why it worked in the Kubernetes Prow testing - the host must
have had enough loop devices already defined.
2019-10-29 08:52:12 +01:00
RainbowMango
db9ab74a7e Deal with auto-generated files.
- Update bazel by hack/update-bazel.sh
2019-10-29 15:32:09 +08:00
RainbowMango
4355772bb6 Remove directly reference to Prometheus 2019-10-29 15:08:16 +08:00
Kubernetes Prow Robot
6b1efb266d
Merge pull request #83957 from pohly/csi-sidecars-2.x
e2e storage: bump revision of sidecars and driver
2019-10-28 23:40:56 -07:00
SataQiu
24f374a395 move test specific functions from rc_util.go 2019-10-29 13:04:59 +08:00
yue9944882
6db3edff10 [generated] ./hack/update-all.sh
generated

generated

generated

rule

generated

generated
2019-10-29 12:59:17 +08:00
yue9944882
7c28a4b70e non-generated api models misc
rule list

rule

rule 2
2019-10-29 12:26:12 +08:00
Jianfei Bai
586261291f Remove unused functions in framework.go 2019-10-29 11:44:27 +08:00
Jingyi Hu
706cde51c5 Update default etcd server to 3.4.3 2019-10-28 18:29:37 -07:00
Ziheng Liu
a17925425f Fix a double lock in test/utils
Signed-off-by: Ziheng Liu <lzhfromustc@gmail.com>
2019-10-28 20:18:19 -04:00
Ziheng Liu
2ca513a15d Prevent 2 goroutines from being leaked if proxy hangs
Signed-off-by: Ziheng Liu <lzhfromustc@gmail.com>
2019-10-28 19:06:43 -04:00
Kubernetes Prow Robot
ad47fe3962
Merge pull request #83925 from BurtonQin/framework_leak
framework: Fix a goroutine leak bug in resource_usage_gatherer.go
2019-10-28 14:08:58 -07:00
Michelle Au
fb6dfeb718 Convert attach-detach controller to use v1.CSINode 2019-10-28 13:41:13 -07:00
Michelle Au
2d467ed9d8 Update tests to use v1.CSINode 2019-10-28 13:41:13 -07:00
Michelle Au
603a2aa8a9 Add CSINode to storage/v1 2019-10-28 13:41:13 -07:00
Patrick Ohly
aacac747a0 e2e storage: bump revision of sidecars and driver
This updates to the releases meant to be used with Kubernetes 1.16
except for external-snapshotter, which is kept at the more recent
2.0.0-rc1 which targets 1.17.

The new external-attacher v2.0.0 needs updated RBAC rules, copied
verbatim from the v2.0.0 release.
2019-10-28 20:21:55 +01:00
Kubernetes Prow Robot
aae45e8dee
Merge pull request #84238 from danwinship/affinity-slower
Make e2eservice.CheckAffinity wait longer, to avoid flakes
2019-10-28 11:58:59 -07:00
Kubernetes Prow Robot
7129923e33
Merge pull request #84140 from leakingtapan/timeout
make ClaimProvisionTimeout a var
2019-10-28 11:58:45 -07:00
louisgong
7d996aa97f fix TestInterPodAffinity case 2019-10-28 21:30:32 +08:00
Yecheng Fu
d8c465c8d7 better HostExec
- separate stdout and stderr
- return command exit code
- remove kubectl dependency
2019-10-28 19:20:26 +08:00
Marek Siarkowicz
09329b5bbc Remove prometheus references in test/integration
This PR does minimal changes to interface to allow removing all
references to prometheus from `test` directory. In future I would expect
wrapping prometheus samples to provide better abstraction. Changes:

Move generic_metrics.go to testutil/metrics.go
Remove etcd.go as it was not called
Move prometheus label consts to testutil.
2019-10-28 11:40:32 +01:00
Yecheng Fu
8def74f394 use HostExec and sets.String 2019-10-28 10:35:06 +08:00
Yecheng Fu
25c5ad52fd simplify global mount points check 2019-10-28 10:35:06 +08:00
Yecheng Fu
b536395c07 Add e2e test to check for filesystem volume device mount cleanup 2019-10-28 10:35:02 +08:00
YuikoTakada
cd8da1f852 Change DescribeItem to local func 2019-10-28 02:10:57 +00:00
Jianfei Bai
7401f2fe9b move funcs of expect.go to e2e/common 2019-10-27 11:54:32 +08:00
Brendan Chang
03a650f365 Change FuzzTime to FuzzTimeStrict for naming consistency 2019-10-26 22:36:28 -04:00
Kubernetes Prow Robot
9832418870
Merge pull request #84168 from BrendanSChang/fuzz
Add fuzz targets for Duration, MicroTime, and Time
2019-10-26 19:17:24 -07:00
Kubernetes Prow Robot
2896fb0be8
Merge pull request #83711 from tanjunchen/fix-staticcheck-test/e2e/network
fix staticcheck failures in test/e2e/common directory
2019-10-26 02:23:22 -07:00
Kubernetes Prow Robot
2bb35caa18
Merge pull request #84312 from davidz627/tests/pd
Add updated v0.6.0 stable PD driver specs - enable block tests for PD
2019-10-25 20:41:23 -07:00
Kubernetes Prow Robot
24ae4d6718
Merge pull request #84173 from cofyc/fix83693
Support local volume block mode reconstruction
2019-10-25 19:23:23 -07:00
Kubernetes Prow Robot
37edb6984b
Merge pull request #81592 from serathius/stable-metric-analysis-stdin
Pass list of files through stdin to avoid hitting ARG_MAX on some env…
2019-10-25 15:37:13 -07:00
David Zhu
d1383aa28f Update GCE PD CSI Driver YAMLS to v0.6.0 for testing. Enable Raw Block tests 2019-10-25 15:18:48 -07:00
Kenichi Omichi
5d6faaddf6 Separate e2enetwork from e2e core framework
networking_utils.go is only for network tests and it is nice to
separate it from the core framework for easy maintenance.
2019-10-25 17:58:20 +00:00
Marek Siarkowicz
4c7c581308 Handle bazel >= 0.25 in stable metric static analysis
Check both "bazel-genfiles" and "bazel-bin" due https://github.com/bazelbuild/bazel/issues/6761
2019-10-25 19:18:24 +02:00
Marek Siarkowicz
c62da00c56 Pass list of files through stdin to avoid hitting ARG_MAX on some environments 2019-10-25 18:52:23 +02:00
John Schnake
081b9f206d Adds some basic READMEs to some of the test images
Clarifies the use/purpose of some of the test images for easier
discovery/use in the future.
2019-10-25 11:33:41 -05:00
anitanayak
7dc3057d4d Building peer-finder on s390x 2019-10-25 09:03:47 -07:00
Brendan Chang
9ef94b2d47 Fixing comments FuzzDurationStrict and FuzzMicroTimeStrict 2019-10-25 11:44:49 -04:00
Jack Kleeman
d9adf535f3 Dynamic SNI certificates
Reload SNI certificate cert and key file from disk every minute and notify
the dynamic certificate controller when they change, allowing serving
tls config to be updated.
2019-10-25 16:38:51 +01:00
Kubernetes Prow Robot
09f453ff83
Merge pull request #83987 from wenjiaswe/etcd_client_3_4_2
Update etcd client to v3.4.3 in k8s v1.17
2019-10-25 08:29:39 -07:00
Kubernetes Prow Robot
f430a47b60
Merge pull request #84339 from wojtek-t/fix_deployment_correctness_at_scale
Fix deployment e2e test at scale
2019-10-25 05:17:42 -07:00
wojtekt
5cd06d15d8 Fix deployment e2e test at scale 2019-10-25 12:50:59 +02:00
Fabio Bertinatto
7e72c70772 Optionally run e2e pod as privileged for SELinux 2019-10-25 09:32:05 +02:00
Kubernetes Prow Robot
f06b3b8c10
Merge pull request #84313 from oomichi/move-UDPPoke
Move PokeUDP() to e2e service subpkg
2019-10-24 21:35:46 -07:00
Kubernetes Prow Robot
39a8417510
Merge pull request #84258 from oomichi/move-TranslateIPv4ToIPv6
Move TranslateIPv4ToIPv6() to e2e scheduling test
2019-10-24 16:56:31 -07:00
Kubernetes Prow Robot
04632e84e1
Merge pull request #84200 from jackkleeman/dynamic-serving-cert
Dynamic serving certificates
2019-10-24 16:56:19 -07:00
Kubernetes Prow Robot
df8587f99f
Merge pull request #84062 from seans3/tableprinter-move
Removes kubectl get dependency on Kubernetes core
2019-10-24 16:55:52 -07:00
Kenichi Omichi
a74b63d335 Move PokeUDP() to e2e service subpkg
PokeUDP() is used at e2e service subpackage only, so this moves the
function and the related code to the subpackage for making e2e core
framework small.
2019-10-24 22:49:35 +00:00
Wenjia Zhang
660b17d0ae Pin dependencies and update vendors 2019-10-24 14:09:24 -07:00
Wenjia Zhang
9ead9373f3 Resolve uncompatibility from update: etcd CAFile -> TrustedCAFIle 2019-10-24 14:09:24 -07:00
Wenjia Zhang
3b274fad2a Replace github.com/coreos/etcd by go.etcd.io/etcd 2019-10-24 14:09:24 -07:00
Claudiu Belu
9dd79321e0 tests: Adds guestbook app subcommand in agnhost
The redis version has been bumped to version 5.0.5, but the maximum version supported on
Windows is 3.2. This can lead to failing tests, the output and behaviour can be different
(see #80516). In order to prevent such failures, the amount of times the Redis image is
used can be reduced.

This commit adds the guestbook subcommand to agnhost, which can be used to emulate the
Guestbook application created by the test "should create and stop a working application".

Bumps agnhost image VERSION.
2019-10-24 07:51:28 -07:00
Dan Winship
dde075ffe5 Fix service sanity check after jig.ChangeServiceType 2019-10-24 08:58:02 -04:00
Kubernetes Prow Robot
176929a72a
Merge pull request #84255 from oomichi/move-CreatePodOrFail
Move CreatePodOrFail() to e2e network test
2019-10-24 02:01:08 -07:00
Jack Kleeman
4e99b5d26a Add integration test for serving cert rotation 2019-10-24 09:15:44 +01:00
Kubernetes Prow Robot
3325cbb280
Merge pull request #84261 from oomichi/move-to-e2e-network-framework
Move funcs of networking_utils to e2e network
2019-10-24 00:47:08 -07:00
Kubernetes Prow Robot
31b7e3d905
Merge pull request #84235 from liggitt/extensions-v1-coverage
Use v1 CRD deletion endpoints in e2e tests
2019-10-23 19:07:19 -07:00
Kubernetes Prow Robot
a60d64ad54
Merge pull request #84098 from msau42/remove-hostnetwork
remove hostnetwork from hostpath csi manifest
2019-10-23 17:49:06 -07:00
Brendan Chang
7aa9434811 Use strict unmarshaling for metav1 fuzz targets 2019-10-23 19:16:50 -04:00
Kenichi Omichi
6be4fd45a5 Move funcs of networking_utils to e2e network
Many functions of networking_utils are used at e2e network only.
To make e2e core framework small as possible for reducing invalid
dependencies to e2elog subpackage, this moves these functions to
e2e network tests.
2019-10-23 22:58:32 +00:00
Kubernetes Prow Robot
ed5a3847a2
Merge pull request #83856 from mrbobbytables/update-autoscaling-owners
Prune inactive owners from autoscaling related OWNERS files.
2019-10-23 15:53:34 -07:00
Kenichi Omichi
f2dab471b5 Move TranslateIPv4ToIPv6() to e2e scheduling test
TranslateIPv4ToIPv6() is used at e2e scheduling test only, so this
moves the function to the place.
2019-10-23 22:41:09 +00:00
Odin Ugedal
4e44407fa9
Fix failing service test 2019-10-23 23:23:22 +02:00
Kenichi Omichi
a0c0130670 Move CreatePodOrFail()
CreatePodOrFail() is used at e2e network tests only, so this moves
the function to the e2e network tests.
2019-10-23 21:14:10 +00:00
Odin Ugedal
6a73c0899a
Fix shellcheck failures SC2251
https://github.com/koalaman/shellcheck/wiki/SC2251

This may be masking some test failures.

We have a bunch of test code like this:

set -o errexit
[...]
! kubectl get pod wrong-pod
[...]

This test will succeed no matter what the result (return code) of kubectl is.
2019-10-23 22:47:47 +02:00
Odin Ugedal
d467b8ea14
Fix shellcheck failures SC2128 2019-10-23 22:47:46 +02:00
Kubernetes Prow Robot
b75e2d84c1
Merge pull request #84229 from wojtek-t/fix_networking_tests
Fix and clean up timeouts for networking tests in large clusters
2019-10-23 12:52:02 -07:00
Kubernetes Prow Robot
36e7620ef3
Merge pull request #84212 from liggitt/revert-move-hostpid-tests
Revert "move hostPID tests to common"
2019-10-23 12:51:40 -07:00