Commit Graph

20231 Commits

Author SHA1 Message Date
Claudiu Belu
e8cbee5f9b
test images: Trigger the windows-servercore-cache image job
The postsubmit job for this image was only added recently [1]. We need to commit a change to trigger the job.

[1] https://github.com/kubernetes/test-infra/pull/23350
2021-08-24 20:16:00 +03:00
Claudiu Belu
d565129a45
test images: retrigger busybox image building
The previous job failed because the windows-servercore-cache image was not built yet.
2021-08-24 15:15:07 +03:00
Kubernetes Prow Robot
e8263c2325
Merge pull request #104460 from verult/livenessprobe-2.4.0
Bump livenessprobe to 2.4.0 in e2e hostpath driver spec
2021-08-23 10:38:12 -07:00
Kubernetes Prow Robot
aeec553fd3
Merge pull request #104369 from mauriciopoppe/regional-pd-storage-class-setup
Fix storage class setup in regional_pd.go
2021-08-23 10:38:00 -07:00
Dave Chen
58ab18bc1e Add the metric data for different extension points
Signed-off-by: Dave Chen <dave.chen@arm.com>
2021-08-23 13:43:48 +08:00
Claudiu Belu
2601e23bc2 test images: Adds Windows Server 2022 to the BASEIMAGEs (part 2)
The Container Images for Windows Server 2022 have been published, and
we can start building test images using them, so we can start adding
jobs for them.

The image versions for the e2e test images have been bumped in a previous
commit, but haven't been promoted yet. We don't need to bump them here.

httpd-2.4.46-win64-VC15.zip no longer exists, so we have to use
httpd-2.4.48-win64-VC15.zip instead.
2021-08-21 01:01:39 +00:00
Khaled (Kal) Henidak
89ae53d510 integration test 2021-08-20 22:03:43 +00:00
Kubernetes Prow Robot
499a1f99a9
Merge pull request #104489 from liggitt/signal-buffer
Fix buffered signal channel go vet error
2021-08-20 14:53:58 -07:00
Jordan Liggitt
322bc82777 Fix buffered signal channel go vet error 2021-08-20 16:47:56 -04:00
Kubernetes Prow Robot
c8a91dc3a8
Merge pull request #104478 from aojea/lb_timeouts
bump e2e loadbalancer timeouts to 15m
2021-08-20 11:19:43 -07:00
Kubernetes Prow Robot
341d312066
Merge pull request #97350 from FabianKramm/master
kubectl proxy: append context host path to request path
2021-08-20 11:19:31 -07:00
Kubernetes Prow Robot
f4e1558af0
Merge pull request #104451 from claudiubelu/test-images/windows-server-2022
test images: Adds Windows Server 2022 to the BASEIMAGEs
2021-08-20 10:09:37 -07:00
ravisantoshgudimetla
d0937073dd sts: Promote minReadySeconds 2021-08-20 12:52:59 -04:00
Kubernetes Prow Robot
b0bc8adbc2
Merge pull request #104368 from aojea/ruleguard
golang 1.17 fails to parse IPs with leading zeros
2021-08-20 07:59:24 -07:00
Kubernetes Prow Robot
64e422dc2a
Merge pull request #104441 from jsturtevant/small-resource-requests-for-hpa
test: e2e: HPA ContainerResource - Lower requests b/c multiple containers will leave pending pods on existing test infra
2021-08-20 04:35:24 -07:00
Antonio Ojea
3a660b7294 bump e2e loadbalancer timeouts to 15m 2021-08-20 12:15:37 +02:00
Martin Kennelly
752a532c3d Fix comparison between FQDN and hostname
Agnhost's serve-hostname at endpoint /hostname
will return hostname. Pods host node name may
return FQDN. Comparison between the two fails.

Signed-off-by: Martin Kennelly <mkennell@redhat.com>
2021-08-20 10:24:41 +01:00
Antonio Ojea
0cd75e8fec run hack/update-netparse-cve.sh 2021-08-20 10:42:09 +02:00
Kubernetes Prow Robot
851b4a2c9a
Merge pull request #104407 from aojea/host_network_collision
hostNetwork tests can't share the same port
2021-08-19 13:45:25 -07:00
Cheng Xing
21491aa5a1 Bump livenessprobe to 2.4.0 in e2e hostpath driver spec 2021-08-19 10:33:12 -07:00
fabiankramm
b1a6f8cdf9 kubectl proxy: append context host path to request path
Signed-off-by: fabiankramm <fab.kramm@googlemail.com>
2021-08-19 17:32:19 +02:00
Claudiu Belu
3c1a3dea59 test images: Adds Windows Server 2022 to the BASEIMAGEs
The Container Images for Windows Server 2022 have been published, and
we can start building test images using them, so we can start adding
jobs for them.

The image versions for the e2e test images have been bumped in a previous
commit, but haven't been promoted yet. We don't need to bump them here.

We're starting with windows-servercore-cache and busybox images, since
they are needed for the other images the most.

