Reza Karimi
bb15f02039
issue#105861: making scheduler metrics stable
2021-11-03 15:34:50 +00:00
Jan Safranek
f0bc04f169
Fix ephemeral test description
...
It looks like it tests two pods sharing the same volume, but the goal is
actually the opposite - two pods with the same inline volume definition
should get separate volumes.
2021-11-03 14:26:08 +01:00
Nikhil Sharma
2e1899244f
Changed code to improve output for files under test/e2e/framework
2021-11-03 17:29:05 +05:30
Kubernetes Prow Robot
9af2ece18a
Merge pull request #106089 from liggitt/podsecurity-beta
...
PodSecurity: promote config and feature gate to beta
2021-11-02 22:22:57 -07:00
Kubernetes Prow Robot
1f8084789e
Merge pull request #105508 from claudiubelu/tests/refactor-deployments
...
tests: Use E2E framework deployments
2021-11-02 19:00:57 -07:00
Kubernetes Prow Robot
b489b03946
Merge pull request #105575 from endocrimes/dani/cleanup-launcher
...
Allow the e2e_node runner to receive a KubeletConfiguration rather than requiring flags
2021-11-02 18:00:10 -07:00
Kubernetes Prow Robot
359b722c19
Merge pull request #102882 from fromanirh/device-manager-checkpoints
...
devicemanager: checkpoint: support pre-1.20 data
2021-11-02 16:56:57 -07:00
Stephen Heywood
38207e460c
Create e2e delete service collection test
...
The test validates the following endpoint
- deleteCoreV1CollectionNamespacedService
2021-11-03 10:17:23 +13:00
Benjamin Elder
6d532084e5
removed unused test/e2e_kubeadm/runner/local/run_local.go
2021-11-02 11:53:25 -07:00
Kubernetes Prow Robot
ec8e6e8778
Merge pull request #106002 from kerthcet/feature/refactor-NodeResourcesFit-plugin
...
refactor scheudler's node resource plugins
2021-11-02 10:52:34 -07:00
Rob Scott
d4ebc6ff1e
Transitioning from multiple execs to reading logs
2021-11-02 10:44:47 -07:00
Jiahui Feng
fbc8ac9c96
update expected ordering
...
in apply test.
2021-11-02 10:00:00 -07:00
kerthcet
e5dd375b14
refactor scheudler's node resource plugins
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2021-11-03 00:52:23 +08:00
Kubernetes Prow Robot
d8b6dc3e06
Merge pull request #106001 from NikhilSharmaWe/betterOutputKubectl
...
Changed code to improve output for files under test/e2e/kubectl
2021-11-02 09:20:58 -07:00
Danielle Lancashire
4ae64bd799
e2e_node: add a default kubeletconfig fallback
2021-11-02 15:10:29 +01:00
Danielle Lancashire
a4cf3a90a2
e2e_node: support passing kubelet-config-file to local runs
2021-11-02 15:10:29 +01:00
Danielle Lancashire
6e9e436026
e2e_node: kubelet config: move to file where possible
2021-11-02 15:10:28 +01:00
Danielle Lancashire
4097a3d472
e2e_node: allow customizing the base kubeletconfig
...
This commit forces Kubelet Configuration files to always be generated
and when possible will use the kubeletconfig file that has been provided
by the test orchestrator
2021-11-02 15:09:56 +01:00
Danielle Lancashire
f1deb0ba2e
e2e_node: remote: add kubeletconfig to archive
...
This commit enables the remote runner to provide a KubeletConfiguration
file to the test suite when uploading it to a remote host, thet test
runner will then use this configuration to run the Kubelet with the
provided config.
2021-11-02 15:08:39 +01:00
Danielle Lancashire
26980cf701
e2e_node: cleanup entrypoint
2021-11-02 15:08:39 +01:00
Danielle Lancashire
7dbbfe38e1
e2e_node: remote runner: junitFilePrefix -> junitFileName
2021-11-02 15:08:39 +01:00
Jordan Liggitt
01fa142ef5
PodSecurity: promote to beta
2021-11-02 09:43:24 -04:00
Kubernetes Prow Robot
2a821d787b
Merge pull request #105525 from damemi/wire-contexts-core
...
Wire contexts to Core controllers
2021-11-02 03:32:58 -07:00
Mark Rossetti
fa2c855ea5
batching test cases and improving logs in host-process-container command line test
2021-11-01 20:41:33 -07:00
Mark Rossetti
522bf81d83
HostProcess e2e tests to validate command / workingDir paramters
...
Signed-off-by: Mark Rossetti <marosset@microsoft.com>
2021-11-01 15:40:54 -07:00
Tim Allclair
6c273020d3
[PodSecurity] Avoid the LegcayRegistry for metrics serving
2021-11-01 14:23:00 -07:00
Tim Allclair
21692e1683
[PodSecurity] Add error & exemption metrics
2021-11-01 14:22:58 -07:00
Tim Allclair
e46928c0b1
[PodSecurity] Fix up metrics & add tests
...
Update pod security metrics to match the spec in the KEP.
2021-11-01 14:11:19 -07:00
Mike Spreitzer
154bf6aab3
Add metrics about watch counts seen by APF
2021-11-01 16:02:49 -04:00
Mike Dame
4960d0976a
Wire contexts to Core controllers
2021-11-01 10:29:00 -04:00
Kubernetes Prow Robot
fc6890f902
Merge pull request #105989 from bobbypage/gpu-test-config
...
Fix COS GPU driver installation
2021-10-29 22:59:17 -07:00
Rob Scott
76c19a24db
Initial Topology Hints e2e Tests
2021-10-29 17:37:10 -07:00
Tim Hockin
11a25bfeb6
De-share the Handler struct in core API ( #105979 )
...
* De-share the Handler struct in core API
An upcoming PR adds a handler that only applies on one of these paths.
Having fields that don't work seems bad.
This never should have been shared. Lifecycle hooks are like a "write"
while probes are more like a "read". HTTPGet and TCPSocket don't really
make sense as lifecycle hooks (but I can't take that back). When we add
gRPC, it is EXPLICITLY a health check (defined by gRPC) not an arbitrary
RPC - so a probe makes sense but a hook does not.
In the future I can also see adding lifecycle hooks that don't make
sense as probes. E.g. 'sleep' is a common lifecycle request. The only
option is `exec`, which requires having a sleep binary in your image.
* Run update scripts
2021-10-29 13:15:11 -07:00
Rob Scott
794f0cb7f1
Fixing how EndpointSlice Mirroring handles Service selector transitions
2021-10-29 11:03:28 -07:00
Nikhil Sharma
a69a6aa4b5
Changed code to improve output for files under test/e2e/kubectl
2021-10-29 12:35:49 +05:30
David Porter
e1a951afe5
Fix COS GPU driver installation
...
* Rely on the built in GPU driver installer in COS as recommended in
public docs - https://cloud.google.com/container-optimized-os/docs/how-to/run-gpus
* Run `nvidia-smi` after installation to verify installation
2021-10-28 17:49:50 -07:00
Kubernetes Prow Robot
c592bd40f2
Merge pull request #105609 from pohly/generic-ephemeral-volume-ga
...
generic ephemeral volume GA
2021-10-28 17:36:50 -07:00
James Sturtevant
d6db275cd3
[windows] Test: Check for failed sandbox pod when testing for RunAsUserName ( #105943 )
...
* Check for failed sandbox and failed workload containers
* Add test to confirm containers won't start
2021-10-28 14:04:59 -07:00
Kubernetes Prow Robot
1814c9c7fb
Merge pull request #105926 from 249043822/br-flakytest1
...
Fix:Flaky test] [sig-node] Kubelet should correctly account for terminated pods after restart
2021-10-28 10:20:34 -07:00
Kubernetes Prow Robot
64a5715a2d
Merge pull request #105774 from NikhilSharmaWe/betterOutput
...
Better output
2021-10-28 10:20:26 -07:00
Kubernetes Prow Robot
6edcb60d9f
Merge pull request #104915 from alculquicondor/job-ready
...
Track ready pods in Job status
2021-10-28 09:20:26 -07:00
Kubernetes Prow Robot
e450e3331f
Merge pull request #105482 from endocrimes/dani/kubeletconfig
...
e2e_node: remove unnecessary dynamic config changes
2021-10-28 07:04:27 -07:00
Shuanglu
9bcfa71e31
Fix Daemonset controller role missing 'update pod' permission ( #104758 )
...
* fix_dsc_rbac_pod_update
* add test for DaemonSet Controller updates label of the pod after "DedupCurHistories"
* rebase
* update parameter of dsc.Run
2021-10-28 05:24:26 -07:00
KeZhang
257efda87a
Fix:Flaky test] [sig-node] Kubelet should correctly account for terminated pods after restart
2021-10-28 08:31:14 +08:00
Kenichi Omichi
db87fe139c
Fix container name on NewDeployment()
...
The paramter is used as a container name, not an image name in the
function.
To avoid confusion, this fxies the name.
2021-10-27 22:46:11 +00:00
Kubernetes Prow Robot
00aab6312f
Merge pull request #105910 from deads2k/retry-pv-create
...
retry PV create in e2e-test on API quota failure
2021-10-27 15:23:09 -07:00
Nikhil Sharma
031dc016e6
Changed code to improve output for files under test/e2e/upgrades/apps
2021-10-27 11:41:18 +05:30
Kubernetes Prow Robot
fa6bb7cad0
Merge pull request #105921 from SergeyKanzhelev/setHostnameAsFQDNIsNodeConformance
...
setHostnameAsFQDN is a GA feature that does not depend on environment
2021-10-26 21:57:26 -07:00
Kubernetes Prow Robot
7c715dbc68
Merge pull request #105637 from Namanl2001/ssh
...
adding `--ssh-key` and `--ssh-user` for kubetest2
2021-10-26 16:33:45 -07:00
Kubernetes Prow Robot
0fec47582c
Merge pull request #105911 from pohly/generic-ephemeral-volume-test
...
volume e2e: block volume metrics fix, II
2021-10-26 10:39:30 -07:00
Patrick Ohly
194b31019d
volume e2e: block volume metrics fix, II
...
Copying from pvcBlock swapped name and namespace (breaking the PVC test case)
and some references to the pvcBlock variable were left unchanged (incorrect
annotations for test failures).
2021-10-26 17:36:02 +02:00
David Eads
c8f87a6a24
retry PV create in e2e-test on API quota failure
2021-10-26 09:47:16 -04:00
Kubernetes Prow Robot
20ff5381ce
Merge pull request #105507 from claudiubelu/tests/refactor-daemonset
...
tests: Refactors daemonset utils into framework
2021-10-26 05:01:30 -07:00
Francesco Romani
b382b6cd0a
node: e2e: add test for the checkpoint recovery
...
Add a e2e test to exercise the checkpoint recovery flow.
This means we need to actually create a old (V1, pre-1.20) checkpoint,
but if we do it only in the e2e test, it's still fine.
Signed-off-by: Francesco Romani <fromani@redhat.com>
2021-10-26 09:55:11 +02:00
Kubernetes Prow Robot
e8fcd0de98
Merge pull request #105755 from bobbypage/npd-test-cg2
...
Support cgroupv2 in node problem detector test
2021-10-25 17:59:29 -07:00
Sergey Kanzhelev
cf0a387774
setHostnameAsFQDN is a GA feature that does not depend on environment
2021-10-26 00:24:12 +00:00
Kubernetes Prow Robot
fec7005de5
Merge pull request #105805 from stevekuznetsov/skuznets/fix-watch-e2e
...
e2e: conformance: correctly produce MODIFIED events
2021-10-25 14:38:27 -07:00
Kubernetes Prow Robot
770bc04740
Merge pull request #105878 from pohly/generic-ephemeral-volume-test
...
volume e2e: block volume metrics fix
2021-10-25 11:25:14 -07:00
Kubernetes Prow Robot
29552618e3
Merge pull request #105869 from ahg-g/ahg-jobtestfix
...
Fixes TestNodeSelectorUpdate flaky test
2021-10-25 09:38:34 -07:00
Kubernetes Prow Robot
f08ad3e0ed
Merge pull request #105273 from claudiubelu/tests/fixes-pod-collection-flake
...
tests: Wait for pod collection to enter a Running state
2021-10-25 07:34:23 -07:00
Abdullah Gharaibeh
74e1b07a5e
Fixes TestNodeSelectorUpdate flaky test
2021-10-25 10:33:50 -04:00
Patrick Ohly
4c7a8c494e
volume e2e: block volume metrics fix
...
The same PVC name handling as for non-block volumes is also needed for block
volumes.
2021-10-25 12:44:58 +02:00
Kubernetes Prow Robot
7fbb384e15
Merge pull request #105682 from pohly/generic-ephemeral-volume-raw-block
...
storage validation: accept generic ephemeral volumes as volume device
2021-10-22 18:04:50 -07:00
Kubernetes Prow Robot
54ad99f523
Merge pull request #105752 from yselkowitz/s390x-test-images
...
test: use newer test images for better s390x coverage
2021-10-22 11:14:54 -07:00
haichao li
679f520acc
Update glusterdynamic-provisioner to provide support for arm64 ( #105754 )
...
Signed-off-by: Haichao Li <Haichao.li@arm.com>
Change-Id: I69ca60e57cbe8cd98e4b7bb723a635c300e308dc
2021-10-22 10:10:49 -07:00
Kubernetes Prow Robot
491d9ae754
Merge pull request #94786 from ii/proxy-301-redirect
...
Write Pod- & ServiceProxy Test - +12 endpoint coverage
2021-10-22 10:10:37 -07:00
Kubernetes Prow Robot
14c0f84654
Merge pull request #105824 from pohly/generic-ephemeral-volume-test
...
storage e2e: fix volume metric test for PVC
2021-10-21 12:41:56 -07:00
Claudiu Belu
b87cc616b5
tests: Refactors daemonset utils into framework
...
Creates test/e2e/framework/daemonset, which contains commonly
used daemonset-related operations, deduplicating the code for it.
2021-10-21 18:54:38 +03:00
Patrick Ohly
d6aa7e321f
storage e2e: fix volume metric test for PVC
...
The fix for the ephemeral volume
case (7538d089d5
) broke the other variant with
PVC because pvc.Name is only set *after* creating the PVC.
2021-10-21 17:09:49 +02:00
Manjunath A Kumatagi
71ed83963f
Change the copyright year
2021-10-21 20:34:29 +05:30
Steve Kuznetsov
f87c712790
e2e: conformance: correctly produce MODIFIED events
...
The previous implementaton called Update() without changing anything
about the object, so no MODIFIED events were ever generated. This change
ensures that all calls to Update() cause mutations, thereby ensuring
that MODIFIED events happen in the watch stream.
Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
2021-10-21 06:36:14 -05:00
Kubernetes Prow Robot
656f3752d2
Merge pull request #105659 from pohly/generic-ephemeral-volume-test
...
generic ephemeral volume E2E tests
2021-10-20 15:16:04 -07:00
Stephen Heywood
8e39630f40
Create e2e test for pod & service Proxy endpoints
2021-10-21 10:21:28 +13:00
Kubernetes Prow Robot
881980a5c6
Merge pull request #105490 from aojea/restclient-shared-transport
...
client-go: share the same transport for generated clientsets
2021-10-20 10:23:58 -07:00
Kubernetes Prow Robot
18104ecf1f
Merge pull request #105405 from verb/1.23-ec-beta
...
Promote EphemeralContainers to beta
2021-10-20 09:24:10 -07:00
Kubernetes Prow Robot
d5de03f0d3
Merge pull request #104551 from Elbehery/unprivileged_storage_client
...
[sig-storage] Run storage e2e test_client_pod as privileged
2021-10-20 05:01:58 -07:00
Patrick Ohly
c0bdf14942
storage e2e: refactor snapshottable
...
During PR review it was pointed out that the branches for ephemeral
vs. persistent make the test harder to read. Therefore all code that depends on
if checks gets moved into two different versions of the test, one hat runs for
ephemeral volumes and one for persistent volumes, with skip statements at the
beginning.
2021-10-20 12:40:58 +02:00
Kubernetes Prow Robot
e461ebeea0
Merge pull request #105730 from haichaoli01/test
...
glusterdynamic-provisioner: update to v1.3 and provide arm64 support
2021-10-20 02:53:59 -07:00
Martin Schimandl
c9edee165a
Cleanup FeatureGate skippers ( #105428 )
...
* Cleanup FeatureGate skippers
* Perform changes requested by review
* some more review related changes
* Rename skipper functions to make code more readable
* add utilfeature back in
2021-10-20 01:47:57 -07:00
Antonio Ojea
3ca2bb4443
integration test clientset share connection for custom transports
2021-10-20 06:39:39 +02:00
Kubernetes Prow Robot
b17bf879a4
Merge pull request #105697 from fromanirh/e2e-kubelet-restart-cleanups
...
node: e2e: clarify findKubeletService
2021-10-19 20:43:57 -07:00
Lee Verberne
40e7689f0e
Move ephemeral container e2e to common
2021-10-19 23:02:09 -04:00
Lee Verberne
ba649b97b7
Add ephemeral container checks to volume e2e tests
2021-10-19 23:02:09 -04:00
Kubernetes Prow Robot
712840904a
Merge pull request #104540 from wzshiming/fix/node-shutdown-e2e
...
Fix nodeShutdownReason for node shutdown e2e
2021-10-19 18:39:57 -07:00
Aldo Culquicondor
68f2c892e5
Add integration tests for tracking ready Pods
...
Change-Id: I1f20657f4f9cd4daad73149f969bad52a33698fa
2021-10-19 15:18:37 -04:00
Kubernetes Prow Robot
c733594040
Merge pull request #105687 from alculquicondor/job-tracking
...
Graduate JobTrackingWithFinalizers to beta
2021-10-19 11:40:37 -07:00
Lee Verberne
6f4b8da9a3
Promote EphemeralContainers feature to beta
2021-10-19 08:47:57 -04:00
Patrick Ohly
5462d97e62
storage e2e: test snapshotting of generic ephemeral volumes
...
Conceptually, snapshots have to be taken while the pod and thus the volume
exist. Snapshotting has an issue where flushing of data is not guaranteed while
the volume is still staged on the node, so the test relied on deleting the pod
and checking for the volume to be unused. That part of the test cannot be done
for ephmeral volumes.
2021-10-19 14:01:21 +02:00
Patrick Ohly
7538d089d5
storage e2e: fix volume metric test for generic ephemeral volume
...
This is a fix for the new test case from
https://github.com/kubernetes/kubernetes/pull/105636 which had to be merged
without prior testing due to not having a cluster to test on and no pull job
which runs these
tests. https://testgrid.k8s.io/sig-storage-kubernetes#gce-serial then showed a
failure.
The fix is simple: in the ephemeral case, the PVC name isn't set in advance in
pvc.Name and instead must be computed. The fix now was tested on a kubetest
cluster in GCE.
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
2021-10-19 14:01:21 +02:00
Patrick Ohly
4568cdada2
storage e2e: test volume attach limits of generic ephemeral volumes
...
There are unit tests for this particular code path in kube-scheduler, but no
E2E tests.
2021-10-19 14:01:20 +02:00
Patrick Ohly
a90a3c6a9c
storage e2e: check raw block support for generic ephemeral volumes
...
This adds a new test pattern and uses it for the inline volume tests. Because
the kind of volume now varies more, validation of the mount or block device is
always done by the caller of TestEphemeral.
2021-10-19 13:30:32 +02:00
Shivanshu Raj Shrivastava
3e6d122ee1
fixed using reference to loop iterator ( #105433 )
...
* fixed using reference to loop iterator
* fixed other for loops
2021-10-19 02:40:38 -07:00
Gunju Kim
0f2c94d842
NodeConformance: Respect grace period when updating static pod
2021-10-19 16:30:18 +09:00
Oleg Atamanenko
965f10f539
Upgrade etcd to 3.5.1
2021-10-18 23:09:27 -07:00
Yaakov Selkowitz
4e3f94eb41
test: use newer test images for better s390x coverage
...
These image versions added s390x builds via
https://github.com/kubernetes/kubernetes/pull/102785 .
2021-10-18 23:00:31 -04:00
Kubernetes Prow Robot
b977200a5d
Merge pull request #102785 from yselkowitz/master
...
Enable more test images for s390x
2021-10-18 19:59:34 -07:00
David Porter
d28db6ee0c
Support cgroupv2 in node problem detector test
2021-10-18 19:50:45 -07:00
Namanl2001
85d16760f0
adding defaultGceKey in remote/ssh.go
...
Signed-off-by: Namanl2001 <namanlakhwani@gmail.com>
2021-10-19 00:07:36 +05:30
elbehery
04ad18ce44
Run storage hostpath e2e test client pod as privileged
...
hostPath volume plugin creates a directory within /tmp on host machine, to be mounted as volume.
inject-pod writes content to the volume, and a client-pod tried the read the contents and verify.
when SELinux is enabled on the host, client-pod can not read the content, with permission denied.
running the client-pod as privileged, so that it can access the volume content, even when SEinux is enabled on the host.
2021-10-18 15:06:20 +02:00
Haichao Li
ad7bceb31b
glusterdynamic-provisioner: update to v1.3 and provide arm64 support
...
Signed-off-by: Haichao Li <Haichao.li@arm.com>
Change-Id: I809de5eee0f4cc2865bbf89ee9ad840497185019
2021-10-18 16:23:32 +08:00
Aldo Culquicondor
2c1b3fdb5b
Graduate JobTrackingWithFinalizers to beta
...
Enable feature by default.
Update integration tests for other features to assume that finalizers are present.
Change-Id: Ie969344f572627dba882c0e862e5700dadaf3026
2021-10-15 10:29:40 -04:00
Francesco Romani
baa55935f3
node: e2e: clarify findKubeletService
...
Add docstrings to findKubeletService and restartKubelet,
fix typos along the way.
xref: https://github.com/kubernetes/kubernetes/pull/105516#pullrequestreview-780230582
Signed-off-by: Francesco Romani <fromani@redhat.com>
2021-10-15 11:19:03 +02:00
Kubernetes Prow Robot
fe62fcc9b4
Merge pull request #105516 from fromanirh/e2e-kubelet-restart-improvements
...
e2e: node: kubelet restart improvements
2021-10-14 17:58:54 -07:00
Kubernetes Prow Robot
fb2556cb34
Merge pull request #105670 from pohly/restore-volume-life-cycle-check
...
e2e: restore volume lifecycle check for most tests, II
2021-10-14 10:50:04 -07:00
Kubernetes Prow Robot
57aaa70b2c
Merge pull request #105596 from pacoxu/subresource-remove
...
test fix: check correct subresource patch path
2021-10-14 10:49:48 -07:00
Kubernetes Prow Robot
dea052ceba
Merge pull request #105479 from ahg-g/ahg-mutable
...
Allow updating scheduling directives of suspended jobs that never started
2021-10-14 08:09:18 -07:00
Abdullah Gharaibeh
335817cbce
Allow updating node affinity, selector and tolerations for suspended jobs that never started
2021-10-14 10:04:47 -04:00
Kubernetes Prow Robot
f27e4714ba
Merge pull request #105377 from damemi/wire-contexts-apps
...
Wire contexts to Apps controllers
2021-10-14 06:59:19 -07:00
Kubernetes Prow Robot
d09ce7be1c
Merge pull request #105563 from mengjiao-liu/go1172
...
[go1.17] Update to go1.17.2
2021-10-14 03:25:19 -07:00
Patrick Ohly
5378b4d220
e2e: restore volume lifecycle check for most tests, II
...
Besides "subPath should unmount if pod is gracefully deleted while kubelet is
down" we also need a special case for "subPath should unmount if pod is force
deleted while kubelet is down".
This fixes a test failure in https://testgrid.k8s.io/sig-storage-kubernetes#gce-serial
2021-10-14 10:59:03 +02:00
Mengjiao Liu
19e8852154
[go1.17] Update to go1.17.2
2021-10-14 16:15:51 +08:00
Kubernetes Prow Robot
548e37278c
Merge pull request #105313 from giuseppe/fix-flaky-pagefaults-summary-test
...
test, cgroupv2: adjust pagefaults test
2021-10-14 00:13:30 -07:00
Kubernetes Prow Robot
68f404b38f
Merge pull request #105636 from pohly/generic-ephemeral-volume-metrics-tests
...
storage e2e: check metrics also for generic ephemeral volumes
2021-10-13 20:27:27 -07:00
Kubernetes Prow Robot
894ceb63d0
Merge pull request #105003 from swatisehgal/getallocatable-to-beta
...
podresource-api: getAllocatableResources to Beta
2021-10-13 17:43:27 -07:00
Mike Dame
41fcb95f2f
Wire contexts to Apps controllers
2021-10-13 16:32:13 -04:00
Patrick Ohly
3df4cc67de
storage e2e: check metrics also for generic ephemeral volumes
...
It shouldn't make any difference, but it's better to actually test that
assumption.
All existing tests which create pods get converted by skipping the explicit PVC
creation for the ephemeral case and instead modifying the test pod so that it
has a volume claim template with the same spec as the PVC.
2021-10-12 20:29:49 +02:00
Kubernetes Prow Robot
3271dff7b4
Merge pull request #105535 from soltysh/apps_cleanup
...
Move test utils where they belong
2021-10-12 08:11:48 -07:00
Maciej Szulik
8322121434
Move test-related utils to test/utils
2021-10-12 14:52:19 +02:00
Dave Chen
1500a5ca80
Simplify the integration test by removing the struct of nodeConfig
...
Signed-off-by: Dave Chen <dave.chen@arm.com>
2021-10-12 17:46:38 +08:00
Kubernetes Prow Robot
c2cbf5ff49
Merge pull request #105509 from ravisantoshgudimetla/fix-integration
...
[scheduler] [test]: Fix PreferNominatedNode test
2021-10-11 20:01:46 -07:00
Kubernetes Prow Robot
f83b16d93d
Merge pull request #105052 from leiyiz/skip-storage-test
...
tag ginkgo tests affected by pdcsi migration for skipping
2021-10-11 13:09:02 -07:00
Patrick Ohly
a8c930ef46
generic ephemeral volume: graduation to GA
...
The feature gate gets locked to "true", with the goal to remove it in two
releases.
All code now can assume that the feature is enabled. Tests for "feature
disabled" are no longer needed and get removed.
Some code wasn't using the new helper functions yet. That gets changed while
touching those lines.
2021-10-11 20:54:20 +02:00
Paco Xu
abd13b131c
test fix: check correct subresource patch path
2021-10-11 10:14:19 +08:00
Léiyì Zhang
822cc33955
tag ginkgo tests affected by pdcsi migration for skipping and add storageclass check for statefulset and upgrade tests
2021-10-09 17:33:56 +00:00
Claudiu Belu
76d20c5bce
tests: Use E2E framework deployments
...
Deployments can be created easier with the NewDeployment
found in test/e2e/framework/deployment.
2021-10-09 06:11:07 -07:00
Kubernetes Prow Robot
835980ac67
Merge pull request #105424 from kerthcet/cleanup/remove-scheduler-policy-config
...
remove scheduler policy config
2021-10-08 10:57:23 -07:00
Kubernetes Prow Robot
76c86ce324
Merge pull request #105219 from sahilvv/ga_ttl
...
GA TTLAfterFinish
2021-10-08 09:38:59 -07:00
kerthcet
a6f695581b
remove legacy scheduler policy config, as well as associated flags policy-config-file, policy-configmap, policy-configmap-namespace and use-legacy-policy-config
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2021-10-08 23:57:49 +08:00
Kubernetes Prow Robot
63f66e6c99
Merge pull request #105012 from fromanirh/cpumanager-policy-options-beta
...
node: graduate CPUManagerPolicyOptions to beta
2021-10-08 07:32:59 -07:00
Kubernetes Prow Robot
2face135c7
Merge pull request #97415 from AlexeyPerevalov/ExcludeSharedPoolFromPodResources
...
Return only isolated cpus in podresources interface
2021-10-08 05:58:58 -07:00
Kubernetes Prow Robot
60ab733932
Merge pull request #105546 from Huang-Wei/fix-evt-volumebinding
...
sched: adjust events to register for VolumeBinding plugin
2021-10-08 02:12:57 -07:00
Kubernetes Prow Robot
dd650bd41f
Merge pull request #105527 from rphillips/fixes/filter_terminated_pods
...
kubelet: set terminated podWorker status for terminated pods
2021-10-07 22:19:51 -07:00
Ryan Phillips
3982fcae64
go fmt
2021-10-07 20:13:43 -05:00
Sahil Vazirani
3988405c8d
GA TTLAfterFinish
2021-10-07 16:58:50 -07:00
Elana Hashman
c771698de3
Add e2e test to verify kubelet restart behaviour
...
Succeeded pods should not be counted as running on restart.
2021-10-07 18:30:17 -05:00
Kubernetes Prow Robot
956da16a8d
Merge pull request #105344 from jonyhy96/add-benchmark-test
...
add benchmark test for replaceRegistryInImageURLWithList
2021-10-07 14:21:32 -07:00
Francesco Romani
d15bff2839
e2e: node: expose the running
flag
...
Each e2e test knows it wants to restart a running kubelet or a
non-running kubelet. The vast majority of times, we want to
restart a running kubelet (e.g. to change config or to check
some properties hold across kubelet crashes/restarts), but sometimes
we stop the kubelet, do some actions and only then restart.
To accomodate both use cases, we just expose the `running` boolean
flag to the e2e tests.
Having the `restartKubelet` explicitly restarting a running kubelet
helps us to trobuleshoot e2e failures on which the kubelet
was supposed to be running, while it was not; attempting a restart
in such cases only murkied the waters further, making the
troubleshooting and the eventual fix harder.
In the happy path, no expected change in behaviour.
Signed-off-by: Francesco Romani <fromani@redhat.com>
2021-10-07 22:15:28 +02:00
Francesco Romani
e878c20ac7
e2e: node: improve error logging
...
In the `restartKubelet` helper, we use `exec.Command`, whose
return value is the output as the command, but as `[]byte`.
The way we logged the output of the command was as value, making
the output, meant to be human readable, unnecessarily hard to read.
We fix this annoying behaviour converting the output to string before
to log it out, making pretty obvious to understand the outcome of
the command.
Signed-off-by: Francesco Romani <fromani@redhat.com>
2021-10-07 22:13:49 +02:00
Kubernetes Prow Robot
9b45983d3c
Merge pull request #104251 from ravisantoshgudimetla/scheduling-v1beta3
...
Scheduling v1beta3
2021-10-07 10:47:32 -07:00
Wei Huang
b7d90ca991
sched: adjust events to register for VolumeBinding plugin
2021-10-07 08:51:04 -07:00
ravisantoshgudimetla
283b176102
[test]: modify integration tests to use v1beta3
2021-10-07 10:58:07 -04:00
Swati Sehgal
5043b431b4
excludesharedpool: e2e tests: Test cases for pods with non-integral CPUs
...
Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
2021-10-07 15:39:41 +01:00
Swati Sehgal
42dd01aa3f
excludesharedpool: e2e tests: code refactor to handle non-integral CPUs
...
This patch changes cpuCount to cpuRequest in order to cater to cases
where guaranteed pods make non-integral CPU Requests.
Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
2021-10-07 15:39:40 +01:00
Kubernetes Prow Robot
c4d802b0b5
Merge pull request #103289 from AlexeyPerevalov/DoNotExportEmptyTopology
...
podresources: do not export empty NUMA topology
2021-10-07 07:11:46 -07:00
Yaakov Selkowitz
acaa24b254
Enable more test images for s390x
2021-10-07 01:25:55 -04:00
Yaakov Selkowitz
82920d99f8
Fix build of apparmor-loader test image
...
apparmor is no longer found in Alpine edge/testing but in
edge/community, presumably in preparation for full-fledged inclusion in
3.15. If so, once that is released, BASEIMAGE can be updated again and
the explicit --repository flag to 'apk add' dropped.
Fixes: https://github.com/kubernetes/kubernetes/issues/105528
2021-10-07 01:25:49 -04:00
Kubernetes Prow Robot
79ee735bad
Merge pull request #105337 from Huang-Wei/pr-105303
...
sched: integration test to cover event registration
2021-10-06 19:53:56 -07:00
Kubernetes Prow Robot
c20ff9839e
Merge pull request #97045 from claudiubelu/tests-windows-containerd-enabled
...
tests: Enable some [LinuxOnly] tests for Windows Containerd
2021-10-06 19:53:45 -07:00
Wei Huang
3283e6bb72
sched: integration test to cover event registration
2021-10-06 15:17:38 -07:00
ravisantoshgudimetla
9476237923
[scheduler] [test]: Fix PreferNominatedNode test
...
Once the node gets deleted, the nodelifecycle controller
is racing to update pod status and the pod deletion logic
is failing causing tests to flake. This commit moves
the testContext creation to within the test loop and deletes nodes,
namespace within the test loop. We don't explicitly call the node
deletion within the loop but the `testutils.CleanupTest(t, testCtx)`
call ensures that the namespace, nodes gets deleted.
2021-10-06 09:07:16 -04:00
Swati Sehgal
9337902648
podresource: move the checkForTopology logic inline
...
As per the recommendation here: https://github.com/kubernetes/kubernetes/pull/103289#pullrequestreview-766949859
we move the check inline.
Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
2021-10-06 11:31:48 +01:00
Kubernetes Prow Robot
4af19756bd
Merge pull request #105217 from dbgoytia/refactor/102787-enable-block-tests
...
Refactoring TestConcurrentAccessToRelatedVolumes for enabling Block Volume tests
2021-10-05 14:18:57 -07:00
Kubernetes Prow Robot
907d62eac8
Merge pull request #105462 from ehashman/merge-terminal-phase
...
Ensure terminal pods maintain terminal status
2021-10-05 13:12:58 -07:00
Elana Hashman
f9a827b895
Fix bugs in e2e pod test
...
- Update test to account for late synced statuses
- Terminated containers are not running
- Add missing format values to test logline
2021-10-05 11:51:12 -07:00
Kubernetes Prow Robot
c4c3062c07
Merge pull request #102333 from mcbenjemaa/fix/102295
...
Add Log statement in exec_util.go for ClientSet Creation
2021-10-05 11:21:53 -07:00
Kubernetes Prow Robot
b28bf04cd0
Merge pull request #105468 from ehashman/missing-format-values
...
Add missing format values to test logline
2021-10-05 09:23:40 -07:00
Kubernetes Prow Robot
b4a0342714
Merge pull request #105388 from mauriciopoppe/copy-volumesnapshotcontent-annotations
...
Copy VolumeSnapshotContent annotations in snapshottable.go test
2021-10-05 09:23:33 -07:00
Giuseppe Scrivano
f23e2a8c7f
test, cgroupv2: adjust pagefaults test
...
on cgroup v2 the reported metric is recursive and it includes all the
sub cgroups.
Closes: https://github.com/kubernetes/kubernetes/issues/105301
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2021-10-05 18:00:57 +02:00
Kubernetes Prow Robot
519b164db1
Merge pull request #105222 from cyclinder/remove_node_lease_GA
...
remove nodeLease feature GA
2021-10-05 05:41:21 -07:00
Kubernetes Prow Robot
c5ad58d8a1
Merge pull request #103372 from verb/1.22-e2e-node
...
Create node_e2e test for ephemeral containers
2021-10-05 05:41:09 -07:00
Danielle Lancashire
742d3d36f5
e2e_node: cleanup features in podresources
2021-10-05 14:39:59 +02:00
Danielle Lancashire
f28dd90810
e2e_node: NodeGracefulShutdown is a Beta feature
2021-10-05 14:39:59 +02:00
Danielle Lancashire
71e6d9cbe0
e2e_node: remove no-op config change from critical_pod_test
2021-10-05 10:36:32 +02:00
Danielle Lancashire
8b1b06c507
e2e_node: Remove KubeletPodResources enablement as it is a default gate
2021-10-05 10:26:10 +02:00
Author cyclinder
e61b901628
remove nodeLease feature GA
...
Signed-off-by: cyclinder <qifeng.guo@daocloud.io>
2021-10-05 12:23:27 +08:00
Claudiu Belu
f7cf747e48
tests: Wait for pod collection to enter a Running state
...
While running tests in parallel, especially those with higher loads
than others, it might take some time for Pods to be Running, even more
so if the image has to be pulled as well.
The test [sig-node] Pods should delete a collection of pods [Conformance]
only waits for the for the pods to be scheduled before deleting them, and
expects them to be gone in 1 minute, which can flake because of the above
reasons. Note that the operations are in order, and kubelet runs them in
order, which means that the pod first has to enter the Running state
before attempting to delete it.
This commit waits for the Pods to enter the Running state first before
deleting the entire collection.
Co-Authored-By: Antonio Ojea <aojea@redhat.com>
2021-10-04 20:42:16 -07:00
Kubernetes Prow Robot
0a29e2a73a
Merge pull request #105197 from alculquicondor/job-tracking
...
Roll-forward: Beta requirements for JobTrackingWithFinalizers
2021-10-04 18:57:49 -07:00
Kubernetes Prow Robot
9eaabb6b2e
Merge pull request #104304 from endocrimes/dani/eviction
...
[Failing Test] Fix Kubelet Storage Eviction Tests
2021-10-04 15:16:40 -07:00
Kubernetes Prow Robot
70d1360ab8
Merge pull request #105103 from tkashem/extend-audit-policy
...
apiserver: refactor PolicyRuleEvaluator interface
2021-10-04 14:12:40 -07:00
Elana Hashman
7bbf40f1cc
Add missing format values to test logline
2021-10-04 13:44:15 -07:00
Kubernetes Prow Robot
04f747d09f
Merge pull request #104782 from kerthcet/cleanup/remove-cc-v1beta1
...
remove scheduler component config v1beta1
2021-10-04 08:53:08 -07:00
Lee Verberne
2a82228e33
Apply suggestions from code review
...
Co-authored-by: Sergey Kanzhelev <S.Kanzhelev@live.com>
2021-10-04 15:07:37 +02:00
Kubernetes Prow Robot
f31453fe5b
Merge pull request #104894 from pacoxu/windows-arm
...
add windows arm support on client-side since go 1.17 supports
2021-10-04 04:19:07 -07:00
Danielle Lancashire
7b91337068
e2e_node: eviction: Include names of pending-eviction pods in error
2021-10-04 13:07:40 +02:00
Danielle Lancashire
b5c2d3b389
e2e_node: eviction: Memory-backed Volumes seperation
...
This commit fixes the LocalStorageCapacityIsolationEviction test by
acknowledging that in its default configuration kubelet will no-longer
evict memory-backed volume pods as they cannot use more than their
assigned limit with SizeMemoryBackedVolumes enabled.
To account for the old behaviour, we also add a test that explicitly
disables the feature to test the behaviour of memory backed local
volumes in those scenarios. That test can be removed when/if the feature
gate is removed.
2021-10-04 13:07:40 +02:00
Danielle Lancashire
a8168ed543
e2e_node: Fix LocalStorage and PriorityLocalStorage eviction tests
...
Currently the storage eviction tests fail for a few reasons:
- They re-enter storage exhaustion after pulling the images during
cleanup (increasing test storage reqs, and adding verification for
future diagnosis)
- They were timing out, as in practice it seems that eviction takes just
over 10 minutes on an n1-standard in many cases. I'm raising these to
15 to provide some padding.
This should ideally bring these tests to passing on CI, as they've now
passed locally for me several times with the remote GCE env.
Follow up work involves diagnosing why these take so long, and
restructuring them to be less finicky.
2021-10-04 13:07:40 +02:00
Kubernetes Prow Robot
82da9bdaab
Merge pull request #105076 from pohly/log-flush-frequency-bug
...
initialize logging after flag parsing + refactor commands
2021-10-01 14:30:18 -07:00
Kubernetes Prow Robot
e414cf7641
Merge pull request #100482 from pohly/generic-ephemeral-volume-checks
...
generic ephemeral volume checks
2021-10-01 10:47:22 -07:00
Swati Sehgal
01dacd0463
podresource-api: getAllocatableResources to Beta
...
Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
2021-10-01 16:48:29 +01:00
Patrick Ohly
1e26115df5
consider ephemeral volumes for host path and node limits check
...
When adding the ephemeral volume feature, the special case for
PersistentVolumeClaim volume sources in kubelet's host path and node
limits checks was overlooked. An ephemeral volume source is another
way of referencing a claim and has to be treated the same way.
2021-10-01 17:03:44 +02:00
Aldo Culquicondor
95c2a8024c
Parallelize pod updates in job test
...
To potentially reduce the number of job controller syncs.
Also reduce the maximum number of pods to sync in tests.
2021-10-01 09:55:53 -04:00
Jordan Liggitt
11c2674ec2
Fix CSR test to accept certs shorter than the requested duration
2021-10-01 09:14:54 -04:00
Kubernetes Prow Robot
1d5349df0c
Merge pull request #103359 from m14815/commit-21.6.4
...
Remove Redundant type conversion
2021-10-01 04:19:22 -07:00
Kubernetes Prow Robot
b15f37ef22
Merge pull request #103391 from tanjing2020/runtimeclass
...
[e2e] Add description of use case “storage version with non-existing id should be GC'ed” execution conditions
2021-09-30 17:29:21 -07:00
Mauricio Poppe
e89704dbb1
Copy VolumeSnapshotContent annotations in snapshottable.go test
2021-09-30 23:43:21 +00:00
Patrick Ohly
1957fb6508
command lines: harmonize command line parse error handling
...
The recommendation from #sig-cli was to print usage, then the error. Extra care
is taken to only print the usage instruction when the error really was about
flag parsing.
Taking kube-scheduler as example:
$ _output/bin/kube-scheduler
I0929 09:42:42.289039 149029 serving.go:348] Generated self-signed cert in-memory
...
W0929 09:42:42.489255 149029 client_config.go:620] error creating inClusterConfig, falling back to default config: unable to load in-cluster configuration, KUBERNETES_SERVICE_HOST and KUBERNETES_SERVICE_PORT must be defined
E0929 09:42:42.489366 149029 run.go:98] "command failed" err="invalid configuration: no configuration has been provided, try setting KUBERNETES_MASTER environment variable"
$ _output/bin/kube-scheduler --xxx
Usage:
kube-scheduler [flags]
...
--vmodule moduleSpec
comma-separated list of pattern=N settings for file-filtered logging
Error: unknown flag: --xxx
The kubectl behavior doesn't change:
$ _output/bin/kubectl get nodes
Unable to connect to the server: dial tcp: lookup xxxx: No address associated with hostname
$ _output/bin/kubectl --xxx
Error: unknown flag: --xxx
See 'kubectl --help' for usage.
2021-09-30 13:46:49 +02:00
Patrick Ohly
21d1bcd6b8
initialize logging after flag parsing
...
It wasn't documented that InitLogs already uses the log flush frequency, so
some commands have called it before parsing (for example, kubectl in the
original code for logs.go). The flag never had an effect in such commands.
Fixing this turned into a major refactoring of how commands set up flags and
run their Cobra command:
- component-base/logs: implicitely registering flags during package init is an
anti-pattern that makes it impossible to use the package in commands which
want full control over their command line. Logging flags must be added
explicitly now, something that the new cli.Run does automatically.
- component-base/logs: AddFlags would have crashed in kubectl-convert if it
had been called because it relied on the global pflag.CommandLine. This
has been fixed and kubectl-convert now has the same --log-flush-frequency
flag as other commands.
- component-base/logs/testinit: an exception are tests where flag.CommandLine has
to be used. This new package can be imported to add flags to that
once per test program.
- Normalization of the klog command line flags was inconsistent. Some commands
unintentionally didn't normalize to the recommended format with hyphens. This
gets fixed for sample programs, but not for production programs because
it would be a breaking change.
This refactoring has the following user-visible effects:
- The validation error for `go run ./cmd/kube-apiserver --logging-format=json
--add-dir-header` now references `add-dir-header` instead of `add_dir_header`.
- `staging/src/k8s.io/cloud-provider/sample` uses flags with hyphen instead of
underscore.
- `--log-flush-frequency` is not listed anymore in the --logging-format flag's
`non-default formats don't honor these flags` usage text because it will also
work for non-default formats once it is needed.
- `cmd/kubelet`: the description of `--logging-format` uses hyphens instead of
underscores for the flags, which now matches what the command is using.
- `staging/src/k8s.io/component-base/logs/example/cmd`: added logging flags.
- `apiextensions-apiserver` no longer prints a useless stack trace for `main`
when command line parsing raises an error.
2021-09-30 13:46:49 +02:00
Kubernetes Prow Robot
bac45abf77
Merge pull request #105327 from julianvmodesto/kubectl-dry-run-flag-removals
...
Remove deprecated kubectl --dry-run values.
2021-09-29 13:31:21 -07:00
jonyhy
010641c849
test: add benchmark test
...
Signed-off-by: jonyhy <yun.hao@daocloud.io>
2021-09-29 17:46:11 +08:00
Francesco Romani
077c0aa1be
node: graduate CPUManagerPolicyOptions to beta
...
We graduate the `CPUManagerPolicyOptions` feature to beta
in the 1.23 cycle, and we add new experimental feature gates
to guard new options which are planned in the 1.23 and in the
following cycles.
We introduce additional feature gate called `CPUManagerPolicyAlphaOptions` and
`CPUManagerPolicyBetaOptions`. The basic idea is to avoid the
cumbersome process of adding a feature gate for each option, and to have
feature gates which track the maturity level of _groups_ of options.
Besides this change, the graduation process, and the process in general,
for adding new policy options is still unchanged.
The `full-pcpus-only` option added in the 1.22 cycle is intentionally
moved into the beta policy options
For more details:
- KEP: https://github.com/kubernetes/enhancements/pull/2933
- sig-arch discussion:
https://groups.google.com/u/1/g/kubernetes-sig-architecture/c/Nxsc7pfe5rw
Signed-off-by: Francesco Romani <fromani@redhat.com>
2021-09-29 11:40:03 +02:00
Kubernetes Prow Robot
32fefd5580
Merge pull request #105048 from mauriciopoppe/fix-double-storage-class-setup
...
Remove a duplicate StorageClass creation call
2021-09-28 23:36:48 -07:00
Julian V. Modesto
e0b7a85ee5
Remove deprecated kubectl --dry-run values.
...
The boolean values for --dry-run have been deprecated for removal since
1.18, more than 2 releases.
The default value for --dry-run with the flag set and unspecified has
been deprecated for removal since 1.18, more than 2 releases.
Both values are now removed in this change. Any kubectl --dry-run
usage no longer accepts --dry-run=(true|false) boolean values and usage
now requires that a value of (client|server|none) is specified.
2021-09-28 10:21:04 -04:00
Kubernetes Prow Robot
2ba872513d
Merge pull request #105283 from ricky-rav/dev_BZ_1997235
...
add NET_RAW capability to server container in "should drop INVALID conntrack entries" e2e test
2021-09-28 02:28:42 -07:00
Riccardo Ravaioli
d97a1b8d63
add NET_RAW capability to server container in "should drop INVALID conntrack entries" test
...
The boom-server container forges out-of-order TCP packets and injects them into the network. This requires the container to have the CAP_NET_RAW linux capability, otherwise the test will fail.
Signed-off-by: Riccardo Ravaioli <rravaiol@redhat.com>
2021-09-28 08:50:55 +02:00
kerthcet
75a255d2ed
remove scheduler component config v1beta1
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2021-09-28 13:13:17 +08:00
Kubernetes Prow Robot
7c1e37ef27
Merge pull request #104803 from bobbypage/runtimeclass-skip
...
Skip runtimeclass test unless provider GCE
2021-09-27 12:49:45 -07:00
Kubernetes Prow Robot
48d844ec64
Merge pull request #104483 from margocrawf/master
...
Add UID to client-go impersonation config
2021-09-27 07:33:36 -07:00
Lee Verberne
da8ddb7485
Create node_e2e test for ephemeral containers
2021-09-27 13:13:33 +02:00
Kubernetes Prow Robot
d385d0602a
Merge pull request #105158 from justaugustus/its-a-bullseye
...
releng: Update build images to Debian 11 (Bullseye)
2021-09-26 23:14:23 -07:00
ishangupta-ds
4353365aa9
updated errors pkg to fmt for test/e2e/network/netopol test_helper
...
Signed-off-by: ishangupta-ds <ishangupta.ds@gmail.com>
2021-09-26 10:50:38 +05:30
Khaled Henidak (Kal)
a53e2eaeab
move IPv6DualStack feature to stable. ( #104691 )
...
* kube-proxy
* endpoints controller
* app: kube-controller-manager
* app: cloud-controller-manager
* kubelet
* app: api-server
* node utils + registry/strategy
* api: validation (comment removal)
* api:pod strategy (util pkg)
* api: docs
* core: integration testing
* kubeadm: change feature gate to GA
* service registry and rest stack
* move feature to GA
* generated
2021-09-24 16:30:22 -07:00
Margo Crawford
d9ddfb26e1
Introduces Impersonate-Uid to client-go.
...
* Updates ImpersonationConfig in rest/config.go to include UID
attribute, and pass it through when copying the config
* Updates ImpersonationConfig in transport/config.go to include UID
attribute
* In transport/round_tripper.go, Set the "Impersonate-Uid" header in
requests based on the UID value in the config
* Update auth_test.go integration test to specify a UID through the new
rest.ImpersonationConfig field rather than manually setting the
Impersonate-Uid header
Signed-off-by: Margo Crawford <margaretc@vmware.com>
2021-09-24 14:06:30 -07:00
Diego Goytia
de969ae2bf
Testing GenerateReadBlockCmd for enabling block volume tests.
2021-09-24 18:50:21 +00:00
Kubernetes Prow Robot
86d23cf441
Merge pull request #105206 from pohly/test-integration-help
...
test/integration: skip etcd startup for -help flag
2021-09-24 10:29:23 -07:00
Aaron Crickenberger
42a955b3ae
use k8s-staging-test-infra/gcb-docker-gcloud
2021-09-24 06:54:40 -07:00
Abu Kashem
a748fdc677
apiserver: refactor PolicyRuleEvaluator to return a struct
2021-09-24 08:08:32 -04:00
Patrick Ohly
81b4a695b3
test/integration: skip etcd startup for -help flag
...
By parsing flags in the test's main function before starting etcd we bail out
early without ever starting etcd when the test was invoked with -help.
Otherwise etcd must be available, gets started and then hangs because
flag.Parse itself exits when called by testing.go. This bypasses the code in
EtcdMain which normally stops etcd.
2021-09-24 11:51:58 +02:00
Kubernetes Prow Robot
e5c4defa8e
Merge pull request #103370 from verb/1.22-cleanup-shareprocesses-e2e
...
Remove ShareProcessNamespace tags from e2e_node tests
2021-09-23 10:11:14 -07:00
Aldo Culquicondor
47a957d163
Revert "Revert "Limit number of Pods counted in a single Job sync""
...
This reverts commit 8bcb780808
.
2021-09-23 12:56:29 -04:00
Jan Chaloupka
b3249a1b39
e2e scheduling priorities: do not reference control loop variable
...
Otherwise, nodeNameToPodList[nodeName] list will have all its references
identical (corresponding to the control variable reference).
Thus, making all the pods in the list identical.
2021-09-23 13:08:03 +02:00
Kubernetes Prow Robot
686379281d
Merge pull request #97665 from heqg/unused-function-NewSingleContentTypeSerializer
...
remove unused function of NewSingleContentTypeSerializer
2021-09-21 22:16:00 -07:00
Kubernetes Prow Robot
857d4c107c
Merge pull request #104808 from chendave/indent
...
Format json file with proper indentation
2021-09-21 19:14:00 -07:00
Kubernetes Prow Robot
76c0573ff4
Merge pull request #105181 from alculquicondor/revert
...
Revert #104739
2021-09-21 16:54:00 -07:00
Kubernetes Prow Robot
92ddd4dcd6
Merge pull request #103906 from pacoxu/unsafe-e2e-test
...
sysctl-test: use status reason check instead of events check
2021-09-21 15:20:18 -07:00
Aldo Culquicondor
8bcb780808
Revert "Limit number of Pods counted in a single Job sync"
...
This reverts commit 7d9cb88fed
.
2021-09-21 15:16:50 -04:00
Kubernetes Prow Robot
40c9203472
Merge pull request #105171 from liggitt/gomodule-staticcheck
...
Make staticcheck package-compatible
2021-09-21 10:34:23 -07:00
Jordan Liggitt
00622da45e
Make staticcheck package-compatible
2021-09-21 12:19:57 -04:00
Madhav Jivrajani
fed2ec99c6
migrate k8s.io/apimachinery/util/clock -> k8s.io/utils/clock
...
Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
2021-09-21 15:54:44 +05:30
Stephen Augustus
1a15eeef38
test/conformance/image: Update runner image to base-debian11
...
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-09-20 21:05:06 -04:00
Stephen Augustus
531eb712c2
releng: Update build images to Debian 11 (Bullseye)
...
- debian-base:bullseye-v1.0.0
- debian-iptables:bullseye-v1.0.0
- go-runner:v2.3.1-go1.17.1-bullseye.0
- kube-cross:v1.23.0-go1.17.1-bullseye.0
- setcap:bullseye-v1.0.0
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-09-20 20:51:32 -04:00
Kubernetes Prow Robot
c4587a62f9
Merge pull request #105143 from aojea/netexec_optional_listen
...
agnhost: allow to disable udp listener on netexec
2021-09-20 16:10:22 -07:00
Kubernetes Prow Robot
dde200478a
Merge pull request #105145 from aojea/fix_host_internal
...
avoid hostNetwork pods conflict binding UDP ports
2021-09-20 15:02:45 -07:00
Kubernetes Prow Robot
3e985b7af6
Merge pull request #104916 from pohly/storage-e2e-owners
...
e2e storage: update OWNERS
2021-09-20 12:46:37 -07:00
Kubernetes Prow Robot
06796b7c7c
Merge pull request #104863 from pohly/restore-volume-life-cycle-check
...
e2e: restore volume lifecycle check for most tests
2021-09-20 12:46:24 -07:00
Antonio Ojea
b55e6f2cd0
avoid hostNetwork pods conflict binding UDP ports
...
The agnhost pods using netexec will bind by default to the UDP
port 8081, use a different port for hostNetwork pods to avoid
scheduling conflicts and fail the tests.
2021-09-20 09:54:23 +02:00
Antonio Ojea
2bf38ed86b
agnhost: allow to disable udp listener on netexec
...
There are some tests that doesn't need the UDP listener, so they
can disable it.
This is specially needed for tests that use hostNetwork pods, if 2
pods try to bind to the same port, the test will fail because one
of the pod can't be scheduled because of the port conflict.
To keep backwards compatibility, we can add an option to disable
the UDP listener by setting the port number to -1, that is consistent
with the SCTP implementation.
2021-09-20 09:44:20 +02:00
Wei Huang
d7bf9d724f
Provide a timeout function to fail quick on blocking operations
...
It works like the Linux `timeout` utility.
2021-09-17 10:23:06 -07:00
Kubernetes Prow Robot
399656369f
Merge pull request #104739 from alculquicondor/job-tracking
...
Beta requirements for JobTrackingWithFinalizers
2021-09-17 04:57:00 -07:00
Kubernetes Prow Robot
47f381ba5e
Merge pull request #105083 from MrHohn/fix-autoscaler-test-value
...
Fix core calculation for dns autoscaler test.
2021-09-16 20:41:01 -07:00
Wei Huang
a689ad4cda
sched: start dynamicInformerFactory along with regular informerFactory ( #105016 )
...
* sched: start dynamicInformerFactory along with regular informerFactory
* fixup: start all informers and then wait for their syncs
2021-09-16 19:33:00 -07:00
Kubernetes Prow Robot
2f10e6587c
Merge pull request #105079 from aramase/remove-dualstack-test
...
test(dualstack): remove should have ipv4 and ipv6 node podCIDRs test
2021-09-16 17:19:00 -07:00
Zihong Zheng
93e59220c5
Fix core calculation for dns autoscaler test.
...
It didn't account for the return value being a string instead of an
integer.
2021-09-16 14:26:51 -07:00
Kubernetes Prow Robot
51384aa77e
Merge pull request #104847 from smarterclayton/worker_uid_reuse
...
kubelet: Handle UID reuse in pod worker
2021-09-16 11:35:37 -07:00
Anish Ramasekar
9de9c99093
test(dualstack): remove should have ipv4 and ipv6 node podCIDRs test
...
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2021-09-16 18:25:20 +00:00
h4ghhh
0734820279
'New' Event namespace validate failed ( #100125 )
2021-09-16 04:29:45 -07:00
Mauricio Poppe
144e6432cf
Remove a duplicate StorageClass creation call
...
The issue on both tests is that before the refactor we had a method that
was creating the `StorageClass` manifest only, this manifest was used
later to be created by `TestBindingWaitForFirstConsumerMultiPVC`, after
the refactor we're ensuring that the `StorageClass` exists as a resource
before calling `TestBindingWaitForFirstConsumerMultiPVC` however this
method is still attempting to create it, that's the reason behind the
error: `resourceVersion should not be set on objects to be created
This issue wasn't caught before because
`TestBindingWaitForFirstConsumerMultiPVC` is creating the StorageClass
without the common utility function, the solution is to remove the
snippet that attempts to create the StorageClass againo
2021-09-15 19:09:35 +00:00
Elana Hashman
47086a6623
Add test for recreating a static pod
2021-09-15 14:01:48 -04:00
atiratree
2cad64db80
add StatefulSet MinReadySeconds e2e test
2021-09-15 13:32:38 +02:00
David Porter
4b056a615a
Skip runtimeclass test unless provider GCE
...
This test case requires special test-handler setup which is only done
for gce clusters created by kube-up scripts. Let's skip the test when
run under other providers.
2021-09-14 13:23:09 -07:00
Kubernetes Prow Robot
af551a3b22
Merge pull request #105006 from Riaankl/Riaankl-change-upper_case-to-lower_case
...
update ineligible_endpoints removing upper case `Endpoint` to `endpoint`
2021-09-14 11:30:05 -07:00
Kubernetes Prow Robot
c7074017f7
Merge pull request #104948 from ishangupta-ds/test-conf-update
...
update github.com/pkg/errors in test/conformance/image/go-runner/ with native go pkg
2021-09-14 10:21:08 -07:00
Riaan Kleinhans
e675e74ce5
update ineligible_endpoints removing upper case
2021-09-15 02:05:08 +12:00
Carlos Panato
132c7066e0
[go1.17] Update to go1.17.1
...
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2021-09-14 13:04:25 +02:00
ishangupta-ds
c6b82bddd6
removing usage of github.com/pkg/errors from test/conformance/image/go-runner/ directory
...
Signed-off-by: ishangupta-ds <ishangupta.ds@gmail.com>
formatted using gofmt script
Signed-off-by: ishangupta-ds <ishangupta.ds@gmail.com>
adding nil check for error
Signed-off-by: ishangupta-ds <ishangupta.ds@gmail.com>
adding nil check for errors
Signed-off-by: ishangupta-ds <ishangupta.ds@gmail.com>
formatted
Signed-off-by: ishangupta-ds <ishangupta.ds@gmail.com>
2021-09-14 08:39:00 +05:30
Kubernetes Prow Robot
047a6b9f86
Merge pull request #104874 from wojtek-t/migrate_clock_1
...
Unify towards k8s.io/utils/clock - part 1
2021-09-13 19:09:20 -07:00
Kubernetes Prow Robot
c79f7c1add
Merge pull request #104711 from claudiubelu/update-pause-3.6
...
update pause image references to use 3.6
2021-09-13 19:09:08 -07:00
Kubernetes Prow Robot
06ec11d71b
Merge pull request #104883 from aojea/service_finalizer_delete
...
Add integration test for Services Finalizes Racing with the Repair Loop
2021-09-13 18:01:20 -07:00
Kubernetes Prow Robot
cdcf2a239e
Merge pull request #104399 from tkashem/apf-v1beta2
...
apf: introduce v1beta2
2021-09-13 18:01:08 -07:00
Kubernetes Prow Robot
5cbe2656c5
Merge pull request #104978 from Riaankl/Riaankl-update-ineligible_enpoint-RBAC
...
Update ineligible_endpoint.yaml to include RBAC
2021-09-13 15:44:11 -07:00
Antonio Ojea
7c12daed0f
move repair loop interval to a constant
...
use Extraconfig to configure the repair interval
and add an integration test for services finalizers, and
possible races with the services repair loop.
2021-09-13 23:54:19 +02:00
Kubernetes Prow Robot
abd83afaec
Merge pull request #104970 from PushkarJ/update-debian-iptables
...
Update debian-iptables to pick CVE fixes
2021-09-13 14:34:14 -07:00
Kubernetes Prow Robot
62a6df9e0b
Merge pull request #104045 from ravisantoshgudimetla/promote-minReadySec-sts-beta
...
Promote min ready sec sts beta
2021-09-13 14:33:50 -07:00
Kubernetes Prow Robot
caf853b596
Merge pull request #104696 from PushkarJ/bump-conformance-images
...
Update conformance image to use debian-base:buster-v1.9.0
2021-09-13 13:28:02 -07:00
Riaan Kleinhans
6fa2859bf5
Update ineligible_endpoint.yaml to include RBAC
2021-09-14 08:02:49 +12:00
Pushkar Joglekar
64938ea160
Update debian-iptables to pick CVE fixes
...
- This image has fixes for CVE-2021-3711, CVE-2021-3712
- This will allow kube-proxy to be built on newer base image
which has fixes for these CVEs
2021-09-13 11:13:08 -07:00
Pushkar Joglekar
8ed31517ff
Bump conformance images to use debian:buster-v1.9.0
...
- Debian base used was older (v2.1.3) missing multiple fixed CVEs
- Minor update to distroless debian image name to explicitly point
to debian 10
- Debian base image now points to buster-1.9.0
2021-09-13 09:22:36 -07:00
Francesco Romani
54c7d8fbb1
e2e: TM: add option to fail instead of skip
...
The Topology Manager e2e tests wants to run on real multi-NUMA system
and want to consume real devices supported by device plugins; SRIOV
devices happen to be the most commonly available of such devices.
CI machines aren't multi NUMA nor expose SRIOV devices, so the biggest portion
of the tests will just skip, and we need to keep it like this until we
figure out how to enable these features.
However, some organizations can and want to run the testsuite on bare metal;
in this case, the current test will skip (not fail) with misconfigured
boxes, and this reports a misleading result. It will be much better to
fail if the test preconditions aren't met.
To satisfy both needs, we add an option, controlled by an environment
variable, to fail (not skip) if the machine on which the test run
doesn't meet the expectations (multi-NUMA, 4+ cores per NUMA cell,
expose SRIOV VFs).
We keep the old behaviour as default to keep being CI friendly.
Signed-off-by: Francesco Romani <fromani@redhat.com>
2021-09-13 13:23:36 +02:00
Patrick Ohly
2d2ec0e088
storage: update OWNERS and ALIASES
...
This removes several people who are no longer active with reviews and adds
myself as owner and reviewer.
2021-09-13 07:54:25 +02:00
Tim Hockin
d30ae6a5ab
Svc REST: Make ipFamilyPolicy authoritative
...
Previously we would try to infer the `ipFamilyPolicy` from `clusterIPs`
and/or `ipFamilies`. That is too tricky. Now you MUST specify
`ipFamilyPolicy` as one of the dual-stack options in order to get a
dual-stack service.
2021-09-11 11:30:01 -07:00
Kubernetes Prow Robot
6b21e064be
Merge pull request #104917 from vinayakankugoyal/e2e
...
Skip externalips service tests if admission controller to deny externalip services is enabled.
2021-09-10 19:08:06 -07:00
Kubernetes Prow Robot
b47f8263e1
Merge pull request #104858 from pohly/generic-ephemeral-volume-intree-tests
...
e2e: enable generic ephemeral inline volume also for in-tree drivers
2021-09-10 14:49:01 -07:00
Vinayak Goyal
b3c23290b4
Skip service external ips tests if admission controller to deny externalip services is enabled.
2021-09-10 12:51:31 -07:00
Aldo Culquicondor
7d9cb88fed
Limit number of Pods counted in a single Job sync
...
This prevents big Jobs from starving smaller ones.
2021-09-10 10:32:04 -04:00
Kubernetes Prow Robot
5261433627
Merge pull request #104606 from endocrimes/dani/device-driver-deflake
...
[Failing Test] Fix GPU Device Driver test in kubelet-serial
2021-09-10 04:20:00 -07:00
wojtekt
53ce79a18a
Migrate to k8s.io/utils/clock in pkg/kubelet
2021-09-10 12:20:09 +02:00
Paco Xu
9a2a4f1051
add windows arm support on client-side since go 1.17 supports
2021-09-10 15:42:45 +08:00
Abu Kashem
d99497ef6d
apf: update e2e test to use v1beta2
2021-09-09 08:28:58 -04:00
Abu Kashem
e2b8701545
apf: ebable v1beta2
2021-09-09 08:28:53 -04:00
Patrick Ohly
e99b945b17
e2e: restore volume lifecycle check for most tests
...
f1e1f3a416
disable the check to work around an issue in one test. It's better to keep the
check enabled by default and only disable it for that test.
2021-09-09 10:29:37 +02:00
Patrick Ohly
468acb7418
e2e: enable generic ephemeral inline volume also for in-tree drivers
...
Previously, the ephemeral volume test suite was only enabled for CSI
drivers. By splitting the test patterns into those that work for all drivers
and the one for CSI ephemeral inline volumes it becomes possible to
define the former for all drivers and the latter only for CSI.
This increases test coverage, in particular also for migration to
CSI (https://testgrid.k8s.io/provider-gcp-compute-persistent-disk-csi-driver#Migration%20Kubernetes%20Master%20Driver%20Latest ).
2021-09-09 09:59:39 +02:00
Kubernetes Prow Robot
5990b3c76a
Merge pull request #104828 from leiyiz/mock_volume_flake
...
increasing sleep timer to 5 sec in attempt to deflake token test
2021-09-08 15:48:52 -07:00
sanposhiho
1318f74609
Fix: use Fatalf and list all unused params in one error
2021-09-09 07:34:30 +09:00
sanposhiho
6bf6e424a1
Fix: rename getParams→get
2021-09-09 07:11:36 +09:00
sanposhiho
24643c67d5
Fix: make struct un-exported
2021-09-09 07:10:37 +09:00
Léiyì Zhang
f1bfd8f8df
increasing sleep timer to 5 sec
2021-09-08 21:41:31 +00:00
Antonio Ojea
3f6f63d2a8
e2e iperf2 change threshold to 10MBps = 80 Mbps
2021-09-08 18:46:04 +02:00
Dave Chen
dda8090037
Format json file with proper indentation
...
Signed-off-by: Dave Chen <dave.chen@arm.com>
2021-09-07 16:14:34 +08:00
Danielle Lancashire
b970bb5fe0
e2e_node: Update GPU tests to reflect reality
...
In older versions of Kubernetes (at least pre-0.19, it's the earliest
this test will run unmodified on), Pods that depended on devices could be
restarted after the device plugin had been removed. Currently however,
this isn't possible, as during ContainerManager.GetResources(), we
attempt to DeviceManager.GetDeviceRunContainerOptions() which fails as
there's no cached endpoint information for the plugin type.
This commit therefore breaks apart the existing test into two:
- One active test that validates that assignments are maintained across
restarts
- One skipped test that validates the behaviour after GPUs have been
removed, in case we decide that this is a bug that should be fixed in
the future.
2021-09-06 19:03:15 +02:00
Kubernetes Prow Robot
eb729620c5
Merge pull request #99682 from chymy/fix-misspelling
...
Fix misspelling and misgrammar
2021-09-05 12:46:28 -07:00
Kubernetes Prow Robot
4aeeeffa17
Merge pull request #104458 from claudiubelu/tests/image-bumps
...
tests: Bumps image versions (Adds Windows Server 2022)
2021-09-05 09:20:28 -07:00
Kubernetes Prow Robot
5fb66a4c70
Merge pull request #104740 from oomichi/fix-error
...
Fix err of GrabFromAPIServer()
2021-09-05 07:14:28 -07:00
Kubernetes Prow Robot
4e30c058c4
Merge pull request #104290 from nak3/fix-obsolete-link
...
Update obsolete link in the Conformance Test doc
2021-09-05 04:02:39 -07:00
vikram Jadhav
c10c92bda9
changes made by introducing mockgen command
2021-09-03 17:40:11 +00:00
Kubernetes Prow Robot
81e41b7fc4
Merge pull request #104664 from aojea/apiserver_endpoints_conformance
...
fix e2e test apiserver endpoint and endpointslices
2021-09-02 18:43:49 -07:00
Kubernetes Prow Robot
4fccfb1cd7
Merge pull request #104608 from saschagrunert/typecheck-parallel
...
Reduce the number of parallel typechecks to `2`
2021-09-02 15:05:47 -07:00
Kenichi Omichi
c6ba451235
Fix err of GrabFromAPIServer()
...
If getting an error from internal funcation call, GrabFromAPIServer()
didn't return it to the caller.
This fixes it.
2021-09-02 21:31:04 +00:00
Kubernetes Prow Robot
295a8c1371
Merge pull request #104467 from khenidak/fix-104329
...
fix 104329: check for headless before trying to release the ClusterIPs
2021-09-02 10:55:39 -07:00
Kubernetes Prow Robot
8d707e5aae
Merge pull request #104570 from RyanAoh/cronjob_dev
...
integration test for cronjob with controllerv2
2021-09-02 07:42:57 -07:00
sanposhiho
cc846c9d33
Feature: check for unused template parameters
2021-09-02 01:46:34 +09:00
Kubernetes Prow Robot
9b0f560a19
Merge pull request #104391 from chendave/metric_new
...
Add the metric data for different extension points
2021-08-31 19:34:59 -07:00
Kubernetes Prow Robot
0f50c40cf7
Merge pull request #104677 from x13n/master
...
[e2e] Wait 15m after instead of before breaking nodes
2021-08-31 11:00:22 -07:00
Aohan Yang
4e190f36e3
integration test for cronjob with controllerv2
2021-08-31 21:15:10 +08:00
Daniel Kłobuszewski
9808dd9a03
Wait 15m after instead of before breaking nodes
...
15m is enough for Cluster Autoscaler to remove empty nodes, so we need
to break them sooner than that. Instead, wait 15m after breaking them to
ensure Cluster Autoscaler will consider them as unready instead of still
starting.
2021-08-31 11:37:25 +02:00
Sascha Grunert
484b027536
Remove unused --allow-gathering-profiles
e2e.test flag
...
The profile gatherer has been removed in
https://github.com/kubernetes/kubernetes/pull/85304 , so those options
are unused since then and can therefore be removed.
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2021-08-31 11:33:33 +02:00
Antonio Ojea
2a5ad65a9a
e2e test apiserver endpoint and endpointslices
...
The e2e test "should have Endpoints and EndpointSlices pointing to
the API Server Service" was veryfing the current endpoints
reconciler implementation on the apiservers, however, users may
disable the endpoint reconciler and create their own.
This e2e test is also a conformance test, so we should test the
behaviour and not the implementation details. The test verifies
that a kubernetes.default service exist, an endpoint and endpoint
slices object referencing that service exist and are equivalent.
2021-08-31 11:29:06 +02:00
Kubernetes Prow Robot
5aea99b0a2
Merge pull request #104634 from Jiawei0227/snapshotorder
...
storege e2etest: Delete restored PVC/Pod in snapshottable
2021-08-30 14:25:13 -07:00
Kubernetes Prow Robot
ff617edd32
Merge pull request #104455 from claudiubelu/test-images/windows-server-2022-part-2
...
test images: Adds Windows Server 2022 to the BASEIMAGEs (part 2)
2021-08-30 12:07:13 -07:00
Claudiu Belu
18936d4785
updates pause image references
...
The pause:3.6 image has been published.
Also updates older / incorrect references.
2021-08-29 21:50:05 -07:00
Claudiu Belu
33aa55da79
tests: Bumps image versions (Adds Windows Server 2022)
...
The Container Images for Windows Server 2022 have been published, and we can
start adding jobs for them.
The ltsc2022-based images have been built and promoted with these image versions.
2021-08-29 18:57:35 -07:00
Kubernetes Prow Robot
80feff6f40
Merge pull request #104408 from martinkennelly/fix_fqdn_hostname_mismatch
...
Fix comparison between FQDN and hostname
2021-08-27 19:58:52 -07:00
Jiawei Wang
273ac5a594
storege e2etest: Delete restored PVC/Pod in snapshottable
2021-08-27 13:53:25 -07:00
Dave Chen
63b4710f38
Don't expose struct from prometheus client library
2021-08-27 22:21:24 +08:00
Kubernetes Prow Robot
5871321310
Merge pull request #104614 from prameshj/disable-pod-rec
...
Skip testing for Pod DNS records.
2021-08-27 05:32:04 -07:00
Kubernetes Prow Robot
c88a111a9c
Merge pull request #104609 from jsturtevant/hostprocess-init-containers
...
Add init hostprocess container e2e test
2021-08-26 15:36:20 -07:00
Pavithra Ramesh
fa3f4a69e5
Skip testing for Pod DNS records.
...
DNS records of the form *.pod.cluster.local are deprecated - https://github.com/kubernetes/dns/pull/335
Testing for their presence is not required.
2021-08-26 14:33:12 -07:00
James Sturtevant
445f9f2aba
Add init hostprocess container test
2021-08-26 08:23:54 -07:00
Sascha Grunert
b8400cbc36
Reduce the number of parallel typechecks to 2
...
The PR https://github.com/kubernetes/kubernetes/pull/104575 introduces
some intermediate types which makes the 32GiB memory machine kill the
typecheck process. To resolve that issue and make the test more robust,
we now reduce the amount of parallel typechecks to run to `2`.
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2021-08-26 16:53:13 +02:00
Danielle Lancashire
3884dcb909
e2e_node: run gpu pod long enough to become ready
2021-08-26 14:24:23 +02:00
Danielle Lancashire
7d7884c0e6
e2e_node: install gpu pod with PodClient
...
Prior to this change, the pod was not getting scheduled on the node as
we don't have a running scheduler in e2e_node. PodClient solves this
problem by manually assigning the pod to the node.
2021-08-26 14:22:22 +02:00
Danielle Lancashire
0cc8af82a1
e2e_node: use upstream gpu installer
...
The current GPU installer was built in 2017, from source that no longer
exists in Kubernetes ([adding commit][1]. The image was built on 2017-06-13.
Unfortunately, this installer no longer appears to work. When debugging
on the same node type as used by test-infra, it failed to build the
driver as the kernel sha was no longer available.
This lead to needing to find a new way to install GPUs. The smallest
logical change was switching to [cos-gpu-installer][2]
. There is a newer version of this available on [googlesource][3] that
I have not yet tested as it's not clear what the state of the project
is, as I couldn't find docs outside of the source itself.
We install things to the same location as previously to avoid needing
extra downstream changes. There are a couple of weird issues here
however, like needing to run the container twice to correctly update the
LD Cache.
[1]: 1e77594958/cluster/gce/gci/nvidia-gpus/Dockerfile
[2]: https://github.com/GoogleCloudPlatform/cos-gpu-installer
[3]: https://cos.googlesource.com/cos/tools/+/refs/heads/master/src/cmd/cos_gpu_installer/
2021-08-26 14:09:45 +02:00
Emilio Garcia
a7b341b052
Remove Error Message Check Dynamic PV Tests
...
Different CSI drivers have different error messages, making it difficult
to check them accurately. We remove the check for the error message and
only check the failure type instead, since that is all we need.
2021-08-25 14:08:23 -04:00
Kubernetes Prow Robot
14ee98b1c0
Merge pull request #104552 from claudiubelu/patch-8
...
test images: Trigger the windows-servercore-cache image job
2021-08-25 05:50:40 -07:00
Stephen Augustus
481cf6fbe7
generated: Run hack/update-gofmt.sh
...
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-08-24 15:47:49 -04:00
Stephen Augustus
e8d2bff6ba
[go1.17] Update to go1.17
...
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-08-24 15:47:41 -04:00
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
Alexey Perevalov
bb81101570
podresource: do not export NUMA topology if it's empty
...
If device plugin returns device without topology, keep it internaly
as NUMA node -1, it helps at podresources level to not export NUMA
topology, otherwise topology is exported with NUMA node id 0,
which is not accurate.
It's imposible to unveile this bug just by tracing json.Marshal(resp)
in podresource client, because NUMANodes field ID has json property
omitempty, in this case when ID=0 shown as emtpy NUMANode.
To reproduce it, better to iterate on devices and just
trace dev.Topology.Nodes[0].ID.
Signed-off-by: Alexey Perevalov <alexey.perevalov@huawei.com>
2021-08-24 15:38:21 +00: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
Shiming Zhang
86acf3bc8f
Fix nodeShutdownReason for node shutdown e2e
2021-08-24 15:42:53 +08: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
Alexey Perevalov
461d8f51f0
e2e_node: Check for DynamicKubeletConfig properly
...
Even DynamicKubeletConfig is deprecated it still used in e2e_node test.
The bug is hidden by forcibly enabled option
TEST_ARGS='--feature-gates=DynamicKubeletConfig=true'
if this option is not enabled setKubeletConfiguration tries to set
kubelet config via apiserver interface and failed with timeout.
Signed-off-by: Alexey Perevalov <alexey.perevalov@huawei.com>
2021-08-20 15:17:58 +00: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
Claudiu Belu
91c095a11f
tests: Enable some [LinuxOnly] tests for Windows Containerd
...
Windows Containerd has more features than Windows Docker. One of them is single file
mappings, allowing us to also map individual files into containers, not just folders.
This will set the tag [Excluded:WindowsDocker] for those tests instead of [LinuxOnly].
Co-authored-by: Mark Rossetti <marosset@microsoft.com>
2021-08-16 07:43:24 -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
Kermit Alexander
5acb667ce9
Increase timeout to avoid test flaking in resize_nodes.go.
2021-08-12 00:00:01 +00: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
Kubernetes Prow Robot
15ef9d42e3
Merge pull request #101866 from saschagrunert/ssh-hosts
...
e2e: test SSH port on NodeSSHHosts
2021-07-09 07:37:05 -07:00
Kubernetes Prow Robot
3ccfe94563
Merge pull request #100101 from deads2k/mutated-options
...
prevent mutation of deletion options during delete collection
2021-07-09 07:36:53 -07:00
Kubernetes Prow Robot
29652248eb
Merge pull request #103596 from andrewsykim/endpointslice-terminating
...
Promote EndpointSliceTerminatingCondition to Beta
2021-07-09 06:01:42 -07:00
Kubernetes Prow Robot
82398d1c0a
Merge pull request #103427 from matthyx/99437
...
Fix test "Pods should run through the lifecycle of Pods and PodStatus"
2021-07-09 06:00:54 -07:00
Abu Kashem
581b088f76
integration test: provide a timeout for /health
2021-07-09 08:38:15 -04:00
Kubernetes Prow Robot
617064d732
Merge pull request #101432 from swatisehgal/smtaware
...
node: cpumanager: add options to reject non SMT-aligned workload
2021-07-08 21:04:53 -07:00
Kubernetes Prow Robot
83baa708df
Merge pull request #103429 from saschagrunert/metrics-test-fix
...
Fix resource metrics e2e test
2021-07-08 17:58:53 -07:00
Kubernetes Prow Robot
dab6f6a43d
Merge pull request #102344 from smarterclayton/keep_pod_worker
...
Prevent Kubelet from incorrectly interpreting "not yet started" pods as "ready to terminate pods" by unifying responsibility for pod lifecycle into pod worker
2021-07-08 16:48:53 -07:00
Andrew Sy Kim
fd0db61d6c
test/intergration/endpointslice: add tests for endpointslice terminating condition
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2021-07-08 17:59:11 -04:00
Francesco Romani
a2fb8b0039
smtalign: e2e: add tests
...
Add e2e tests to cover the basic flows for the `full-pcpus-only` option:
negative flow to ensure rejection with proper error message, and
positive flow to verify the actual cpu allocation.
Co-authored-by: Swati Sehgal <swsehgal@redhat.com>
Signed-off-by: Francesco Romani <fromani@redhat.com>
2021-07-08 23:15:37 +02:00
David Eads
649b87aaf8
prevent mutation of deletion options during delete collection
2021-07-08 15:36:10 -04:00
Aldo Culquicondor
2dd2622188
Track Job Pods completion in status
...
Through Job.status.uncountedPodUIDs and a Pod finalizer
An annotation marks if a job should be tracked with new behavior
A separate work queue is used to remove finalizers from orphan pods.
Change-Id: I1862e930257a9d1f7f1b2b0a526ed15bc8c248ad
2021-07-08 17:48:05 +00:00
Mohamed Chiheb Ben Jemaa
ae80370f4f
Remove extra space
2021-07-08 17:29:15 +01:00
Kubernetes Prow Robot
1edf50192e
Merge pull request #103536 from mengjiao-liu/clean-master-term-test
...
Clean up the remaining master names in test/integration
2021-07-08 03:05:05 -07:00
Shiming Zhang
5d80665b0a
Fix dbus config path for GracefulNodeShutdown e2e
2021-07-08 10:41:44 +08:00
Wei Huang
fb9cafc99b
sched: provide an option for plugin developers to move pods to activeQ
2021-07-07 12:50:12 -07:00
Kubernetes Prow Robot
ac6a1b1821
Merge pull request #103414 from ravisantoshgudimetla/fix-pdb-status
...
[disruptioncontroller] Don't error for unmanaged pods
2021-07-07 12:40:35 -07:00
Kubernetes Prow Robot
ac554af79b
Merge pull request #103142 from serathius/etcd-3.5.0
...
Upgrade etcd to 3.5.0
2021-07-07 12:40:22 -07:00
ravisantoshgudimetla
2c116055f7
[disruptioncontroller] Don't error for unmanaged pods
...
As of now, we allow PDBs to be applied to pods via
selectors, so there can be unmanaged pods(pods that
don't have backing controllers) but still have PDBs associated.
Such pods are to be logged instead of immediately throwing
a sync error. This ensures disruption controller is
not frequently updating the status subresource and thus
preventing excessive and expensive writes to etcd.
2021-07-07 10:42:24 -04:00
Kubernetes Prow Robot
b289fbb03d
Merge pull request #103409 from andrewsykim/service-internal-traffic-policy-e2e
...
test/e2e/network: add test for Service internalTrafficPolicy
2021-07-07 06:18:43 -07:00
Mengjiao Liu
96406b915d
Clean up the remaining master names in test/integration
2021-07-07 15:39:59 +08:00
Kubernetes Prow Robot
e1acbbd8fd
Merge pull request #99961 from margocrawf/master
...
Introduce Impersonate-UID header
2021-07-06 18:46:43 -07:00
Clayton Coleman
3eadd1a9ea
Keep pod worker running until pod is truly complete
...
A number of race conditions exist when pods are terminated early in
their lifecycle because components in the kubelet need to know "no
running containers" or "containers can't be started from now on" but
were relying on outdated state.
Only the pod worker knows whether containers are being started for
a given pod, which is required to know when a pod is "terminated"
(no running containers, none coming). Move that responsibility and
podKiller function into the pod workers, and have everything that
was killing the pod go into the UpdatePod loop. Split syncPod into
three phases - setup, terminate containers, and cleanup pod - and
have transitions between those methods be visible to other
components. After this change, to kill a pod you tell the pod worker
to UpdatePod({UpdateType: SyncPodKill, Pod: pod}).
Several places in the kubelet were incorrect about whether they
were handling terminating (should stop running, might have
containers) or terminated (no running containers) pods. The pod worker
exposes methods that allow other loops to know when to set up or tear
down resources based on the state of the pod - these methods remove
the possibility of race conditions by ensuring a single component is
responsible for knowing each pod's allowed state and other components
simply delegate to checking whether they are in the window by UID.
Removing containers now no longer blocks final pod deletion in the
API server and are handled as background cleanup. Node shutdown
no longer marks pods as failed as they can be restarted in the
next step.
See https://docs.google.com/document/d/1Pic5TPntdJnYfIpBeZndDelM-AbS4FN9H2GTLFhoJ04/edit# for details
2021-07-06 15:55:22 -04:00
Kubernetes Prow Robot
cbba6e41cc
Merge pull request #103472 from andrewsykim/deflake-quota-service-test
...
test/integration/quota: deflake TestQuotaLimitService
2021-07-06 12:08:19 -07:00
Kubernetes Prow Robot
3392f16908
Merge pull request #102890 from ankeesler/exec-plugin-v1
...
exec credential provider: add v1 struct
2021-07-06 10:42:31 -07:00
Margo Crawford
74f5ed6b17
This introduces an Impersonate-Uid header to server side code.
...
UserInfo contains a uid field alongside groups, username and extra.
This change makes it possible to pass a UID through as an impersonation header like you
can with Impersonate-Group, Impersonate-User and Impersonate-Extra.
This PR contains:
* Changes to impersonation.go to parse the Impersonate-Uid header and authorize uid impersonation
* Unit tests for allowed and disallowed impersonation cases
* An integration test that creates a CertificateSigningRequest using impersonation,
and ensures that the API server populates the correct impersonated spec.uid upon creation.
2021-07-06 10:13:16 -07:00
Kubernetes Prow Robot
dd8ba30877
Merge pull request #103509 from sanposhiho/test/integration/util/fix-typo
...
Fix(test/integration/util): fix typo on logging message
2021-07-06 09:34:55 -07:00
Kubernetes Prow Robot
907e2c4d46
Merge pull request #103294 from mengjiao-liu/rename-master-package
...
test/integration: rename package and files name from master to controlplane
2021-07-06 09:34:19 -07:00
Andrew Keesler
20e1c4d754
exec credential provider: update tests+metadata for v1
...
Signed-off-by: Andrew Keesler <akeesler@vmware.com>
2021-07-06 09:48:35 -04:00
Andrew Sy Kim
04d59ff2df
test/e2e/network: add Service internalTrafficPolicy test for pod (w/ host network) -> pod (w/ host network)
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2021-07-06 09:22:07 -04:00
Andrew Sy Kim
9977ea371b
test/e2e/network: add Service internalTrafficPolicy test for pod -> pod (w/ host network)
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2021-07-06 09:22:06 -04:00
Andrew Sy Kim
025c95a778
test/e2e/network: add Service internalTrafficPolicy test pod (w/ host network) -> pod
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2021-07-06 09:22:06 -04:00
Andrew Sy Kim
f6bc5d0140
test/e2e/network: add Service internalTrafficPolicy test pod to pod
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2021-07-06 09:22:06 -04:00
Andrew Sy Kim
edbaf9d5d3
test/integration/quota: poll for ResourceQuota used status in TestQuotaLimitService
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
Co-authored-by: Antonio Ojea <aojea@redhat.com>
2021-07-06 07:10:20 -04:00
Andrew Sy Kim
caf42fde43
test/integration/quota: refactor Service forbidden check into helper function
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2021-07-06 06:39:26 -04:00
Andrew Sy Kim
54bc1babe1
test/integration/quota: update TestQuotaLimitService to explicitly check for Forbidden status when quota limit is exceeded
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2021-07-06 06:39:26 -04:00
Andrew Sy Kim
87cef2ca73
test/integration/quota: deflake TestQuotaLimitService by collapsing test
...
cases and adding a short delay for resource quota to propagate
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2021-07-06 06:39:26 -04:00
Kensei Nakada
a85f3e4cce
Fix(test/integration/util): fix typo on logging message
2021-07-06 17:08:11 +09:00
Sascha Grunert
2d0f99fba1
Fix resource metrics e2e test
...
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2021-07-05 11:16:05 +02:00
Claudiu Belu
927d0c3932
cleanup: Removes GcrRelease and SampleRegistry from manifest.go
...
Those fields are not used for any images, we can remove them.
2021-07-04 09:07:38 -07:00
Kubernetes Prow Robot
cbe3ef473e
Merge pull request #100412 from hanlins/lb-node-ports-beta
...
Lb node ports beta
2021-07-02 16:08:10 -07:00
Hanlin Shi
c96c809539
Add integration test for LB node port control
...
Signed-off-by: Hanlin Shi <shihanlin9@gmail.com>
2021-07-02 21:58:49 +00:00
Hanlin Shi
24592ca989
Update the related tests
...
1. add AllocateLoadBalancerNodePorts fields in specs for validation test cases
2. update fuzzer
3. in resource quota e2e, allocate node port for loadbalancer type service and
exceed the node port quota
Signed-off-by: Hanlin Shi <shihanlin9@gmail.com>
2021-07-02 21:58:41 +00:00
Kubernetes Prow Robot
d1833880a7
Merge pull request #103083 from vivian-xu/use-native-errors
...
Update github.com/pkg/errors with go native errors pkg
2021-07-02 13:38:38 -07:00
Kubernetes Prow Robot
0bb6d1431c
Merge pull request #103371 from claudiubelu/tests/windows-flakyness
...
windows tests: Wait for the network connectivity first
2021-07-02 12:30:22 -07:00
Kubernetes Prow Robot
a331cf74b7
Merge pull request #102050 from pohly/fix/deflake-metrics-proxy
...
remove metrics proxy
2021-07-02 12:30:10 -07:00
Matthias Bertschy
b1f34ea205
add RetryOnConflict to pod status updates
2021-07-02 12:38:53 +02:00
Kubernetes Prow Robot
defcc916ed
Merge pull request #103382 from liggitt/podsecurity-hostprocess
...
[PodSecurity] hostProcess baseline check
2021-07-02 01:16:24 -07:00
Kubernetes Prow Robot
659c7e709f
Merge pull request #99494 from enj/enj/i/not_after_ttl_hint
...
csr: add expirationSeconds field to control cert lifetime
2021-07-01 23:02:12 -07:00
Monis Khan
8d49502fcd
csr: update e2e conformance test with expirationSeconds usage
...
Signed-off-by: Monis Khan <mok@vmware.com>
2021-07-01 23:38:16 -04:00
Monis Khan
cd91e59f7c
csr: add expirationSeconds field to control cert lifetime
...
This change updates the CSR API to add a new, optional field called
expirationSeconds. This field is a request to the signer for the
maximum duration the client wishes the cert to have. The signer is
free to ignore this request based on its own internal policy. The
signers built-in to KCM will honor this field if it is not set to a
value greater than --cluster-signing-duration. The minimum allowed
value for this field is 600 seconds (ten minutes).
This change will help enforce safer durations for certificates in
the Kube ecosystem and will help related projects such as
cert-manager with their migration to the Kube CSR API.
Future enhancements may update the Kubelet to take advantage of this
field when it is configured in a way that can tolerate shorter
certificate lifespans with regular rotation.
Signed-off-by: Monis Khan <mok@vmware.com>
2021-07-01 23:38:15 -04:00
Kubernetes Prow Robot
62503f254e
Merge pull request #103413 from mgutierrez98/refactor-whitelist-blacklist
...
Refactored files containing whitelist/blacklist to allowlist/denylist…
2021-07-01 18:12:25 -07:00
Kubernetes Prow Robot
9ca75c1f49
Merge pull request #103243 from ii/promote-statefulset-status-test
...
Promote to Conformance StatefulSet Patch, Read and Replace Status test +3
2021-07-01 14:28:02 -07:00
Kubernetes Prow Robot
062bc359ca
Merge pull request #102444 from sanwishe/resourceStartTime
...
Expose container start time in kubelet /metrics/resource endpoint
2021-07-01 14:27:51 -07:00
mgutierrez98
1cfbb0aa25
remove webhook.go to revert changes to conformance test
2021-07-01 20:24:46 +00:00
Kubernetes Prow Robot
3334703eb2
Merge pull request #103242 from ii/promote-deployment-status-test
...
Promote to Conformance Patch, Read and Replace DeploymentStatus test +1
2021-07-01 13:18:04 -07:00
Kubernetes Prow Robot
cd94e840cb
Merge pull request #103241 from ii/promote-statefulset-list-deletecollection
...
Promote to Conformance StatefulSet List, Patch & DeleteCollection Test +3
2021-07-01 13:17:52 -07:00
Jordan Liggitt
49d31c45b1
PodSecurity: baseline hostProcess check
2021-07-01 15:49:33 -04:00
Kubernetes Prow Robot
1861e4756d
Merge pull request #103396 from praveenghuge/master-to-main-cleanup
...
k8s.io master to main cleanup
2021-07-01 04:45:54 -07:00
Kubernetes Prow Robot
a0c83ba938
Merge pull request #103385 from ravisantoshgudimetla/fix-ubernetes-tests-2
...
[storage] [test] Ensure proper resource creation
2021-07-01 00:06:06 -07:00
Kubernetes Prow Robot
dbfea1e2aa
Merge pull request #103365 from liggitt/podsecurity-feature-test
...
PodSecurity: make failure integration tests feature-aware
2021-07-01 00:05:54 -07:00
Praveen Ghuge
db3534dd64
master too main cleanup
2021-06-30 21:56:29 -07:00
Kubernetes Prow Robot
ea0098b811
Merge pull request #103219 from mgutierrez98/refactor-wait_go
...
Renamed variable within wait_test containing master to control plane
2021-06-30 20:59:54 -07:00
Jordan Liggitt
ba6b4c5a18
PodSecurity: test GA-only cases and alpha/beta fields separately
2021-06-30 22:08:11 -04:00
Kubernetes Prow Robot
642f42d62b
Merge pull request #103364 from aramase/check-privileged
...
[PodSecurity] Add privileged containers baseline check
2021-06-30 16:11:48 -07:00
ravisantoshgudimetla
67bc23411b
[storage] [test] Ensure proper resource creation
...
Ensure resources are created in zone with schedulable
nodes. For example, if we have 4 zones with 3 zones
having worker nodes and 1 zone having master nodes(unscheduable
for workloads), we should not create resources like PV, PVC or
pods in that zone.
2021-06-30 18:01:57 -04:00
Anish Ramasekar
5bd3334ad6
[PodSecurity] Add privileged containers baseline check
...
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2021-06-30 16:39:28 -04:00
Kubernetes Prow Robot
9c360b6185
Merge pull request #103361 from m14815/commit-21.6.2
...
Error string should not be capitalized or end with punctuation.
2021-06-30 11:50:17 -07:00
Kubernetes Prow Robot
044fd6fdf6
Merge pull request #99829 from palnabarun/migrate-to-go-embed
...
Replace go-bindata with //go:embed
2021-06-30 10:37:03 -07:00
Lee Verberne
c11041ad99
Remove ShareProcessNamespace tags from e2e tests
...
This feature became GA in 1.17 and feature gate removed in 1.19. It
should run unconditionally.
2021-06-30 18:12:30 +02:00
maruiyan
9c150b0f22
Error string should not be capitalized or end with punctuation.
2021-06-30 23:23:30 +08:00
maruiyan
0f33f8d685
Remove Redundant type conversion
2021-06-30 11:17:15 +08:00
Kubernetes Prow Robot
7ad7c0757a
Merge pull request #103160 from ravisantoshgudimetla/fix-ubernetes-tests
...
Run ubernetes tests on gke only
2021-06-29 18:29:14 -07:00
Kubernetes Prow Robot
c9bff73105
Merge pull request #103179 from tanjing2020/runtimeclass
...
[e2e] Destroy the created runtimeclass resources at the end of the test case.
2021-06-29 17:07:15 -07:00
Kubernetes Prow Robot
f2e47502fd
Merge pull request #103076 from wzshiming/fix/flake-gracefulnodeshutdown-dbus
...
Fix the GracefulNodeShutdown e2e test running on dbus that refuses to manually start
2021-06-29 11:19:50 -07:00
Nabarun Pal
ac41e56582
docs: add documentation on adding files to the embedded data
...
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2021-06-29 23:30:50 +05:30
ravisantoshgudimetla
c65b80a637
[storage] [test] Remove extra zone test
...
We're running ubernetes tests
`should only be allowed to provision PDs in zones
where nodes exist`
on gcp&gke. While the test is useful in exercising
the scenario of identifying extra zone and
creating a node in it, not every Kube
distribution uses the same approach to create a node,
further if even there is an extra zone, we cannot
guarantee the zone to have enough quota. There can also
be other GCP specific edge cases all of which cannot be
covered within this test. So, removing the test
as agreed upon with the storage team
2021-06-29 12:52:58 -04:00
Kubernetes Prow Robot
756203fda0
Merge pull request #102576 from dobsonj/101911
...
kubelet: do not call RemoveAll on volumes directory for orphaned pods
2021-06-29 06:54:40 -07:00
Nabarun Pal
bbccf2ecb4
e2e-node: move to embedded test manifests
...
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2021-06-29 19:16:49 +05:30
Nabarun Pal
d98b2dd2d6
generated: remove usage of go-bindata
...
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2021-06-29 19:16:48 +05:30
Nabarun Pal
68b334d02b
test: setup embedded file sources for manifests
...
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2021-06-29 19:16:46 +05:30
Kubernetes Prow Robot
3d87fd6a9a
Merge pull request #103273 from XudongLiuHarold/fix-loadbalancerclass-test-name
...
fix loadbalancerclass integration test funcation name
2021-06-29 05:40:41 -07:00
vivian-xu
ceb42d0938
Update github.com/pkg/errors with go native errors pkg
2021-06-29 17:39:49 +08:00
Kubernetes Prow Robot
ebcb4a2d88
Merge pull request #103104 from pacoxu/npd-088
...
update npd to v0.8.8
2021-06-29 02:30:40 -07:00
Mengjiao Liu
8e4212c01a
test/integration: rename package and files name from master to controlplane in test/integration
2021-06-29 17:21:29 +08:00
Nabarun Pal
3af6329caf
e2e-framework: add an EmbeddedFileSource to sources
...
The data structure would wrap an embedded filesystem andthe root
directory relative to which the embedded filesystem is constructed.
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2021-06-29 13:36:29 +05:30
Francesco Romani
c69ad8c57a
e2e: increase readiness gate timeout
...
We're trying to fix https://github.com/kubernetes/kubernetes/issues/75355
sicne long time, and we believe the current timeout could
actually be too low (despite being "forever", which is 30s).
To validate this theory, we set the timeout to one full minute.
Also, make the logging more verbose to make the troubleshooting easier.
Signed-off-by: Francesco Romani <fromani@redhat.com>
2021-06-29 09:01:31 +02:00
Kubernetes Prow Robot
d92f6c424d
Merge pull request #103099 from liggitt/podsecurity
...
PodSecurity admission
2021-06-28 20:46:52 -07:00
Harold
477aef192f
fix loadbalancerclass integration test funcation name
2021-06-28 20:07:02 -07:00
Kubernetes Prow Robot
9866f9364e
Merge pull request #103112 from fromanirh/cpumanager-e2e-fixes
...
e2e: node: remove obsolete AlphaFeature tag
2021-06-28 19:36:39 -07:00
pacoxu
ffdf3f5007
update node-problem-detector npd to v0.8.8
...
Signed-off-by: pacoxu <paco.xu@daocloud.io>
Co-Authored-By: vteratipally <vteratipally@users.noreply.github.com>
2021-06-29 09:35:32 +08:00
tanjing2020
f80f9eeb6d
Destroy the created runtimeclass resources at the end of the test case.
2021-06-29 09:20:40 +08:00
Kubernetes Prow Robot
ee459b8969
Merge pull request #103265 from fromanirh/e2e-node-fix-npd
...
e2e: node: fix npd test failures bumping image
2021-06-28 17:03:50 -07:00
Kubernetes Prow Robot
38f012320f
Merge pull request #101947 from cynepco3hahue/memory_manager_move_to_beta
...
memory manager: move to beta
2021-06-28 15:38:28 -07:00
Jordan Liggitt
42dc070b47
PodSecurity: kube-apiserver integration test
2021-06-28 17:45:36 -04:00
Francesco Romani
889dcb5b54
e2e: node: fix npd test failures bumping image
...
The PR https://github.com/kubernetes/kubernetes/pull/100041 updated
node-problem-detector to v0.8.7, but unfortunately we didn't update
also the image using in the e2e_node tests.
As result, the tests were failing like
E2eNode Suite: [sig-node] NodeProblemDetector [NodeFeature:NodeProblemDetector] [Serial] SystemLogMonitor should generate node condition and events for corresponding errors
_output/local/go/src/k8s.io/kubernetes/test/e2e_node/node_problem_detector_linux.go:301
Timed out after 60.000s.
Expected success, but got an error:
<*errors.errorString | 0xc0011f2600>: {
s: "expected total number of events was 4, actual events counted was 7\nEvents
This in turn was one of the contributing factors in making the
pull-kubernetes-node-kubelet-serial lane constantly failing.
This patch updates the image used in the tests, fixing the failure.
Signed-off-by: Francesco Romani <fromani@redhat.com>
2021-06-28 16:32:12 +02:00
pacoxu
be27d71eeb
custom-metrics: do cleanup even if the creation is not full succeed
...
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2021-06-28 17:09:02 +08:00
Stephen Heywood
1b73a0040a
Promote Stateful Status e2e test to Conformance
2021-06-28 11:24:59 +12:00
Stephen Heywood
405e9a5172
Promote Deployment Status e2e test to Conformance
2021-06-28 11:04:30 +12:00
Stephen Heywood
d3ad1d77f3
Promote Statefulset list and deleteCollection e2e test to Conformance
2021-06-28 10:06:27 +12:00
Rajas Kakodkar
266ffa8526
bug fix in sctp test
2021-06-27 21:53:41 +05:30
Kubernetes Prow Robot
e974bcd471
Merge pull request #103235 from thejoycekung/debian-setcap-image-bump
...
Update debian, debian-iptables, setcap images to pick up CVE fixes
2021-06-26 16:21:23 -07:00
Ciprian Hacman
1721be087d
nodeport tests: node addresses must match the service IP family
2021-06-26 10:00:46 +03:00
Joyce Kung
0a8a9188c9
Update debian-iptables image to buster-v1.6.5
2021-06-25 20:45:20 -04:00
mgutierrez98
70124846fa
control plane typo in node role path
2021-06-26 00:33:32 +00:00
Antonio Ojea
2eb50ee2fd
fix comment on dual-stack integration test
2021-06-25 23:24:49 +02:00
mgutierrez98
80171465b3
Renamed variable containing master to control plane
2021-06-25 21:20:29 +00:00
Kubernetes Prow Robot
017b359770
Merge pull request #103180 from aojea/collect_ipfamily
...
Services tests for NodePorts must match the Node Address and Service IP family
2021-06-25 12:13:32 -07:00
Kubernetes Prow Robot
d47448cc85
Merge pull request #103114 from learner0810/fix/remove-errors-pkg
...
update to remove github.com/pkg/errors
2021-06-25 12:13:11 -07:00
Kubernetes Prow Robot
b132b69700
Merge pull request #103073 from ravisantoshgudimetla/add-e2e-minReadySeconds
...
StatefulSet minReadySeconds e2e
2021-06-25 12:12:59 -07:00
Kubernetes Prow Robot
e19dc07ac5
Merge pull request #102898 from khenidak/fix-prefer-dualstack
...
fix auto upgraded preferDual-Stack services (in cluster upgrade)
2021-06-25 10:58:08 -07:00
Kubernetes Prow Robot
9254610765
Merge pull request #103129 from XudongLiuHarold/service-loadbalancer-class-e2e
...
Promote loadbalancerclass feature to beta
2021-06-25 09:48:57 -07:00
Antonio Ojea
916dbc335c
nodeport tests: node addresses must match the service IP family
2021-06-25 10:34:42 +02:00
Antonio Ojea
02a3caba9c
refactor default IP family cluster detection
2021-06-25 10:34:42 +02:00
Claudiu Belu
9accb994df
tests: Wait for the network connectivity first
...
Some tests are checking the network connectivity using gomega.Consistently,
which will fail if any of the checks fails. This could lead to flakyness in
some scenarios in which kube-proxy was supposed to apply Policies for
Kubernetes services.
We can instead wait for the network connectivity to work first using gomega.Eventually,
after which we can check the consistency.
2021-06-25 00:56:37 -07:00
Kubernetes Prow Robot
7a9c8940fd
Merge pull request #102682 from chendave/e2e_storage
...
Check empty zone after the validation of providers
2021-06-24 18:56:44 -07:00
Kubernetes Prow Robot
7eae33cb0e
Merge pull request #101464 from Nick-Triller/deflake_assert_events
...
e2e: deflake test by not relying on events
2021-06-24 17:44:45 -07:00
Xudong Liu
fe161579e2
Add integration test to promote serviceloadbalancerclass feature to beta.
2021-06-24 17:30:17 -07:00
Kubernetes Prow Robot
68ec927725
Merge pull request #103106 from wzshiming/fix/remove-errors-pkg
...
update to remove github.com/pkg/errors
2021-06-24 16:38:12 -07:00
Kubernetes Prow Robot
36a4904af2
Merge pull request #103111 from muma378/master
...
uses native errors instead of github.com/pkg/errors
2021-06-24 14:17:53 -07:00
Claudiu Belu
a7c48e9707
images: Removes OS Version workaround for manifest list images
...
For manifest lists containing Windows images, it is important to also have the "os.version"
annotation set, as it is needed by the Windows nodes, so they can pull the appropriate image
from the list.
Previously, the docker manifest CLI did not have the capability to set it, so, we had to set
it outselves in the manifest list's image JSON file. This is no longer necessary since
docker 20.10.0, which includes docker manifest annotate --os-version.
The docker installed in the image gcr.io/k8s-testimages/gcb-docker-gcloud:v20210622-762366a
satisfies this version requirement.
2021-06-24 13:39:44 +00:00
Kubernetes Prow Robot
164ce31e7f
Merge pull request #103074 from wongma7/volumelimitsmigration
...
Disable deprecated volume limits test when CSI migration enabled and replace with CSI-specific test
2021-06-24 05:41:53 -07:00
Kubernetes Prow Robot
73eac7ae66
Merge pull request #102986 from mengjiao-liu/rename-master
...
Rename master to apiserver in test/integration
2021-06-24 05:41:41 -07:00
Kubernetes Prow Robot
aae9c3418f
Merge pull request #103109 from niulechuan/cleanup/test-e2e-framework
...
Remove usage of github.com/pkg/errors
2021-06-24 01:57:40 -07:00
lzj
7cf30d5690
fix/remove-errors-pkg
2021-06-24 16:09:59 +08:00
Marek Siarkowicz
ebe550bd48
Upgrade etcd to 3.5.0
2021-06-24 09:15:17 +02:00
肖旸
cf07d42337
removes unused libraries
2021-06-24 09:43:09 +08:00
sanwishe
43f8f58895
add containers starttime metrics for metrics/resource endpoint
...
Signed-off-by: sanwishe <jiang.mingzhi35@zte.com.cn>
2021-06-24 02:53:21 +08:00
Kubernetes Prow Robot
15a60d1a19
Merge pull request #100180 from fromanirh/tm-e2e-fix-wait
...
e2e: TM: wait for SRIOV devices in pod scope tests
2021-06-23 11:42:10 -07:00
Odin Ugedal
0839c00b76
Increase pressure timout on DiskPressure test
2021-06-23 20:12:46 +02:00
Kubernetes Prow Robot
0ae157df39
Merge pull request #100641 from mauriciopoppe/external-storage-multivolume-windows
...
Enable GCE PD CSI multivolume tests with windows nodes
2021-06-23 10:36:11 -07:00
Shiming Zhang
674802147c
update to remove github.com/pkg/errors
2021-06-23 22:56:48 +08:00
ravisantoshgudimetla
cf9510751d
StatefulSet minReadySeconds e2e
2021-06-23 08:23:23 -04:00
Francesco Romani
47615c2020
e2e: node: remove obsolete AlphaFeature tag
...
The CPUManager graduated to beta a while ago (k8s 1.10?)
so let's get rid of the obsolete Alpha tag on its e2e tests.
Signed-off-by: Francesco Romani <fromani@redhat.com>
2021-06-23 12:34:45 +02:00
肖旸
e7a240395e
uses native errors instead of github.com/pkg/errors
2021-06-23 18:13:44 +08:00
Niu Lechuan
12dcd2f84d
Remove usage of github.com/pkg/errors
...
Signed-off-by: Niu Lechuan <lechuan.niu@daocloud.io>
2021-06-23 17:46:23 +08:00
Kubernetes Prow Robot
56efa75173
Merge pull request #102418 from m14815/commit-21.5.4
...
Remove Redundant alias
2021-06-22 21:00:22 -07:00
Kubernetes Prow Robot
af60bebde3
Merge pull request #97028 from knabben/e2e-restart-kubelet
...
Adding restart kubelet flag on e2e test
2021-06-22 21:00:09 -07:00
Kubernetes Prow Robot
c48adbb3e8
Merge pull request #103071 from aojea/esipp_nodepor
...
wait for endpoints to be available
2021-06-22 18:28:38 -07:00
Kubernetes Prow Robot
13e7cba5ca
Merge pull request #103050 from ardaguclu/fix-node-auth-dualstack
...
Fix NodeAuthenticator tests in dual stack
2021-06-22 18:28:29 -07:00
Kubernetes Prow Robot
268cab5f44
Merge pull request #102022 from adtac/sbeta
...
graduate SuspendJob to beta
2021-06-22 17:18:10 -07:00
Kubernetes Prow Robot
2453f07e93
Merge pull request #102396 from odinuge/restart_test
...
Restart test: Kill container runtime with SIGKILL
2021-06-22 13:10:10 -07:00
Matthew Wong
cd318aec0b
Disable deprecated volume limits test when migration enabled and replace with CSI-specific test
2021-06-22 11:31:00 -07:00
Mauricio Poppe
6583b05f07
replace more powershell commands with /bin/sh in volume/fixtures.go
2021-06-22 18:27:55 +00:00
Mauricio Poppe
7aa8a497df
replaced usage of powershell commands with linux commands
2021-06-22 18:27:55 +00:00
Mauricio Poppe
f0d7e9c9d1
undo windows compatibility changes because the linux commands work
2021-06-22 18:27:54 +00:00
Mauricio Poppe
9a146bc3e9
Remove [LinuxOnly] string from ginkgo tests
2021-06-22 18:27:54 +00:00
Mauricio Poppe
54070a6628
Enable another test in windows, use a /bin/sh command instead of a PS one
2021-06-22 18:27:53 +00:00
Mauricio Poppe
ee34cd640a
enable gcpdcsi multivolume tests with windows nodes
2021-06-22 18:27:50 +00:00
Khaled (Kal) Henidak
58a83ecbdb
integeration tests
2021-06-22 17:40:21 +00:00
Artyom Lukianov
d4767ed5eb
memory manager: move to beta
...
Move the memory manager feature to beta.
Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
2021-06-22 20:15:29 +03:00
Kubernetes Prow Robot
6dd9deea3d
Merge pull request #103038 from aojea/ips_panics
...
don't panic (just fail) if nodeIPs are not found
2021-06-22 07:44:11 -07:00
Kubernetes Prow Robot
985ac8ae50
Merge pull request #101030 from cynepco3hahue/pod_resources_memory_interface
...
Extend pod resource API response to return the information from memory manager
2021-06-22 06:35:58 -07:00
Artyom Lukianov
681905706d
e2e node: provide tests for memory manager pod resources metrics
...
- verify memory manager data returned by `GetAllocatableResources`
- verify pod container memory manager data
Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
2021-06-22 13:06:32 +03:00
Shiming Zhang
3daef0a534
Allows manual restart of dbus to work in Ubuntu.
2021-06-22 15:59:30 +08:00
Kubernetes Prow Robot
7f4abd897e
Merge pull request #102414 from divyenpatel/use-ga-topology-labels-for-vsphere
...
Update vSphere volume topology label to GA
2021-06-21 18:13:57 -07:00
Antonio Ojea
249db7ceb3
wait for endpoints to be available
2021-06-22 01:49:24 +02:00
Divyen Patel
518844fd25
use GA topology labels for vsphere
2021-06-21 10:37:31 -07:00
Kubernetes Prow Robot
0f4fd721e5
Merge pull request #102963 from andrewsykim/granular-services-remove-internet-tests
...
test/e2e/network: remove dependency to google.com for in-cluster networking tests
2021-06-21 10:06:51 -07:00
Arda Güçlü
676958c2bd
Fix NodeAuthenticator tests in dual stack
2021-06-21 15:41:13 +03:00
Antonio Ojea
6d3fd8353c
don't panic if nodeIPs are not found
2021-06-21 10:59:09 +02:00
Kubernetes Prow Robot
513ae557a3
Merge pull request #103002 from TeweiLuo/remove-unmanaged-zone-tests
...
Remove gcepd unmanaged zone test.
2021-06-20 23:44:51 -07:00
Andrew Sy Kim
afea48d23f
test/e2e/network: remove dependency to google.com for in-cluster networking tests
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2021-06-20 19:19:02 -04:00
Claudiu Belu
f9e4a015e2
tests: Spawn poststart / prestop pods on the same node as the http pod
...
In the case of multinode clusters, the http server pod and the test cluster can
spawn on different nodes, which can be problematic for poststart / prestop hooks,
as they are executed by the kubelet itself, and the cross-node lifecycle hook might
fail (according to the Kubernetes network model, it is not mandatory for kubelet to
be able to access pods on a different node).
This commit ensures that the test pod spawns on the same node as the http server pod.
2021-06-19 23:13:39 -07:00
tewei.luo
72a53288a5
Remove gcepd unmanaged zone test.
...
This test verifies an implementation detail in the in-tree gcepd
plugin. The behavior is not implementated in the gcepd CSI driver
and therefore the test will be obsolete after CSI migration.
2021-06-19 04:13:11 +00:00
Kubernetes Prow Robot
5b671d41c2
Merge pull request #102980 from mengjiao-liu/clean-up-master
...
Clean up the master term in test/integration comments
2021-06-18 19:27:01 -07:00
Kubernetes Prow Robot
33c4383985
Merge pull request #102657 from pohly/subpath-test-flake
...
storage e2e: extend timeouts for subpath restart tests
2021-06-18 12:12:05 -07:00
Kubernetes Prow Robot
4afb72a863
Merge pull request #100183 from jsafrane/fix-unstage-retry
...
Mark volume as uncertain after Unmount* fails
2021-06-18 11:04:06 -07:00
Mengjiao Liu
e977740ae6
Rename master to apiserver in test/integration
2021-06-18 17:40:46 +08:00
Mengjiao Liu
4eab19ae7d
Clean up the master term in test/integration comments
2021-06-18 16:31:05 +08:00
Kubernetes Prow Robot
dc54636c6d
Merge pull request #102965 from jsturtevant/hostprocesstest-update
...
Use the hostprocess feature flag and assign a user
2021-06-17 15:50:05 -07:00
James Sturtevant
762eeb0988
Use the hostprocess feature flag and assign a user
2021-06-17 14:42:24 -07:00
Kubernetes Prow Robot
75151fa524
Merge pull request #102933 from andrewsykim/net-pol-legacy
...
test/e2e/network: mark tests in test/e2e/network/netpol/network_legacy.go with NetworkPolicyLegacy
2021-06-17 14:08:05 -07:00
Mengjiao Liu
da35add03f
Rename master to apiserver in test/integration
2021-06-17 15:48:39 +08:00
Kubernetes Prow Robot
a68644ba24
Merge pull request #102254 from ii/Riaankl-statefulset-list-deletecollection
...
Write StatefulSet List, Patch & DeleteCollection Test +3 endpoints
2021-06-16 18:22:19 -07:00
Andrew Sy Kim
9e694a45f9
test/e2e/network: mark tests in test/e2e/network/netpol/network_legacy.go with NetworkPolicyLegacy
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2021-06-16 19:44:27 -04:00
Kubernetes Prow Robot
738a3ae473
Merge pull request #102931 from andrewsykim/e2e-gce-tag
...
test/e2e/network: mark network_tiers.go tests with GCE tag
2021-06-16 16:02:00 -07:00
Stephen Heywood
3c59e742f3
Create List, Patch & DeleteCollection StatefulSet Test
...
Co-Authored-By: Riaan Kleinhans <riaan@ii.coop>
e2e test validates the following 3 extra endpoints
- patchAppsV1NamespacedStatefulSet
- listAppsV1StatefulSetForAllNamespaces
- deleteAppsV1CollectionNamespacedStatefulSet
2021-06-17 09:21:38 +12:00
Kubernetes Prow Robot
c81f2773dc
Merge pull request #102920 from dims/move-to-github.com/coreos/go-systemd/v22
...
Switch to github.com/coreos/go-systemd/v22 and drop older package
2021-06-16 12:48:41 -07:00
Kubernetes Prow Robot
cda98f20b2
Merge pull request #102918 from jsafrane/cloning-topology
...
Run volume cloning tests in the same topology segment
2021-06-16 12:48:32 -07:00
Kubernetes Prow Robot
8e48d992aa
Merge pull request #102349 from ii/promote-replicaset-status-test
...
Promote Read, Patch & Replace ReplicaSet Status +3 endpoints
2021-06-16 12:48:00 -07:00
Kubernetes Prow Robot
851b7276a5
Merge pull request #102796 from ahg-g/ahg-cc
...
Move scheduler plugin set and configuration defaulting to CC
2021-06-16 11:44:00 -07:00
Kubernetes Prow Robot
727b4307f0
Merge pull request #102348 from ii/promote-daemonset-status-test
...
Promote Read, Patch & Replace DaemonSet Status e2e test to Conformance +3 endpoints
2021-06-16 09:43:59 -07:00
Jan Safranek
54ad7e40f1
Add e2e test for NodeUnstage error cases
2021-06-16 18:39:03 +02:00
Kubernetes Prow Robot
a4c1698f86
Merge pull request #102866 from SergeyKanzhelev/skipMoreTestsUnlessExecProbeTimeoutSet
...
skipping more tests in case when ExecProbeTimeout set to false
2021-06-16 08:37:59 -07:00
Davanum Srinivas
7fcdbbef06
Switch to github.com/coreos/go-systemd/v22 and drop older package
...
- We use the new v22 module released on May 10
- We drop the unmaintained `github.com/coreos/pkg`
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-06-16 11:14:16 -04:00
Abdullah Gharaibeh
265ef1741f
Move scheduler plugin set and configuration defaulting to component config
2021-06-16 10:15:29 -04:00
Jan Safranek
057422504a
Run volume cloning tests in the same topology segment
...
Some CSI drivers can't clone a volume into other topology segment (e.g. a
cloud availability zone). The scheduler does not know about these
restrictions and schedules pods with PVCs that clone a volume mostly
randomly.
Run all volume cloning tests in the same topology segment, if such segment
is available and has at least one schedulable node.
2021-06-16 15:41:33 +02:00
Kubernetes Prow Robot
0bc75afcf2
Merge pull request #102260 from ii/deployment-status-test
...
Write Patch, Read and Replace DeploymentStatus test +1
2021-06-16 05:50:10 -07:00
Kubernetes Prow Robot
13ccdfa726
Merge pull request #102256 from ii/statefulset-status-test
...
Write StatefulSet Patch, Read and Replace Status test +3
2021-06-16 05:49:58 -07:00
Andrew Sy Kim
480093bd1f
test/e2e/network: mark network_tiers.go tests with GCE tag
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2021-06-16 07:27:53 -04:00
Odin Ugedal
e2477171ca
Ensure images are pulled after eviction tests
2021-06-16 12:52:21 +02:00
Patrick Ohly
f298a658ae
e2e metrics: remove redundant checks around metrics tests
...
The MetricsGrabber itself knows now whether it supports each
component. The checks inside the tests therefore are redundant at best
or worse, they are wrong: for example, on a KinD cluster the check for
"has master node registered" failed and metrics grabbing from
scheduler and controller manager were skipped unnecessarily.
2021-06-16 12:02:41 +02:00
Patrick Ohly
a4c7e91b59
e2e metrics: skip tests when metrics grabbing is disabled
...
The MetricsGrabber checked whether a component supported metrics
grabbing, but then tests didn't have an API to use the result of that
check. Because metrics grabbing is an optional debug feature, tests
must skip checks that depend on metrics data or, when the entire
test is about metrics data, skip the test.
This is now supported with a special error that gets wrapped and
returned by the individual Grab functions.
2021-06-16 12:02:41 +02:00
Patrick Ohly
1d3420ca72
e2e metrics: check whether debug handlers are available
...
This can be checked by trying to retrieve log output. As in the case
of no pod found, a warning gets emitted when log retrieval fails and
metrics grabbing gets disabled.
Logging is checked instead of actual metrics retrieval because the
latter is more complex and thus more likely to fail for other reasons.
2021-06-16 12:02:41 +02:00
Patrick Ohly
5e9076da93
e2e: grab controller and scheduler metrics via port forwarding
...
The previous approach with grabbing via a nginx proxy had some
drawbacks:
- it did not work when the pods only listened on localhost (as
configured by kubeadm) and the proxy got deployed on a different
node
- starting the proxy raced with starting the pods, causing
sporadic test failures because the proxy was not set up
properly unless it saw all pods when starting the e2e.test
- the proxy was always started, whether it is needed or not
- the proxy was left running after a test and then the next
test run triggered potentially confusing messages when
it failed to create objects for the proxy
The new approach is similar to "kubectl port-forward" + "kubectl get
--raw". It uses the port forwarding feature to establish a TCP
connection via a custom dialer, then lets client-go handle TLS and
credentials.
Somehow verifying the server certificate did not work. As this
shouldn't be a big concern for E2E testing, certificate checking gets
disabled on the client side instead of investigating this further.
2021-06-16 12:02:40 +02:00
Jan Safranek
3e0269ce6e
Move common code to ensureTopologyRequirements
...
Every call to ensureTopologyRequirements has the same setup + checks.
Therefore move this common code into the call to reduce redundancy.
2021-06-16 11:24:29 +02:00
Kubernetes Prow Robot
6298e1fe6a
Merge pull request #102895 from jingxu97/june/skipmatrics
...
Skip migrated metrics for Windows CSI tests
2021-06-15 19:50:11 -07:00
Kubernetes Prow Robot
d5e37cf9b6
Merge pull request #102346 from ii/promote-daemonset-list-deletecollection
...
Promote Daemonset list and deleteCollection e2e test to Conformance +2 Endpoints
2021-06-15 19:49:59 -07:00
Kubernetes Prow Robot
100e993141
Merge pull request #102347 from ii/promote-replicaset-list-deletecollection
...
Promote Replicaset list and deleteCollection e2e test to Conformance +2 endpoints
2021-06-15 18:45:59 -07:00
Stephen Heywood
5ca47deb0a
Promote DaemonSet Status e2e test to Conformance
2021-06-16 13:08:22 +12:00
Stephen Heywood
f7d02f4d25
Promote ReplicaSet Status e2e test to Conformance
2021-06-16 12:52:56 +12:00
Jing Xu
8fb909291f
Skip migrated metrics for Windows CSI tests
...
The Windows CSI migration test are failing due to issue https://github.com/kubernetes/kubernetes/issues/102893
Change-Id: I8c4c1b376a915f1a0982a9be5e35960886cc77bf
2021-06-15 15:21:35 -07:00
Kubernetes Prow Robot
3a47ddccdf
Merge pull request #100488 from liggitt/protobuf
...
update etcd, grpc, protobuf dependencies
2021-06-15 14:49:42 -07:00
Kubernetes Prow Robot
b43e4ec89b
Merge pull request #102857 from ingvagabund/drop-kube-scheduler-insecure-port-bits
...
kube-scheduler: stop using insecure serving bits
2021-06-15 13:42:12 -07:00
Kubernetes Prow Robot
a5be86fee7
Merge pull request #101316 from ravisantoshgudimetla/add-minReadySeconds-impl
...
Add min ready seconds impl
2021-06-15 13:41:43 -07:00
Kubernetes Prow Robot
fa152d25d8
Merge pull request #102209 from odinuge/node-e2e-fix
...
Ignore first SIGINT in node-e2e tests
2021-06-15 11:31:23 -07:00
ravisantoshgudimetla
ceb1dbd2f1
statefulsets: MinReadySeconds implementation
...
https://github.com/kubernetes/kubernetes/pull/100842
introduced featuregate. This PR implements the logic
behind it.
2021-06-15 12:59:54 -04:00
Kubernetes Prow Robot
37da905c0c
Merge pull request #99310 from ankeesler/exec-plugin-interactive
...
exec credential provider: InteractiveMode support
2021-06-15 09:46:01 -07:00
Jordan Liggitt
52b629efbc
Drop use of deprecated clientv3.SetLogger
2021-06-15 09:53:06 -04:00
Jordan Liggitt
2979c3325e
Switch to go.etcd.io/etcd/client/v3
2021-06-15 09:53:06 -04:00
Jordan Liggitt
ff2c614245
Switch to non-deprecated timestamppb.Now()
2021-06-15 09:53:06 -04:00
Jordan Liggitt
1134456c89
Fix CSI mock driver to get marshaleable grpc error
2021-06-15 09:53:06 -04:00
Andrew Keesler
e427d2f22a
test/cmd: kubectl and exec plugins don't fight for stdin
...
Signed-off-by: Andrew Keesler <akeesler@vmware.com>
2021-06-15 09:01:18 -04:00
Andrew Keesler
cd83d89ac9
exec credential provider: InteractiveMode support
...
The value here is that the exec plugin author can use the kubeconfig to assert
how standard input is treated with respect to the exec plugin, e.g.,
- an exec plugin author can ensure that kubectl fails if it cannot provide
standard input to an exec plugin that needs it (Always)
- an exec plugin author can ensure that an client-go process will still call an
exec plugin that prefers standard input even if standard input is not
available (IfAvailable)
Signed-off-by: Andrew Keesler <akeesler@vmware.com>
2021-06-15 09:01:17 -04:00
Kubernetes Prow Robot
36a19df91b
Merge pull request #102143 from wangyysde/promote-cronjob-integration
...
Promote cronjob integration test to batch/v1
2021-06-15 03:56:01 -07:00
Kubernetes Prow Robot
4e7fc6df63
Merge pull request #100369 from wzshiming/fix/restart-dbus-for-graceful-node-shutdown
...
After DBus restarts, make GracefulNodeShutdown work again
2021-06-14 20:50:00 -07:00
Kubernetes Prow Robot
94707017e1
Merge pull request #102773 from bart0sh/PR0097-run_remote-report-error
...
run_remote: improve error reporting
2021-06-14 19:00:25 -07:00
Sergey Kanzhelev
ff0f83b4b2
skipping more tests in case when ExecProbeTimeout set to false
2021-06-15 00:24:09 +00:00
Jan Chaloupka
7560f33e27
kube-scheduler: stop using insecure serving bits
2021-06-14 22:50:53 +02:00
Kubernetes Prow Robot
51cbebab1f
Merge pull request #102687 from mengjiao-liu/rename-master-to-controlplane
...
test/integration: Rename master to controlplane
2021-06-14 09:49:16 -07:00
Kubernetes Prow Robot
4ebf4a08c0
Merge pull request #100447 from JornShen/add_netpol_immutable_label_for_ns
...
add e2e test for default label selector for NS in netpol
2021-06-14 09:49:04 -07:00
Kubernetes Prow Robot
4aae71695a
Merge pull request #102366 from cndoit18/fix-time-format
...
fix(timezone): Change the time zone in the api data to UTC
2021-06-11 06:54:59 -07:00
Kubernetes Prow Robot
b57263b324
Merge pull request #102775 from jsafrane/cleanup-multivolume
...
Cleanup multivolume tests
2021-06-10 16:04:25 -07:00
Kubernetes Prow Robot
f32dd210a2
Merge pull request #102726 from giuseppe/fix-summary-test
...
test: adjust summary test for cgroup v2
2021-06-10 16:04:12 -07:00
Kubernetes Prow Robot
f008ba0fed
Merge pull request #102062 from serathius/etcd-server
...
Update Etcd server image to 3.5.0-rc.0-0
2021-06-10 08:23:27 -07:00
Kubernetes Prow Robot
8955463c17
Merge pull request #102745 from ahg-g/ahg-provider
...
Remove SchedulerAlgorithmSource from scheduler's internal CC API
2021-06-10 07:17:39 -07:00
Kubernetes Prow Robot
521be6344e
Merge pull request #102558 from Jerry-Ge/unroll-extenders
...
Unroll ScheduleAlgorithm#Extenders() to Scheduler.go
2021-06-10 07:17:27 -07:00
Jan Safranek
29aa4c0ee8
Check content of volumes in snapshot/clone multivolume tests
...
Check that both original and its restored snapshot / clone have the same
content during the test.
2021-06-10 14:22:00 +02:00
Ed Bartosh
89284a1ba7
run_remote: improve error reporting
...
Included more info to the error message.
2021-06-10 14:34:05 +03:00
Odin Ugedal
1c8675fc02
Ensure node e2e apiserver and test suite can open enough files
...
The apiserver and test suite in node e2e runs under the sshd daemon
that can limit the amount of files it can open. Set a higher limit
to address the issues.
Signed-off-by: Odin Ugedal <odin@uged.al>
2021-06-10 13:12:03 +02:00
Jan Safranek
68f139548b
Remove unused parameters from TestConcurrentAccessToRelatedVolumes
2021-06-10 10:41:47 +02:00
Jerry-Ge
110c39ef60
unroll extenders
...
Signed-off-by: Jerry Ge <jerry.ge@arm.com>
Co-authored-by: Huang-Wei <wei.huang1@ibm.com>
2021-06-10 08:31:44 +08:00
Abdullah Gharaibeh
52f5ba3a58
Remove SchedulerAlgorithmSource from scheduler's internal CC API
2021-06-09 19:14:54 -04:00
Kubernetes Prow Robot
90132378f0
Merge pull request #102710 from freehan/net-tier-fix
...
fix net-tiers e2e test
2021-06-09 13:35:27 -07:00
Kubernetes Prow Robot
4f854e39f2
Merge pull request #102689 from cpanato/go1165
...
[go1.16] Update to go1.16.5
2021-06-09 12:31:27 -07:00
Minhan Xia
a84b91f08c
fix net-tiers e2e test
2021-06-09 11:17:37 -07:00
Marek Siarkowicz
12447bc803
Upgrade etcd server version to 3.5.0-rc.0
2021-06-09 17:00:05 +02:00
atiratree
c882437f22
e2e test: bump ProgressDeadlineSeconds in Deployment iterative rollouts
...
align it with WaitForDeploymentComplete timeout to give the Deployment a chance to complete on contended environments
2021-06-09 15:24:30 +02:00
Giuseppe Scrivano
c98306a09e
test: adjust summary test for cgroup v2
...
on cgroup v2 the reported metric is recursive for the entire and it
includes all the sub cgroups.
Adjust the test accordingly.
Closes: https://github.com/kubernetes/kubernetes/issues/99230
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2021-06-09 14:04:06 +02:00
Kubernetes Prow Robot
a3abd06ad5
Merge pull request #102690 from tsmetana/fix-e2e-csi-mock-pv-leak
...
CSI e2e: stop leaking pvs in CSI mock snapshot test
2021-06-09 03:05:47 -07:00
atiratree
9d636fea04
e2e test: fix Pause in Deployment iterative rollouts
2021-06-09 10:28:35 +02:00
Odin Ugedal
c0c9f1f318
Ignore first SIGINT in node-e2e tests
...
Node e2e tests exceeding the global timeout are sent SIGINT, resulting
in no artifacts or console output. This will ignore the first SIGINT,
and since all children processes are being stopped due to SIGINT, we can
clean up before exiting.
2021-06-09 10:12:05 +02:00
Jonathan Dobson
484eb01822
kubelet: do not call RemoveAll on volumes directory for orphaned pods
2021-06-08 13:57:35 -06:00
Patrick Ohly
528baa09f6
e2e storage: disable health-monitor controller in hostpath deployment
...
This reverts commit
c15fd76ee9
. Most (all?) of the hostpath
tests and several other tests started to fail again in
gce-scale-master-correctness after re-enabling the controller. This
shows that it was not just the obsolete agent which causes scalability
problems, but also the controller.
It has to be disabled until the scalability problems are addressed.
2021-06-08 20:27:05 +02:00
Kubernetes Prow Robot
cc7721362c
Merge pull request #102665 from gnufied/add-online-expansion-cap
...
Add explicit capability for online volume expansion
2021-06-08 08:33:36 -07:00
Kubernetes Prow Robot
f52d1bbd81
Merge pull request #102598 from dims/drop-viper-stuff-in-test
...
Drop `viper-config` config for tests and get rid of viper dependency
2021-06-08 08:33:24 -07:00
Tomas Smetana
3968ee532d
CSI e2e: stop leaking pvs in CSI mock snapshot test
2021-06-08 14:14:44 +02:00
Carlos Panato
1524526991
[go1.16] Update to go1.16.5
...
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2021-06-08 14:11:32 +02:00
Mengjiao Liu
0fcd3c951c
test/integration: Rename master to controlplane or apiserver
2021-06-08 17:26:57 +08:00
Mengjiao Liu
257b494478
test/integration: Rename masterConfig to instanceConfig
2021-06-08 17:21:47 +08:00
Mengjiao Liu
ac5535c949
test/integration: Rename MasterConfigOptions to ControlPlaneConfigOptions
2021-06-08 16:58:46 +08:00
Dave Chen
8d0936b743
Check empty zone after the validation of providers
...
This make sure the testcase that cannot run locally will be skipped
instead of throwing the misleading failure message.
Signed-off-by: Dave Chen <dave.chen@arm.com>
2021-06-08 13:51:21 +08:00
jornshen
f22b07d8b4
add e2e test for immutable label selector in netpol
2021-06-08 09:52:12 +08:00
Kubernetes Prow Robot
588d984407
Merge pull request #102538 from jsafrane/test-xfs
...
Add e2e test for a volume + its clone used on the same node
2021-06-07 17:00:03 -07:00
Kubernetes Prow Robot
d59c06541b
Merge pull request #102627 from pohly/enable-health-check-controller
...
e2e storage: enable health-check controller in hostpath deployment
2021-06-07 13:41:08 -07:00
Hemant Kumar
95c8b02096
Add explicit capability for online volume expansion
2021-06-07 13:43:18 -04:00
Jan Safranek
28511e82ad
Add e2e test for a volume + its clone used on the same node
...
CSI driver need to pass special mount opts to XFS filesystem to be able to
mount a volume + its clone or its restored snapshot on the same node. Add a
test to exhibit this behavior.
The test is optional for now, giving CSI drivers time to fix it.
2021-06-07 18:29:47 +02:00
Patrick Ohly
2067b69b92
storage e2e: extend timeouts for subpath restart tests
...
These tests have been flaky for a long time, with a relatively low
rate of flakes. Nonetheless it seems better to extend the timeouts to
reduce the flakiness.
2021-06-07 11:39:17 +02:00
pacoxu
64946cd50d
fix flake integration rotation via informer
...
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2021-06-07 15:44:53 +08:00
Kubernetes Prow Robot
9d27400fe2
Merge pull request #102040 from njuptlzf/fix_conversion
...
Fix auditing failed of request: encoding failed
2021-06-05 19:58:38 -07:00
njuptlzf
7b0fbb7292
add audit log test cases for cross-group subresource
2021-06-06 09:52:05 +08:00
Kubernetes Prow Robot
a52571144f
Merge pull request #102597 from mengjiao-liu/rename-masterConfig
...
test/integration: Rename masterConfig to controlPlaneConfig
2021-06-05 10:41:05 -07:00
Kubernetes Prow Robot
74af3b712d
Merge pull request #102297 from deads2k/ssh-tunnels
...
remove --ssh- options, deprecated 13 releases, that only work on GCE
2021-06-05 10:40:50 -07:00
Patrick Ohly
c15fd76ee9
e2e storage: enable health-check controller in hostpath deployment
...
It was disabled together with the agent to avoid test failures in
gce-master-scale-correctness (https://github.com/kubernetes/kubernetes/issues/102452 ). That
solved the problem, but we still need to check whether the controller
alone works.
2021-06-05 18:16:19 +02:00
chymy
b250a985d2
Fix misspelling and misgrammar
...
Signed-off-by: chymy <chang.min1@zte.com.cn>
2021-06-05 05:02:17 -04:00
Davanum Srinivas
d9f82f7eba
Drop viper stuff in test/
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-06-04 09:38:22 -04:00
wangyysde
558bdd18aa
Update cronjob integration test to batch/v1
...
Signed-off-by: wangyysde <net_use@bzhy.com>
2021-06-04 21:04:21 +08:00
Mengjiao Liu
6871b2b3c7
Rename masterConfig to controlPlaneConfig
2021-06-04 20:55:08 +08:00
Kubernetes Prow Robot
a4e5239bdc
Merge pull request #102591 from pohly/disable-health-monitor
...
storage e2e: disable health check containers
2021-06-04 05:37:26 -07:00
Benjamin Elder
45179bb989
update debian-iptables to v1.6.2
...
picks up https://github.com/kubernetes/release/pull/2106
2021-06-04 01:03:55 -07:00
Patrick Ohly
c26c423b1c
storage e2e: disable health check containers
...
They are not needed for any of the tests and may be causing too much
overhead (see
https://github.com/kubernetes/kubernetes/issues/102452#issuecomment-854452816 ).
We already disabled them earlier and then re-enabled them again
because it wasn't clear how much overhead they were causing. A recent
change in how the sidecars get
deployed (https://github.com/kubernetes/kubernetes/pull/102282 ) seems
to have made the situation worse again. There's no logical explanation
for that yet, though.
(cherry picked from commit 0c2cee5676e64976f9e767f40c4c4750a8eeb11f)
2021-06-04 09:57:02 +02:00
Kubernetes Prow Robot
271f54632b
Merge pull request #102533 from aojea/lb_flakes
...
Lb flakes
2021-06-03 20:53:38 -07:00
Kubernetes Prow Robot
4acbd1d7c8
Merge pull request #102420 from m14815/commit-21.5.2
...
Error message should not be capitalized.
2021-06-03 19:39:25 -07:00
Kubernetes Prow Robot
1d19db80a8
Merge pull request #102421 from m14815/commit-21.5.1
...
Fix a grammar error in doc
2021-06-03 18:33:26 -07:00
Kubernetes Prow Robot
9f7c9c322f
Merge pull request #101738 from matthyx/deflake-startupprobe
...
fix manual trigger of readinessProbe on startupProbe success
2021-06-03 14:34:42 -07:00
Adhityaa Chandrasekar
ba708e5fc9
graduate SuspendJob to beta
...
Also adds a label to two existing Job metrics.
Signed-off-by: Adhityaa Chandrasekar <adtac@google.com>
2021-06-03 18:48:32 +00:00
David Eads
84590fe27c
remove --ssh- options, deprecated 13 releases, that only work on GCE
2021-06-03 13:54:35 -04:00
Mengjiao Liu
ab45d5e496
part of master to controlplane in test/integration
...
SetMaster -> SetAPIServer
2021-06-04 00:08:13 +08:00
cndoit18
51717256f9
fix(timezone): the timezone is standardized to UTC
...
Signed-off-by: cndoit18 <cndoit18@outlook.com>
2021-06-03 23:55:39 +08:00
Mengjiao Liu
77b5ad2fb0
Part of master to controlplane in test/integration(1.22)
2021-06-03 18:29:05 +08:00
Mengjiao Liu
387154f1a9
Part3: master to controlplane in test/integration
...
Rename RunAMaster to RunAControlPlane
2021-06-03 11:06:19 +08:00
Kubernetes Prow Robot
2e12da1ce0
Merge pull request #102539 from liggitt/websocket-service-watch
...
Fix closing of decorated watcher channel on timeout
2021-06-02 16:15:23 -07:00
Kubernetes Prow Robot
babe9cd4a7
Merge pull request #102526 from pohly/csi-driver-pod-events
...
storage e2e: capture driver pod events
2021-06-02 16:15:09 -07:00
Antonio Ojea
b8edcd3bb3
add loadbalancer name to ESIPP tests so regex pick them
2021-06-02 22:38:12 +02:00
Antonio Ojea
8e2eeffa79
PokeHTTP default timeout to avoid hanging connections
2021-06-02 22:38:12 +02:00
Antonio Ojea
21073e3b34
loadbalancer outer poll loops should have a longer timeout that inner loop
2021-06-02 22:38:08 +02:00
Antonio Ojea
27e20e226e
e2e lb use same variable for endpoint path
2021-06-02 22:24:10 +02:00
Jordan Liggitt
bd2d63dd57
Fix closing of decorated watcher channel on timeout
2021-06-02 15:25:31 -04:00
Kubernetes Prow Robot
f98e9caa77
Merge pull request #102509 from danwinship/sctp-is-not-tcp
...
Clarify and split up the "not actually SCTP" SCTP NetworkPolicy test
2021-06-02 09:46:23 -07:00
Patrick Ohly
53af002742
storage e2e: capture driver pod changes, including all events
...
As seen in https://github.com/kubernetes/kubernetes/issues/102452 , we
currently don't have pod events for the CSI driver pods because of the
different namespace and would need them to determine whether the
driver gets evicted.
Previously, only changes of the pods where logged. Perhaps even more
interesting are events in the namespace.
2021-06-02 17:37:03 +02:00
Dan Winship
211e974722
Clarify and split up the "not actually SCTP" SCTP NetworkPolicy test
...
These tests *do* apply to plugins that don't support SCTP.
2021-06-02 09:10:25 -04:00
Dan Winship
4b0d0d6fc7
Fix spurious Feature tags on some NetworkPolicy tests
...
The "[Feature:SCTP]" tag was needed on "should not allow access by TCP
when a policy specifies only SCTP" back when SCTP was alpha, because
it wasn't possible to create a policy that even mentioned SCTP without
enabling the feature gate. This no longer applies, and the tag was
removed from the original copy of network_policy.go, but accidentally
got left behind in the netpol/ version.
Likewise, the newly-added "should not allow access by TCP when a
policy specifies only UDP" got tagged "[Feature:UDP]", but this was
never necessary, and is inconsistent with other UDP tests anyway.
Similarly, we need "[Feature:SCTPConnectivity]" on tests that make
SCTP connections, because that functionality is not available in all
clusters, but "[Feature:UDPConnectivity]" is unnecessary and
inconsistent.
2021-06-02 09:10:25 -04:00
Anish Ramasekar
f3f59d420a
remove LinuxOnly tags for subset of dual-stack tests
...
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2021-06-01 16:54:54 +00:00
Kubernetes Prow Robot
037e7f8f37
Merge pull request #102279 from mengjiao-liu/update-NewMasterConfig
...
Part5: master to controlplane in test/integration(1.22)
2021-06-01 08:22:28 -07:00
Kubernetes Prow Robot
c4df930252
Merge pull request #102292 from tsmetana/fix-local-pv-e2e-pv-leak
...
Local PV e2e: fix leaked local volumes
2021-05-31 08:28:26 -07:00
Claudiu Belu
c4e644406e
test images: Adds windows-nanoserver image
...
This image is the same as "gcr.io/authenticated-image-pulling/windows-nanoserver:v1"
that is used for the "should be able to pull from private registry with secret"
test on Windows.
Adding this image will allow other people to build and push their own
images to their own private registries.
2021-05-29 06:23:33 -07:00
Kubernetes Prow Robot
e6136c0303
Merge pull request #102417 from m14815/commit-21.5.5
...
Uniform output string.
2021-05-28 20:28:24 -07:00
Kubernetes Prow Robot
bc8acbc43e
Merge pull request #102328 from lentzi90/update-cni-plugins
...
Update CNI plugins v0.9.1
2021-05-28 10:16:46 -07:00
maruiyan
39d7404961
Uniform output string.
2021-05-28 16:45:12 +08:00
maruiyan
47c8c48e2c
Remove Redundant alias
2021-05-28 16:34:37 +08:00
Odin Ugedal
d5cb5065c4
Skip node container manager test on systemd
2021-05-28 10:24:24 +02:00
Odin Ugedal
2787e8c18c
Kill container runtime with SIGKILL
...
Make sure to use SIGKILL so that the service is killed in a dirty way.
In case container runtime use "Restart=on-abnormal" in systemd, killing
with SIGTERM will not restart the service, as the kill looks intentional
and clean. This is used by cri-o by default.
2021-05-28 10:16:23 +02:00
maruiyan
1b6cf83cf4
Error message should not be capitalized.
2021-05-28 16:00:05 +08:00
Mengjiao Liu
d3f92af74f
Part of master to controlplane in test/integration
...
NewMasterConfig -> NewControlPlaneConfig
2021-05-28 14:39:52 +08:00
maruiyan
02bade4644
Fix a grammar error in doc
2021-05-28 11:48:29 +08:00
Kubernetes Prow Robot
fc9aacecca
Merge pull request #102272 from mengjiao-liu/term-NewIntegrationTestMasterConfig
...
Part2: master to controlplane in test/integration(1.22)
2021-05-27 19:46:23 -07:00
Kubernetes Prow Robot
6bac142190
Merge pull request #102138 from damemi/balance-pods-parallel
...
(scheduler e2e) Create balanced pods in parallel
2021-05-27 14:04:23 -07:00
Mike Dame
36cdb72eb6
(scheduler e2e) Create balanced pods in parallel
2021-05-27 16:01:18 -04:00
Kubernetes Prow Robot
e8760b95bb
Merge pull request #102336 from SataQiu/remove-podpreset
...
cleanup PodPreset testdata
2021-05-27 11:36:23 -07:00
Kubernetes Prow Robot
a5b117fab4
Merge pull request #102363 from mengjiao-liu/promote-cronjob-batchv1-storage
...
CronJob: switch storage version to batch/v1 in 1.22
2021-05-27 10:06:23 -07:00
Sascha Grunert
0ed0714f8c
Simplify kube-cross dependency handling
...
We can indirectly retrieve the kube-cross version from the
`build/build-image/cross/VERSION` for the sample-apiserver. This allows
us to simplify the handling in `build/dependencies.yaml` as well as
the required approval (via `OWNERS`) if the kube-cross version changes.
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2021-05-27 14:51:46 +02:00
Kubernetes Prow Robot
6db6c80656
Merge pull request #102364 from saschagrunert/cross
...
Update kube-cross to v1.16.4-2
2021-05-27 05:50:24 -07:00
Kubernetes Prow Robot
c495744436
Merge pull request #101960 from knight42/fix/deflake-metrics-proxy
...
Deflake tests that need to grab metrics from controller-manager or scheduler
2021-05-27 03:40:23 -07:00
Sascha Grunert
ae4db677f4
Update kube-cross to v1.16.4-2
...
This patch bumps kube-cross to the latest release.
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2021-05-27 12:18:28 +02:00
Mengjiao Liu
c694b9f761
CronJob: switch storage version to batch/v1 in 1.22
2021-05-27 18:07:16 +08:00
Jian Zeng
781c65a40c
fix: skip pods with empty ip
2021-05-27 16:06:34 +08:00
Kubernetes Prow Robot
29e5e4df4b
Merge pull request #99777 from JornShen/add_e2e_api_validate_endport
...
add API e2e test for port ranges of netpolices
2021-05-26 19:34:23 -07:00
Kubernetes Prow Robot
31f6cca256
Merge pull request #102282 from pohly/csi-driver-update
...
storage e2e: use csi-driver-host-path v1.7.2 in single pod
2021-05-26 13:46:27 -07:00
Kubernetes Prow Robot
7cfdc089cc
Merge pull request #102212 from mattcary/csidriver
...
Update pd csi driver images to use v1 images (CSINode, CSIDriver, etc)
2021-05-26 13:46:19 -07:00
Kubernetes Prow Robot
3e9c865d9d
Merge pull request #100531 from sjenning/storage-e2e-reduce-pod-count
...
e2e: reduce pods used in shared local pv test
2021-05-26 12:07:37 -07:00
Kubernetes Prow Robot
02d0878690
Merge pull request #100435 from lauchokyip/fixSort
...
Fixed sort-by not sorting Resources as expected
2021-05-26 09:29:38 -07:00
Kubernetes Prow Robot
494dc731d7
Merge pull request #98077 from jayunit100/jay-netpol-win
...
NetworkPolicy E2E enablement for Windows
2021-05-26 06:35:21 -07:00
jornshen
90e215dfd2
add api e2e test for port ranges of netpolices
2021-05-26 20:00:11 +08:00
SataQiu
9cfbf06225
cleanup PodPreset testdata
2021-05-26 19:57:29 +08:00
Mohamed chiheb Ben jemaa
60b719b98b
102295: Add Log statement in exec_util.go for ClientSet Creation
2021-05-26 12:37:26 +01:00
Kubernetes Prow Robot
efd7df5c99
Merge pull request #102301 from liggitt/psp-sa-group-e2e
...
Grant PSP permissions to all serviceaccounts in e2e, not just default
2021-05-26 01:43:33 -07:00
Lennart Jern
507710b50f
Update CNI plugins v0.9.1
...
ref: https://github.com/containernetworking/plugins/releases/tag/v0.9.1
Signed-off-by: Lennart Jern <lennart.jern@est.tech>
2021-05-26 11:02:04 +03:00
Patrick Ohly
4acb6a865c
storage e2e: use csi-driver-host-path v1.7.2 in single pod
...
The new default deployment in that release puts sidecars into the same
pod as the driver. This is expected to reduce load during testing.
2021-05-26 09:07:46 +02:00
Stephen Heywood
e89d2a7779
Promote Daemonset list and deleteCollection e2e test to Conformance
2021-05-26 14:30:43 +12:00
Stephen Heywood
5e4c59ba99
Promote Replicaset list and deleteCollection e2e test to Conformance
2021-05-26 14:24:39 +12:00
Chok Yip Lau
e43e9696cc
Fixed sort-by not sorting Resources as expected
2021-05-25 21:37:52 -04:00
jay vyas
8651fcb25a
Implement a windows Netpol NewModel
2021-05-25 21:08:29 -04:00
Matthew Cary
df4c34e771
Update pd csi driver images to use v1 images (CSINode, CSIDriver, etc)
...
Change-Id: I51ddf0014dcfe476495e324ee33aa658e7199477
2021-05-25 23:50:15 +00:00
Kubernetes Prow Robot
91200bac44
Merge pull request #102252 from smarterclayton/pod_termination
...
e2e: Flag questionable durations in container status on termination
2021-05-25 15:57:27 -07:00
Kubernetes Prow Robot
b0e9cdb298
Merge pull request #101853 from sanposhiho/scheduler_perf/fix/error-handling-correctly
...
scheduler_perf: correct error handling
2021-05-25 15:57:15 -07:00
Jordan Liggitt
f871475a5e
Grant PSP permissions to all serviceaccounts in e2e, not just default
2021-05-25 17:49:21 -04:00
Marko Mudrinić
3bcc15e19d
Update debian-iptables to buster-v1.6.1
...
Signed-off-by: Marko Mudrinić <mudrinic.mare@gmail.com>
2021-05-25 22:49:03 +02:00
Kubernetes Prow Robot
1b4cfdb445
Merge pull request #102291 from bart0sh/PR0096-e2e-hugepages-delete-pod
...
e2e: hugepages: delete test pod after the test
2021-05-25 10:46:42 -07:00
Kubernetes Prow Robot
548f16dbbb
Merge pull request #101992 from zshihang/bound
...
BoundServiceAccountTokenVolume ga
2021-05-25 07:52:22 -07:00
Tomas Smetana
2c79f52de9
Local PV e2e: fix leaked local volumes
2021-05-25 16:24:30 +02:00
Ed Bartosh
38c56883f1
e2e: hugepages: delete test pod after the test
...
Current test assumes that test pod is deleted when the test
namespace is deleted. However, namespace deletion is an asynchronous
operation. The pod may still be running and allocating hugepages
resources when next test case creates another pod that requests
the same hugepages resources. This can cause kubelet to fail the test
pod with this kind of error:
OutOfhugepages-2Mi: Node didn't have enough resource: hugepages-2Mi
requested: 6291456, used: 6291456, capacity: 10485760
Explicitly deleting test pod should fix this issue.
2021-05-25 17:09:55 +03:00
Kubernetes Prow Robot
7229ea343d
Merge pull request #100292 from saschagrunert/pause-3.5
...
Update pause image to v3.5
2021-05-25 06:24:22 -07:00
Kubernetes Prow Robot
b96c86f1b9
Merge pull request #102012 from alculquicondor/enable-indexed-job-test
...
Remove feature label from Indexed Job E2E test
2021-05-25 00:36:22 -07:00
Sascha Grunert
b167fc24d7
Update pause image to v3.5
...
Update dependencies and the test images to use pause 3.5. We also
provide a changelog entry for the new container image version.
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2021-05-25 09:04:46 +02:00
Mengjiao Liu
c9ec486287
Part of master to controlplane in test/integration
...
Rename NewIntegrationTestMasterConfig to NewIntegrationTestControlPlaneConfig
2021-05-25 13:26:28 +08:00
Kubernetes Prow Robot
ae381b6107
Merge pull request #102021 from huffmanca/add-sleep-to-snapshotting-tests
...
Update snapshotting tests to use volumeHandle for CSI volumes when waiting for NodeUnpublish
2021-05-24 21:49:21 -07:00
Kubernetes Prow Robot
f545438bd3
Merge pull request #101587 from nixpanic/in-tree/block-metrics
...
Fix a panic for in-tree drivers that partialy support Block volume metrics
2021-05-24 16:18:47 -07:00
Kubernetes Prow Robot
943e0c2f91
Merge pull request #101394 from Huang-Wei/dynamic-events-handler
...
sched: dynamic event handlers registration
2021-05-24 16:18:40 -07:00
Kubernetes Prow Robot
d036dd20e1
Merge pull request #100507 from ii/daemonset-status-test
...
Write AppsV1DaemonSetStatus test - +3 endpoints
2021-05-24 16:18:33 -07:00
Kubernetes Prow Robot
851d37ed40
Merge pull request #102238 from TeweiLuo/fix_repd_tests
...
Fix GCE regional PD tests.
2021-05-24 13:39:05 -07:00
Kubernetes Prow Robot
9f1ffca06b
Merge pull request #101260 from ii/replicaset-status-test
...
Write Read, Patch & Replace ReplicaSet Status +3 endpoints
2021-05-24 13:38:20 -07:00
Christian Huffman
79ce0632fd
Corrects node wait to search for volumeHandle
2021-05-24 15:28:34 -04:00
Peri Thompson
69019a03d3
Add netpol tests for windows
...
Co-authored-by: Jay Vyas <jvyas@vmware.com>
2021-05-24 13:28:04 -04:00
Clayton Coleman
2d361d4306
e2e: Flag questionable durations in container status on termination
...
The e2e that create/deletes pods rapidly and verifies their status
was reporting a very long timing:
timings total=12.211347385s t=491ms run=2s execute=450402h8m25s
in a few scenarios. Add error checks that clarify when this happens
and why. Report p50/75/90/99 latencies on teardown as observed from
the test for baseline for future changes.
2021-05-24 11:48:42 -04:00
tewei.luo
396bd37a5f
Fix GCE regional PD tests.
...
Need to set storage class returned by the apiserver which contains
the "Name" field derived from "GenerateName".
2021-05-24 04:12:20 +00:00
Kubernetes Prow Robot
d8f9e4587a
Merge pull request #101742 from ravisantoshgudimetla/promote-maxSurge-beta
...
Promote DS MaxSurge to beta
2021-05-23 04:33:38 -07:00
Kubernetes Prow Robot
d7903669c4
Merge pull request #96299 from ggriffiths/snapshot_controller_metrics_e2e_tests
...
Add Snapshot Controller e2e metric tests
2021-05-23 03:33:37 -07:00
Kubernetes Prow Robot
916ed1d3ad
Merge pull request #100543 from chaitanyabandi/variable-expansion
...
Don't replace pod annotations in variable expansion test
2021-05-21 17:43:37 -07:00
Kubernetes Prow Robot
661b76f864
Merge pull request #102216 from enj/enj/t/exec_global_cache
...
Add integration test for exec plugin global cache
2021-05-21 16:41:37 -07:00
Wei Huang
1b3a124ba6
Scheduler now registers event handlers dynamically
...
- move clusterEventMap to Configurator
- dynamic event handlers registration for core API resources
- dynamic event handlers registration for custom resources
2021-05-21 13:47:06 -07:00
Chaitanya Bandi
0681a44672
Don't replace pod annotations in variable expansion test
...
This change fixes the "Variable Expansion should verify that a failing subpath
expansion can be modified during the lifecycle of a container" conformance test
where the annotations are replaced with those used by the test, instead of
appending them.
This may cause undesirable side-effects with other controllers that may be
using pod annotations.
2021-05-21 13:38:04 -07:00
Monis Khan
a45ffd0771
Add integration test for exec plugin global cache
...
Signed-off-by: Monis Khan <mok@vmware.com>
2021-05-21 16:17:32 -04:00
Andrew Keesler
9dee2b95c2
exec credential provider: don't run exec plugin with basic auth
...
If a user specifies basic auth, then apply the same short circuit logic
that we do for bearer tokens (see comment).
Signed-off-by: Andrew Keesler <akeesler@vmware.com>
2021-05-21 13:51:03 -04:00
Kubernetes Prow Robot
164ba3ad7d
Merge pull request #102152 from ankeesler/exec-plugin-integration-test
...
test/integration/client: test exec calls metric
2021-05-21 09:42:10 -07:00
Andrew Keesler
584acb2cfe
test/integration/client: test exec calls metric
...
Signed-off-by: Andrew Keesler <akeesler@vmware.com>
2021-05-21 09:20:47 -04:00
Kubernetes Prow Robot
fed3a4520d
Merge pull request #102089 from ardaguclu/test-node-authn-ipv6-formating
...
Add Node IP IPv6 formatting in NodeAuthenticator tests
2021-05-21 05:10:46 -07:00
Grant Griffiths
564e531aa7
Add Snapshot Controller e2e metric tests
...
Signed-off-by: Grant Griffiths <ggriffiths@purestorage.com>
2021-05-20 23:29:23 -07:00
Stephen Heywood
683138f911
Create e2e daemon set status lifecycle test
...
e2e test validates the following 3 extra endpoints
- replaceAppsV1NamespacedDaemonSetStatus
- readAppsV1NamespacedDaemonSetStatus
- patchAppsV1NamespacedDaemonSetStatus
2021-05-21 11:58:11 +12:00
Stephen Heywood
31f30383d8
Create e2e Replicaset status lifecycle test
...
e2e test validates the following 3 extra endpoints
- replaceAppsV1NamespacedReplicaSetStatus
- readAppsV1NamespacedReplicaSetStatus
- patchAppsV1NamespacedReplicaSetStatus
2021-05-21 10:45:38 +12:00
Kubernetes Prow Robot
6e4e32985a
Merge pull request #99576 from marosset/windows-host-process-work
...
Windows host process work
2021-05-20 14:16:15 -07:00
Aldo Culquicondor
13f10a323c
Remove feature label from Indexed Job E2E test
2021-05-20 20:35:32 +00:00
Kubernetes Prow Robot
44cffa1ef7
Merge pull request #102157 from neolit123/1.22-remove-cluster-status-from-e2e
...
kubeadm: remove e2e test for ClusterStatus
2021-05-20 13:14:28 -07:00
Kubernetes Prow Robot
77e769b040
Merge pull request #100754 from liggitt/warning-ga
...
Graduate WarningHeader feature to GA
2021-05-20 13:14:16 -07:00
Niels de Vos
fd3bbf6f9e
Add e2e testing for Block volume metrics
...
The in-tree drivers support gathering the capacity of the Block volume.
Make sure that Kubelet exposes these for the matching PVCs.
2021-05-20 16:37:12 +02:00
Kubernetes Prow Robot
29e4fdab4d
Merge pull request #102167 from aojea/removekubemci
...
remove ingress kubemci tests from e2e
2021-05-20 05:49:04 -07:00
Kubernetes Prow Robot
584fbd23d6
Merge pull request #101889 from pacoxu/add-e2e-log-cleanup
...
e2e: add log for running which cleanup action
2021-05-20 03:47:04 -07:00
Kubernetes Prow Robot
f4f238e038
Merge pull request #101601 from AliceZhang2016/indexed-job-stable-hostname
...
specify pod name and hostname in indexed job
2021-05-20 01:41:05 -07:00
Antonio Ojea
da9ec0d4c7
remove ingress kubemci tests from e2e
2021-05-20 10:18:43 +02:00
Kubernetes Prow Robot
254c77bb89
Merge pull request #101612 from ikeeip/tests_e2e_resolve_todo_1
...
cleanup: remove TODO at e2e scheduling preemption test
2021-05-19 20:49:04 -07:00
Kubernetes Prow Robot
f01c9e8683
Merge pull request #102030 from aojea/ingress_beta
...
bump ingress e2e tests to v1
2021-05-19 17:23:17 -07:00
marosset
ae424160bd
Adding e2e test for HostProcess containers on Windows
2021-05-19 16:24:14 -07:00
Kubernetes Prow Robot
3cc0ca0988
Merge pull request #102129 from SataQiu/clean-critical-pod-annotation
...
Cleanup useless 'scheduler.alpha.kubernetes.io/critical-pod' annotation
2021-05-19 15:25:31 -07:00
Kubernetes Prow Robot
4e0245389f
Merge pull request #101995 from ii/Riaankl-daemonset-list-deletecollection
...
Write List and DeleteCollection DaemonSet Test +2 endpoints
2021-05-19 15:25:15 -07:00
Kubernetes Prow Robot
8709f18356
Merge pull request #101382 from ii/Riaankl-update-ineligible_endpoints.yaml
...
Add NetworkPolicy Endpoint to Ineligible endpoints
2021-05-19 15:24:52 -07:00
Lubomir I. Ivanov
6d6c6cfb0d
kubeadm: remove e2e test for ClusterStatus
...
Remove the e2e test for ClusterStatus in the kubeadm suite.
The object was deprecated in a previous release and is no longer
written by kubeadm v1.22 in the kubeadm-config config map.
2021-05-20 01:15:05 +03:00
Kubernetes Prow Robot
43c39ea7da
Merge pull request #101261 from ii/Riaankl-replicaset-list-deletecollection
...
Write ReplicaSet List and DeleteCollection test +2 endpoints
2021-05-19 14:22:50 -07:00
ravisantoshgudimetla
040e9c8b51
Promote DS MaxSurge to beta
2021-05-19 16:12:52 -04:00
Mengxue Zhang
e64e34e029
specify pod name and hostname in indexed job
2021-05-19 15:30:13 +00:00
xing-yang
e3cc96e002
Update test/e2e/framework/volume owners file
2021-05-19 13:43:21 +00:00
Antonio Ojea
5ffed5133d
tag ingress multicluster test and adapt to v1
2021-05-19 13:28:22 +02:00
Antonio Ojea
c822a1f2c6
gcp ingress only supports ImplementationSpecific path type
2021-05-19 11:48:01 +02:00
SataQiu
ff18e391e9
cleanup useless 'scheduler.alpha.kubernetes.io/critical-pod' annotation
2021-05-19 17:46:35 +08:00
Antonio Ojea
7b38012e74
add pathtype to scale ingress
2021-05-19 11:41:49 +02:00
Konstantin Misyutin
351f4e9c9c
cleanup: remove TODO at e2e scheduling preemption test
...
Signed-off-by: Konstantin Misyutin <konstantin.misyutin@huawei.com>
2021-05-19 17:34:50 +08:00
Antonio Ojea
fa56d296e0
e2e ingress don't set class if empty
2021-05-19 10:23:49 +02:00
Antonio Ojea
0839ed41ac
mark test that restart kcm as disruptive
2021-05-19 09:31:57 +02:00
Kubernetes Prow Robot
80093635c6
Merge pull request #102109 from mauriciopoppe/remove-v1beta1-test-volume-provisioning
...
Remove v1beta1 volume provisioning test
2021-05-18 23:33:20 -07:00
Stephen Heywood
3c1576ae57
Create e2e Deployment status lifecycle test
...
e2e test validates the following 3 endpoints
- readAppsV1NamespacedDeploymentStatus
- replaceAppsV1NamespacedDeploymentStatus
- patchAppsV1NamespacedDeploymentStatus
2021-05-19 16:34:10 +12:00
Stephen Heywood
bcfa3604a2
Create e2e test for Statefulset Status endpoints
...
e2e test validates the following 3 endpoints
- patchAppsV1NamespacedStatefulSetStatus
- readAppsV1NamespacedStatefulSetStatus
- replaceAppsV1NamespacedStatefulSetStatus
2021-05-19 16:17:19 +12:00
Shiming Zhang
990d0949c4
Add test, after restart dbus, should be able to gracefully shutdown
2021-05-19 10:06:06 +08:00
Zihong Zheng
903c2301cf
Update dns autoscaler test to look at node allocatable instead of capacity
2021-05-18 16:33:49 -07:00
Antonio Ojea
8f5020a3aa
skip nginx controller e2e tests
2021-05-18 22:49:07 +02:00
Mauricio Poppe
88165b02ba
remove v1beta1 volume provisioning test
2021-05-18 20:46:57 +00:00
Antonio Ojea
7d7179ebfd
bump e2e test to ingress v1
2021-05-18 21:42:48 +02:00
Kubernetes Prow Robot
1bd66f0301
Merge pull request #100859 from lack/relax_mount_propagation_e2e_test
...
Position e2e Mount Propagation test to be kubelet-specific
2021-05-18 09:44:49 -07:00
Jordan Liggitt
4b45d0d921
Revert "Merge pull request 101888 from kolyshkin/update-runc-rc94"
...
This reverts commit b1b06fe0a4
, reversing
changes made to 382a33986b
.
2021-05-18 09:13:47 -04:00
Kubernetes Prow Robot
7ccd90e7d7
Merge pull request #102004 from chendave/ceph_rbd
...
Fix the ceph deploy for e2e testing for ARM64
2021-05-18 05:53:31 -07:00
Arda Güçlü
0965cad63a
Use builtin JoinHostPort function
2021-05-18 14:49:02 +03:00
Arda Güçlü
2ae12e6345
Add Node IP IPv6 formatting in NodeAuthenticator tests
2021-05-18 11:47:15 +03:00
Kubernetes Prow Robot
5c58620118
Merge pull request #101726 from ankeesler/exec-plugin-integration-test
...
test/integration/client: add TestExecPluginRotationViaInformer
2021-05-18 01:29:30 -07:00
Dave Chen
f95a56a99b
Fix the ceph deploy for e2e testing for ARM64
...
- ceph deploy on ARM64 depends on "libec_jerasure_neon.so" which is not included
in `ceph-base` package in fedora26 distro, updated the distro to fedora33 to
fix the issue
```
sh ./mon.sh "$(hostname -i)"
/usr/lib64/ceph/erasure-code/libec_jerasure_neon.so: cannot open shared object file
```
- default pool `rbd` is not created on arm64, need to created this pool manually.
```
rbd import --image-feature layering block foo
rbd: error opening default pool 'rbd'
```
Signed-off-by: Dave Chen <dave.chen@arm.com>
2021-05-18 16:01:05 +08:00
Andrew Keesler
a14cd8e3de
test/integration/client: add TestExecPluginRotationViaInformer
...
Signed-off-by: Andrew Keesler <akeesler@vmware.com>
2021-05-17 17:22:09 -04:00
Kubernetes Prow Robot
4d4b530114
Merge pull request #101903 from cynepco3hahue/e2e_remote_kernel_args
...
e2e node: make possible to add additional kernel arguments
2021-05-17 13:39:59 -07:00
Kubernetes Prow Robot
b1b06fe0a4
Merge pull request #101888 from kolyshkin/update-runc-rc94
...
vendor: bump runc to rc94
2021-05-17 09:43:30 -07:00
Peri Thompson
f01cc7f09a
replace hardcoded docker image
2021-05-17 14:18:26 +01:00
pacoxu
8255288b20
e2e: add log for running which cleanup action
...
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2021-05-16 15:50:43 +08:00
Jian Zeng
32c14da902
fix(metrics-proxy): wait for enough component pods to show up first
...
Signed-off-by: Jian Zeng <zengjian.zj@bytedance.com>
2021-05-15 22:07:05 +08:00
Kubernetes Prow Robot
49a60be8ab
Merge pull request #101496 from ahg-g/ahg-nss-beta
...
Graduate pod affinity NamespaceSelector to Beta
2021-05-14 08:48:04 -07:00
Abdullah Gharaibeh
e49d1144d5
graduate pod affinity NamespaceSelector to Beta
2021-05-14 10:44:57 -04:00
vaibhav
a1e56b4f6d
Update the typo in values of pods in performance-config.yaml
2021-05-14 17:16:48 +05:30
Shihang Zhang
88b31814f4
BoundServiceAccountTokenVolume ga
2021-05-13 20:45:47 -07:00
Kubernetes Prow Robot
8abdf8cf45
Merge pull request #99840 from deads2k/try-beta
...
update to handle beta removals in 1.22
2021-05-13 16:42:05 -07:00
Kubernetes Prow Robot
9739592e84
Merge pull request #101895 from pacoxu/scheduler-proxy-port-wait
...
e2e: waiting for scheduler pod to expose metrics once
2021-05-13 09:34:38 -07:00
David Eads
d6a4afa5b8
update integration tests to reflect the kube version to stop serving removed APIs
2021-05-13 12:04:15 -04:00
Kubernetes Prow Robot
b7e50cd60c
Merge pull request #101931 from ii/update-current-term-period
...
Increase TerminationGracePeriodSeconds to 1 second
2021-05-13 07:12:26 -07:00
Kubernetes Prow Robot
f35e587087
Merge pull request #99899 from hasheddan/update-node-e2e-note
...
Update dependencies in local node test runner
2021-05-13 03:54:25 -07:00
pacoxu
c496b1d335
e2e: waiting for scheduler pod to expose metrics once
...
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2021-05-13 16:54:35 +08:00
Kubernetes Prow Robot
1c8f2c3d77
Merge pull request #100753 from johnSchnake/newCustomRegistries
...
Clean up and make more image handling consistent
2021-05-12 22:10:24 -07:00
Kubernetes Prow Robot
e6e6536c1f
Merge pull request #101950 from liggitt/watch-order
...
Make watch order conformance test reliable
2021-05-12 17:26:24 -07:00
Jordan Liggitt
630573adac
Make watch order conformance test reliable
2021-05-12 08:38:01 -04:00
Stephen Heywood
4e3d006001
Increase TerminationGracePeriodSeconds to 1
2021-05-12 11:09:34 +12:00
Masaki Kimura
382f37142c
storage e2e: auto detect sector size
2021-05-11 22:32:05 +00:00
Jordan Liggitt
7877539e30
Promote apiserver_requested_deprecated_apis metric to stable
2021-05-11 16:25:14 -04:00
Artyom Lukianov
93ff47b05b
e2e node: make possible to add additional kernel arguments
...
Add an option to configure additional kernel arguments during
the setup of e2e node environment.
The example:
cos-stable1:
image_family: cos-89-lts # docker v19.03.6, deprecated after 2021-06-24
project: cos-cloud
metadata: "user-data<test/e2e_node/jenkins/cos-init-live-restore.yaml,gci-update-strategy=update_disabled"
kernel_arguments:
- "numa=fake=2"
machine: n1-standard-4
Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
2021-05-11 13:49:32 +03:00
Sascha Grunert
9e372bffef
e2e: test SSH port on NodeSSHHosts
...
Before assuming that a certain host runs an SSH server, we now test its
`SSHPort` for connectivity. This means that the test `should be able to
run crictl on the node` can be now more failure proof by checking only
hosts where SSH actually runs. Beside that, we can also test all hosts
and not only the first one.
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2021-05-11 08:32:09 +02:00
sanposhiho
074f25523b
scheduler_perf: correct error handling
2021-05-11 11:47:20 +09:00
Kubernetes Prow Robot
0e13f93c26
Merge pull request #101461 from cynepco3hahue/fix_race_condition_under_memory_manager_test
...
e2e node: fix the race condition under the memory manager test
2021-05-10 18:51:36 -07:00
Giuseppe Scrivano
a460aaf41d
test: adjust number of expected page faults
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2021-05-10 17:34:49 -07:00
Kubernetes Prow Robot
7563d3092e
Merge pull request #96216 from knight42/refactor/disable-insecure-port-in-ctrler-mgr
...
refactor: disable insecure serving in controller-manager
2021-05-10 13:49:36 -07:00
Kubernetes Prow Robot
117952b397
Merge pull request #101833 from pacoxu/patch-9
...
upgrade nvidia-driver-installer to 2.0.5
2021-05-10 09:45:41 -07:00
Davanum Srinivas
79e5a1d5f1
Use tonistiigi/binfmt instead of our multi-arch register.sh
...
Looking deeper into the logs there are a lot of errors like:
`script exited with error 1`
Initial reaction was that there was a problem with download, but it
looks like the script we use to register the qemu emulators may be at
fault, let's try this alternate mechanism.
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-05-08 20:25:30 -04:00
Paco Xu
6ec2228b90
upgrade nvidia-driver-installer to 2.0.5
2021-05-08 20:28:44 +08:00
Kubernetes Prow Robot
c05810cc5d
Merge pull request #96702 from lingsamuel/wait-for-delete-ignore-not-found
...
Fix `kubectl wait --for=delete` ignore not found
2021-05-07 20:29:17 -07:00
Kubernetes Prow Robot
e4b01cf0d1
Merge pull request #101806 from jingxu97/may/multivolumetest
...
Fix multivolume access tests for Windows
2021-05-07 16:47:25 -07:00
Kubernetes Prow Robot
62bc76b0de
Merge pull request #101809 from justaugustus/go116
...
[go1.16] Update to go1.16.4
2021-05-07 15:41:18 -07:00
Kubernetes Prow Robot
f697cb8d94
Merge pull request #101684 from jackfrancis/e2e-wait-for-nodes-retyable-error
...
test: retryable error in wait for ready nodes test
2021-05-07 14:35:03 -07:00
Kubernetes Prow Robot
c224ca7674
Merge pull request #101800 from dims/add-a-retry-for-apk-operations
...
[agnhost] Add a retry for apk operations
2021-05-07 13:32:10 -07:00
Kubernetes Prow Robot
548fb43643
Merge pull request #101292 from AliceZhang2016/job_controller_metrics
...
Graduate indexed job to beta
2021-05-07 13:31:44 -07:00
Stephen Augustus
5b530da51f
[go1.16] Update to go1.16.4
...
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-05-07 15:47:54 -04:00
Jack Francis
e67bce7077
test: retryable error in wait for ready nodes test
2021-05-07 12:19:36 -07:00
Jing Xu
5e5a3ce85a
Fix multivolume access tests for Windows
...
Fix issue for multivolume access tests
Change-Id: I7e00d8bfe9682540b60b5998f78f2a48550934af
2021-05-07 10:53:40 -07:00
Davanum Srinivas
fdaa44da73
[agnhost] Add a retry for apk operations
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-05-07 12:44:37 -04:00
Kubernetes Prow Robot
f101acdbe2
Merge pull request #97663 from heqg/unused-variable-Code
...
remove unused variable of Code
2021-05-06 19:41:02 -07:00
Jing Xu
89edde3b31
Add function to copy a single pod log in podlogs
...
The existing function in podlogs is copyAllLogs from a namespace. Add a
new function to copy log from a single pod.
Change-Id: I39d139a2a57d72a0af3432626b0c02c1b43333d2
2021-05-06 16:31:46 -07:00
Nick Triller
5ea0162906
e2e: deflake test by not relying on events
2021-05-06 10:49:21 +02:00
Kubernetes Prow Robot
413ac5db56
Merge pull request #101709 from aojea/svc_multiport
...
conformance test for Services should validate behaviour
2021-05-06 01:47:15 -07:00
Kubernetes Prow Robot
25f9b6b1d0
Merge pull request #98906 from pacoxu/deflake/resource-quota
...
deflake a resource quota check for best-effort pods
2021-05-05 23:09:15 -07:00
Kubernetes Prow Robot
70481591b3
Merge pull request #98629 from wzshiming/fix-pull-image-url
...
Fix pull empty image URL
2021-05-05 20:21:15 -07:00
John Schnake
0adf70b61b
Clean up and make more image handling consistent
...
- Cleans up some of the image registry handling by
initializing values in a more consistent and clear
manner.
- Adds the Docker library registry to the list of
values that is override-able.
- Adds a few branches to logic to ensure each registry
is handled the same.
2021-05-05 21:08:29 -05:00
Kubernetes Prow Robot
add13090e2
Merge pull request #101732 from spencer-p/master
...
Promote kube-addon-manager to v9.1.5
2021-05-05 18:49:17 -07:00
Matthias Bertschy
3916c00955
fix manual trigger of readinessProbe on startupProbe success
2021-05-05 11:21:40 +02:00
Spencer Peterson
a119b767d0
Promote kube-addon-manager to v9.1.5
...
Change-Id: Iffebad61634831b0c34eb54517a2543c75c55d68
2021-05-04 12:14:52 -07:00
Kubernetes Prow Robot
9126048c9c
Merge pull request #101707 from enj/enj/i/bad_cadata
...
client-go transport: assert that final CA data is valid
2021-05-04 07:29:11 -07:00
Monis Khan
440ea3ef49
client-go transport: assert that final CA data is valid
...
Signed-off-by: Monis Khan <mok@vmware.com>
2021-05-03 21:08:01 -04:00
Michael Taufen
b33cd86a27
Update tests to use agnhost 2.32
...
Updates e2e tests to use agnhost 2.32, which fixes an issue with the
conformance tests for ServiceAccountIssuerDiscovery.
Original fix: https://github.com/kubernetes/kubernetes/pull/101589
Image promotion: https://github.com/kubernetes/k8s.io/pull/1994
2021-05-03 14:23:46 -07:00
Antonio Ojea
2dc4dba562
conformance test for Services should validate behavior
...
Current test for service with endpoints only validate the API objects,
however, doesn't validate that the implementation of Services works.
This mean that a cluster without any component implementing Services,
can pass Conformance.
2021-05-03 17:19:54 +02:00
Stephen Heywood
11eca39ff6
Switch TerminationGracePeriodSeconds from 0 to 1 seconds
2021-05-03 10:11:38 +12:00
Jian Zeng
97b5d2a300
test: update test cases of TestComponentSecureServingAndAuth
2021-05-03 00:35:16 +08:00
Jian Zeng
c4c2574778
refactor(e2e): grab metrics from controller-manager via nginx
...
Signed-off-by: Jian Zeng <zengjian.zj@bytedance.com>
2021-05-03 00:12:06 +08:00
Kubernetes Prow Robot
2d13e0be08
Merge pull request #101693 from wangyysde/update-PodDisruptionBudget-testing-manifests-v1
...
update PodDisruptionBudget's Version to v1 in e2e testing manifests
2021-05-01 14:30:11 -07:00
Kubernetes Prow Robot
8daa2e8a4e
Merge pull request #101689 from aojea/revert_e2e_probe
...
Revert "Deflake startupProbe e2e test"
2021-05-01 10:04:00 -07:00
wangyysde
fc1a83c96f
update PodDisruptionBudget's Version from v1beta1 to v1 in e2e testing manifests files
...
Signed-off-by: wangyysde <net_use@bzhy.com>
2021-05-01 22:15:51 +08:00
Kubernetes Prow Robot
c5b900b69c
Merge pull request #97399 from davidxia/comment-typo
...
Fix typo in comment
2021-05-01 04:57:59 -07:00
Antonio Ojea
3511357c0a
Revert "Deflake startupProbe e2e test"
...
This reverts commit bcd582030f
.
2021-05-01 10:29:03 +02:00
Kubernetes Prow Robot
ba5b2ea82b
Merge pull request #101595 from bobbypage/gpu
...
test: Update nvidia-driver-installer used in gce-device-plugin-gpu job
2021-04-30 10:24:29 -07:00
Mengxue Zhang
2d2ee6bc3a
change default feature gate value of IndexedJob
2021-04-30 14:36:15 +00:00
Kubernetes Prow Robot
f039f94a6f
Merge pull request #101589 from mtaufen/fix-agnhost-ca
...
agnhost: Try both in-cluster and external discovery
2021-04-30 07:28:10 -07:00
Kubernetes Prow Robot
8d949052c8
Merge pull request #101582 from tsmetana/k8s-fix-aws-kms-key-test
...
Fix invalid AWS KMS key test flake
2021-04-29 18:10:52 -07:00
David Porter
28acfab74c
Update cos-gpu-installer image
...
This installer image should be compatible with COS-M85 images,
specifically `cos-85-13310-1041-9`
2021-04-29 14:58:47 -07:00
Kubernetes Prow Robot
204ff6caeb
Merge pull request #101586 from liggitt/delete-partition-tests
...
Remove inactive failing tests
2021-04-29 11:36:23 -07:00
Kubernetes Prow Robot
eb326fdc07
Merge pull request #100262 from chaitanyabandi/daemon-ns-patch
...
use Patch API to add namespace annotations
2021-04-29 11:36:11 -07:00
Kubernetes Prow Robot
19c7089245
Merge pull request #101569 from wzshiming/test/e2e-node-shutdown
...
Fix flake for GracefulNodeShutdown e2e
2021-04-29 09:01:25 -07:00
Michael Taufen
0b3b99c096
Try both in-cluster and external discovery
...
The conformance test for ServiceAccountIssuerDiscovery is currently
configured with --in-cluster-discovery, which only supports token
validation against in-cluster endpoints. Many cloud providers provide
their own, external endpoints for OIDC discovery, and because the iss
claim in tokens will point to these endpoints, but the client in this
test only trusts the Cluster CA, it will fail to connect to the external
discovery endpoints when validating the token.
To ensure that the conformance test at least supports scenario where
both the discovery doc endpoint and JWKS endpoint are cluster-local and
the scenario where both endpoints are cluster-external, this PR has the
test try both and requires at least one to pass.
Caveat: The test still won't support a configuration where one
endpoint is cluster-local and the other is external. We don't yet have
evidence that this is a configuration that is used in practice, so this
initial hotfix will at least fix the conformance test for the "both
external" configuration we know providers already use. Note that if one
endpoint is cluster-local, and the other is cluster-external, tokens can
still only be validated in-cluster, because both endpoints must be
accessible to Relying Parties that validate tokens.
2021-04-29 08:56:02 -07:00
Kubernetes Prow Robot
6e29545168
Merge pull request #99998 from matthyx/deflake-startupprobe
...
Deflake startupProbe e2e test
2021-04-29 01:16:50 -07:00
Kubernetes Prow Robot
db70c2a96a
Merge pull request #99348 from chymy/e2e-rck-unused
...
Remove unused code in test/e2e/{upgrades,storage,network}
2021-04-28 21:02:50 -07:00
Shiming Zhang
91beb10aa4
Fix flake for GracefulNodeShutdown e2e
2021-04-29 10:52:00 +08:00
Kubernetes Prow Robot
e6b4fa3811
Merge pull request #101352 from ahg-g/ahg-nss-integration
...
Added integration test for pod affinity namespace selector
2021-04-28 08:00:50 -07:00
Jordan Liggitt
94a8c7af15
Remove inactive failing tests
2021-04-28 10:03:07 -04:00
Tomas Smetana
8773e0d491
Fix invalid AWS KMS key test flake
2021-04-28 13:22:49 +02:00
Matthias Bertschy
bcd582030f
Deflake startupProbe e2e test
...
Co-authored-by: Sergey Kanzhelev <S.Kanzhelev@live.com>
2021-04-28 07:07:01 +02:00
Kubernetes Prow Robot
1cab0adcd5
Merge pull request #101487 from deads2k/annotate-A
...
add --all-namespaces to kubectl annotate,label
2021-04-27 20:56:49 -07:00
Kubernetes Prow Robot
21ab9c4175
Merge pull request #95286 from SergeyKanzhelev/removePodUnknown
...
Deprecating PodUnknown podPhase
2021-04-27 11:21:38 -07:00
Abdullah Gharaibeh
ebf0bca3ce
Added integration test for pod affinity namespace selector
2021-04-27 14:13:08 -04:00
Kubernetes Prow Robot
3f98b98c69
Merge pull request #101488 from dcbw/e2e-net-firewall
...
e2e/network/firewall: don't assume nodes are exposed externally
2021-04-26 22:15:36 -07:00
Kubernetes Prow Robot
17f3990ea1
Merge pull request #100484 from gavinfish/e2e-storage-suffix
...
Remove suffixes for VolumeSnapshotClasses in E2E tests
2021-04-26 17:37:03 -07:00
Riaan Kleinhans
0733bcde2f
Create List and DeleteCollection DaemonSet Test
...
Co-Authored-By: Riaan Kleinhans <riaan@ii.coop>
e2e test validates the following 2 extra endpoints
- listAppsV1ReplicaSetForAllNamespaces
- deleteAppsV1CollectionNamespacedReplicaSet
2021-04-27 11:50:47 +12:00
David Eads
ad0cff7b61
add --all-namespaces to kubectl annotate,label
2021-04-26 13:04:19 -04:00
Dan Williams
f86ddbea70
e2e/network/firewall: don't assume nodes are exposed externally
...
If no nodes have NodeExternalIP addresses, then clearly none of the
services are exposed externally, and the test should succeed.
Seen in OpenShift CI.
2021-04-26 10:25:21 -05:00
Kubernetes Prow Robot
2b54418d66
Merge pull request #100387 from jsturtevant/test-image-doc-updates
...
Doc updates to clarify the image promotion process
2021-04-26 06:25:01 -07:00
Kubernetes Prow Robot
3e71ecc6b3
Merge pull request #101329 from ahg-g/ahg-nss-bench
...
Added benchmarks for pod affinity NamespaceSelector
2021-04-25 19:07:00 -07:00
Kubernetes Prow Robot
5c34712a09
Merge pull request #101421 from yuzhiquan/typo
...
Fix typo for kubelet
2021-04-25 12:19:00 -07:00
Artyom Lukianov
79dbdbb4c1
e2e node: fix the race condition under the memory manager test
...
Wait for kubelet to be healthy after the dynamic update
of the kubelet configuration.
Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
2021-04-25 15:12:12 +03:00
Kubernetes Prow Robot
113f828553
Merge pull request #101442 from aramase/ds-cleanup
...
update dual-stack test description to remove duplicate tag
2021-04-24 13:57:00 -07:00
Kubernetes Prow Robot
c1418fff4a
Merge pull request #101402 from wangyx1992/timeSub
...
cleanup: replace x.Sub(time.Now()) with time.Until(x) in e2e test
2021-04-24 05:54:59 -07:00
Kubernetes Prow Robot
10f7e189c2
Merge pull request #100496 from jpbetz/extract-subresources
...
Add subresource support to client-go apply extract
2021-04-23 19:27:43 -07:00
Kubernetes Prow Robot
3029808c91
Merge pull request #99772 from pacoxu/patch-4
...
job-e2e: wait exceeds active deadline for 15s
2021-04-23 19:27:35 -07:00
Anish Ramasekar
24f37695e5
update dual-stack test description to remove duplicate tag
...
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2021-04-23 16:32:36 -07:00
Kubernetes Prow Robot
b11f135a7a
Merge pull request #101381 from prameshj/port-change
...
Use a less-common port for e2e test http pod.
2021-04-23 16:14:29 -07:00
Kubernetes Prow Robot
8846859f77
Merge pull request #99154 from bertinatto/fix-make-pod
...
e2e: MakePod() should support block and inline volumes
2021-04-23 11:21:39 -07:00
Abdullah Gharaibeh
6988653457
Added benchmarks for pod affinity namespaceselector
2021-04-23 14:14:38 -04:00
yuzhiquan
02c3d53a23
typo
2021-04-23 17:55:54 +08:00
wangyx1992
fda7421f24
cleanup: replace x.Sub(time.Now()) with time.Until(x) in e2e test
...
Signed-off-by: wangyx1992 <wang.yixiang@zte.com.cn>
2021-04-23 11:27:12 +08:00
Kubernetes Prow Robot
2365d1e8bd
Merge pull request #101383 from msau42/update-mock
...
Update sidecars for csi mock driver
2021-04-22 17:44:40 -07:00
Kubernetes Prow Robot
66d27ff1a4
Merge pull request #101380 from kwiesmueller/flake-apply-mutating-webhook
...
[flake] fix TestMutatingWebhookResetsInvalidManagedFields flakes
2021-04-22 17:44:31 -07:00
Kubernetes Prow Robot
0e05558717
Merge pull request #101360 from pohly/hostpath-update
...
Revert "storage e2e: disable health check containers"
2021-04-22 17:44:14 -07:00
Kubernetes Prow Robot
2f6d79ca88
Merge pull request #100548 from mauriciopoppe/ephemeral-storage-e2e-windows
...
Make ephemeral volume tests work with Windows nodes
2021-04-22 17:44:01 -07:00
Joe Betz
d01788cd56
Enable extract test for status subresource
2021-04-22 15:32:45 -07:00
Kevin Wiesmueller
96a8df455c
fix TestMutatingWebhookResetsInvalidManagedFields flakes
2021-04-23 00:09:31 +02:00
Michelle Au
b67e1b8dfb
Update sidecars for csi mock driver
...
Change-Id: I751dc41facd95219604124f3f2f221f4d35ca34a
2021-04-22 14:29:30 -07:00
Riaan Kleinhans
94c550a050
Add NetworkPolicy Endpoint to Ineligible endpoints
2021-04-23 09:18:33 +12:00
Kubernetes Prow Robot
0f4de95e5b
Merge pull request #101330 from deads2k/apply-remove-beta
...
apply test for manager limit to only use v1 apis
2021-04-22 13:19:49 -07:00
Kubernetes Prow Robot
3061f6149f
Merge pull request #101171 from KnVerey/kubectl-describe-chunk-size
...
Add `--chunk size` flag to `kubectl describe`
2021-04-22 13:19:23 -07:00
Pavithra Ramesh
2430f23445
Use a less-common port for e2e test http pod.
...
8080 is a common port that is more likely to cause conflicts when used
in hostNetwork mode for tests.
2021-04-22 13:17:10 -07:00
Kubernetes Prow Robot
714a821f1b
Merge pull request #101295 from eddiezane/ez/fix-kubectl-error-code-e2e-test
...
Fix kubectl flake: Simple pod should return command exit codes
2021-04-22 11:27:59 -07:00
Eddie Zaneski
1bc5364b16
[e2e] match kubectl run timeout to pod start timeout
...
Signed-off-by: Eddie Zaneski <eddiezane@gmail.com>
2021-04-22 11:10:56 -06:00
Kubernetes Prow Robot
1b08dde41f
Merge pull request #101191 from tanjing2020/container_manager_test
...
Agnhost image's progress name is called agnhost, not test-webserver
2021-04-22 08:59:53 -07:00
Kubernetes Prow Robot
972ee2d425
Merge pull request #101034 from verb/1.22-ec-api
...
Switch alpha Pod ephemeralcontainers API to use Pod kind
2021-04-22 06:21:41 -07:00
Kubernetes Prow Robot
82d8d08c78
Merge pull request #101280 from huffmanca/address-snapshotting-flakes
...
Force NodeUnstageVolume to finish for all distros
2021-04-22 02:32:31 -07:00
Kubernetes Prow Robot
f1e51ceb3c
Merge pull request #98377 from nodo/scale-ownership-tracking-deployment
...
Track ownership of scale subresource
2021-04-22 01:28:32 -07:00
Patrick Ohly
3299469437
Revert "storage e2e: disable health check containers"
...
This reverts commit 0c2cee5676e64976f9e767f40c4c4750a8eeb11f.
The health check containers are not required for any test, but we want
to run them anyway to ensure that they cause no unexpected issues.
2021-04-22 08:20:39 +02:00
Kubernetes Prow Robot
1f87e3fe00
Merge pull request #101347 from verult/subpath-configmap-timeout
...
Extend pod start timeout to 5min for storage subpath configmap test
2021-04-21 21:12:46 -07:00
Kubernetes Prow Robot
d907c29956
Merge pull request #100637 from pohly/hostpath-update
...
storage e2e: automate hostpath YAML updates, update sidecars but not driver
2021-04-21 21:12:33 -07:00
Cheng Xing
4cfb6e2c23
Extend pod start timeout to 5min for storage subpath configmap test
2021-04-21 17:24:09 -07:00
Mike Dame
07029c941a
Remove Limits from scheduling e2e balanced pod resources
...
The purpose of the pod created by `createBalancedPodForNodes()` is to ensure
that all nodes have equal resource requests (as seen by the scheduler). This
prevents the default scheduling behavior (which attempts to balance resource requests)
from interfering with e2e's which test other priorities/score plugins.
Because the scheduler only worries about requests, specifying `Limits` in this pod
is unnecessary. In fact, if the calculated "balancing" limit is too low, it can cause
the balancing pod to never start due to OOMKill errors, leading to flakes and failures.
2021-04-21 15:58:00 -04:00
Kubernetes Prow Robot
1e4388964e
Merge pull request #101293 from ehashman/issue-93480
...
Remove unmaintained elasticsearch tests
2021-04-21 12:20:12 -07:00
Christian Huffman
21ea9af37f
Force NodeUnstageVolume to finish for all distros
2021-04-21 15:01:41 -04:00
Katrina Verey
8ad6fd6ddb
Add --chunk-size support to kubectl describe
2021-04-21 11:44:15 -07:00
David Eads
b1ce579517
apply test for manager limit to only use v1 apis
2021-04-21 14:38:24 -04:00
Andrea Nodari
8e4b5c849b
Do not add managed fields if a scale entry doesn't own replicas
...
This happens when a request changes the .status.replicas but not
.spec.replicas
2021-04-21 20:27:45 +02:00
Andrea Nodari
09649e58b5
Check request info when updating managed fields during scale
...
- Test all versions to make sure each resource version is in the
mappings
- Fail when request info contains an unrecognized version. We have tests
that guarantee that all known versions are in the mappings. If we
get a version in request info that is not there we should fail fast to
prevent inconsistent behaviour (e.g. for some reason the mappings is
not up to date).
Ensure all known versions are in mappings
2021-04-21 20:27:02 +02:00
Antoine Pelisse
816e80206c
Use ScaleHandler for all scalable resources
2021-04-21 18:41:40 +02:00
Andrea Nodari
a9ea98b3b9
Track ownership of deployments scale subresource
2021-04-21 18:41:40 +02:00
Kubernetes Prow Robot
032007e007
Merge pull request #101312 from harche/ContainerLogPath_fix
...
Add SELinux security context to ContainerLogPath test
2021-04-21 09:31:17 -07:00
Gautier Delorme
34b0fcef5f
remove go-openapi/spec
...
Signed-off-by: Gautier Delorme <gautier.delorme@gmail.com>
2021-04-21 11:31:49 +02:00
Fabio Bertinatto
6a645592fc
e2e: MakePod() should support block and inline volumes
2021-04-21 11:29:35 +02:00
Harshal Patil
df13eebfd0
Add SELinux security context to ContainerLogPath test
...
Signed-off-by: Harshal Patil <harpatil@redhat.com>
2021-04-21 13:48:32 +05:30
Patrick Ohly
c794b5c442
storage e2e: patch in RBAC rules for secrets
...
In one mock test, the snapshotter needs permission to read
secrets. That was disabled in the RBAC files of recent releases. We
need to patch it back in during deployment.
2021-04-21 09:57:54 +02:00
Shiming Zhang
e08988ba16
Fix pull empty image URL
...
Signed-off-by: Shiming Zhang <wzshiming@foxmail.com>
2021-04-21 15:29:46 +08:00
Riaan Kleinhans
8c7cef2621
Create List and DelectCollection ReplicaSet Test
...
Co-Authored-By: Riaan Kleinhans <riaan@ii.coop>
e2e test validates the following 2 extra endpoints
- listAppsV1NamespacedReplicaSet
- deleteAppsV1CollectionNamespacedReplicaSet
2021-04-21 16:19:26 +12:00
Kubernetes Prow Robot
497e7c0c1e
Merge pull request #101233 from pohly/e2e-suite-cleanup
...
storage e2e: remove obsolete function
2021-04-20 19:24:10 -07:00
Kubernetes Prow Robot
6a7572e4ad
Merge pull request #101287 from soltysh/replace_with_default
...
Fail fast when image is specified without tag
2021-04-20 17:38:24 -07:00
Elana Hashman
ac5ba850c1
Remove unused elasticsearch tests
2021-04-20 13:34:59 -07:00
Maciej Szulik
3edabfb460
Switch to a proper busybox test image
2021-04-20 22:05:31 +02:00
Maciej Szulik
89b50bcf94
Fail fast when image is specified w/o tag
2021-04-20 21:10:16 +02:00
Kubernetes Prow Robot
92aff21558
Merge pull request #95609 from fromanirh/tm-e2e-faster-delete
...
e2e: topology manager: use deletePodSync for faster delete
2021-04-20 04:14:33 -07:00
Patrick Ohly
ebd02341c9
storage e2e: downgrade hostpath driver
...
This is a temporary workaround until a fixed driver is available.
2021-04-20 08:07:15 +02:00
Patrick Ohly
7682e39a47
storage e2e: disable health check containers
...
They are not needed for any of the tests and in practice apparently
caused enough overhead that even unrelated tests timed out. For
example, in the pull-kubernetes-e2e-kind test, 43 out of 5771 tests
failed, including tests from sig-node, sig-cli, sig-api-machinery,
sig-network.
2021-04-20 08:07:15 +02:00
Patrick Ohly
446c1136dc
storage e2e: automate hostpath YAML updates, hostpath v1.6.2
...
Mirroring the various YAML files by hand is tedious. The new
update-hostpath.sh does all the necessary steps automatically.
The result is now a bit more consistent with the upstream repos in the
sense that the original file names and paths for the RBAC YAML files
are used.
The csi-hostpath-testing.yaml is included for the sake of
completeness, but not used during E2E testing.
The new hostpath driver release is v1.6.2, which adds the
external-health-monitor for the first time.
2021-04-20 08:07:15 +02:00
Kubernetes Prow Robot
0f5fce6a64
Merge pull request #101244 from deads2k/remove-csr
...
remove CSR v1beta1 tests since the API is no longer available in 1.22 and CSRs are short term
2021-04-19 22:12:39 -07:00
Kubernetes Prow Robot
1eccb41fa8
Merge pull request #101248 from deads2k/integration
...
update more integration tests for v1beta1 removal
2021-04-19 18:54:56 -07:00
Kubernetes Prow Robot
651a7a6f6b
Merge pull request #101245 from deads2k/test-cmd
...
update test-cmd to avoid removed beta APIs
2021-04-19 18:54:44 -07:00
James Sturtevant
02a182f5e2
updates to clarify the image promotion process
2021-04-19 15:49:27 -07:00
David Eads
e6113c5fe6
update openapi overlap test for crd v1
2021-04-19 13:55:32 -04:00
David Eads
b199047fa6
remove outdated extensions group test
2021-04-19 13:55:32 -04:00
David Eads
b74c542de5
skip printing test for removed APIs
2021-04-19 13:55:32 -04:00
Shihang Zhang
925900317e
allow multiple of --service-account-issuer
2021-04-19 09:54:11 -07:00
David Eads
2fb8420756
update test-cmd to avoid removed beta APIs
2021-04-19 10:06:37 -04:00
David Eads
2e07319356
remove CSR v1beta1 tests since the API is no longer avaiable and CSRs are short term
2021-04-19 09:39:41 -04:00
Patrick Ohly
93d1e373eb
storage e2e: remove obsolete function
...
SkipRedundantSuite was replaced by SkipUnsupportedTests. We don't need
both.
2021-04-19 11:11:47 +02:00
Kubernetes Prow Robot
9f5573e83f
Merge pull request #101211 from aojea/nosnat
...
e2e create pods only on schedulable nodes
2021-04-17 10:32:34 -07:00
Kubernetes Prow Robot
0f1d105f8d
Merge pull request #100970 from apelisse/add-subresource-managedfields
...
Add subresource managedfields
2021-04-17 07:42:34 -07:00
Antonio Ojea
0695bc45cf
e2e create pods only on schedulable nodes
...
We were avoiding the scheduled using the pod.Spec.NodeName directly,
however, once we switched to using the node selector, the no_snat
e2e test started to fail because was trying to schedule pods on
nodes with taints, hence, failing the test.
2021-04-17 12:05:40 +02:00
Stephen Augustus
fac97f8a9b
[go1.16] Update to go1.16.3
...
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-04-16 19:56:51 -04:00
Antoine Pelisse
e477c31307
fieldmanager: Comment test broken by status being separated from main resource
2021-04-16 14:26:05 -07:00
Andrea Nodari
862d256195
Add "subresource" field to ManagedFieldEntry
...
This field is useful to namespace the managed field entries of a
subresource and differentiate them from the ones of the main resource.
2021-04-16 14:13:18 -07:00
Kubernetes Prow Robot
3ed71cf190
Merge pull request #100976 from jindijamie/master
...
releng: Update debian-base and debian-iptables to buster-v1.6.0 to patch base image CVEs
2021-04-16 12:56:34 -07:00
Kubernetes Prow Robot
f1c1379def
Merge pull request #100963 from enj/enj/i/authz_func_ctx
...
authorizer func: pass through context
2021-04-16 12:56:22 -07:00
Kubernetes Prow Robot
27a625cf89
Merge pull request #100724 from liggitt/eviction-v1beta1
...
Add policy/v1 Eviction support
2021-04-16 10:02:22 -07:00
Antonio Ojea
60c3480740
e2e don't set pod.Spec.NodeName directly
...
based on this comment in
ea07644522/test/e2e/framework/pod/node_selection.go (L96-L101)
// pod.Spec.NodeName should not be set directly because
// it will bypass the scheduler, potentially causing
// kubelet to Fail the pod immediately if it's out of
// resources. Instead, we want the pod to remain
// pending in the scheduler until the node has resources
// freed up.
2021-04-16 15:58:16 +02:00
Lee Verberne
97726a50c1
Address feedback for new /ephemeralcontainers API
...
* Use deep copies in `PrepareForUpdate()`
* Preserve select metadata from new pod
* Use patch to add ephemeral container `kubectl debug`
* Distinguish between pod vs /ephemeralcontainers NotFound
2021-04-16 14:08:12 +02:00
tanjing2020
fa3956844d
The process name is called agnhost, not test-webserver, after the Agnhost image is started.
2021-04-16 18:05:00 +08:00
Kubernetes Prow Robot
97bdd7b9eb
Merge pull request #100377 from mauriciopoppe/storage-windows-e2e-tests
...
Fix "Pod Disks schedule pods each with a PD" test in windows
2021-04-15 23:22:22 -07:00
Mauricio Poppe
eaf2954ad8
Add a TODO to install sync in agnhost
2021-04-16 00:01:18 +00:00
Kubernetes Prow Robot
e583435ecb
Merge pull request #101147 from soltysh/wrong_substring
...
Limit image spec's hash length
2021-04-15 10:36:07 -07:00
Kubernetes Prow Robot
24350a922e
Merge pull request #101086 from enj/enj/i/auth_owners_gen
...
Prune stale entries from OWNERS files
2021-04-15 08:27:50 -07:00
Maciej Szulik
8acab3cc49
Limit image spec's hash length
...
To be able to properly limit the length of hash string we should limit
after encoding to base, not before.
2021-04-15 16:14:45 +02:00
Kubernetes Prow Robot
edc7f023a4
Merge pull request #101118 from zshihang/master
...
move upgrade test frameworks closer to Describe
2021-04-15 04:35:49 -07:00
Kubernetes Prow Robot
6d130d3b97
Merge pull request #100557 from chendave/validation_cleanup
...
Validate plugin config for KubeSchedulerConfiguration
2021-04-14 18:20:01 -07:00
Kubernetes Prow Robot
e824c59913
Merge pull request #99696 from JornShen/refactor_netpol_policies
...
refactor netpol/policies.go
2021-04-14 15:17:07 -07:00
Shihang Zhang
cf3232ca65
move upgrade test frameworks closer to Describe
2021-04-14 09:13:58 -07:00
Jordan Liggitt
a07d4460bf
Promote e2e eviction test to conformance
2021-04-14 09:12:39 -04:00
Jordan Liggitt
10b07085f8
Define constant for eviction failure cause
2021-04-14 09:12:39 -04:00
Dave Chen
c6e65079c7
Validate plugin config for KubeSchedulerConfiguration
...
Signed-off-by: Dave Chen <dave.chen@arm.com>
2021-04-14 09:30:20 +08:00
Jordan Liggitt
33ad842480
allow evictions subresource to accept policy/v1 and policy/v1beta1
2021-04-13 21:22:25 -04:00
Monis Khan
91241eac9b
Prune stale entries from OWNERS files
...
Signed-off-by: Monis Khan <mok@vmware.com>
2021-04-13 20:54:50 -04:00
Kubernetes Prow Robot
2147937c41
Merge pull request #100128 from ingvagabund/sig-scheduling-single-node-e2e
...
[sig-scheduling] SchedulerPreemption|SchedulerPredicates|SchedulerPriorities: adjust some e2e tests to run in a single node cluster scenario
2021-04-13 10:31:09 -07:00
Jim Ramsay
050001d1d3
Position e2e Mount Propagation test to be kubelet-specific
...
This replaces the check of mount propagation to/from the host OS mount
namespace to a similar check about the mount namespace where kubelet is
running (which may or may not be the same mount namespace as the host
OS).
This addresses issue #100259
2021-04-13 12:03:08 -04:00
Lee Verberne
d22dc5cb72
Switch ephemeralcontainers SR to Pod Kind
...
This changes the `/ephemeralcontainers` subresource of `/pods` to use
the `Pod` kind rather than `EphemeralContainers`.
When designing this API initially it seemed preferable to create a new
kind containing only the pod's ephemeral containers, similar to how
binding and scaling work.
It later became clear that this made admission control more difficult
because the controller wouldn't be presented with the entire Pod, so we
updated this to operate on the entire Pod, similar to how `/status`
works.
2021-04-13 13:36:48 +02:00
Kubernetes Prow Robot
57459ebd3e
Merge pull request #101003 from ahg-g/ahg-cost
...
Integration test for pod deletion cost feature
2021-04-13 03:02:50 -07:00
Kubernetes Prow Robot
dd72c4534c
Merge pull request #97968 from saschagrunert/apparmor-host-check
...
Remove check for apparmor_parser in AppArmor host validation
2021-04-13 01:58:50 -07:00
Jan Chaloupka
bf2fc250a4
validates basic preemption works|validates lower priority pod preemption by critical pod: allocate 4/5 instead of 2/3
...
To run the tests in a single node cluster, create two pods consuming 2/5 of the extended resource instead of one consuming 2/3.
The low priority pod will be consuming 2/5 of the extended resource instead so in case there's only a single node,
a high priority pod consuming 2/5 of the extended resource can be still scheduled. Thus, making sure only the low priority pod
gets preempted once the preemptor pod consuming 2/5 of the extended resource gets scheduled while keeping the high priority pod untouched.
2021-04-13 09:47:28 +02:00
Kubernetes Prow Robot
ed3e0d302f
Merge pull request #100644 from Huang-Wei/sched-fwk-config
...
Surface kube config in scheduler framework handle
2021-04-12 19:12:49 -07:00
Katrina Verey
5200ff86d0
Add --chunk-size flag to kubectl drain
2021-04-12 08:10:52 -07:00
Abdullah Gharaibeh
74e3ffa959
Integration test for pod deletion cost feature
2021-04-11 23:37:20 -04:00
Kubernetes Prow Robot
ce14346b46
Merge pull request #100181 from pacoxu/master-to-control-plane
...
part1: master to controlplane in test/integration(1.22)
2021-04-11 05:07:59 -07:00
Kubernetes Prow Robot
3eac797255
Merge pull request #100200 from jackfrancis/ctx-respect-ExecProbeTimeout
...
respect ExecProbeTimeout=false for dockershim
2021-04-10 22:55:59 -07:00
Kubernetes Prow Robot
dbf1102437
Merge pull request #100762 from AliceZhang2016/multi-az-timeout
...
List pod list once to avoid timeout in Multi-AZ Clusters
2021-04-10 20:29:43 -07:00
Kubernetes Prow Robot
43af6783ae
Merge pull request #100865 from RA489/update_owner
...
kubeadm: Add RA489 as reviewer
2021-04-10 19:04:03 -07:00
Kubernetes Prow Robot
c51450609f
Merge pull request #100839 from jayunit100/patch-25
...
add network-policy label automatically
2021-04-10 19:03:47 -07:00
Kubernetes Prow Robot
e188a36408
Merge pull request #100836 from dims/fix-file-mode-condition-for-host_path-storage-test
...
Fix file mode condition for host_path storage test
2021-04-10 19:03:39 -07:00
Kubernetes Prow Robot
24b40c4d6c
Merge pull request #100808 from nicomitchell/scheduler_perf_tests_unique_names
...
test/integration/scheduler_perf: make sure each testCase and workload has a unique name
2021-04-10 19:03:30 -07:00
Kubernetes Prow Robot
e639d44ae5
Merge pull request #100440 from lojies/ingress_utils_cleanup
...
log format optimization
2021-04-10 19:03:10 -07:00
jindijamie
7e7a6284be
update debian-base to buster-v1.5.0 for CVEs
2021-04-09 19:27:10 +00:00
Monis Khan
8f00e918d8
authorizer func: pass through context
...
Signed-off-by: Monis Khan <mok@vmware.com>
2021-04-09 09:47:19 -04:00
Kubernetes Prow Robot
fded3d71e5
Merge pull request #100676 from squeed/netpol-v6-test
...
test/e2e: handle ipv6 addresses in netpol tests
2021-04-09 05:19:53 -07:00
Kubernetes Prow Robot
4959cd6339
Merge pull request #100671 from Niekvdplas/spelling-mistakes
...
Fixed several spelling mistakes
2021-04-09 05:19:45 -07:00
Kubernetes Prow Robot
f56a2c4118
Merge pull request #100562 from deads2k/beta-proxy-removal
...
use a non-deprecated API to check kube-proxy
2021-04-09 05:18:59 -07:00
Kubernetes Prow Robot
ecd559a3ab
Merge pull request #100457 from gavinfish/integration-e2e
...
Make integration tests not depend on e2e tests
2021-04-08 22:09:39 -07:00
Kubernetes Prow Robot
c648d897e8
Merge pull request #100433 from gavinfish/e2e-common-unify
...
Unify some methods in e2e common
2021-04-08 22:09:14 -07:00
Kubernetes Prow Robot
851e14dc70
Merge pull request #100425 from eltociear/patch-4
...
test: fix typo in chaosmonkey.go
2021-04-08 22:09:05 -07:00
Kubernetes Prow Robot
2056c8df5d
Merge pull request #100378 from marun/tag-multiaz-serial
...
Tag Multi-AZ scheduling tests as serial
2021-04-08 20:30:28 -07:00
Kubernetes Prow Robot
3c75651d15
Merge pull request #100357 from Huang-Wei/enq-serviceaffinity
...
implement EnqueueExtensions interface in serviceaffinity
2021-04-08 20:30:20 -07:00
Kubernetes Prow Robot
c081e70656
Merge pull request #100356 from mauriciopoppe/storage-windows-tests
...
Disable intree storage multivolume e2e test in windows nodes
2021-04-08 20:30:12 -07:00
Kubernetes Prow Robot
4b9421674f
Merge pull request #100325 from cwdsuzhou/donot_delete_waitingpod
...
Preempting: do not delete the victim if it just exits in WaitingPods
2021-04-08 20:29:46 -07:00
Kubernetes Prow Robot
8d6b3229da
Merge pull request #100206 from KnVerey/fix-drain-server-dry-run
...
Error in kubectl drain --dry-run=server
2021-04-08 20:28:46 -07:00
Kubernetes Prow Robot
96db2323a4
Merge pull request #100041 from vteratipally/update_npd_version
...
bump npd version to latest v0.8.7
2021-04-08 17:10:55 -07:00
Kubernetes Prow Robot
bb0906dcb2
Merge pull request #99929 from lala123912/lint_clean
...
Remove unused/dead code
2021-04-08 16:00:34 -07:00
Kubernetes Prow Robot
a40da10099
Merge pull request #99713 from ankeesler/exec-plugin-integration-test
...
Exec plugin integration test
2021-04-08 15:59:17 -07:00
Kubernetes Prow Robot
e9d7247447
Merge pull request #99072 from cynepco3hahue/e2e_fix_memory_manager_tests
...
e2e: fix memory manager tests
2021-04-08 14:27:40 -07:00
Jack Francis
5a43067915
respect ExecProbeTimeout
2021-04-07 12:38:19 -07:00
Andrew Keesler
d00202bd3e
exec credential provider: informer happy path integration test
...
Signed-off-by: Andrew Keesler <akeesler@vmware.com>
2021-04-07 14:46:40 -04:00
Antonio Ojea
7c7d003e5c
e2e test with hostNetwork pods can't run in parallel
...
the tests with pods using hostNetwork need to bind pods for the
test. Since they use hostNetwork the ports are limited, hence, if
more than one run in parallel, one is going to fail because will not
be able to get the port.
2021-04-07 20:07:18 +02:00
Claudiu Belu
b42c1a3e47
test images: Adds cuda-vector-add-old image
...
Currently, the only image left in gcr.io/kubernetes-e2e-test-images is the
cuda-vector-add:1.0 image.
According to 8408188cdf
, the 1.0 image was based on CUDA 8.0,
while the 2.0 version is based on CUDA 10.0. We can simply rebuild the 1.0 image based on
the CUDA 8.0 image and then promote the new image.
Added ALIAS file, which specifies what the image name should be, similarly to how we build
multiple versions of nginx and httpd.
Note that the image CMD was changed from "./vectorAdd" to "nvidia-smi && ./vectorAdd" in 2.0.
2021-04-07 15:02:15 +00:00
Sergey Kanzhelev
4b05fe6644
podUnknown is marked as Obsolete
2021-04-06 22:43:08 +00:00
RA489
67d30f32f6
kubeadm: Add RA489 as reviewer
2021-04-06 21:45:39 +05:30
Nicolas Mitchell
0e994e9481
return error with non-unique workload name in scheduler_perf_test
2021-04-06 10:24:04 -04:00
Mengxue Zhang
200ef16f1d
list pod list once to avoid timeout
2021-04-06 13:44:11 +00:00
Andrew Keesler
c984a1c834
test/integration/client: ditch unused code
...
Signed-off-by: Andrew Keesler <akeesler@vmware.com>
2021-04-06 09:40:57 -04:00
Mauricio Poppe
1e1252ed8c
use LinuxOnly annotation instead of e2eskipper to skip windows tests
2021-04-05 20:21:53 +00:00
jay vyas
cd58735777
add network-policy label automatically
2021-04-05 09:36:15 -07:00
Davanum Srinivas
766c6706c4
Fix file mode condition for host_path storage test
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-04-05 09:25:45 -04:00
Nicolas Mitchell
338b06fb69
validate test/workload names in validateTestCases
2021-04-04 14:18:39 -04:00
James Sturtevant
d0683b8ce2
align some of the pod start up times
2021-04-02 11:29:38 -07:00
James Sturtevant
dab1325c29
increase timeout for pods to start
2021-04-01 12:28:50 -07:00
Claudiu Belu
665e2004f1
Windows tests: Adds [Feature:GPUDevicePlugin] tag to Device Plugin test
...
The test verifies a specific feature, in which GPUs are required, thus, cannot
be run in most testing environments. We should exclude this test from most test jobs.
We'll be doing this by adding the [Feature:GPUDevicePlugin] tag (which is also being
used by test/e2e/scheduling/nvidia-gpus.go), and then add it to the ginkgo skip regex.
2021-04-01 11:36:13 -07:00
Mauricio Poppe
55bed0bb66
skip default storageclass test with windows nodes
2021-03-31 17:21:57 +00:00
pacoxu
ce50018a76
part1 of e2e: master to apiserver/control-plane
...
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2021-03-31 15:50:18 +08:00
Davanum Srinivas
57ddfb7314
Switch to newer agnhost image
...
We have an update to the image in
f9aaf71ccb
, we need to bump to use this
image.
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-03-30 20:15:36 -04:00
Niekvdplas
fec272a7b2
Fixed several spelling mistakes
2021-03-30 23:02:09 +02:00
Mauricio Poppe
7b0b47c132
remove sleep 1 and check later if the test is flaky
2021-03-30 20:04:10 +00:00
Andrey Smirnov
f9aaf71ccb
test/e2e: fix the OIDC discovery test with ECDSA service account key
...
By default oidc library enables only `RS256` signature validation
method.
Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2021-03-30 22:58:50 +03:00
Wei Huang
e7f67b1a63
Surface kube config in scheduler framework handle
2021-03-30 11:54:59 -07:00
Casey Callendrello
1efd456bcf
test/e2e: handle ipv6 addresses in netpol tests
...
The tests, as written, don't correctly join ip and port for v6
addresses.
use net.JoinHostPort to handle this case.
2021-03-30 16:41:06 +02:00
Kubernetes Prow Robot
770d3f181c
Merge pull request #99734 from wgahnagl/sysctls-conformance
...
Promote sysctls e2e test to Conformance
2021-03-26 18:26:43 -07:00
Kubernetes Prow Robot
931516a87b
Merge pull request #100191 from jingxu97/mar/deployment
...
Fix deployment lifecycle test issue
2021-03-25 17:13:49 -07:00
Kubernetes Prow Robot
4333e5caa7
Merge pull request #100553 from adtac/suspend-intfail
...
job controller: don't mutate shared cache object
2021-03-25 10:31:29 -07:00
David Eads
cbd762814f
use a non-deprecated API to check kube-proxy
2021-03-25 12:41:50 -04:00
drfish
aa0b284ca1
Make integration tests not depend on e2e tests
2021-03-25 23:02:52 +08:00
Skyler Clark
c6b99025a6
adds sysctls conformance tests
2021-03-25 09:28:25 -04:00
Kubernetes Prow Robot
2eb6911e83
Merge pull request #94334 from RaunakShah/volume_provision_perf
...
Add e2e test to validate performance metrics of volume lifecycle operations
2021-03-24 23:47:29 -07:00
Adhityaa Chandrasekar
4118dff509
suspend integration tests: run all subtests in pre-submit
...
Signed-off-by: Adhityaa Chandrasekar <adtac@google.com>
2021-03-25 06:36:00 +00:00
Kubernetes Prow Robot
533931cfe5
Merge pull request #100549 from RaunakShah/fix_snapshot_cleanup
...
Fix check before deleting PV in Snapshot e2e test
2021-03-24 21:41:29 -07:00
Kubernetes Prow Robot
e34046c81d
Merge pull request #100537 from pohly/storage-capacity-e2e-test
...
storage e2e: verify CSIStorageCapacity publishing
2021-03-24 20:01:41 -07:00
shahra
6a97ff529d
Fix check before deleting PV in Snapshot e2e test
2021-03-24 18:34:44 -07:00
Jing Xu
787559581f
Fix deployment lifecycle and ReplicaSet test issue
...
The pause image should not run sleep commands. This will cause pod fail
to start correctly.
See details in issue #100047 . We discovered some behavior about
development in certain cases like new pod fail to start correctly, but will be further investigated.
Change-Id: I9761bbefa694f6fe51a6f1e7561fa7e566ce4d8f
2021-03-24 18:22:13 -07:00
Kubernetes Prow Robot
bcab4c35d2
Merge pull request #100540 from mauriciopoppe/remove-selinuxoptions
...
Remove SELinuxOptions double setup in pod spec
2021-03-24 18:01:28 -07:00
Mauricio Poppe
7455b1ae94
update ephemeral volume tests with windows
2021-03-25 00:13:52 +00:00
Kubernetes Prow Robot
68c021261c
Merge pull request #100519 from tanjing2020/validateOOMScoreAdjSettingIsInRange
...
Fix the wrong judgment of oom_score_adj
2021-03-24 16:23:28 -07:00
Patrick Ohly
d7a086ddd8
storage e2e: simplify CSIStorageCapacity test
...
We can support topology detection for all drivers with a single
topology key by allowing different nodes to have the same topology
value. This makes the test a bit more generic and its configuration
simpler.
2021-03-24 22:31:43 +01:00
shahra
34e4a5f22c
Add e2e test to validate performance metrics of volume lifecycle operations.
...
This test currently validates latency and throughput of volume
provisioning against a high baseline.
2021-03-24 13:50:32 -07:00
Kubernetes Prow Robot
d8193c9503
Merge pull request #100464 from listx/remove-listx-from-owners
...
test/utils/image: remove listx from OWNERS
2021-03-24 13:49:42 -07:00
Kubernetes Prow Robot
e57223876d
Merge pull request #100295 from adtac/suspend-int
...
add integration test for suspended jobs
2021-03-24 13:49:30 -07:00
Mauricio Poppe
d9c4d8bff8
remove selinuxoptions because it's configured before
2021-03-24 18:58:54 +00:00
Patrick Ohly
b9b5d13b6d
storage e2e: verify CSIStorageCapacity publishing
...
Drivers need to opt into the new test. Depending on how the driver
describes its behavior, the check can be more specific. Currently it
distinguishes between getting any kind of information about the
storage class (i.e. assuming that capacity is not exhausted) and
getting one object per node (for local storage). Discovering nodes
only works for CSI drivers.
The immediate usage of this new test is for csi-driver-host-path with
the deployment for distributed provisioning and storage capacity
tracking. Periodic kubernetes-csi Prow and pre-merge jobs can run this
test.
The alternative would have been to write a test that manages the
deployment of the csi-driver-host-path driver itself, i.e. use the E2E
manifests. But that would have implied duplicating the
deployments (in-tree and in csi-driver-host-path) and then changing
kubernetes-csi Prow jobs to somehow run for in-tree driver definition
with newer components, something that currently isn't done. The test
then also wouldn't be applicable to out-of-tree driver deployments.
Yet another alternative would be to create a separate E2E test suite
either in csi-driver-host-path or external-provisioner. The advantage
of such an approach is that the test can be written exactly for the
expected behavior of a deployment and thus be more precise than the
generic version of the test in k/k. But this again wouldn't be
reusable for other drivers and also a lot of work to set up as no such
E2E test suite currently exists.
2021-03-24 18:18:27 +01:00
Seth Jennings
0eb40b3ded
e2e: reduce pods used in shared local pv test
2021-03-24 10:07:45 -05:00
tanjing2020
d0882e69e2
Fix the wrong judgment of oom_score_adj
2021-03-24 16:13:20 +08:00
drfish
244d7a5d67
Remove suffixes for VolumeSnapshotClasses in E2E tests
2021-03-23 21:24:28 +08:00
Kubernetes Prow Robot
375c9abfa2
Merge pull request #99873 from liggitt/etcd-compatibility
...
Add Etcd compatibility test
2021-03-23 05:27:36 -07:00
caiweidong
850759ec87
Preempting: do not delete the victim if it just exits in WaitingPods
2021-03-23 14:37:36 +08:00
Kubernetes Prow Robot
1822523afb
Merge pull request #100345 from ravisantoshgudimetla/fix-ds-test
...
Tighten DS rollout catching function
2021-03-22 18:51:35 -07:00
Linus Arver
8f6ca1c649
test/utils/image: remove listx from OWNERS
...
Removing myself from OWNERS as I haven't had the bandwidth to go over
these reviews for a long time.
This should have been part of #99718 , which has already been merged.
2021-03-22 14:22:51 -07:00
Kubernetes Prow Robot
1a983bb958
Merge pull request #100418 from swetharepakula/eps-conformance
...
Promote EndpointSlice API test to Conformance
2021-03-22 13:27:35 -07:00
卢振兴10069964
4d595b9129
log format optimization
2021-03-22 11:15:25 +08:00
drfish
0558ca1918
Unify some methods in e2e common
2021-03-21 21:51:56 +08:00
Ikko Ashimine
7baa7dbdbe
test: fix typo in chaosmonkey.go
...
defered -> deferred
2021-03-21 12:20:00 +09:00
Swetha Repakula
9c1f9c3962
Promote EndpointSlice API test to Conformance
2021-03-19 23:28:35 +00:00
ravisantoshgudimetla
f339061816
Tighten DS rollout catching function
2021-03-19 16:02:41 -04:00
Ernest Wong
42011ecfe4
test image: bump agnhost version to 2.30
...
Signed-off-by: Ernest Wong <chuwon@microsoft.com>
2021-03-19 11:12:45 -07:00
Kubernetes Prow Robot
ac5f05b374
Merge pull request #100359 from chewong/increase-dns-timeout
...
agnhost: increase dns timeout from 5 seconds to 20 seconds
2021-03-19 08:04:33 -07:00
Kubernetes Prow Robot
0fecc01567
Merge pull request #100300 from DangerOnTheRanger/reboot-flake-fix
...
Fix E2E node reboot test flake
2021-03-18 16:30:36 -07:00
Kubernetes Prow Robot
7f8ef6fbce
Merge pull request #100189 from aramase/update-dualstack-test
...
update dual-stack test description to remove alpha
2021-03-18 15:26:36 -07:00
Kubernetes Prow Robot
b57a8bacad
Merge pull request #100383 from jsturtevant/update-to-latest-promoted-busybox
...
Update busybox that includes windows nltest
2021-03-18 14:12:35 -07:00
Kubernetes Prow Robot
f28cb4659d
Merge pull request #99698 from spiffxp/verify-e2e-test-ownership
...
add verify-e2e-test-ownership.sh
2021-03-18 12:19:07 -07:00
James Sturtevant
a8eff25ff3
update busybox that includes windows nltest
2021-03-18 12:03:56 -07:00
Wei Huang
9d1ef9f4c5
unregister Service events if a plugin doesn't implement EventsToRegister()
2021-03-18 11:04:06 -07:00
Maru Newby
253df78f1b
Tag Multi-AZ scheduling tests as serial
...
As per mdame, we can't ensure that the cluster is actually balanced
if other tests are adding or deleting pods in parallel.
2021-03-18 10:31:03 -07:00
Mauricio Poppe
2ac6d4d133
fix Pod Disks schedule pods each with a PD test in windows
2021-03-18 17:19:09 +00:00
Francesco Romani
fc0955c26a
e2e: topomgr: use deletePodSync for faster delete
...
Previously the code used to delete pods serially.
In this patch we factor out code to do that in parallel,
using goroutines.
This shaves some time in the e2e tm test run with no intended
changes in behaviour.
Signed-off-by: Francesco Romani <fromani@redhat.com>
2021-03-18 13:28:16 +01:00
Adhityaa Chandrasekar
1341e35a96
add integration test for suspended jobs
...
Signed-off-by: Adhityaa Chandrasekar <adtac@google.com>
2021-03-18 12:22:14 +00:00
Kubernetes Prow Robot
0c6d922812
Merge pull request #100057 from mauriciopoppe/pd-csi-volumesnapshot-flaky
...
Snapshot e2e test: wait for the node to stop using a volume before taking a snapshot
2021-03-18 01:15:19 -07:00
Kermit Alexander
81040d386f
Return last pod error when apierrors.IsNotFound returns true in WaitForPodCondition.
2021-03-18 00:53:26 +00:00
Kermit Alexander
3213e36430
Always check passed podCondition in WaitForPodCondition.
2021-03-17 23:14:29 +00:00
Ernest Wong
0a368288ac
agnhost: increase dns timeout from 5 seconds to 20 seconds
...
Signed-off-by: Ernest Wong <chuwon@microsoft.com>
2021-03-17 16:07:35 -07:00
Aaron Crickenberger
e12e5be329
test/e2e: Add ownership info to README
2021-03-17 16:48:11 -04:00
Claudiu Belu
327093093d
test images: Fixes Windows busybox image
...
The image "e2eteam/powershell-helper:6.2.7-linux-cache" is a Linux image. Because we're running "docker buildx build --platform windows/amd64", docker buildx will consider it as a Windows image unless we explicitly specify otherwise. If the image's platform is not correctly identified, we can run into problems when trying to build the image.
We are already doing something similar with the windows-servercore-cache image.
2021-03-17 16:51:06 +02:00
Kubernetes Prow Robot
3d1d8731bd
Merge pull request #99866 from claudiubelu/test-images/powershell-helper-linux-cache
...
test images: powershell-helper linux cache
2021-03-16 17:02:56 -07:00
Kubernetes Prow Robot
da341b5cfc
Merge pull request #100290 from ii/promote-service-status-test
...
Promote ServiceStatus lifecycle e2e test to Conformance +4 endpoint coverage
2021-03-16 15:57:16 -07:00
Katrina Verey
8bae3b449a
Fix kubectl drain integration tests
...
These tests were not performing evictions because:
- Test pods were not on the test node (fixed with spec.nodeName)
- The test pods are unmanaged and require the --force flag to be evicted
(added the flag)
- The test node does not run pods, which prevents pod deletion from
finalizing (worked around with --skip-wait-for-delete-timeout)
2021-03-16 15:52:00 -07:00
Kubernetes Prow Robot
d4f1102690
Merge pull request #100260 from liggitt/pdb-crud
...
Replicate update/patch operations from eviction test in conformance CRUD test
2021-03-16 14:50:40 -07:00
Kubernetes Prow Robot
72cc3f2112
Merge pull request #99860 from chewong/fix-99470
...
agnhost: resolve service account issuer URL before invoking oidc.NewProvider
2021-03-16 14:49:30 -07:00
Kubernetes Prow Robot
c78b5497ae
Merge pull request #99638 from chendave/perf_config
...
Enable scheduler_perf to support scheduler config file
2021-03-16 14:49:03 -07:00
Kubernetes Prow Robot
8ae116003b
Merge pull request #100303 from cpanato/revert-100179
...
revert removal of gcr.io/gke-release from pr #100179
2021-03-16 13:13:04 -07:00
Maciej Szulik
d30e79d090
Add more details to daemon set test
2021-03-16 18:39:14 +01:00
Claudiu Belu
ac6ebc260c
test images: powershell-helper linux cache
...
We can cache the powershell-helper image's results into a scratch Linux image using
docker buildx. This will allow us to spend less time pulling the data we need from the
powershell-helper image when we need it.
Additionally, docker buildx might have some issues with cross-registry images, so this
will allow us to circumvent it.
2021-03-16 17:07:50 +00:00
Mauricio Poppe
c95975d3f3
wait until the node is not using the volume before taking a snapshot
2021-03-16 16:09:38 +00:00
Carlos Panato
c0e61e95a0
revert removal of gcr.io/gke-release from pr 100179
2021-03-16 16:30:18 +01:00
Dave Chen
d50c0aeb5f
Enable scheduler_perf to support scheduler config file
...
Signed-off-by: Dave Chen <dave.chen@arm.com>
2021-03-16 23:13:40 +08:00
Kermit Alexander
c2aa40ca13
Do not early exit if pod is not found in WaitForPodCondition.
2021-03-16 14:44:19 +00:00
Kubernetes Prow Robot
bd23f4ff1e
Merge pull request #99888 from mauriciopoppe/storage-windows-tests
...
Refactor on windows e2e storage related tests
2021-03-15 19:40:34 -07:00
Ernest Wong
573535691b
agnhost: resolve service account issuer URL before invoking oidc.NewProvider
...
Signed-off-by: Ernest Wong <chuwon@microsoft.com>
2021-03-15 19:14:14 -07:00
Chaitanya Bandi
93be90da9a
use Patch API to add namespace annotations
...
While adding annotations to the namespace, using the Update API may result in
conflicts as "the object has been modified; please apply your changes to the
latest version and try again". Use Patch API to avoid this.
Signed-off-by: Chaitanya Bandi <kbandi@cs.stonybrook.edu>
2021-03-15 15:13:36 -07:00
Kubernetes Prow Robot
aac64ec9b3
Merge pull request #100199 from chaitanyabandi/ns-patch
...
use Patch API to add namespace label
2021-03-15 14:20:53 -07:00
Stephen Heywood
af1f64bee8
Promote ServiceStatus lifecycle e2e test to Conformance
2021-03-16 10:07:05 +13:00
Jordan Liggitt
e7b0ec5857
Replicate update/patch operations from eviction test in conformance CRUD test
2021-03-15 16:54:45 -04:00
Jordan Liggitt
86a8271624
Ensure storage version is understood by prior releases
2021-03-15 11:58:44 -04:00
Kubernetes Prow Robot
b345913c5e
Merge pull request #100188 from alculquicondor/job-api-fixes
...
Only default Job fields when feature gates are enabled
2021-03-15 07:35:06 -07:00
Kubernetes Prow Robot
b458d97feb
Merge pull request #99670 from jsturtevant/windows-gmsa
...
Include nltest in the windows busybox image
2021-03-15 05:01:05 -07:00
Kubernetes Prow Robot
9657dd77a3
Merge pull request #100179 from cpanato/GH-1525-gke
...
test: remove gcr.io/gke-release since it is deprecated
2021-03-14 23:49:04 -07:00
Kubernetes Prow Robot
e814c55e78
Merge pull request #100121 from pacoxu/e2e-volume-registry/cleanup
...
remove e2e volume registry as it is not used
2021-03-14 18:43:04 -07:00
wojtekt
7ac0711af4
Split upgrade tests into sig-owned directories
2021-03-13 12:35:15 +01:00
Kubernetes Prow Robot
96f5e60308
Merge pull request #100173 from wojtek-t/cleanup_describe_23
...
Remove double-ownership of PV ResourceQuota tests
2021-03-12 21:21:04 -08:00
Kubernetes Prow Robot
d39c427d01
Merge pull request #100050 from neolit123/1.21-tag-node-probe-test-with-kubelet-version
...
e2e/common/node: tag tests with MinimumKubeletVersion
2021-03-12 18:01:03 -08:00
Kubernetes Prow Robot
ce6ddbe939
Merge pull request #100172 from wojtek-t/cleanup_describe_21
...
Move GPU upgrade tests to node directory
2021-03-12 16:53:03 -08:00
Chaitanya Bandi
4e0069b909
use Patch API to label namespace to avoid conflicts
...
While labeling the namespace using the Update API may result in conflicts as
"the object has been modified; please apply your changes to the latest version
and try again". Use Patch API to avoid this.
Signed-off-by: Chaitanya Bandi <kbandi@cs.stonybrook.edu>
2021-03-12 15:17:24 -08:00
Aldo Culquicondor
e6c3d7b34d
Only default Job fields when feature gates are enabled
...
Also use pointer for completionMode enum
2021-03-12 20:46:52 +00:00
Wei Huang
68ff3168b8
sched: fix a bug that literal 'p99' is mapped to 95th-percentile
2021-03-12 12:03:12 -08:00
Anish Ramasekar
4cd09e15cf
update dual-stack test description to remove alpha
...
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2021-03-12 09:58:50 -08:00
Carlos Panato
bd32786b20
test: remove gcr.io/gke-release since it is deprecated
2021-03-12 14:35:10 +01:00
Francesco Romani
04f091790e
e2e: TM: wait for SRIOV devices in pod scope tests
...
The Topology Manager e2e tests wants to run on real multi-NUMA system
and want to consume real devices supported by device plugins; SRIOV
devices happen to be the most commonly available of such devices.
The tests need to wait for resource availability before to actually
run the tests, or they will fail with a false negative, also relatively
hard to debug.
An optimization was added in commit 56106439cf
to minimize the restarts,
speed up the execution and make a nasty, yet not fully understood, flake
with SRIOV device plugin much less likely.
Unfortunately the pod-scope tests were mistakenly left over.
This Patch fixes that.
CI lanes did NOT fail (and will not fail) because the CI machines aren't
multi NUMA nor expose SRIOV devices, so the relevant portion of the test
will just skip, avoiding the issue.
However, this resurfaces when running the testsuite on bare metal; this
is how we noticed.
Signed-off-by: Francesco Romani <fromani@redhat.com>
2021-03-12 11:01:56 +01:00
wojtekt
be87a9331b
Remove double-ownership of PV ResourceQuota tests
2021-03-12 08:15:00 +01:00
Kubernetes Prow Robot
faa5c8ccd4
Merge pull request #99375 from ehashman/probe-kep-2238
...
Add Probe-level terminationGracePeriodSeconds
2021-03-11 23:10:18 -08:00
wojtekt
5744e44cad
Move GPU upgrade tests to node directory
2021-03-12 08:00:11 +01:00
Kubernetes Prow Robot
251177e521
Merge pull request #100154 from jsturtevant/windows-volume-tests
...
[sig-windows] Write to unique file to avoid conflicts with other tests
2021-03-11 21:54:17 -08:00
Kubernetes Prow Robot
5ae856c36f
Merge pull request #100107 from robscott/rollback-100027
...
Rolling back PR 100027
2021-03-11 17:28:41 -08:00
Kubernetes Prow Robot
d43ffff007
Merge pull request #99298 from zshihang/csi
...
graduate CSIServiceAccountToken to beta
2021-03-11 17:28:25 -08:00
Kubernetes Prow Robot
019c892181
Merge pull request #100082 from logicalhan/etcd-stable
...
rename apiserver_storage_object_counts to apiserver_storage_objects
2021-03-11 16:24:30 -08:00
James Sturtevant
5dacb7ba88
write to unique file to avoid conflicts
2021-03-11 15:56:28 -08:00
Elana Hashman
06e634e216
Add e2es for terminationGracePeriod override
2021-03-11 14:38:06 -08:00
Kubernetes Prow Robot
2eb32e930a
Merge pull request #100137 from wojtek-t/cleanup_describe_22
...
Further refactoring of upgrade tests and removal of etcd upgrade tests which isn't even run
2021-03-11 13:36:18 -08:00
Wei Huang
b93b4a2c96
sched: fix a bug that metrics of init or collected pods are re-collected
2021-03-11 10:28:39 -08:00
wojtekt
ac0e7b57ab
Remove etcd upgrade test - it's not being run
2021-03-11 14:41:48 +01:00
wojtekt
811d4aaaf6
Split GetUpgradeContext to a dedicated file
2021-03-11 14:39:32 +01:00
Jan Chaloupka
34c2672115
Skip PodTopologySpread tests in a single node cluster scenario
2021-03-11 12:32:09 +01:00
Kubernetes Prow Robot
823fa75643
Merge pull request #98900 from Huang-Wei/churn-cluster-op
...
Introduce a churnOp to scheduler perf testing framework
2021-03-11 02:00:24 -08:00
Kubernetes Prow Robot
784df7a37e
Merge pull request #100056 from pacoxu/patch-6
...
[test-only] e2e fix: loosen newTestResourceQuota to 10 configmaps
2021-03-11 00:18:53 -08:00
Kubernetes Prow Robot
b4648b11f9
Merge pull request #100030 from wojtek-t/cleanup_describe_20
...
Split upgrade tests logic to generic and provider-specific
2021-03-11 00:18:44 -08:00
Kubernetes Prow Robot
eb0c118a9d
Merge pull request #99759 from jpbetz/apply-extract
...
Add Extract support to client-go apply builders
2021-03-11 00:18:36 -08:00
Kubernetes Prow Robot
91a7be0c2f
Merge pull request #98884 from fedepaol/hostnetworkudp
...
Network Tests: bind host network udp listeners to hostIPs
2021-03-11 00:18:24 -08:00
pacoxu
59d96263e4
remove e2e volume registry as it is not used
2021-03-11 15:54:33 +08:00
Mauricio Poppe
5d9053014e
Update tests to use common pod functions from framework/pod/utils.go
2021-03-11 07:25:56 +00:00
Kubernetes Prow Robot
cd66a33b32
Merge pull request #100092 from liggitt/conformance-pdb
...
[test-only] Promote PDB CRUD e2e tests to conformance
2021-03-10 22:42:35 -08:00
Paco Xu
2105d7ef6e
e2e fix: loosen configmap to 10 in resource quota
2021-03-11 11:24:00 +08:00
Kubernetes Prow Robot
3baa0358b9
Merge pull request #100106 from justaugustus/go116
...
[go1.16] Update to go1.16.1
2021-03-10 17:34:23 -08:00
Rob Scott
68cfaa401c
Rolling back PR 100027
...
This PR was filed as a temporary workaround to reduce flakiness. Now
that the root cause has been fixed by #100103 we can restore the full
test.
2021-03-10 17:21:46 -08:00
Stephen Augustus
13ef775df2
[go1.16] Update to go1.16.1
...
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-03-10 19:06:57 -05:00
Kubernetes Prow Robot
23af91b293
Merge pull request #97779 from tiloso/staticcheck-test-integration-gs
...
Fix staticcheck in test/integration/{garbagecollector,scheduler_perf}
2021-03-10 16:04:23 -08:00
Lubomir I. Ivanov
d9facaec82
e2e/common/node: tag test with MinimumKubeletVersion
...
The tests:
"Pod liveness probe, container exec timeout, restart"
"Pod readiness probe, container exec timeout, not ready"
cannot be run against a kubelet older than 1.20.
Tag them with [MinimumKubeletVersion:1.20].
2021-03-11 01:03:05 +02:00
Kubernetes Prow Robot
c2ff2910fd
Merge pull request #98797 from sxllwx/fix/issue98606
...
(integration) adjust the test's client-side detection of a successful timeout case to include the connection reset
2021-03-10 12:28:22 -08:00
Kubernetes Prow Robot
4b6e3e164f
Merge pull request #99221 from jsturtevant/windows-host-stats-provider
...
Get filesystem stats for files on Windows
2021-03-10 11:09:23 -08:00
Kubernetes Prow Robot
be419673a2
Merge pull request #98677 from zachmandeville/ineligible_endpoint
...
add ineligible_endpoints.yaml
2021-03-10 08:15:14 -08:00
Jordan Liggitt
be58ad6fec
Promote PDB CRUD e2e tests to conformance
2021-03-10 11:02:47 -05:00
Joe Betz
987657a80f
Add extract apply function generation
2021-03-10 06:13:51 -08:00
Han Kang
50e6f15dee
rename apiserver_storage_object_counts to conform to best practices (apiserver_storage_objects)
...
Change-Id: I8c08a37cd3ed7c943a6691185f750e55d389dd3a
2021-03-10 04:32:27 -08:00
Kubernetes Prow Robot
4740173f33
Merge pull request #100045 from swetharepakula/eps-ga-conformance
...
Add Endpoint Slice API Test
2021-03-10 00:35:43 -08:00
Kubernetes Prow Robot
b7d23d7111
Merge pull request #99661 from kevindelgado/status-wiping
...
Server-Side Apply status wiping
2021-03-10 00:35:14 -08:00
Kubernetes Prow Robot
956de2644f
Merge pull request #100036 from dims/revert-andrewsykim-conformance-probe-tests
...
Revert : conformance: promote container exec probe timeout tests
2021-03-09 20:37:13 -08:00
Shihang Zhang
4ad1c71174
graduate CSIServiceAccountToken to beta
2021-03-09 18:36:35 -08:00
Kubernetes Prow Robot
a43bd5e3da
Merge pull request #100027 from aojea/fixmirrorin
...
fix flake integration test endpoint slice mirroring updates
2021-03-09 17:39:41 -08:00
Kubernetes Prow Robot
410d092d8a
Merge pull request #99643 from pohly/generic-ephemeral-volume-beta
...
generic ephemeral volume beta
2021-03-09 17:39:26 -08:00
Kevin Delgado
a1fac8cbd9
Server-Side Apply: Status Wiping/Reset Fields
...
Adds and implements ResetFieldsProvder interface in order to ensure that
the fieldmanager no longer owns fields that get reset before the object
is persisted.
Co-authored-by: Kevin Wiesmueller <kwiesmul@redhat.com>
Co-authored-by: Kevin Delgado <kevindelgado@google.com>
2021-03-10 01:02:18 +00:00
Swetha Repakula
29a1246410
Add Endpoint Slice API Test
2021-03-10 00:08:27 +00:00
Kubernetes Prow Robot
e57e476153
Merge pull request #99862 from jsturtevant/windows-gmsa-full-fix
...
[Test] [sig-windows] Make sure the GMSA output doesn't have failures when resolving the domain
2021-03-09 16:08:16 -08:00
Kubernetes Prow Robot
3e110b3d8c
Merge pull request #98034 from Jefftree/testing
...
ServerSideApply E2E tests
2021-03-09 16:07:34 -08:00
Kubernetes Prow Robot
21d5787b40
Merge pull request #84740 from mortent/PromotePDBConformance
...
Promote PodDisruptionBudget e2e test to Conformance
2021-03-09 16:07:04 -08:00
Varsha Teratipally
82434ec818
bump npd version to latest v0.8.7
2021-03-09 22:48:27 +00:00
Kubernetes Prow Robot
770a9504ea
Merge pull request #95734 from fromanirh/podresources-concrete-resources-apis
...
podresources APIs: concrete resources apis: implement GetAllocatableResources
2021-03-09 14:29:04 -08:00
Davanum Srinivas
6c76fe9c14
Skip test when depending on feature
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-03-09 17:22:10 -05:00
Davanum Srinivas
ecc8de7083
Revert : conformance: promote container exec probe timeout tests
...
Reverting af3e118b1f
and
2242d0ffc4
as these tests fail when
ExecProbeTimeout feature gate is turned on.
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-03-09 17:05:07 -05:00
Antonio Ojea
4c8be7793c
fix integration endpointslicemirroring
...
it can happen that there are multiple slices, and some of them
outdated, so we relax the test to check that at least one
has the corresponding fields mirrored.
2021-03-09 22:38:14 +01:00
Morten Torkildsen
08e0a46757
Promote PodDisruptionBudget e2e test to Conformance
2021-03-09 12:26:02 -08:00
wojtekt
d3ec5a5138
Move non-provider specific upgrade tests logic to upgrades package
2021-03-09 21:17:15 +01:00
wojtekt
f5fab2672e
Rename functions to eliminate master word
2021-03-09 21:17:15 +01:00
wojtekt
99fdb84ae8
Split GCE/GKE upgrade mechanics to a separate file
2021-03-09 20:58:58 +01:00
Kubernetes Prow Robot
eeccc9f9c0
Merge pull request #99992 from wojtek-t/cleanup_describe_19
...
Refactor upgrade tests in preparation for explicit ownership
2021-03-09 11:06:16 -08:00
Kubernetes Prow Robot
afca3dace4
Merge pull request #99785 from erain/issue/98270
...
metrics: etcd_object_counts->apiserver_storage_object_counts(stable)
2021-03-09 11:05:50 -08:00
Kubernetes Prow Robot
046ad61479
Merge pull request #99290 from mortent/PromotePDBsToGA
...
Promote PodDisruptionBudget to policy/v1
2021-03-09 11:05:05 -08:00
Jefftree
1ebfb6d679
Add E2E tests for SSA
2021-03-09 10:28:21 -08:00
Federico Paolinelli
b69bc865b4
Bump up the agnhost version used
...
This is needed to consume the changes in https://github.com/kubernetes/kubernetes/pull/98883
Signed-off-by: Federico Paolinelli <fpaoline@redhat.com>
2021-03-09 18:39:31 +01:00
Kubernetes Prow Robot
8a599510d3
Merge pull request #99935 from MikeSpreitzer/ratelimit-realtest
...
Enable, rate limit, and test APF controller fights
2021-03-09 09:19:36 -08:00
Morten Torkildsen
66e722765a
Update e2e tests to use the policy v1 api
2021-03-09 10:29:11 -05:00
Morten Torkildsen
621aed4d32
generated
2021-03-09 10:29:11 -05:00
Morten Torkildsen
21fba79d45
Promote PDBs to GA
2021-03-09 10:29:11 -05:00
Kubernetes Prow Robot
16e9c682ff
Merge pull request #99495 from wojtek-t/cleanup_describe_8
...
Move ownership of core events test to sig-instrumentation
2021-03-09 04:27:38 -08:00
Francesco Romani
d7a30e1b08
podresources: getallocatable: add feature gate
...
Add feature gate to disable the GetAllocatableResources API.
The feature gate isd alpha stage, disabled by default.
Add e2e test to demonstrate the behaviour with feature gate disabled.
Signed-off-by: Francesco Romani <fromani@redhat.com>
2021-03-09 13:14:56 +01:00
Francesco Romani
16d5ac3689
node: e2e: docs and fix for teardownSRIOVConfig
...
Document why teardownSRIOVPod has to wait for all the containers
to be gone before to end, and why is important.
Additionally, change the code to wait for all the containers to be gone,
not just the first. This is both a little cleaner and a little safer,
even though it seems the current code caused no issues so far.
Signed-off-by: Francesco Romani <fromani@redhat.com>
2021-03-09 13:13:36 +01:00
Francesco Romani
adfff27279
node: e2e: run deleteSync in parallel
...
speedup the cleanup after testcases deleting pods in separate
goroutines.
The post-test cleanup stage must be done carefully since pod require
exclusive allocation - so pods must take all the steps to properly
cleanup the tests to avoid to pollute the environment, but
this has a negative effect on test duration (take longer).
Hence, we add safe speedups like doing pod deletions in parallel.
Signed-off-by: Francesco Romani <fromani@redhat.com>
2021-03-09 13:13:36 +01:00
Francesco Romani
9c69db3f04
e2e: node: add tests for GetAllocatableResources
...
Add e2e tests for the new GetAllocatableResources API.
The tests are added in the `podresources_test` suite
created previously in this series.
Signed-off-by: Francesco Romani <fromani@redhat.com>
2021-03-09 13:13:36 +01:00
Francesco Romani
4e7434028c
e2e: node: bootstrap podresources tests
...
Start e2e tests for the existing List() API.
Signed-off-by: Francesco Romani <fromani@redhat.com>
2021-03-09 13:13:35 +01:00
Federico Paolinelli
fa963f55ae
Un-skip the hostnetwork udp endpoint test.
...
Since the test is being fixed, we can run the test.
Signed-off-by: Federico Paolinelli <fpaoline@redhat.com>
2021-03-09 11:52:35 +01:00
Federico Paolinelli
a0ca1fd63f
Network Tests: bind host network udp listeners to hostIPs
...
When listening on udp, the reply is sent using a src address which is
the address of the gateway interface. This means that when listening to
any, the reply can be sent out with a src ip which is different from the
request's target ip. This confuses natting and "connectionful" udp
services do not work.
Here, we force the endpoint to listen from the hostIP and from podIPs,
to cover both dual stack and legacy clusters.
Signed-off-by: Federico Paolinelli <fpaoline@redhat.com>
2021-03-09 11:52:35 +01:00
wojtekt
bd3d1e7af0
Refactor upgrade tests to share more code
2021-03-09 10:06:12 +01:00
wojtekt
04a196a3dc
Unify masterUpgrade and nodeUpgrade signatures
2021-03-09 08:50:49 +01:00
wojtekt
d1f721b73f
Cleanup upgrade functions
2021-03-09 08:36:10 +01:00
Patrick Ohly
25f4174148
testdata: drop the alpha EphemeralVolumeSource.ReadOnly field
...
This is the result of
UPDATE_COMPATIBILITY_FIXTURE_DATA=true go test k8s.io/api
after removing the ReadOnly field from the API. The test data
for older releases must be updated because the current code
no longer supports that field.
The removal itself is okay because the struct was declared
as alpha.
Because EphemeralVolumeSource is embedded quite a lot, different types
are affected. Here is one example:
--- FAIL: TestCompatibility/extensions.v1beta1.DaemonSet/v1.20.0 (0.04s)
compatibility.go:476: json differs
compatibility.go:477: string{
... // 12941 identical bytes
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x7d, // | }|
0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x7d, // |. }|
- 0x2c, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, // -|,. |
- 0x22, 0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x22, 0x3a, 0x20, 0x74, 0x72, 0x75, 0x65, // -|"readOnly": true|
0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x7d, 0x0a, 0x20, // |. }. |
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x7d, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, // | }. |
... // 31426 identical bytes
}
compatibility.go:482: yaml differs
compatibility.go:483: string{
... // 22893 identical bytes
0x34, 0x22, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x65, 0x70, 0x68, 0x65, 0x6d, // |4". ephem|
0x65, 0x72, 0x61, 0x6c, 0x3a, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, // |eral:. |
- 0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x3a, 0x20, 0x74, 0x72, 0x75, 0x65, 0x0a, 0x20, // -|readOnly: true. |
- 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, // -| |
0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x54, 0x65, 0x6d, 0x70, 0x6c, // |volumeClaimTempl|
0x61, 0x74, 0x65, 0x3a, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, // |ate:. |
... // 5965 identical bytes
}
compatibility.go:488: proto differs
compatibility.go:490: (
"""
... // 459 identical lines
}
}
- 2: 1
}
}
... // 1083 identical lines
"""
)
compatibility.go:506: wrote expected compatibility data... verify, commit, and rerun tests
2021-03-09 08:24:52 +01:00
Patrick Ohly
555d4a12bf
generic ephemeral volumes: drop ReadOnly field
...
As discussed during the alpha review, the ReadOnly field is not really
needed because volume mounts can also be read-only. It's a historical
oddity that can be avoided for generic ephemeral volumes as part
of the promotion to beta.
2021-03-09 08:22:48 +01:00
wojtekt
6d4a601b72
Compute upgradeContext once in upgrade tests
2021-03-09 08:14:30 +01:00
Kubernetes Prow Robot
40a411a61a
Merge pull request #99912 from dims/capture-logs-from-containerd-installation-service
...
Capture logs from containerd-installation service
2021-03-08 22:53:38 -08:00
Kubernetes Prow Robot
faa3a5fbd4
Merge pull request #99916 from swetharepakula/eps-ga-e2e
...
Promote Endpoint Slice E2E Tests to Conformance
2021-03-08 20:47:45 -08:00
Kubernetes Prow Robot
841cb4adc4
Merge pull request #99844 from minbaev/scheduler-test-perf-optimization
...
add if check for number of scheduled pods to be greater than 0
2021-03-08 20:47:37 -08:00
Kubernetes Prow Robot
7eb99191a1
Merge pull request #98116 from aojea/mirror_dual
...
slice mirroring controller should mirror annotations (but endpoints.kubernetes.io/last-change-trigger-time annotation) and labels
2021-03-08 20:47:12 -08:00
jay vyas
c94ce8c507
Add default namespace labels to all namespaces for selectors ( #96968 )
...
* namespace by name default labelling
Co-authored-by: Jordan Liggitt <jordan@liggitt.net>
Co-authored-by: Abhishek Raut <rauta@vmware.com>
* Make some logic improvement into default namespace label
* Fix unit tests
* minor change to trigger the CI
* Correct some tests and validation behaviors
* Add Canonicalize normalization and improve validation
* Remove label validation that should be dealt by strategy
* Update defaults_test.go
add fuzzer
ns spec
* remove the finalizer thingy
* Fix integration test
* Add namespace canonicalize unit test
* Improve validation code and code comments
* move validation of labels to validateupdate
* spacex will save us all
* add comment to testget
* readablility of canonicalize
* Added namespace finalize and status update validation
* comment about ungenerated names
* correcting a missing line on storage_test
* Update the namespace validation unit test
* Add more missing unit test changes
* Let's just blast the value. Also documenting the workflow here
* Remove unnecessary validations
Co-authored-by: Jordan Liggitt <jordan@liggitt.net>
Co-authored-by: Abhishek Raut <rauta@vmware.com>
Co-authored-by: Ricardo Pchevuzinske Katz <ricardo.katz@gmail.com>
2021-03-08 20:46:59 -08:00
Kubernetes Prow Robot
c7e2439173
Merge pull request #99954 from deads2k/storage-beta
...
switch most e2e tests to storage/v1 over v1beta1
2021-03-08 19:24:26 -08:00
Kubernetes Prow Robot
761cdf33a2
Merge pull request #99952 from ii/Promote-ReplicaSet-Test
...
Promote ReplicaSet Replace and Patch Test +2 Endpoints
2021-03-08 19:24:18 -08:00
Kubernetes Prow Robot
8d394cda11
Merge pull request #99857 from wojtek-t/cleanup_describe_18
...
Stop using SIGDescribe for upgrade tests to reflect reality
2021-03-08 19:23:54 -08:00
Kubernetes Prow Robot
b85313b6dd
Merge pull request #99853 from wojtek-t/cleanup_describe_17
...
Cleanup the remaining multi-owned sig-node tests
2021-03-08 19:23:44 -08:00
Kubernetes Prow Robot
eacb4bc8f0
Merge pull request #99852 from wojtek-t/cleanup_describe_16
...
Cleanup test/e2e/upgrades directory
2021-03-08 19:23:36 -08:00
Kubernetes Prow Robot
5f0b88b043
Merge pull request #98791 from pacoxu/kubetest/external-ips
...
skip checking nodeport on external addrs in conformance tests
2021-03-08 19:22:59 -08:00
lala123912
127b675a15
Remove unused/dead code
2021-03-09 09:34:37 +08:00
Kubernetes Prow Robot
0df8c69731
Merge pull request #99960 from knabben/fix-runtime-config
...
Enabling runtime config on E2E node tests
2021-03-08 16:28:00 -08:00
Kubernetes Prow Robot
5c8c72cf2f
Merge pull request #99941 from dims/adding-dims-as-approver-for-test
...
Adding dims as approver for test/
2021-03-08 16:27:52 -08:00
Kubernetes Prow Robot
a0341d7471
Merge pull request #98727 from adtac/suspend
...
batch API: add suspended job
2021-03-08 16:26:59 -08:00
Kubernetes Prow Robot
14c25eed8d
Merge pull request #99641 from pohly/storage-capacity-beta
...
CSIStorageCapacity beta API
2021-03-08 15:04:59 -08:00
Antonio Ojea
c421e22e2c
slice mirroring controller mirror annotations
...
Add support to the endpoint slice mirroring controller to mirror
annotations, in addition to labels, but don´t mirror endpoint
triggertime annotation.
Also, fix a bug in the endpointslice mirroring controller, that
wasn't updating the mirrored slice with the new labels, in case
that only the endpoint labels were modified.
2021-03-08 23:20:08 +01:00
Kubernetes Prow Robot
1c06a72c97
Merge pull request #98067 from verb/1.21-test-ec-disabled
...
Add integration test for disabled ephemeral containers
2021-03-08 13:39:00 -08:00
David Eads
80ff06fe84
Enable, rate limit, and test APF controller fights
...
Using real time.
2021-03-08 16:24:39 -05:00
Riaan Kleinhans
c3fb2c002a
Promote ReplicaSet e2e test to Conformance
2021-03-09 09:54:04 +13:00
James Sturtevant
c9eff4e906
Get filesystem stats for files on Windows
2021-03-08 12:50:23 -08:00
Amim Knabben
0341e4c2f3
Enabling runtime config on E2E node tests
2021-03-08 15:45:06 -05:00
Yu Yi
77950ba79b
metrics: promote apiserver_storage_object_counts to stable
...
- rename etcd_object_counts to apiserver_storage_object_counts
CONTEXT https://github.com/kubernetes/kubernetes/issues/98270
FIXES https://github.com/kubernetes/kubernetes/issues/98270
2021-03-08 20:28:55 +00:00
Adhityaa Chandrasekar
a0844da8f7
batch: add suspended job
...
Signed-off-by: Adhityaa Chandrasekar <adtac@google.com>
2021-03-08 20:08:21 +00:00
Kubernetes Prow Robot
eb4dafb7f1
Merge pull request #99651 from umohnani8/cri
...
Move CRIContainerLogRotation to GA
2021-03-08 12:07:20 -08:00
Patrick Ohly
4c7e4c6316
CSIStorageCapacity: enable E2E tests by default
...
With the feature now in beta, tests should run in the normal jobs.
2021-03-08 20:59:52 +01:00
Patrick Ohly
5ca0814165
CSIStorageCapacity: use beta API
2021-03-08 20:52:50 +01:00
Patrick Ohly
504f105a9e
CSIStorageCapacity: prepare tests for enabling the feature by default
...
Defaults and validation are such that the field has to be set when
the feature is enabled, just as for the other boolean fields. This
was missing in some tests, which was okay as long as they ran
with the feature disabled. Once it gets enabled, validation will
flag the missing field as error.
Other tests didn't run at all.
2021-03-08 20:52:50 +01:00
Kubernetes Prow Robot
72d92159bc
Merge pull request #99925 from logicalhan/stable-latencies
...
promote apiserver_request_duration_seconds to STABLE
2021-03-08 11:04:46 -08:00
Kubernetes Prow Robot
8e6c7b5825
Merge pull request #99204 from pohly/podlog-after-termination
...
test: err more towards ignoring logs from terminated pods
2021-03-08 11:04:38 -08:00
David Eads
b8194cf77c
switch most e2e tests to storage/v1 over v1beta1
2021-03-08 13:04:24 -05:00
Swetha Repakula
17beeaf47a
Promote EndpointSlice E2E Tests to Conformance
2021-03-08 09:44:47 -08:00
Swetha Repakula
3ef94fbe3e
Update e2e tests to use EndpointSlice v1 API
2021-03-08 09:44:47 -08:00
Kubernetes Prow Robot
71764b1309
Merge pull request #99939 from aojea/agnhost2.29
...
update agnhost readme
2021-03-08 09:31:54 -08:00
Kubernetes Prow Robot
4fccba9e06
Merge pull request #99800 from deads2k/beta-more
...
remove more CRD v1beta1 client dependencies from test integration
2021-03-08 07:51:54 -08:00
Artyom Lukianov
cff9ecd317
e2e: fix memory manager tests
...
Restart the kubelet and wait for hugepages resources to appear
under the node.
Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
2021-03-08 15:03:28 +02:00
Davanum Srinivas
1a374db38e
Adding dims as approver for test/
...
In 16fb6733a1
, i signed up as a reviewer
for test/ (8 months ago).
Here's what i have to show for it:
https://github.com/kubernetes/kubernetes/pulls?q=is%3Apr+is%3Amerged+label%3Aarea%2Ftest+commenter%3Adims
Especially see the most recent conformance related reviews. Hoping this
is enough of a track record!
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-03-08 07:26:13 -05:00
Antonio Ojea
97fba66df6
update agnhost readme
2021-03-08 11:55:12 +01:00
chenyw1990
57a3b0abd6
reduce configmap and secret watch of kubelet
2021-03-08 16:55:39 +08:00
pacoxu
520ce44c55
skip test on External IP of NodePort in conformance test
2021-03-08 16:55:34 +08:00
Han Kang
69e3d89a38
promote apiserver_request_duration_seconds to STABLE
...
Change-Id: I1b050b812738719aedd7ac6f4794ec742812e12d
2021-03-07 17:14:36 -08:00
Benjamin Elder
1a7cf6c91a
remove bazel logic from test/integration/framework
2021-03-07 15:27:44 -08:00
Benjamin Elder
bf33ee380a
remove bazel from start-kubemark.sh
2021-03-07 13:09:01 -08:00
Davanum Srinivas
ce35b2f2e7
capture additional logs related to containerd
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-03-07 13:48:07 -05:00
Kubernetes Prow Robot
90851a0fb5
Merge pull request #99905 from BenTheElder/shellchecked
...
update verify-shellcheck to v0.7.1, fix nits, multi-arch digest pinning, fix new lint errors
2021-03-06 22:17:53 -08:00
Kubernetes Prow Robot
e688f22da0
Merge pull request #99214 from jpbetz/apply-client-go-builders2-typedclient
...
Add Apply to client-go's typed client
2021-03-06 22:17:41 -08:00
Kubernetes Prow Robot
4cf8823fba
Merge pull request #98074 from kwiesmueller/admission-reset-managedFields
...
Reset managedFields corrupted by admission controllers
2021-03-06 21:15:42 -08:00
Kubernetes Prow Robot
d6a9061cb4
Merge pull request #99870 from swetharepakula/eps-ga-controller
...
Graduate EndpointSlice Controllers to GA
2021-03-06 19:57:45 -08:00
Joe Betz
0b42cae157
Add integration test
2021-03-06 20:50:52 -05:00
Kubernetes Prow Robot
a44db4f9ef
Merge pull request #99889 from aojea/imageutil
...
image util unbound variable
2021-03-06 16:45:41 -08:00
Swetha Repakula
108fd44f7c
Graduate EndpointSlice feature gate to GA
2021-03-06 15:58:47 -08:00
Swetha Repakula
1925d94b18
Graduate EndpointSlice Controllers to GA
...
- EndpointSlice controller will stop writing to Topology field
- EndpointSlice controller will only provide NodeName and Zone on
EndpointSlices
2021-03-06 15:58:47 -08:00
Kubernetes Prow Robot
f8151b121f
Merge pull request #99732 from soltysh/clean_run_flags
...
Drop deprecated run flags and deprecate unused ones
2021-03-06 15:24:01 -08:00
Kubernetes Prow Robot
36244f31ef
Merge pull request #99662 from swetharepakula/eps-ga-api-changes
...
Graduate EndpointSlice API to GA
2021-03-06 15:23:54 -08:00
Kubernetes Prow Robot
c88d9bed17
Merge pull request #99851 from soltysh/cronjob_conformance
...
Promote cronjob e2es to conformance
2021-03-06 14:21:49 -08:00
Benjamin Elder
a0cd54a7f1
fix trivial shell quoting issues surfaced by shellcheck v0.7.1
2021-03-06 13:19:17 -08:00
Kubernetes Prow Robot
92c3349cef
Merge pull request #99898 from liggitt/token-flake
...
Update flaky volume toleration regex to include projected volumes
2021-03-06 12:50:52 -08:00
Kubernetes Prow Robot
1485c6b76f
Merge pull request #99822 from dekkagaijin/addon
...
Update kube-addon-manager to v9.1.4
2021-03-06 12:50:37 -08:00
Kubernetes Prow Robot
ffa4e3414e
Merge pull request #99788 from logicalhan/stable-m
...
promote apiserver_request_total to STABLE status
2021-03-06 12:50:13 -08:00
Kubernetes Prow Robot
ce1a720bed
Merge pull request #99733 from soltysh/drop_generators
...
Clean unused generators
2021-03-06 12:49:56 -08:00
Kubernetes Prow Robot
1289c883a2
Merge pull request #99718 from listx/remove-listx-owners
...
remove listx from OWNERS
2021-03-06 12:49:41 -08:00
Kubernetes Prow Robot
c193c1b234
Merge pull request #98376 from matthyx/mega
...
Make all health checks probing consistent
2021-03-06 11:45:41 -08:00
Kubernetes Prow Robot
a954818194
Merge pull request #99612 from derekwaynecarr/e2e-downward-api-hugepages
...
e2e testing for hugepages downward api
2021-03-06 10:47:42 -08:00
Maciej Szulik
f38ef2fbc6
Drop deprecated run flags and deprecate unused ones
2021-03-06 19:09:06 +01:00
Maciej Szulik
3c9bbe427b
Promote cronjob e2es to conformance
2021-03-06 19:01:02 +01:00
Kubernetes Prow Robot
bf448a1eaa
Merge pull request #99212 from damemi/alculquicondor-log-timestamp
...
Logarithmic timestamp comparison for downscaling
2021-03-06 09:47:41 -08:00
hasheddan
b85fbfc2b9
Update dependencies in local node test runner
...
Updates comment on building dependencies step in the local node test
runner to reflect the binaries that are actually produced.
Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2021-03-06 10:41:18 -06:00
Jordan Liggitt
8bbb6704c1
Update flaky volume toleration regex to include projected volumes
2021-03-06 11:39:36 -05:00
Kubernetes Prow Robot
377ed3c2a6
Merge pull request #96441 from smarterclayton/daemonset_surge_impl
...
DaemonSet controller respects MaxSurge during update
2021-03-06 08:23:42 -08:00
Kubernetes Prow Robot
4770211dad
Merge pull request #99197 from soltysh/cronjob_e2e
...
Switch to batch/v1 in cronjob's e2es
2021-03-06 06:59:41 -08:00
Matthias Bertschy
b203fb0565
Deflake e2e test for startupProbe
2021-03-06 14:43:45 +01:00
Antonio Ojea
88fbd7c509
image util unbound variable
2021-03-06 12:10:06 +01:00
Kubernetes Prow Robot
55a5d4faf3
Merge pull request #98883 from fedepaol/netexecmultilisten
...
Agnhost: make it possible to pass the addresses to listen on for udp
2021-03-05 23:31:41 -08:00
Kubernetes Prow Robot
ed6b9addbf
Merge pull request #96347 from cofyc/kep1845
...
Prioritizing nodes based on volume capacity
2021-03-05 14:45:43 -08:00
James Sturtevant
94a5efcd12
make sure the output doesn't have failures
2021-03-05 13:36:14 -08:00
Aldo Culquicondor
a8d105ab72
Logarithmic timestamp comparison for ReplicSet downscaling
...
Change-Id: I0657ea0ce41b98fdee1a5307b5826a10deaff98c
2021-03-05 15:58:26 -05:00
Swetha Repakula
a9891b4b9b
Graduate EndpointSlice API to GA
...
* Removes discovery v1alpha1 API
* Replaces per Endpoint Topology with a read only DeprecatedTopology
in GA API
* Adds per Endpoint Zone field in GA API
2021-03-05 12:02:41 -08:00
wojtekt
ae8baefeff
Cleanup the remaining multi-owned sig-node tests
2021-03-05 20:27:31 +01:00
wojtekt
fa5f303a09
Stop using SIGDescribe for upgrade tests to reflect reality
2021-03-05 20:25:56 +01:00
Maciej Szulik
0603a14be1
Switch to batch/v1 in cronjob's e2es
2021-03-05 19:08:27 +01:00
Kubernetes Prow Robot
42c1ccb38e
Merge pull request #99701 from wojtek-t/cleanup_describe_13
...
Tag storage windows tests with [Feature:Windows] instead of [sig-windows]
2021-03-05 10:00:47 -08:00
Lee Verberne
334cf82cb3
Add test for disabled EphemeralContainers feature
...
This adds an integration test to validate expected behavior when the
EphemeralContainers feature gate is disabled.
2021-03-05 18:38:32 +01:00
wojtekt
93ff0e5c68
Cleanup test/e2e/upgrades directory
2021-03-05 18:19:46 +01:00
Derek Carr
6215b12c84
e2e testing for hugepages downward api
2021-03-05 11:11:27 -05:00
Yecheng Fu
8f3782226f
Prioritizing nodes based on volume capacity: integration tests
2021-03-05 23:59:25 +08:00
wojtekt
3a8e84c2da
Move ownership of core events test to sig-instrumentation
2021-03-05 16:47:16 +01:00
Alexander Minbaev
359116f525
add if check for number of scheduled pods to be greater than 0
2021-03-05 09:05:42 -06:00
David Eads
c14ff1a674
remove more CRD v1beta1 client dependencies
2021-03-05 08:10:47 -05:00
JunYang
2d9b27047f
Fix misspelling of success.
...
Signed-off-by: JunYang <yang.jun22@zte.com.cn>
2021-03-05 20:19:00 +08:00
Maciej Szulik
9364d0fc81
Promote CronJobs to batch/v1
2021-03-05 12:44:23 +01:00
Maciej Szulik
f8b2cf653c
Drop batch/v2alpha1 leftovers
2021-03-05 12:44:21 +01:00
jornshen
cd2af69ef9
refector netpol/policies.go
2021-03-05 19:21:36 +08:00
Federico Paolinelli
f6451c93b1
Bump up agnhost version to 2.29
...
This is to consume the changes for binding the udp listeners of netexec
to specific addresses.
Signed-off-by: Federico Paolinelli <fpaoline@redhat.com>
2021-03-05 10:49:09 +01:00
Federico Paolinelli
5125f1fc31
Agnhost: make it possible to pass the addresses to listen on for udp
...
The current udp implementation listens on any for tcp, udp and tcp. There
are some cases where it makes sense to listen on specific addresses
(especially udp, see https://github.com/kubernetes/kubernetes/issues/95565 ).
This is because UDP is connectionless, and in order to conntrack to
work, the application must ensure that the src of the reply is the same
as the dest of the request. The easiest way to do that is to bind
explicitly on an ip.
Here we pass an optional parameter that contains a comma separated list
of addresses.
Signed-off-by: Federico Paolinelli <fpaoline@redhat.com>
2021-03-05 10:49:08 +01:00
Jake Sanders
fb40ab2cde
Update kube-addon-manager to v9.1.4
2021-03-04 22:39:46 -08:00
Matthias Bertschy
431e6a7044
Move readinessManager updates handling to kubelet
2021-03-05 07:02:25 +01:00
Matthias Bertschy
4870e64ac1
Improve update time of readiness state
2021-03-05 07:02:24 +01:00
Kubernetes Prow Robot
d8311ea0ad
Merge pull request #99703 from claudiubelu/tests/new-httpd-nginx
...
tests: Uses newly promoted httpd and nginx images
2021-03-04 20:32:21 -08:00
Kubernetes Prow Robot
292bdbf8a6
Merge pull request #99797 from voutcn/patch-1
...
Fix the image path of resource-consumer in README.
2021-03-04 18:34:56 -08:00
Kubernetes Prow Robot
48f1b8fb28
Merge pull request #99293 from chymy/e2e-kubectl
...
Remove unused field in test/e2e/kubectl/kubectl.go
2021-03-04 18:34:41 -08:00
Kubernetes Prow Robot
4293a6329b
Merge pull request #99805 from bobbypage/shutdown-test
...
Fixes to node shutdown e2e test
2021-03-04 16:06:35 -08:00
Kubernetes Prow Robot
2975ef7c55
Merge pull request #99737 from alculquicondor/indexed-job-e2e
...
Integration and e2e tests for Indexed job
2021-03-04 14:41:21 -08:00
Kubernetes Prow Robot
ae4f2ac43d
Merge pull request #98018 from ii/service-status-life-cycle-test
...
Write Service Status Life Cycle test - +4 endpoint coverage
2021-03-04 14:40:22 -08:00
Kubernetes Prow Robot
2d9cb74bc7
Merge pull request #99798 from freehan/test-fix
...
Mark ingress neg test as flaky
2021-03-04 13:40:14 -08:00
Kubernetes Prow Robot
a8476e5570
Merge pull request #99792 from logicalhan/owners
...
add myself to owners for etcd metrics
2021-03-04 13:39:31 -08:00
David Porter
bd2e557b25
Fixes to node shutdown e2e test
...
- Test was failing due to using `sleep infinity` inside the busybox
container which was going into a crash loop. `sleep infinity` isn't
supported by the sleep version in busybox, so replace it with a `while
true; sleep loop`.
- Replace usage of dbus message emitting from gdbus to dbus-send. The
test was failing on ubuntu which doesn't have gdbus installed.
dbus-send is installed on COS and Ubuntu, so use it instead.
- Replace check of pod phase with the test util function `PodRunningReady`
which checks both phase as well as pod ready condition.
- Add some more verbose logging to ease future debugging.
2021-03-04 12:16:47 -08:00
Han Kang
cfd00de686
bump apiserver_request_total to STABLE status
...
We've dropped the content-type field since it is effectively unbounded
(we had a sec-vuln about this before actually). We retain all other
fields, despite their unboundedness due to the fact that we can now
explicitly set bounds on label values.
Change-Id: Icc483fc6a17ea6382928f4448643cda6f3e21adb
2021-03-04 11:39:15 -08:00
Kubernetes Prow Robot
3cab9f5d74
Merge pull request #99584 from cynepco3hahue/e2e_fix_hugepages_tests
...
e2e node: fix hugepages test flakiness
2021-03-04 11:00:48 -08:00
Kubernetes Prow Robot
0d4924e371
Merge pull request #99439 from minbaev/fix-typos
...
Fix typo in util.go
2021-03-04 11:00:22 -08:00
Dinghua Li
88dbe814dc
Fix the image path of resource-consumer in README.
2021-03-04 10:50:03 -08:00
Aldo Culquicondor
85448df364
Add E2E test for indexed job
2021-03-04 18:31:35 +00:00
Aldo Culquicondor
18e35a86ed
Add integration test for Indexed Job
2021-03-04 18:31:35 +00:00
Minhan Xia
e9ef140c3c
mark ingress neg test flaky
2021-03-04 10:17:21 -08:00
David Eads
aeb6508e1e
stop using rbac beta in integration tests
2021-03-04 12:57:52 -05:00