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
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
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
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
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
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