A previous added LD_FLAGS for the go binary compilation, but it's not
defined for all images.
2021-08-19 12:22:07 +00:00
Kubernetes Prow Robot
08eaea4590
Merge pull request #104350 from tkashem/audit-policy-refactor
refactor: rename audit Checker interface
2021-08-19 01:41:24 -07:00
James Sturtevant
f5e97186d2 Lower requests b/c multiple containers will leave pending pods 2021-08-18 13:33:17 -07:00
Kubernetes Prow Robot
333eb833e5
Merge pull request #104401 from aojea/sctp_scale
SCTP tests run only on 2 nodes
2021-08-18 03:28:08 -07:00
Antonio Ojea
513b55b00d hostNetwork tests can't share the same port
The pods using hostNetwork use the host network namespace, hence
they have to share it with the rest of the process and pods.
If several pods try to bind to the same port, the test will fail,
so we try to use a non common port, and run the different scenario
in the same test, so we only have to bind once and we avoid consuming
ports reducing the port collision risk.
2021-08-18 10:43:06 +02:00
pacoxu
ddaa3466eb correct unsafe sysctls e2e test case & use status reason check instead of events watch
Signed-off-by: Paco Xu <paco.xu@daocloud.io>
2021-08-18 15:11:09 +08:00
Kubernetes Prow Robot
40a9914801
Merge pull request #102916 from odinuge/serial-tests
Ensure images are pulled after eviction tests
2021-08-17 11:41:13 -07:00
Kubernetes Prow Robot
410702647e
Merge pull request #104409 from martinkennelly/fix_local_test_bind_denied
Fix insufficient privileges to bind to port
2021-08-17 09:01:13 -07:00
Kubernetes Prow Robot
027fe2554f
Merge pull request #104381 from wzshiming/fix/http
image: Change the download url from http to https
2021-08-17 01:02:00 -07:00
Antonio Ojea
04d83edd3c SCTP tests run only on 2 nodes 2021-08-17 00:42:20 +02:00
Kubernetes Prow Robot
fe099b2abd
Merge pull request #104393 from claudiubelu/test-images/git-tag
test images: Use PULL_BASE_SHA for non-git image building
2021-08-16 12:24:23 -07:00
Kubernetes Prow Robot
ca31857c55
Merge pull request #104077 from jsafrane/fix-skip-schedulable
Fix zone calculation - consider only untainted nodes
2021-08-16 10:03:29 -07:00
Kubernetes Prow Robot
c2674bb766
Merge pull request #103269 from mgutierrez98/Refactor-Master-ControlPlane-test-e2e
Refactor instances of master to controlplane in test/e2e.go
2021-08-16 10:03:17 -07:00
Claudiu Belu
00dd02f89c test images: Use PULL_BASE_SHA for non-git image building
In the test image build jobs, the image-util.sh script is not being run in a git
repository, which causes git log to fail.

In this case, we can use the PULL_BASE_SHA set in cloudbuild.yaml instead.
2021-08-16 08:18:28 -07:00
Shiming Zhang
804ce496e3 image: Change http to https 2021-08-16 12:45:50 +08:00
Mauricio Poppe
9c4d5b69ec Fix storage class setup in regional_pd.go 2021-08-15 00:52:08 +00:00
Kubernetes Prow Robot
894cb069dd
Merge pull request #102666 from viveksyngh/add-e2e-test-hpa-v2betav2
test: e2e: HPA ContainerResource
2021-08-13 14:17:31 -07:00
Martin Kennelly
eba9d33c3e Fix insufficient privileges to bind to port
Container without elevated privileges to bind to
host port less than 1024 causes bind permission
denied error.
Increase port number greater than 1024 to allow
binding.

Signed-off-by: Martin Kennelly <mkennell@redhat.com>
2021-08-13 19:15:03 +01:00
Kubernetes Prow Robot
b6d83f0ba3
Merge pull request #103072 from ikeeip/scheduler_volumebinding
Remove "pkg/controller/volume/scheduling" dependency from "pkg/scheduler/framework/plugins"
2021-08-13 08:20:22 -07:00
Kubernetes Prow Robot
07dc81f83b
Merge pull request #104349 from rajaskakodkar/netpol-container-improvement
Optimize the resource consumption of networkpolicy tests by reducing the containers created
2021-08-13 07:08:23 -07:00
Kubernetes Prow Robot
28408bf252
Merge pull request #104322 from x13n/master
Increase time to wait for nodes to become unready
2021-08-13 04:14:23 -07:00
Konstantin Misyutin
29bd66d018 Remove "pkg/controller/volume/scheduling" dependency from "pkg/scheduler/framework/plugins"
All dependencies of VolumeBinding plugin from
"k8s.io/kubernetes/pkg/controller/volume/scheduling" package moved to
"k8s.io/kubernetes/pkg/scheduler/framework/plugins/volumebinding" package:

- whole file pkg/controller/volume/scheduling/scheduler_assume_cache.go
- whole file pkg/controller/volume/scheduling/scheduler_assume_cache_test.go
- whole file pkg/controller/volume/scheduling/scheduler_binder.go
- whole file pkg/controller/volume/scheduling/scheduler_binder_fake.go
- whole file pkg/controller/volume/scheduling/scheduler_binder_test.go

Package "k8s.io/kubernetes/pkg/controller/volume/scheduling/metrics" moved
to "k8s.io/kubernetes/pkg/scheduler/framework/plugins/volumebinding/metrics"
because it only used in VolumeBinding plugin and (e2e) tests.

More described in issue #89930 and PR #102953.

Signed-off-by: Konstantin Misyutin <konstantin.misyutin@huawei.com>
2021-08-13 19:08:45 +08:00
Abu Kashem
27f1503514
rename audit Checker interface 2021-08-12 17:42:41 -04:00
Kubernetes Prow Robot
4ab9c950d9
Merge pull request #102007 from vaibhav2107/perf-config
Update the typo in values of pods in performance-config.yaml
2021-08-12 13:59:50 -07:00
Kubernetes Prow Robot
1f8b1b84fb
Merge pull request #102886 from gnufied/add-local-expansion
Add support for expanding local volumes
2021-08-12 11:55:50 -07:00
Rajas Kakodkar
e36a14730b reducing the number of containers created based on the ports used 2021-08-12 23:36:28 +05:30
Kubernetes Prow Robot
81dca3d0cb
Merge pull request #103976 from claudiubelu/test-images/agnhost-adds-sync-exe
test images: Adds sync.exe to Windows agnhost images
2021-08-12 10:20:13 -07:00
Kubernetes Prow Robot
e6c7837afe
Merge pull request #101063 from claudiubelu/tests/lifecycle-hooks
tests: Spawn poststart / prestop pods on the same node as the http pod
2021-08-12 10:19:49 -07:00
Kubernetes Prow Robot
98e526390d
Merge pull request #103724 from claudiubelu/update-e2e-test-images-url
Update e2e test images url
2021-08-12 09:10:13 -07:00
Kubernetes Prow Robot
8b9f02836d
Merge pull request #103156 from claudiubelu/windows-osversion-cleanup
images: Removes OS Version workaround for manifest list images
2021-08-12 09:10:00 -07:00
Kubernetes Prow Robot
4c498db939
Merge pull request #102599 from claudiubelu/test-images/remove-eol-windows-images
test images: Removes Windows 1903 and 1909 images
2021-08-12 09:09:48 -07:00
Kubernetes Prow Robot
d77af28a35
Merge pull request #104086 from jayunit100/patch-27
(experimental) Calibrate networkpolicy test aggressiveness
2021-08-12 06:09:48 -07:00
Daniel Kłobuszewski
05beda5c40 Increase time to wait for nodes to become unready
https://github.com/kubernetes/autoscaler/pull/3924 changed Cluster
Autoscaler behavior to mark nodes as unhealthy only if at least 15m
passed since node creation time.
2021-08-12 11:03:38 +02:00
jay vyas
145cec925a reduce the number of containers created by 66%
Co-authored-by: jay vyas <jvyas@vmware.com>
Co-authored-by: rajas kakodkar <rkakodkar@vmware.com>
2021-08-12 02:08:00 +05:30
Elana Hashman
c69f55519e
Revert "E2E test for kubelet exit-on-lock-contention" 2021-08-11 10:45:46 -07:00
Kubernetes Prow Robot
2d599e3a8b
Merge pull request #104294 from aojea/test_owner
add aojea to test OWNERS approvers
2021-08-11 10:26:47 -07:00
Kubernetes Prow Robot
a535acdc91
Merge pull request #102736 from atiratree/e2e-bump-ProgressDeadlineSeconds
e2e test: bump ProgressDeadlineSeconds in Deployment iterative rollouts
2021-08-11 09:16:46 -07:00
Kubernetes Prow Robot
a87838481b
Merge pull request #103654 from coffeepac/sig-inst/metric-static-analysis/remote-package
seems to work, needs tests and a lot of cleanup
2021-08-11 08:06:46 -07:00
Kubernetes Prow Robot
22d1eff331
Merge pull request #102730 from atiratree/deployment-e2e-pause-fix
e2e test: fix Pause in Deployment iterative rollouts
2021-08-11 06:18:46 -07:00
Claudiu Belu
ea3c7d98a5 test images: Removes Windows 1903 and 1909 images
According to the Microsoft documentation, Windows Server 1903
reached its EOL December 8, 2020 [1], and Windows Server 1909
reached its EOL May 11, 2021 [2].

We ne longer need to build images for those OS Versions, since we won't
run tests for them.

[1]: https://docs.microsoft.com/en-us/windows-server/get-started-19/whats-new-in-windows-server-1903-1909
[2]: https://docs.microsoft.com/en-us/lifecycle/announcements/windows-server-1909-end-of-servicing
2021-08-11 11:49:05 +00:00
Claudiu Belu
d9f2268816 test images: Adds sync.exe to Windows agnhost images
We can get sync.exe from coreutils.
2021-08-11 11:45:13 +00:00
Kubernetes Prow Robot
7dd4f1742f
Merge pull request #104296 from claudiubelu/test-images/automate-agnhost-binary-version
test images: Simplifies the agnhost binary version
2021-08-11 04:36:47 -07:00
Claudiu Belu
94ac896269 test images: Simplifies the agnhost binary version
Currently, whenever agnhost/VERSION is bumped, the version in
agnhost/agnhost.go has to be bumped as well. This is also verified
on presubmit (build/dependencies.yaml).

This means that whenever we need to bump the agnhost image version,
someone has to approve the build/dependencies.yaml, which is not as
easy.

This commit removes the need for this check by automatically setting
the Version inside agnhost.go at build time, simplifying the process.
2021-08-11 09:12:03 +00:00
Kubernetes Prow Robot
202f775adb
Merge pull request #103608 from ipochi/imran/e2e-lock-contention
E2E test for kubelet exit-on-lock-contention
2021-08-11 02:08:46 -07:00
Antonio Ojea
3b6cd89f01 add aojea to test OWNERS 2021-08-11 10:54:35 +02:00
Kubernetes Prow Robot
ae79825914
Merge pull request #104271 from dims/warn-if-docker-buildx-is-not-available
Warn if docker buildx is not available
2021-08-11 00:55:03 -07:00
Kenjiro Nakayama
4f7cb4fb69 Update obsolete link in the Conformance Test doc
This patch updates the link for kubelet.go.

Recent conformance test docs always contain the invalid
link - e.g. https://github.com/cncf/k8s-conformance/blob/master/docs/KubeConformance-1.21.md#output
since 3b438eb4e5 moved the code.
2021-08-11 15:11:41 +09:00
Kubernetes Prow Robot
6b7c0cb386
Merge pull request #104048 from lizhuqi/fix-npd-test
Remove AUFSUmountHung from NPD test
2021-08-10 17:40:46 -07:00
Kubernetes Prow Robot
48da959dbf
Merge pull request #104248 from liggitt/drop-beta
Drop dead beta storage and validation code
2021-08-10 11:52:40 -07:00
Davanum Srinivas
f63dbd481f
Warn if docker buildx is not available
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-08-10 14:42:11 -04:00
Kubernetes Prow Robot
04248afb26
Merge pull request #103805 from Huang-Wei/preempt-or-del-waiting-pod
sched: retry unscheduled pod immediately after a waiting pod gets preempted or deleted
2021-08-09 12:01:10 -07:00
Jordan Liggitt
39a1293cbc Drop beta REST APIs removed in 1.22 2021-08-09 11:10:16 -04:00
Imran Pochi
2c2661a411 e2e test: lock-file and exit-on-lock-contention
This commit adds an e2e test for the kubelet flags `--lock-file` and
`exit-on-lock-contention`. Eventually we would like to move them to the
kubelet configuration file rather than flags.

This test is based on the premise that whenever there is a lock
contention of the lock file (e.g. /var/run/kubelet.lock), the running
kubelet must terminate and the waiting for the lock on the lock file to
be released before starting again.

In this test we simulate that behaviour of a file contention. The test
would try to acquire the lock on the lock file.

Success of the test is determined kubelet health check when the lock is
acquired by the test and passes when the lock on the lock file is
released.

Signed-off-by: Imran Pochi <imran@kinvolk.io>
2021-08-09 15:27:54 +05:30
Han Kang
619e38141b remove unnecessary waits from watch conformance test
Change-Id: Ic0eb4197ac4eeaf67a6d9c64c3f04a0d50bd5b03
2021-08-07 15:55:33 -07:00
Kubernetes Prow Robot
e2e3c2d01c
Merge pull request #104142 from mengjiao-liu/update-debian-setcap-bump
Update debian, debian-iptables, setcap images to pick up CVE-2021-33910 fixes
2021-08-07 07:13:29 -07:00
Kubernetes Prow Robot
fa6c221579
Merge pull request #104214 from seans3/dynamic-link-kubectl-fix
Fixes flaky GKE kubectl test
2021-08-07 05:01:29 -07:00
Sean Sullivan
1ce594b7ee Fixes flaky GKE kubectl test 2021-08-06 22:31:55 -07:00
Wei Huang
dc079acc2b
sched: retry unschedule pods immediately after a waiting pod's deletion 2021-08-06 19:08:37 -07:00
Mengjiao Liu
cafad98536 Update debian-iptables image to buster-v1.6.6 2021-08-07 09:47:29 +08:00
Hemant Kumar
d166cabd9e Add e2e for local volume expansion 2021-08-06 15:08:33 -04:00
Kubernetes Prow Robot
29c13f5515
Merge pull request #104199 from cpanato/go1167
[go1.16] Update to go1.16.7
2021-08-06 11:22:35 -07:00
Elana Hashman
d2ed3b28b7
Revert "revert Bump DynamicKubeConfig metric deprecation to 1.23 by delta update" 2021-08-06 08:38:56 -07:00
Carlos Panato
6b9dc099f8
[go1.16] Update to go1.16.7
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2021-08-06 17:11:00 +02:00
Kubernetes Prow Robot
3670029b3d
Merge pull request #103640 from saschagrunert/crictl-host-local-test
Make crictl tests host local
2021-08-06 07:33:19 -07:00
Kubernetes Prow Robot
d4179be611
Merge pull request #104183 from SergeyKanzhelev/SergeyKanzhelev-node-e2e-approver
Add SergeyKanzhelev to node e2e test approvers
2021-08-05 20:55:28 -07:00
Kubernetes Prow Robot
bfcc756f09
Merge pull request #103963 from mcshooter/update-npd-089
update node-problem-detector v0.8.9
2021-08-05 19:45:05 -07:00
Kubernetes Prow Robot
be0a1ecbd4
Merge pull request #99228 from Huang-Wei/hist-vec
sched: better support of HistogramVec in scheduler performance test
2021-08-05 19:44:53 -07:00
Kubernetes Prow Robot
05ee896667
Merge pull request #104124 from aojea/flakelb
retry apiserver errors on e2e service tests
2021-08-05 16:36:54 -07:00
Kubernetes Prow Robot
4d87be3ec4
Merge pull request #104121 from dims/skip-node-e2e-test-for-recovering-from-ip-leak-with-docker
Skip node e2e test for recovering from ip leak with docker/ubuntu
2021-08-05 16:36:46 -07:00
Kubernetes Prow Robot
98bd200217
Merge pull request #104102 from tnqn/dynamic-file
Improve dynamic cert file change detection
2021-08-05 16:36:26 -07:00
Sergey Kanzhelev
023f6a90db Add SergeyKanzhelev to node e2e test approvers 2021-08-05 21:32:55 +00:00
Kubernetes Prow Robot
7f231f899b
Merge pull request #103883 from ehashman/slow-e2es
Mark "update Node.Spec.ConfigSource" node e2es as slow
2021-08-05 14:10:37 -07:00
Kubernetes Prow Robot
7820de3803
Merge pull request #103876 from juanfescobar/flakylabel
Improve storage test skipping pattern.
2021-08-05 14:10:29 -07:00
Kubernetes Prow Robot
20d5526575
Merge pull request #103593 from matthyx/container_probe
Flake #99979 increase delay for ready state propagation
2021-08-05 14:09:19 -07:00
Quan Tian
3cfe3d048f Improve dynamic cert file change detection
DynamicFileCAContent and DynamicCertKeyPairContent used periodical job
to check whether the file content has changed, leading to 1 minute of
delay in worst case. This patch improves it by leveraging fsnotify
watcher. The content change will be reflected immediately.
2021-08-06 01:45:24 +08:00
Kubernetes Prow Robot
01cd315f3e
Merge pull request #104106 from ehashman/ehashman-node-e2e-owners
Add ehashman to node e2e test approvers
2021-08-05 08:18:49 -07:00
Kubernetes Prow Robot
3b84cc9e6b
Merge pull request #104075 from kerthcet/cleanup/revert-dynamickubeconfig-metric
revert Bump DynamicKubeConfig metric deprecation to 1.23 by delta update
2021-08-05 08:18:40 -07:00
Kubernetes Prow Robot
9aee1ea7ce
Merge pull request #104074 from danwinship/np-dns-fixup
Remove stray DNS port references in NetPol tests
2021-08-05 08:18:32 -07:00
Kubernetes Prow Robot
ed5618e2d5
Merge pull request #104061 from aojea/waitForPodsReady
replace e2e WaitForPodsReady by WaitTimeoutForPodReadyInNamespace
2021-08-05 08:18:24 -07:00
Kubernetes Prow Robot
d93fcf37db
Merge pull request #103903 from wzshiming/fix/framework-npe
Fix NPE in test/e2e/framework/providers/azure
2021-08-05 08:17:47 -07:00
Kubernetes Prow Robot
58cde6c442
Merge pull request #103874 from liggitt/move-conformance
Move conformance image
2021-08-05 08:17:34 -07:00
Kubernetes Prow Robot
25fae1d686
Merge pull request #104100 from dims/skip-nvidia-gpu-test-in-node-e2e-ci-jobs-for-non-docker-runtimes
Skip NVidia GPU test in node e2e CI jobs for containerd and other runtimes
2021-08-05 06:09:34 -07:00
Davanum Srinivas
9351b57def
Skip node e2e test for recovering from ip leak with docker
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-08-05 07:11:07 -04:00
Kubernetes Prow Robot
6edce1cfca
Merge pull request #103778 from danwinship/feature-sctp
remove superfluous [Feature:SCTP] tag in some test names
2021-08-05 01:43:13 -07:00
Kubernetes Prow Robot
02aa3edfd5
Merge pull request #100285 from 249043822/it-hsts
add integration test for apiserver hsts
2021-08-05 01:43:00 -07:00
Kubernetes Prow Robot
4470fc0ad9
Merge pull request #103776 from aojea/cleanup-e2e
Cleanup e2e
2021-08-04 23:41:00 -07:00
Kubernetes Prow Robot
adffa907bb
Merge pull request #103744 from claudiubelu/test-images/adds-labels
test images: Adds image labels by default
2021-08-04 22:12:21 -07:00
Kubernetes Prow Robot
b8641af9c2
Merge pull request #103711 from claudiubelu/test-image-manifest-cleanup
cleanup: Removes GcrRelease and SampleRegistry from manifest.go
2021-08-04 22:12:13 -07:00
Kubernetes Prow Robot
ddbdd3eca1
Merge pull request #103693 from alculquicondor/integration-parallelism
Add integration tests for updating Job parallelism
2021-08-04 22:11:56 -07:00
Kubernetes Prow Robot
11fb95b354
Merge pull request #103659 from tsmetana/k8s-nfs-ipv6-test-fail
e2e: Fix NFS options test for IPv6
2021-08-04 22:11:31 -07:00
Kubernetes Prow Robot
0a704f9e1f
Merge pull request #103564 from kevindelgado/unstr-extr-poc
ExtractItems for unstructured apply configurations
2021-08-04 22:10:55 -07:00
KeZhang
952aa1b2d2 add integration test for apiserver hsts 2021-08-05 10:41:52 +08:00
kerthcet
8cf10d9a20 set showHiddenMetricsForVersion=1.22 in dynamicKubeletConfiguration test
Signed-off-by: kerthcet <kerthcet@gmail.com>
2021-08-05 01:04:54 +08:00
Antonio Ojea
9d30eb88df retry apiserver errors on e2e service tests 2021-08-04 15:30:47 +02:00
Elana Hashman
ac076838c8
Add ehashman to node e2e test approvers
List of files raised by matthyx in SIG Node during the 2021-08-03
meeting.
2021-08-03 10:48:06 -07:00
Davanum Srinivas
3463c2dfa9
Skip NVidia GPU test in node e2e CI jobs for containerd and other runtimes
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-08-03 08:48:44 -04:00
Jan Safranek
4efc9a9569 Fix zone calculation - consider only untainted nodes
Tests "Multi-AZ Cluster Volumes" should consider only nodes that are
schedulable and *untainted* when computing AZ where to run the tests.

GetReadySchedulableNodes() already filters schedulable + untainted nodes,
no need to do it again in GetSchedulableClusterZones().
2021-08-03 14:41:12 +02:00
Kubernetes Prow Robot
9ff3b7e744
Merge pull request #104047 from ehashman/fix-node-e2e-logs
Log e2e-node kubelet output directly to file
2021-08-02 12:30:19 -07:00
Julie Qi
c35502ad4b Remove AUFSUmountHung from NPD test 2021-08-02 11:37:30 -07:00
Davanum Srinivas
dab19517e5
Explicitly restart kubelet to stabilize serial-containerd job
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-08-02 11:24:11 -04:00
Dan Winship
72223406ac Remove stray DNS port references in NetPol tests
The tests no longer use DNS, so we shouldn't be adding DNS-related
exceptions to the policies that are being tested.
2021-08-02 10:31:59 -04:00
Antonio Ojea
34f4959633 replace e2e WaitForPodsReady by WaitTimeoutForPodReadyInNamespace 2021-08-01 19:24:52 +02:00
Elana Hashman
a77f4f4c29
Log e2e-node kubelet output directly to file
For some reason when we send them to journald, many log lines are
consistently dropped as soon as the PLEG is started.

If we log directly to file, we don't have this problem. As a bonus, if
the tests crash, the kubelet logs will always be available since they
were already written; otherwise we normally wait until the end of the
test run to collect them from journald, meaning that we often end up
with empty logs.
2021-07-30 15:35:42 -07:00
Ryan Phillips
163e4974b6 e2e node server: fix crash in log line 2021-07-30 12:36:00 -05:00
Pat Christopher
f720c4fd44
hack/verify fixes 2021-07-28 19:26:44 -07:00
Elana Hashman
59a7cc12c9
Mark failing node serial tests as flaky
Tracked in:
- https://github.com/kubernetes/kubernetes/issues/103690
- https://github.com/kubernetes/kubernetes/issues/103691
2021-07-28 10:39:30 -07:00
Claudiu Belu
05cfbecab9 test images: Adds image labels by default
Adds the "image_version", "commit_id", "git_url" to the image labels.
2021-07-28 09:25:21 +00:00
Caleb Woodbine
bbb368b701 Update e2e test images url
Removes any reference from the registry gcr.io/kubernetes-e2e-test-images in
kubernetes/kubernetes, replacing it with k8s.gcr.io/kubernetes-e2e-test-images.
In some cases, the images had to be updated since a few things have changed since
their original implementation, most notably being the fact that some of the images
have been centralized into the agnhost image.

Co-Authored-By: Claudiu Belu <cbelu@cloudbasesolutions.com>
2021-07-27 22:01:43 -07:00
Pat Christopher
4549573a44
minor cleanups 2021-07-27 18:39:33 -07:00
Michelle Tandya
4606ebe423 update node-problem-detector v0.8.9 2021-07-28 01:02:56 +00:00
Kubernetes Prow Robot
d92b788faa
Merge pull request #103937 from jingxu97/july/grace
Fix disruptive subPath test failures
2021-07-27 08:22:45 -07:00
Jing Xu
f1e1f3a416 Fix disruptive subPath test failures
This PR fixes two distruptive subpath test failures.

1. disable --check-volume-lifecycle check
2. skip hostpath driver tests on graceful pod deletion test too.

See details in
https://github.com/kubernetes/kubernetes/issues/103651#issuecomment-887227562

Change-Id: Ibecd051be865feea5f2a92d22ade848367400939
2021-07-27 02:17:31 -07:00
Wei Huang
55765f1b49
sched: support HistogramVec in scheduler performance test 2021-07-26 20:27:37 -07:00
Kevin Delgado
7bfc420351 simplify test to only test the new logic of extractUnstructured 2021-07-27 01:28:44 +00:00
Kevin Delgado
c9e97de46b Address PR feedback around gvk parser generation ergonomics 2021-07-27 01:28:43 +00:00
Kevin Delgado
604db6eb2a rename cache, add to integration test 2021-07-27 01:28:43 +00:00
Kevin Delgado
7b9757faa4 basic caching working 2021-07-27 01:28:42 +00:00
Kevin Delgado
9f4a4d812d Write TestUnstructuredExtract 2021-07-27 01:28:04 +00:00
mgutierrez98
004e441483 refactored master to controlplane 2021-07-26 17:52:53 +00:00
Shiming Zhang
dc9eb82e0a Fix NPE in test/e2e/framework/providers/azure 2021-07-26 10:27:44 +08:00
Elana Hashman
93146048b4
Mark "update Node.Spec.ConfigSource" node e2es as slow
- recover to last-known-good ConfigMap.KubeletConfigKey
  ~12m to run in CI, 13m locally
- non-nil last-known-good to a new non-nil last-known-good
  ~24m to run in CI
- recover to last-known-good ConfigMap
  ~12m to run in CI
- state transitions
   ~8m to run in CI
2021-07-23 12:40:24 -07:00
Jordan Liggitt
4115bef826 Update references to test/conformance/image 2021-07-23 11:26:54 -04:00
Jordan Liggitt
024930df11 Move cluster/images/conformance to test/conformance/image 2021-07-23 11:23:55 -04:00
Nabarun Pal
77afa53f9d
Add e2e testing manifest bundle to e2e_node test suite
Ref: https://kubernetes.slack.com/archives/C0BP8PW9G/p1627003199187100?thread_ts=1626988113.184100&cid=C0BP8PW9G

Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2021-07-23 09:49:33 +05:30
Juan Escobar
fef5c0c1a6 Improve storage test skipping pattern.
Including a skip method as the first line of a test does not prevent the test to fail in the BeforeEach function.
If the test is skipped because of a tag in the name, then we can prevent such odd behavior.
2021-07-22 21:42:30 -05:00
Kubernetes Prow Robot
8ac0fcdb74
Merge pull request #103842 from bobbypage/summary-test
test: summary use pointer gomega comparison for UsageNanoCores
2021-07-22 16:07:28 -07:00
Kubernetes Prow Robot
de8b873684
Merge pull request #103827 from mmiranda96/fix/demote-sysctl-conformance-test
Demote sysctl test from its conformance status
2021-07-22 16:07:16 -07:00
Kubernetes Prow Robot
603830b8a6
Merge pull request #103806 from mauriciopoppe/fetch-metrics-no-sync-once
Fetch metrics from controller manager & scheduler without `sync.Once`
2021-07-22 13:55:18 -07:00
Mike Miranda
0cce9a4a6c Remove conformance status from a sysctl test and relabel 2021-07-22 20:12:26 +00:00
David Porter
3af4fe8c9b Use pointer gomega comparison for UsageNanoCores 2021-07-22 01:08:36 -07:00
Kubernetes Prow Robot
85a29212e0
Merge pull request #103725 from jingxu97/July/wintests
Fix windows storage tests
2021-07-21 15:01:51 -07:00
Mauricio Poppe
9103b7187c Fetch metrics from controller manager & scheduler no run once 2021-07-21 17:16:42 +00:00
Sascha Grunert
8ad83fd685
Make crictl tests host local
We now use a host local exec instead of SSH commands to simplify the
test and make the result more robust.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2021-07-21 16:46:37 +02:00
Sascha Grunert
c1bac40880
Fix SIG Node SSH e2e test
This assumes that SSH via bastion works if the `KUBE_SSH_BASTION`
environment variable is set, which is the case for
`pull-kubernetes-e2e-gce-correctness`.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2021-07-21 15:57:14 +02:00
Jing Xu
33feaee2c2 Fix windows storage tests
1. fix command empty issue for some Windows storage tests
2. enable more windows storage tests by adding ntfs test patten

Change-Id: Ic33be282d669a23107474a14d4368bbf95c9b459
2021-07-20 22:40:20 -07:00
Vivek Singh
80e4007bc3 test: e2e: HPA ContainerResource
This add e2e test for HPA ContainerResource metrics. This add test to cover two scenarios
1. Scale up on a busy application with an idle sidecar container
2. Do not scale up on a busy sidecar with an idle application.

Signed-off-by: Vivek Singh <svivekkumar@vmware.com>
2021-07-21 10:24:00 +05:30
jay vyas
59c0523bca
Using ServiceIPs instead of DNS names in the NetworkPolicy Probes + adding Interface decoupling (#102354)
* Squashed commit of the following:

commit 7f774dcb54b511a3956aed0fac5c803f145e383a
Author: Jay Vyas (jayunit100) <jvyas@vmware.com>
Date:   Fri Jun 18 10:58:16 2021 +0000

    fix commit message

commit 0ac09650742f02004dbb227310057ea3760c4da9
Author: jay vyas <jvyas@vmware.com>
Date:   Thu Jun 17 07:50:33 2021 -0400

    Update test/e2e/network/netpol/kubemanager.go

    Co-authored-by: Antonio Ojea <antonio.ojea.garcia@gmail.com>

commit 6a8bf0a6a2690dac56fec2bdcdce929311c513ca
Author: jay vyas <jvyas@vmware.com>
Date:   Sun Jun 13 08:17:25 2021 -0400

    Implement Service polling for network policy suite to remove reliance on CoreDNS when verifying network policys

    Update test/e2e/network/netpol/probe.go

    Co-authored-by: Antonio Ojea <antonio.ojea.garcia@gmail.com>

    Add deafultNS to use service probe

commit b9c17a48327aab35a855540c2294a51137aa4a48
Author: Matthew Fenwick <mfenwick100@gmail.com>
Date:   Thu May 27 07:30:59 2021 -0400

    address code review comments for networkpolicy decoupling from dns

commit e23ef6ff0d189cf2ed80dbafed9881d68402cb56
Author: jay vyas <jvyas@vmware.com>
Date:   Wed May 26 13:30:21 2021 -0400

    NetworkPolicy decoupling from DNS

gofmt

remove old function

* model refactor

* minor

* dropped getK8sModel func

* dropped modelMap, added global model in BeforeEach and subsequent changes

Co-authored-by: Rajas Kakodkar <rajaskakodkar16@gmail.com>
2021-07-19 23:09:32 -07:00
Pat Christopher
b09bbd808a
testing patches. add k8s.io/staging, remove local home 2021-07-19 20:26:53 -07:00
Antonio Ojea
5fdfe872d6 e2e: update makefile example for building images 2021-07-19 23:07:01 +02:00
Dan Winship
318b9a9578 remove superfluous [Feature:SCTP] tag in some test names
This tag was supposed to have gone away when SCTP went GA. (I think it
got screwed up due to a PR being mis-rebased after the SCTP GA merge.)
2021-07-19 14:49:53 -04:00
Antonio Ojea
50b3cbe999 e2e: remove unused sync.WaitGroup 2021-07-19 18:24:03 +02:00
Antonio Ojea
9d405710fe e2e: remove runKubernetesServiceTestContainer
The function depend on a manifest that no longer exist, it also
seems only useful for clusterapi, breaking the independence of
the e2e framework.
2021-07-19 18:24:03 +02:00
tanjing2020
bae1fb367a [e2e] Add description of use case execution conditions 2021-07-19 09:38:06 +08:00
Kubernetes Prow Robot
8cda0d7f9c
Merge pull request #103733 from wojtek-t/fix_master_upgrade_test
Fix panic in master upgrade tests
2021-07-16 04:40:08 -07:00
Kubernetes Prow Robot
5acefcc2bc
Merge pull request #100886 from claudiubelu/cuda-vector-add-update
tests: Updates cuda-vector-add:1.0 image to the promoted registry
2021-07-15 23:54:09 -07:00
wojtekt
1f2902a336 Fix panic in master upgrade tests 2021-07-16 07:50:25 +02:00
Kubernetes Prow Robot
43c9e8e7a1
Merge pull request #103234 from dashpole/apiserver_e2e_test
Add integration test for apiserver tracing
2021-07-15 22:10:09 -07:00
David Ashpole
e5a1f86e0a add apiserver tracing integration test, and fix endpoint validation 2021-07-15 20:56:57 -07:00
Kubernetes Prow Robot
4de033c2c0
Merge pull request #103720 from alculquicondor/rm-e2e-preferavoidpods
Remove E2E test for NodePreferAvoidPods scheduling Score
2021-07-15 16:06:09 -07:00
Kubernetes Prow Robot
ac8dca79af
Merge pull request #103566 from wzshiming/fix/e2e-dbus-config-path
Fix dbus config path for GracefulNodeShutdown e2e
2021-07-15 12:39:14 -07:00
Aldo Culquicondor
be34dc95b5 Remove E2E test for NodePreferAvoidPods scheduling Score
The feature is now disabled by default. The annotation never graduated from alpha. The same behavior can be achieved with PreferNoSchedule taints.
2021-07-15 14:55:09 -04:00
Kubernetes Prow Robot
4f9bfb39ad
Merge pull request #102169 from odinuge/rlimit-tests
Ensure node-e2e-test can open enough files
2021-07-15 10:20:45 -07:00
Claudiu Belu
a2ea04bab3 tests: Updates cuda-vector-add:1.0 image to the promoted registry
With this commit, we're no longer using any images from the gcr.io/kubernetes-e2e-test-images
registry.
2021-07-15 08:00:49 -07:00
Matthias Bertschy
5f0925a294 Flake #99979 increase delay for ready state propagation 2021-07-15 11:42:33 +02:00
Kubernetes Prow Robot
02355e22b3
Merge pull request #103650 from dims/get-golangci-lint-back-on-its-feet
Get golangci lint back on its feet
2021-07-15 02:06:48 -07:00
Kubernetes Prow Robot
f6c2068623
Merge pull request #102921 from fromanirh/pod-readiness-gate-timeout
e2e: increase readiness gate timeout
2021-07-14 23:34:48 -07:00
Pat Christopher
169583bf4e
tests for path resolver, add KUBE_ROOT to both top level func calls 2021-07-14 20:35:49 -07:00
Aldo Culquicondor
82728b5f71 Add integration tests for updating Job parallelism 2021-07-14 14:26:15 -04:00
Monis Khan
a6ac42082b
client-go exec: fix metrics related to plugin not found
These were missed because our tests did not pass in the correct test
data input (the command to execute).

Signed-off-by: Monis Khan <mok@vmware.com>
2021-07-14 14:02:23 -04:00
Davanum Srinivas
75748c185e
enable verify-golangci-lint.sh
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-07-14 08:53:33 -04:00
Davanum Srinivas
07332ad398
fix ineffassign and varcheck
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-07-14 08:41:22 -04:00
Davanum Srinivas
26cc8e40a8
fix deadcode issues
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-07-14 08:41:21 -04:00
Pat Christopher
e75f3fb563
add happy path tests for two types of imports 2021-07-13 20:08:13 -07:00
Pat Christopher
d3aabe2397
fix existing unit tests 2021-07-13 19:25:45 -07:00
Pat Christopher
585ce7f04d
missed a paren 2021-07-13 19:03:39 -07:00
Pat Christopher
bde2ef2a1a
review comments 2021-07-13 19:02:23 -07:00
Kubernetes Prow Robot
dbfa5acaa3
Merge pull request #100887 from claudiubelu/test-images/cuda-vector-add-old
test images: Adds cuda-vector-add-old image
2021-07-13 14:34:01 -07:00
Carlos Panato
83f8d1ad72
[go1.16] Update to go1.16.6
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2021-07-13 18:05:16 +02:00
Tomas Smetana
2b03c77189 e2e: fix NFS options test for IPv6 2021-07-13 10:18:15 +02:00
Kubernetes Prow Robot
789662889b
Merge pull request #101195 from claudiubelu/test-images/private
test images: Adds windows-nanoserver image
2021-07-12 20:42:29 -07:00
Pat Christopher
ef3c344868
seems to work, needs tests and a lot of cleanup 2021-07-12 20:28:10 -07:00
Andrew Sy Kim
9fa641b9ad test/integration/endpoints: check for pod existencen in TestEndpointWithTerminatingPod
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2021-07-12 14:22:34 -04:00
Kubernetes Prow Robot
e0a22acaa0
Merge pull request #103598 from tkashem/integration-test-timeout
integration test: provide a timeout for /health
2021-07-12 06:06:47 -07:00
Kubernetes Prow Robot
8ab66dcc4e
Merge pull request #103621 from andrewsykim/integration-test-terminating-endpoints-only
Ensure Endpoints does not include terminating endpoints going forward
2021-07-11 11:26:46 -07:00
Tim Allclair
32783f7568 PodSecurity: Initial webhook implementation 2021-07-09 17:04:29 -07:00
Andrew Sy Kim
2878e472ad test/integration/endpoints: improve docs for TestEndpointWithTerminatingPod
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2021-07-09 16:45:23 -04:00
Kubernetes Prow Robot
b55c980279
Merge pull request #102395 from odinuge/node_container_manager_test_skip_systemd
Skip node container manager test on systemd
2021-07-09 13:26:54 -07:00
Andrew Sy Kim
0aa1b3b0bf test/integration/endpoints: add a test to ensure Endpoints does not include terminating pods
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2021-07-09 16:19:57 -04:00
Kubernetes Prow Robot
03fa68099e
Merge pull request #98238 from alculquicondor/job-completion
Track Job completion through Pod finalizers and status
2021-07-09 08:42:54 -07:00