Kubernetes Prow Robot
fe9c94ec02
Merge pull request #111957 from ii/create-resourcequota-status-test
...
Write e2e test for ResourceQuota status +3 Endpoints
2022-10-18 14:01:00 -07:00
Han Kang
3d3ac6ad72
add buckets.go to prometheus import allowlsit
...
Change-Id: Ifd497f93614536fdcf3bc7d73505d322bf57f123
2022-10-18 13:42:28 -07:00
David Ashpole
00bcd6cf01
Fix bug in which APIServerTracing did not work with some egress selectors
2022-10-18 19:41:07 +00:00
Sean Sullivan
9c18bdab9c
Removes test of deprecated --dry-run value
2022-10-18 19:39:34 +00:00
Han Kang
287738c125
move MergeBuckets into component-base so we can properly support it for static-analysis
...
Change-Id: I137413b5b0328487a7bcd70eca79a8b0ae6dea51
2022-10-18 10:55:09 -07:00
Jan Safranek
bda42b6b53
Add capability for tests with multiple PVs with the same VolumeHandle
...
Some CSI drivers do not like multiple PVs with the same VolumeHandle,
therefore make that tests optional.
2022-10-18 13:44:54 +02:00
Maciej Szulik
f2b9479f8e
Wait for pod not running or gone in storage tests
2022-10-18 13:18:54 +02:00
Kubernetes Prow Robot
6d48919af2
Merge pull request #113123 from logicalhan/ordered-output
...
order the output for stable metrics since we're supporting more than just stable now
2022-10-17 19:53:29 -07:00
Stephen Heywood
ae2312fba8
Create e2e test for ResourceQuota status endpoints
...
e2e test validates the following 3 endpoints
- patchCoreV1NamespacedResourceQuotaStatus
- readCoreV1NamespacedResourceQuotaStatus
- replaceCoreV1ResourceQuotaForAllNamespacesStatus
2022-10-18 15:16:03 +13:00
Kubernetes Prow Robot
507cf76570
Merge pull request #113117 from logicalhan/merged-buckets
...
add support for merging calls to Linear/Exponential Buckets
2022-10-17 16:59:36 -07:00
Kubernetes Prow Robot
3e06830f2d
Merge pull request #109924 from mauriciopoppe/provisioning-sync
...
Use sync in e2e storage provisioning tests
2022-10-17 15:49:17 -07:00
Han Kang
a6dec62be5
order the output for stable metrics since we're supporting more than just stable now
...
Change-Id: Idd16bffa058981cb7616dca8aea7966ae689de13
2022-10-17 15:36:22 -07:00
Han Kang
7b616b39b1
add support for merging calls to Linear/Exponential Buckets
...
Change-Id: Id6005912ac71c9c15354e9e8242f0febf8569dec
2022-10-17 13:30:30 -07:00
Kubernetes Prow Robot
4216ad3542
Merge pull request #113106 from pohly/dep-ginkgo-gomega
...
dependencies: update to gomega v1.22.1 and ginkgo v2.3.1
2022-10-17 11:09:26 -07:00
Kubernetes Prow Robot
e4ec5c825d
Merge pull request #113071 from aojea/dual_stack_assigned
...
test dualstack services with assigned clusterIPs
2022-10-17 10:01:19 -07:00
Kubernetes Prow Robot
216ba39632
Merge pull request #112987 from chrishenzie/e2e-test-rwop
...
e2e test for ReadWriteOncePod PV access mode
2022-10-17 10:01:08 -07:00
Patrick Ohly
b667933741
e2e: adapt to modified Ginkgo output
2022-10-17 15:12:41 +02:00
Kubernetes Prow Robot
ea231f5252
Merge pull request #113097 from pohly/e2e-fix-all-nodes-ready
...
e2e: skip AllNodesReady when the test skipped framework initialization
2022-10-17 04:39:19 -07:00
Kubernetes Prow Robot
e1812683e3
Merge pull request #113042 from swatisehgal/memorymgr-fix-rejection-test
...
node: e2e: memorymgr: Fix test failure
2022-10-17 04:39:07 -07:00
Patrick Ohly
3c162af45f
e2e: skip AllNodesReady when the test skipped framework initialization
...
This addresses a problem caused by
https://github.com/kubernetes/kubernetes/pull/112043 : because the AfterEach
which invokes AllNodesReady always runs, including tests that skipped early,
those tests ran into a nil pointer access. This increased the size of log
files. The tests still worked.
2022-10-17 10:27:14 +02:00
Shiming Zhang
0005364363
Fix NPE ( #112999 )
...
* Fix NPE
* bump version
2022-10-15 10:43:05 -07:00
Kubernetes Prow Robot
6f579d3ceb
Merge pull request #111616 from ndixita/credential-api-ga
...
Move the Kubelet Credential Provider feature to GA and Update the Credential Provider API to GA
2022-10-15 07:53:09 -07:00
Kubernetes Prow Robot
83c2585716
Merge pull request #112891 from ii/create-namespace-finalizer-test
...
Write e2e test for replaceCoreV1NamespaceFinalize +1 Endpoints
2022-10-14 21:25:23 -07:00
Kubernetes Prow Robot
b9c2e53fbc
Merge pull request #112587 from k1cn9ggtuc/typo-fix
...
fix a typo in test/conformance/walk.go
2022-10-14 21:25:04 -07:00
Kubernetes Prow Robot
6705015101
Merge pull request #112133 from knabben/remove-kproxy-userspace
...
Remove kube-proxy userspace modes
2022-10-14 17:31:06 -07:00
Kubernetes Prow Robot
0ef0fa0e82
Merge pull request #112824 from gjkim42/promote-expandeddnsconfig-to-beta
...
Promote ExpandedDNSConfig feature to beta stage
2022-10-14 10:54:58 -07:00
Chris Henzie
f6d9c27722
e2e test for ReadWriteOncePod PV access mode
...
Adds two tests for the enforcement of the ReadWriteOncePod
PersistentVolume access mode.
1. Tests that when two Pods are scheduled that reference the same
ReadWriteOncePod PVC, the latter-scheduled Pod will be marked
unschedulable because the PVC is in-use.
2. Tests that when two Pods are scheduled on the same node (setting
Pod.Spec.NodeName to bypass scheduling for the second Pod), the
latter Pod will fail to start because the PVC is already mounted on
the Node.
Included are changes to update the hostpath CSI driver to accept new CSI
access modes. Its sidecar containers are already at supported versions
for ReadWriteOncePod and don't need updating. The GCP PD CSI driver does
not yet support the new CSI access modes, but its sidecar containers are
at supported versions and so the feature will work.
To support ReadWriteOncePod, the following CSI sidecars must be updated
to these versions or greater:
- csi-provisioner:v3.0.0+
- csi-attacher:v3.3.0+
- csi-resizer:v1.3.0+
For more details, see:
https://github.com/kubernetes/enhancements/blob/master/keps/sig-storage/2485-read-write-once-pod-pv-access-mode/README.md
2022-10-14 09:15:36 -07:00
Antonio Ojea
bea96abac3
test dualstack services with assigned clusterIPs
2022-10-14 15:53:49 +00:00
Brian McQueen
61f04e6f20
restored QEMUVERSION and slim-stretch and removed arch linux/arm64v8 #109295
2022-10-14 06:52:34 -07:00
Kubernetes Prow Robot
9bedff1147
Merge pull request #112948 from mimowo/112873-fix-job-finished-metric
...
Fix the job finished metric issue due to the final job status update occasionally failing
2022-10-14 06:24:57 -07:00
Oscar Utbult
e4f776f230
grammar: replace all occurrences of "the the" with "the"
2022-10-14 09:03:14 +02:00
Kubernetes Prow Robot
be5ed7bd12
Merge pull request #113059 from ii/promote-replication-controller-scale-test
...
Promote Read, Replace ReplicationController scale endpoints Conformance - +2 Endpoints
2022-10-13 19:04:46 -07:00
Stephen Heywood
ca00b6be43
Create e2e test for Namespace endpoint
...
e2e test validates the following 1 endpoint
- replaceCoreV1NamespaceFinalize
2022-10-14 14:46:31 +13:00
Kubernetes Prow Robot
350fa3de66
Merge pull request #113061 from ii/promote-service-account-replace-test
...
Promote replaceCoreV1NamespacedServiceAccount test to Conformance - +1 Endpoint
2022-10-13 17:58:57 -07:00
Kubernetes Prow Robot
e16dbe94a6
Merge pull request #113060 from ii/promote-limitrange-test
...
Promote List, Patch and Delete LimitRange test to Conformance - +3 Endpoints
2022-10-13 17:58:46 -07:00
Kubernetes Prow Robot
040d7aaafa
Merge pull request #112939 from lengrongfu/feat/update_preemption_victims_metric
...
feat: update preemption victims metric
2022-10-13 16:38:46 -07:00
Kubernetes Prow Robot
215f236a6b
Merge pull request #113052 from logicalhan/buckets
...
add support for parsing buckets from variables of prom.Linear and prom.Expo helpers
2022-10-13 13:43:17 -07:00
Kubernetes Prow Robot
879e61a2fc
Merge pull request #113049 from logicalhan/stability-v2
...
update readme for instrumentation static analysis code
2022-10-13 12:39:13 -07:00
Mark Rossetti
170555b9f5
resource-consumer windows image use lead-and-touch for memory allocations
2022-10-13 12:26:08 -07:00
lengrongfu
8dcd869665
feat: update preemption victims metric
...
Signed-off-by: lengrongfu <rongfu.leng@daocloud.io>
2022-10-14 02:45:21 +08:00
Kubernetes Prow Robot
b601769721
Merge pull request #112924 from marosset/remove-20h2-windows-images
...
cleanup: Remove out-of-support Windows 20H2 images
2022-10-13 11:25:15 -07:00
Kubernetes Prow Robot
01019770cf
Merge pull request #112789 from enj/enj/r/kms_load_once_v2
...
Load encryption config once (second approach)
2022-10-13 11:25:02 -07:00
Han Kang
be3e5cb313
add support for parsing buckets from variables of prom.Linear and prom.Expo helpers
...
Change-Id: I61bb46dcbdc02d506da563bc7973430ecef8c364
2022-10-13 10:44:13 -07:00
Michal Wozniak
b64e5b2d15
Fix the occasional double-counting job_finished_total metric
...
The reason for the issue is that the metrics were bumped before the
final job status update. In case the update failed the path was
repeated by the next syncJob leading to double-counting of the metrics.
The solution is to delay recording metrics and broadcasting events
after the job status update succeeds.
2022-10-13 17:23:03 +02:00
Monis Khan
f507bc2553
Load encryption config once
...
This change updates the API server code to load the encryption
config once at start up instead of multiple times. Previously the
code would set up the storage transformers and the etcd healthz
checks in separate parse steps. This is problematic for KMS v2 key
ID based staleness checks which need to be able to assert that the
API server has a single view into the KMS plugin's current key ID.
Signed-off-by: Monis Khan <mok@microsoft.com>
2022-10-13 10:52:29 -04:00
Swati Sehgal
6c6865af28
node: e2e: memorymgr: Fix test failure
...
The change made in https://github.com/kubernetes/kubernetes/pull/112644
resulted in an update to the rejection message. In the memory manager
node e2e test, we still checked against the old expected error message
giving the impression that the pod succeeded to run even though it failed
as expected mainly because the check wasn't performed correctly.
In this patch, we update to the correct rejection message to make sure
that the memory manager is no longer failing.
NOTE: This test is supposed to run on multi NUMA systems and if the
underlying node does not have multi NUMA nodes, the test is skipped
which is what happens in upstream test infrastructure as it is mainly
composed of single NUMA nodes. Because of this, this test failure
wasn't evident via testgrid.
Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
2022-10-13 12:45:14 +01:00
Han Kang
03015c4bb7
update readme for instrumentation static analysis code
...
Change-Id: Ibd1261883b3d149de888c9ad2fd7897c00ea3158
2022-10-12 21:22:57 -07:00
Han Kang
bc5d3b06c9
account for timing ratio histogram function calls
...
Change-Id: Ib27d6018657e4221c36645860bdb9cb9fcf7ebf5
2022-10-12 14:44:28 -07:00
Mark Rossetti
ecd543be04
Remove out-of-support Windows 20H2 images
...
Signed-off-by: Mark Rossetti <marosset@microsoft.com>
2022-10-12 14:43:51 -07:00
Han Kang
f3cb904618
cleanup printlns
...
Change-Id: I49a48446029ba2e66b09f138a1477b837d55766a
2022-10-12 09:47:49 -07:00
Han Kang
658d7a184e
parse time signatures for maxAge
...
Change-Id: I91e330d82c4ebbfa38bc52889beb64e6689bfb77
2022-10-12 09:34:14 -07:00
Han Kang
0e7814a647
fix parsing error on labels
...
Change-Id: I990967b93b10dbfa9a564ca4286ffbd051c69697
2022-10-12 09:25:43 -07:00
Han Kang
49c08947f7
add support for parsing gauge func
...
Change-Id: Id0b9cd51dead5ee9f4adac804d62f5d9742320a7
2022-10-12 08:30:41 -07:00
Brian McQueen
9c65abd2c2
bumped image version and upgraded to buster and bumped QEMUVERSION to v7.1.0-2 #109295
2022-10-12 07:48:49 -07:00
Kubernetes Prow Robot
525280d285
Merge pull request #112643 from SergeyKanzhelev/removeDynamicKubeletConfig
...
remove DynamicKubeletConfig feature gate from the code
2022-10-12 01:33:00 -07:00
Kubernetes Prow Robot
73d0fac0db
Merge pull request #112995 from logicalhan/stability-v2
...
add support for timing histograms and const labels
2022-10-11 18:22:40 -07:00
Han Kang
52097bc02d
add support for timing histograms and const labels
...
Change-Id: I8f77d5e16c01a403c7cfdccec464a81f4e3beba0
2022-10-11 17:19:14 -07:00
Kubernetes Prow Robot
c1602669a6
Merge pull request #112806 from dcbw/demote-service-affinity-timeout
...
test: demote service ClientIP affinity timeout tests from conformance
2022-10-11 14:12:40 -07:00
Gunju Kim
2ee024a4df
Update daemonSet status even if syncDaemonSet fails
2022-10-11 22:55:50 +09:00
Patrick Ohly
1793132198
e2e storage: avoid usage of stdin for file creation
...
It turned out to be unreliable (see
https://github.com/kubernetes/kubernetes/issues/112834 ). Encoding the data
inside the command as input for base64 is a workaround that is fine for small
amounts of data. It becomes less efficient and/or unusable for large amounts.
2022-10-11 15:02:25 +02:00
Patrick Ohly
64731baffe
e2e storage: add logging to proxy
...
This is optional and can be used to capture the result of command execution in
the log output.
2022-10-11 15:02:25 +02:00
Gunju Kim
add4652352
Promote ExpandedDNSConfig feature to the beta stage
...
This adds an e2e test for the feature and promotes ExpandedDNSConfig
feature to the beta stage.
2022-10-11 21:00:00 +09:00
Kubernetes Prow Robot
ead1ef4450
Merge pull request #112956 from amacaskill/remove-volume-limits-test
...
remove in-tree volume limits test now that CSIMigration is GA
2022-10-10 16:13:01 -07:00
Jordan Liggitt
dd0910691f
Move root approvers to subdirs
2022-10-10 13:43:03 -04:00
Jordan Liggitt
b8b86bb2e1
Sort subdir OWNERS files
2022-10-10 08:31:43 -04:00
Jordan Liggitt
04b178b49b
Make root approval non-recursive
2022-10-10 08:26:53 -04:00
Kubernetes Prow Robot
689cd9339a
Merge pull request #112844 from Riaankl/Ineligible_createAuthorizationV1SelfSubjectRulesReview
...
Update_ineligible_endpoints.yaml : add createAuthorizationV1SelfSubjectRulesReview to the list
2022-10-09 16:27:19 -07:00
Stephen Heywood
5ad48780ae
Promote ServiceAccount e2e test to Conformance
2022-10-10 12:12:17 +13:00
Stephen Heywood
bf22ad1a15
Promote limitRange e2e test to Conformance
2022-10-10 11:37:57 +13:00
Stephen Heywood
84c02e370c
Promote ReplicationController scale e2e test to Conformance
2022-10-10 10:58:30 +13:00
arkbriar
42808c8343
Support cancelable SPDY executor stream
...
Mark remotecommand.Executor as deprecated and related modifications.
Handle crash when streamer.stream panics
Add a test to verify if stream is closed after connection being closed
Remove blank line and update waiting time to 1s to avoid test flakes in CI.
Refine the tests of StreamExecutor according to comments.
Remove the comment of context controlling the negotiation progress and misc.
Signed-off-by: arkbriar <arkbriar@gmail.com>
2022-10-09 15:24:00 +08:00
Alexis MacAskill
d6d93788ae
remove in-tree volume limits test now that CSIMigration is GA
2022-10-09 02:47:32 +00:00
Kubernetes Prow Robot
2eda22a653
Merge pull request #112043 from pohly/e2e-sub-package-continuation
...
e2e: sub package refactoring
2022-10-06 13:49:53 -07:00
Marko Mudrinić
2d494ef9ba
releng: Update images, dependencies and version to Go 1.19.2
...
Signed-off-by: Marko Mudrinić <mudrinic.mare@gmail.com>
2022-10-06 20:00:41 +02:00
Francesco Romani
3c60c1a10c
node: e2e: add podresources metrics tests
...
add tests to ensure the podresources metrics are exposed,
and basic sanity tests for their values.
Signed-off-by: Francesco Romani <fromani@redhat.com>
2022-10-06 15:14:56 +02:00
Patrick Ohly
2ba1d9e014
e2e framework: remove AddonResourceConstraints
...
According to spiffx in
https://github.com/kubernetes/kubernetes/pull/112043/files#r978031680 :
> Last in-tree tests that used it were removed in #83322 (1.17 timeframe)
> so I think it can be safely removed
2022-10-06 08:19:47 +02:00
Patrick Ohly
9b49ef433c
e2e framework: add top-level README.md
...
This documents the cleaned up package structure and explains how callbacks are
invoked. Ginkgko v2 has led to some improvements in that area.
2022-10-06 08:19:47 +02:00
Patrick Ohly
7f8831407c
e2e framework: also test BeforeEach and extension mechanism
...
This adds test coverage for NewFrameworkExtensions and shows better how
BeforeEach callbacks are invokved. The unit test is not strictly about just the
cleanup operations anymore, but that's okay(ish).
2022-10-06 08:19:47 +02:00
Patrick Ohly
dfdf88d4fa
e2e: adapt to moved code
...
This is the result of automatically editing source files like this:
go install golang.org/x/tools/cmd/goimports@latest
find ./test/e2e* -name "*.go" | xargs env PATH=$GOPATH/bin:$PATH ./e2e-framework-sed.sh
with e2e-framework-sed.sh containing this:
sed -i \
-e "s/\(f\|fr\|\w\w*\.[fF]\w*\)\.ExecCommandInContainer(/e2epod.ExecCommandInContainer(\1, /" \
-e "s/\(f\|fr\|\w\w*\.[fF]\w*\)\.ExecCommandInContainerWithFullOutput(/e2epod.ExecCommandInContainerWithFullOutput(\1, /" \
-e "s/\(f\|fr\|\w\w*\.[fF]\w*\)\.ExecShellInContainer(/e2epod.ExecShellInContainer(\1, /" \
-e "s/\(f\|fr\|\w\w*\.[fF]\w*\)\.ExecShellInPod(/e2epod.ExecShellInPod(\1, /" \
-e "s/\(f\|fr\|\w\w*\.[fF]\w*\)\.ExecShellInPodWithFullOutput(/e2epod.ExecShellInPodWithFullOutput(\1, /" \
-e "s/\(f\|fr\|\w\w*\.[fF]\w*\)\.ExecWithOptions(/e2epod.ExecWithOptions(\1, /" \
-e "s/\(f\|fr\|\w\w*\.[fF]\w*\)\.MatchContainerOutput(/e2eoutput.MatchContainerOutput(\1, /" \
-e "s/\(f\|fr\|\w\w*\.[fF]\w*\)\.PodClient(/e2epod.NewPodClient(\1, /" \
-e "s/\(f\|fr\|\w\w*\.[fF]\w*\)\.PodClientNS(/e2epod.PodClientNS(\1, /" \
-e "s/\(f\|fr\|\w\w*\.[fF]\w*\)\.TestContainerOutput(/e2eoutput.TestContainerOutput(\1, /" \
-e "s/\(f\|fr\|\w\w*\.[fF]\w*\)\.TestContainerOutputRegexp(/e2eoutput.TestContainerOutputRegexp(\1, /" \
-e "s/framework.AddOrUpdateLabelOnNode\b/e2enode.AddOrUpdateLabelOnNode/" \
-e "s/framework.AllNodes\b/e2edebug.AllNodes/" \
-e "s/framework.AllNodesReady\b/e2enode.AllNodesReady/" \
-e "s/framework.ContainerResourceGatherer\b/e2edebug.ContainerResourceGatherer/" \
-e "s/framework.ContainerResourceUsage\b/e2edebug.ContainerResourceUsage/" \
-e "s/framework.CreateEmptyFileOnPod\b/e2eoutput.CreateEmptyFileOnPod/" \
-e "s/framework.DefaultPodDeletionTimeout\b/e2epod.DefaultPodDeletionTimeout/" \
-e "s/framework.DumpAllNamespaceInfo\b/e2edebug.DumpAllNamespaceInfo/" \
-e "s/framework.DumpDebugInfo\b/e2eoutput.DumpDebugInfo/" \
-e "s/framework.DumpNodeDebugInfo\b/e2edebug.DumpNodeDebugInfo/" \
-e "s/framework.EtcdUpgrade\b/e2eproviders.EtcdUpgrade/" \
-e "s/framework.EventsLister\b/e2edebug.EventsLister/" \
-e "s/framework.ExecOptions\b/e2epod.ExecOptions/" \
-e "s/framework.ExpectNodeHasLabel\b/e2enode.ExpectNodeHasLabel/" \
-e "s/framework.ExpectNodeHasTaint\b/e2enode.ExpectNodeHasTaint/" \
-e "s/framework.GCEUpgradeScript\b/e2eproviders.GCEUpgradeScript/" \
-e "s/framework.ImagePrePullList\b/e2epod.ImagePrePullList/" \
-e "s/framework.KubectlBuilder\b/e2ekubectl.KubectlBuilder/" \
-e "s/framework.LocationParamGKE\b/e2eproviders.LocationParamGKE/" \
-e "s/framework.LogSizeDataTimeseries\b/e2edebug.LogSizeDataTimeseries/" \
-e "s/framework.LogSizeGatherer\b/e2edebug.LogSizeGatherer/" \
-e "s/framework.LogsSizeData\b/e2edebug.LogsSizeData/" \
-e "s/framework.LogsSizeDataSummary\b/e2edebug.LogsSizeDataSummary/" \
-e "s/framework.LogsSizeVerifier\b/e2edebug.LogsSizeVerifier/" \
-e "s/framework.LookForStringInLog\b/e2eoutput.LookForStringInLog/" \
-e "s/framework.LookForStringInPodExec\b/e2eoutput.LookForStringInPodExec/" \
-e "s/framework.LookForStringInPodExecToContainer\b/e2eoutput.LookForStringInPodExecToContainer/" \
-e "s/framework.MasterAndDNSNodes\b/e2edebug.MasterAndDNSNodes/" \
-e "s/framework.MasterNodes\b/e2edebug.MasterNodes/" \
-e "s/framework.MasterUpgradeGKE\b/e2eproviders.MasterUpgradeGKE/" \
-e "s/framework.NewKubectlCommand\b/e2ekubectl.NewKubectlCommand/" \
-e "s/framework.NewLogsVerifier\b/e2edebug.NewLogsVerifier/" \
-e "s/framework.NewNodeKiller\b/e2enode.NewNodeKiller/" \
-e "s/framework.NewResourceUsageGatherer\b/e2edebug.NewResourceUsageGatherer/" \
-e "s/framework.NodeHasTaint\b/e2enode.NodeHasTaint/" \
-e "s/framework.NodeKiller\b/e2enode.NodeKiller/" \
-e "s/framework.NodesSet\b/e2edebug.NodesSet/" \
-e "s/framework.PodClient\b/e2epod.PodClient/" \
-e "s/framework.RemoveLabelOffNode\b/e2enode.RemoveLabelOffNode/" \
-e "s/framework.ResourceConstraint\b/e2edebug.ResourceConstraint/" \
-e "s/framework.ResourceGathererOptions\b/e2edebug.ResourceGathererOptions/" \
-e "s/framework.ResourceUsagePerContainer\b/e2edebug.ResourceUsagePerContainer/" \
-e "s/framework.ResourceUsageSummary\b/e2edebug.ResourceUsageSummary/" \
-e "s/framework.RunHostCmd\b/e2eoutput.RunHostCmd/" \
-e "s/framework.RunHostCmdOrDie\b/e2eoutput.RunHostCmdOrDie/" \
-e "s/framework.RunHostCmdWithFullOutput\b/e2eoutput.RunHostCmdWithFullOutput/" \
-e "s/framework.RunHostCmdWithRetries\b/e2eoutput.RunHostCmdWithRetries/" \
-e "s/framework.RunKubectl\b/e2ekubectl.RunKubectl/" \
-e "s/framework.RunKubectlInput\b/e2ekubectl.RunKubectlInput/" \
-e "s/framework.RunKubectlOrDie\b/e2ekubectl.RunKubectlOrDie/" \
-e "s/framework.RunKubectlOrDieInput\b/e2ekubectl.RunKubectlOrDieInput/" \
-e "s/framework.RunKubectlWithFullOutput\b/e2ekubectl.RunKubectlWithFullOutput/" \
-e "s/framework.RunKubemciCmd\b/e2ekubectl.RunKubemciCmd/" \
-e "s/framework.RunKubemciWithKubeconfig\b/e2ekubectl.RunKubemciWithKubeconfig/" \
-e "s/framework.SingleContainerSummary\b/e2edebug.SingleContainerSummary/" \
-e "s/framework.SingleLogSummary\b/e2edebug.SingleLogSummary/" \
-e "s/framework.TimestampedSize\b/e2edebug.TimestampedSize/" \
-e "s/framework.WaitForAllNodesSchedulable\b/e2enode.WaitForAllNodesSchedulable/" \
-e "s/framework.WaitForSSHTunnels\b/e2enode.WaitForSSHTunnels/" \
-e "s/framework.WorkItem\b/e2edebug.WorkItem/" \
"$@"
for i in "$@"; do
# Import all sub packages and let goimports figure out which of those
# are redundant (= already imported) or not needed.
sed -i -e '/"k8s.io.kubernetes.test.e2e.framework"/a e2edebug "k8s.io/kubernetes/test/e2e/framework/debug"' "$i"
sed -i -e '/"k8s.io.kubernetes.test.e2e.framework"/a e2ekubectl "k8s.io/kubernetes/test/e2e/framework/kubectl"' "$i"
sed -i -e '/"k8s.io.kubernetes.test.e2e.framework"/a e2enode "k8s.io/kubernetes/test/e2e/framework/node"' "$i"
sed -i -e '/"k8s.io.kubernetes.test.e2e.framework"/a e2eoutput "k8s.io/kubernetes/test/e2e/framework/pod/output"' "$i"
sed -i -e '/"k8s.io.kubernetes.test.e2e.framework"/a e2epod "k8s.io/kubernetes/test/e2e/framework/pod"' "$i"
sed -i -e '/"k8s.io.kubernetes.test.e2e.framework"/a e2eproviders "k8s.io/kubernetes/test/e2e/framework/providers"' "$i"
goimports -w "$i"
done
2022-10-06 08:19:47 +02:00
Patrick Ohly
92047da152
e2e: make import blocks consistent
2022-10-06 08:16:47 +02:00
Patrick Ohly
5614a9d064
e2e framework: eliminate interim sub packages
...
The "todo" packages were necessary while moving code around to avoid hitting
cyclic dependencies. Now that any sub package can depend on the framework, they
are no longer needed and the code can be moved into the normal sub packages.
2022-10-06 08:16:47 +02:00
Patrick Ohly
2d21acb1be
e2e framework: eliminate redundant framework/[log|ginkgowrapper]
...
These sub packages were created by mistake. Logging and failure handling are
core features and must be implemented in the framework package.
2022-10-06 08:16:47 +02:00
Patrick Ohly
a46fea53e6
e2e framework: move pod exec and create into sub package
2022-10-06 08:16:47 +02:00
Patrick Ohly
8af3258526
e2e framework: move NodeKiller into framework/node
...
This removes some more dependencies from the framework.
Removing the configuration needs to be handled as part of refactoring the
TestContext.
2022-10-06 08:16:47 +02:00
Patrick Ohly
70d0824f01
e2e framework: move resource gathering into framework/debug
...
This helps getting rid of the ssh dependency. The same init package as for
dumping namespaces takes care of adding the functionality back to framework
instances.
2022-10-06 08:16:47 +02:00
Patrick Ohly
f9bc4f837b
e2e framework: move log size verification into framework/debug
...
This helps getting rid of the ssh dependency. The same init package as for
dumping namespaces takes care of adding the functionality back to framework
instances.
2022-10-06 08:16:47 +02:00
Patrick Ohly
802451b6ca
e2e framework: move metrics gathering into sub package
...
This reduces the size of the test/e2e/framework itself. Because it does not
gather metrics data anymore by default, E2E test suites must set their
callbacks function or set the original one by importing
"k8s.io/kubernetes/test/e2e/framework/todo/metrics/init".
2022-10-06 08:16:47 +02:00
Patrick Ohly
b8d28cb6c3
e2e framework: move node helper code into sub package
...
This reduces the size of the test/e2e/framework itself. Because it does not
check nodes anymore by default, E2E test suites must set their own check
function or set the original one by importing
"k8s.io/kubernetes/test/e2e/framework/todo/node/init".
2022-10-06 08:16:47 +02:00
Patrick Ohly
c45a924c5e
e2e framework: move dumping of information into sub package
...
This reduces the size of the test/e2e/framework itself. Because it does not
dump anything anymore by default, E2E test suites must set their own dump
function or set the original one by importing
"k8s.io/kubernetes/test/e2e/framework/debug/init".
2022-10-06 08:16:47 +02:00
Patrick Ohly
2c8ef492ae
e2e framework: move kubectl and pod helper code
2022-10-06 08:16:47 +02:00
Patrick Ohly
e95c2dbbe3
e2e framework: introduce todo sub packages
2022-10-06 08:16:47 +02:00
Patrick Ohly
37d562b454
e2e framework: support callbacks during framework creation and before each test
...
This will be used as mechanism for invoking some of the code which is currently
hard-coded in the framework once that code is placed in optional packages.
2022-10-06 08:16:47 +02:00
Kubernetes Prow Robot
fbb6ccc0c6
Merge pull request #112869 from xmcqueen/master
...
moved the downloading of the node_perf tensorflow test-data artifact …
2022-10-05 20:29:54 -07:00
Rob Scott
d18c8919b0
Updating kube-proxy base impage to distroless-iptables:v0.1.2
...
Change-Id: Idcbed345085926fdcff952b503f0bac82cb89e82
2022-10-06 01:19:00 +00:00
Amim Knabben
7df6c02288
Remove Linux and Windows Kube-proxy Userspace mode
2022-10-05 16:59:02 -03:00
Dan Williams
1687916844
test: demote service ClientIP affinity timeout tests from conformance
...
During the September 29th, 2022 SIG-Network meeting we decided to
demote the two affinity timeout conformance tests. This was because:
(a) there is no documented correct behavior for these tests other than
"what kube-proxy does"
(b) even the kube-proxy behavior differs depending on the backend implementation
of iptables, IPVS, or [win]userspace (and winkernel doesn't at all)
(c) iptables uses only srcip matching, while userspace and IPVS use srcip+srcport
(d) IPVS and iptables have different minimum timeouts and we had
to hack up the test itself to make IPVS pass
(e) popular 3rd party network plugins also vary in their implementation
Our plan is to deprecate the current affinity options and re-add specific
options for various behaviors so it's clear exactly what plugins support
and which behavior (if any) we want to require for conformance in the future.
Signed-off-by: Dan Williams <dcbw@redhat.com>
2022-10-05 09:08:13 -05:00
Brian McQueen
f6c71328cf
moved the downloading of the node_perf tensorflow test-data artifact into the Dockerfile to be downloaded at image-build time 109295
2022-10-04 17:35:32 -07:00
Kubernetes Prow Robot
98233be715
Merge pull request #112709 from swagatbora90/kubelet-tracing
...
Support otel tracing in cri remote image service
2022-10-04 14:12:00 -07:00
Tim Hockin
70c1c795e8
Remove generated file rules in make
...
This is all covered by update-codegen.sh now.
The old `make generated_files` rule still exists, but just prints a
warning.
2022-10-04 08:50:30 -07:00
Kubernetes Prow Robot
a15ce1503c
Merge pull request #112823 from ii/create-service-account-replace-test
...
Write e2e test for replaceCoreV1NamespacedServiceAccount - +1 Endpoint
2022-10-03 19:00:14 -07:00
Riaan Kleinhans
86cd6585f9
Update ineligible_endpoints.yaml
2022-10-04 11:14:25 +13:00
Riaan Kleinhans
a7a6210923
Update ineligible_endpoints.yaml
2022-10-04 11:12:10 +13:00
Stephen Heywood
a3f7da0421
Create e2e test for ServiceAccount endpoint
...
e2e test validates the following 1 endpoint
- replaceCoreV1NamespacedServiceAccount
2022-10-04 09:21:25 +13:00
Kubernetes Prow Robot
a6bee7d5fc
Merge pull request #112575 from tkashem/apf-fix-reset-fields-test
...
apf: don't omit flowschemas from reset fields test
2022-10-03 13:20:13 -07:00
Dixita Narang
d6ab1da1b5
Update test to validate against v1 kubelet APIs
2022-10-03 17:57:25 +00:00
Dixita Narang
a016b06bbd
Update test plugin to use v1 kubelet APIs
2022-10-03 17:57:14 +00:00
Kubernetes Prow Robot
725993afce
Merge pull request #112430 from ii/create-limitrange-test
...
Write List, Patch and Delete LimitRange test +3 Endpoints
2022-10-03 10:06:26 -07:00
Kubernetes Prow Robot
9720af2ba3
Merge pull request #112306 from tkashem/v1beta3
...
add v1beta3 for Priority And Fairness
2022-10-03 10:06:14 -07:00
Dixita Narang
1ac4fc779b
Update kubelet credential provider tests to use new v1 APIs
2022-09-30 20:51:39 +00:00
Kubernetes Prow Robot
ecdbb02580
Merge pull request #112790 from sonasingh46/timeout
...
use correct timeout for pod startup wait
2022-09-30 07:36:28 -07:00
Kubernetes Prow Robot
c5ab06f4c7
Merge pull request #112803 from pohly/pod-io-rename
...
e2e storage: add Rename to PodIO
2022-09-30 06:28:29 -07:00
Patrick Ohly
5b63199f46
e2e storage: add Rename to PodIO
...
This is useful for atomic file creation: first create a temporary file, then
rename it.
2022-09-30 13:25:26 +02:00
Kubernetes Prow Robot
b4b67c9ca5
Merge pull request #112781 from humblec/gce-new
...
Update sidecar controllers to latest versions in the e2e
2022-09-29 22:18:28 -07:00
Swagat Bora
caa83c25ae
Support otel tracing in cri remote image service
...
Signed-off-by: Swagat Bora <sbora@amazon.com>
2022-09-29 22:15:07 +00:00
Kubernetes Prow Robot
3af1e5fdf6
Merge pull request #112707 from enj/enj/i/https_links
...
Use https links for k8s KEPs, issues, PRs, etc
2022-09-29 12:34:40 -07:00
Stephen Heywood
12fe011f73
Create e2e test for LimitRange endpoints
...
e2e test validates the following 3 endpoints
- listCoreV1LimitRangeForAllNamespaces
- patchCoreV1NamespacedLimitRange
- deleteCoreV1CollectionNamespacedLimitRange
2022-09-30 07:51:05 +13:00
Kubernetes Prow Robot
77bf2d1ade
Merge pull request #112784 from kerthcet/cleanup/word-typo
...
typo fixed with NodeInclusionPolicy
2022-09-29 10:14:50 -07:00
Kubernetes Prow Robot
0790b711f2
Merge pull request #112586 from ii/create-replication-controller-scale-test
...
Write e2e test for Read, Replace ReplicationController scale endpoints +2 Endpoints
2022-09-29 10:14:39 -07:00
Humble Chirammal
b3a3d8cb6b
Update sidecar controllers to latest versions in the e2e
...
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2022-09-29 22:13:11 +05:30
Ashutosh Kumar
17ecb9f740
use correct timeout for pod startup wait
...
Signed-off-by: Ashutosh Kumar <sonasingh46@gmail.com>
2022-09-29 21:13:56 +05:30
Akanksha kumari
f9afd68e3b
Sanitize hostname in network proxy test ( #112763 )
...
* Update Url string to have only one slash
Signed-off-by: Akanksha Kumari <akankshakumari393@gmail.com>
* Trim / from Right in hostname
Signed-off-by: Akanksha Kumari <akankshakumari393@gmail.com>
2022-09-29 04:07:06 -07:00
Kubernetes Prow Robot
bc3d78aa55
Merge pull request #112726 from dims/drop-unsupported-iks-configuration-for-kubemark
...
Drop unsupported iks configuration for kubemark
2022-09-29 04:06:54 -07:00
kerthcet
55dcde737d
typo fixed
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-09-29 18:08:15 +08:00
Stephen Heywood
925fa2785e
Create e2e test for ReplicationController scale endpoints
...
e2e test validates the following 2 endpoints
- readCoreV1NamespacedReplicationControllerScale
- replaceCoreV1NamespacedReplicationControllerScale
2022-09-29 10:15:02 +13:00
Kubernetes Prow Robot
d57b6128eb
Merge pull request #112676 from logicalhan/stability-v2
...
Extend the metrics stability framework to support additional parses
2022-09-28 11:32:34 -07:00
Jordan Liggitt
2d397e8530
Avoid following redirects in aggregator availability controller
2022-09-28 10:56:21 -04:00
Han Kang
521a027fea
update capabilities of static analysis parser
...
Change-Id: Ie09399981fcef213e0e7c7d12a8039aedbf0246a
2022-09-27 17:21:14 -07:00
Kubernetes Prow Robot
97d37c2955
Merge pull request #112748 from wojtek-t/lock_ssa_gate
...
Lock ServerSideApply feature to true
2022-09-27 10:22:01 -07:00
Kubernetes Prow Robot
462f41212a
Merge pull request #112749 from humblec/glusterfs-dn
...
remove glusterfs dynamic provisioner server
2022-09-27 05:41:51 -07:00
Wojciech Tyczyński
57c95fbfa1
Lock ServerSideApply feature to true
2022-09-27 13:48:28 +02:00
Humble Chirammal
9d148a46fa
remove glusterfs dynamic provisioner server
...
Considering we have removed the glusterfs driver from the
repo, we no longer need the test server for CI. This commit
remove the same
Ref# https://github.com/kubernetes/kubernetes/pull/112015
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2022-09-27 14:51:10 +05:30
Kubernetes Prow Robot
7dc6a81e8b
Merge pull request #111741 from 249043822/br-probe-test-by-informer
...
fix:e2e test flake: Probing container should mark readiness on pods to false...
2022-09-26 16:08:14 -07:00
Kubernetes Prow Robot
24377fa7a1
Merge pull request #112703 from enj/enj/r/kms_cleanup
...
encryption config: no-op refactor to prepare for single loading
2022-09-26 14:50:26 -07:00
Kubernetes Prow Robot
a54d8d8add
Merge pull request #111980 from aramase/kms
...
Add staging directory for kms
2022-09-26 14:50:14 -07:00
Monis Khan
db850931a8
encryption config: no-op refactor to prepare for single loading
...
Signed-off-by: Monis Khan <mok@microsoft.com>
2022-09-26 15:35:03 -04:00
Abu Kashem
66fc0d7037
rename assuredConcurrencyShares for flowcontrol v1beta3
2022-09-26 15:34:10 -04:00
Anish Ramasekar
c3794e2377
Add staging directory for kms
...
- Moves kms proto apis to the staging repo
- Updates generate and verify kms proto scripts to check staging repo
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2022-09-26 19:23:35 +00:00
Arda Güçlü
0303535506
Add e2e tests for events command ( #111855 )
...
* Add e2e tests for events command
* Run events tests as normal e2e instead conformance
Conformance tests are only for GA features. Since `kubectl events`
currently is in alpha stage, e2e tests for this command should be
run as standard e2e.
2022-09-26 08:10:08 -07:00
ZhangKe10140699
4f19b10567
fix:e2e test flake: Probing container should mark readiness on pods to false
2022-09-26 09:55:19 +08:00
Davanum Srinivas
908ec2a496
Drop unsupported iks configuration for kubemark
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-09-25 17:33:22 -04:00
Monis Khan
b738be9b46
Use https links for k8s KEPs, issues, PRs, etc
...
Signed-off-by: Monis Khan <mok@microsoft.com>
2022-09-23 23:36:24 +00:00
Sergey Kanzhelev
39e49a91d7
remove DynamicKubeletConfig feature gate from the code
2022-09-23 23:14:19 +00:00
Kubernetes Prow Robot
4af079a3a1
Merge pull request #112663 from aojea/reachability
...
do not assume backend on e2e service jig
2022-09-22 12:51:28 -07:00
Kubernetes Prow Robot
b7d9082504
Merge pull request #112445 from RomanBednar/retro-sc-e2e
...
e2e storage: add test for retroactive storage class assignment feature
2022-09-22 12:51:15 -07:00
Kubernetes Prow Robot
188b65c92f
Merge pull request #110826 from humblec/test-failure
...
Fix the test failure on volume snapshot
2022-09-22 12:50:52 -07:00
Kubernetes Prow Robot
3a0dbe5749
Merge pull request #112335 from piotrnosek/fixcustomcrd
...
Fix HPA E2E CustomResourceDefinition test
2022-09-22 11:01:06 -07:00
Kubernetes Prow Robot
a2dc82f0b8
Merge pull request #112590 from liggitt/authorizer_config
...
improve integration test customization of authn/authz
2022-09-22 09:41:04 -07:00
Kubernetes Prow Robot
febdfe72fc
Merge pull request #112659 from pacoxu/LocalStorageCapacityIsolationFSQuotaMonitoring-test
...
LocalStorageCapacityIsolationFSQuotaMonitoring: feature gate typo in e2e test
2022-09-22 01:57:03 -07:00
Antonio Ojea
909a08d011
do not assume backend on e2e service jig
2022-09-22 07:49:05 +02:00
Kubernetes Prow Robot
969d416bc4
Merge pull request #112603 from humblec/var-3
...
fix typos in pkg/validation and test/cmd
2022-09-21 19:11:02 -07:00
Paco Xu
ad3083b51e
LocalStorageCapacityIsolationFSQuotaMonitoring: feature gate typo in e2e node test
2022-09-22 10:06:48 +08:00
Abu Kashem
6edc251686
apiserver: update apf tests to use v1beta3
2022-09-21 18:54:20 -04:00
Abu Kashem
e1a764d635
apiserver: enable v1beta3 for apf
2022-09-21 18:54:19 -04:00
Piotr Nosek
96ff1b1bcb
Fix HPA E2E CRD test
2022-09-21 22:39:47 +00:00
Jordan Liggitt
93ae6b1fb8
Make serviceaccount integation tests coexist with default API server config
2022-09-21 12:42:50 -04:00
Jordan Liggitt
6473f8c7e3
Make controlplane integation tests coexist with default API server config
2022-09-21 12:42:49 -04:00
Jordan Liggitt
e5c4c9b2c0
Make auth integation tests coexist with default API server config
2022-09-21 12:42:49 -04:00
Kubernetes Prow Robot
b8e740f2e5
Merge pull request #112580 from shyamjvs/disable-compression
...
Add --disable-compression flag to kubectl
2022-09-21 07:15:14 -07:00
jupblb
e1eb924327
Add timeout to kubemark cleanup commands
...
The kubectl delete -f commands in stop-kubemark.sh may get stuck if the
cluster setup is removed concurrently. It is not important for these
commands to succeed so a timeout of 5m is set.
2022-09-21 11:26:20 +02:00
Roman Bednar
f765e191d1
add e2e test for retroactive storage class feature
2022-09-21 10:52:28 +02:00
Kubernetes Prow Robot
6dbec8e255
Merge pull request #112120 from pohly/klog-flag-removal
...
logs: remove deprecated klog flags
2022-09-21 00:44:53 -07:00
Shyam Jeedigunta
b31301fa24
Integration test for kubectl --disable-compression flag
2022-09-20 16:09:52 -07:00
Humble Chirammal
6621db7dd1
fix typos in pkg/validation and test/cmd
...
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2022-09-20 19:12:17 +05:30
Kubernetes Prow Robot
f0823c0f59
Merge pull request #112503 from pohly/e2e-framework-pod-polling
...
e2e framework: pod polling
2022-09-20 00:05:20 -07:00
Kubernetes Prow Robot
6820a383be
Merge pull request #112545 from dims/update-etcd-3.5.5-and-all-otel-related-to-latest
...
Update etcd 3.5.5 and all otel related libraries to newer versions
2022-09-19 19:15:31 -07:00
cly
7975be8fdc
fix a typo in test/conformance/walk.go
2022-09-20 09:23:06 +08:00
Kubernetes Prow Robot
59c21a2515
Merge pull request #112474 from liggitt/concurrency-cleanup
...
Simplify P&F concurrency test
2022-09-19 13:17:44 -07:00
Abu Kashem
aa04af3f5c
apf: don't omit flowschemas from reset fields test
2022-09-19 13:46:38 -04:00
Patrick Ohly
004c1b6441
e2e framework: abort polling for running pod early
...
When the pod state is failed or completed, the pod will never again enter the
running state and polling can stop.
2022-09-19 18:10:04 +02:00
Jordan Liggitt
9cfc128b8e
Simplify P&F concurrency test
2022-09-19 08:26:29 -04:00
Michal Wozniak
e11039b6f5
Cleanup the TestEvictionForNoExecuteTaintAddedByUser test
2022-09-19 10:07:54 +02:00
Michal Wozniak
ca90621b2a
Simplify the integration test for node lifecycle manager
2022-09-19 10:07:35 +02:00
Davanum Srinivas
a1635fa702
fix how we look for our request
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-09-18 17:21:19 -04:00
Davanum Srinivas
3eaca7cf51
update code to use newer otel api
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-09-17 21:48:20 -04:00
Kubernetes Prow Robot
d2e3c70f1d
Merge pull request #111961 from pohly/e2e-klog-output
...
e2e: klog output
2022-09-17 14:38:28 -07:00
Manjunath A Kumatagi
2384a341e1
Add no-op package file to avoid build constraints exclude all Go files error
2022-09-17 12:15:49 +05:30
Kubernetes Prow Robot
3e5e5cc7ee
Merge pull request #112357 from SataQiu/deprecated-20220907
...
kube-scheduler: add taints filtering logic consistent with TaintToleration plugin for PodTopologySpread plugin
2022-09-16 18:14:27 -07:00
Kubernetes Prow Robot
4bc1398c08
Merge pull request #112510 from humblec/new-2
...
various typo corrections in test/e2e package
2022-09-16 14:59:00 -07:00
Kubernetes Prow Robot
ea3637f447
Merge pull request #112511 from aojea/e2e_dnspolicy
...
add e2e test for hostNetwork pods with dnsPolicy: ClusterFirstWithHostNet
2022-09-16 12:50:50 -07:00
Kubernetes Prow Robot
06fd0a0728
Merge pull request #112489 from dims/etcd_update_v3.5.5
...
etcd: Updated to v3.5.5
2022-09-16 08:49:16 -07:00
Humble Chirammal
40621d4351
Fix the test failure on volume snapshot
...
Since we have upgraded to snapshot controller version to v6, the
snapshot tests looks to be failing in the testgrid. It has been mainly
because the latest version of snapshot controller stopped serving
v1beta1 APIs. The sidecar image versions in the tests also has to be
updated to make sure these are compatible.
This commit add missing RBAC rules for the controller as per the
latest version.
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2022-09-16 19:39:47 +05:30
Kubernetes Prow Robot
740011927c
Merge pull request #112504 from pohly/e2e-wait-service-account
...
e2e framework: better error when service account creation times out
2022-09-16 06:31:28 -07:00
Humble Chirammal
9e9fc2be88
various corrections in test/e2e package
...
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2022-09-16 18:59:30 +05:30
Antonio Ojea
210c1302ef
add e2e test for hostNetworl pods with dnsPolicy: ClusterFirstWithHostNet
2022-09-16 15:26:38 +02:00
Kubernetes Prow Robot
0f582f7c3f
Merge pull request #112416 from aojea/race_apiserver_startup
...
Don't run TestCleanup that requires etcd on non linux+amd64 platforms
2022-09-16 02:49:18 -07:00
Patrick Ohly
efc172f4bf
e2e framework: better error when service account creation times out
...
When waiting for the default service account in a new namespace, not finding
one was reported as "unexpected error: timed out waiting for the condition"...
2022-09-16 11:21:31 +02:00
Antonio Ojea
920dec740b
skip etcd unit tests on non fully supported architectures
...
etcd only fully supports linux && amd64, the other architectures
and OS are only guaranteed to build, see:
https://etcd.io/docs/v3.5/op-guide/supported-platform/#support-tiers
Skip the test that use etcd on not well supported environment to
guarantee the stability of the test.
2022-09-16 10:38:03 +02:00
Patrick Ohly
0bd901afea
e2e framework: better error messages when pod has failed or completed
...
Getting a message about "pod ran to completion" is confusing when the pod
hasn't been able to start at all. The failed state now has a different message.
To address the previous ambiguity, the success state is described as "ran to
completion successfully".
2022-09-16 09:12:51 +02:00
Davanum Srinivas
0f6b9b883c
etcd: Updated to v3.5.5
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-09-15 21:05:13 -04:00
Kubernetes Prow Robot
efaf56d4b6
Merge pull request #112444 from piotrnosek/hpamultimplemetrics
...
HPA E2E tests: Multiple Metrics
2022-09-15 16:41:18 -07:00
Kubernetes Prow Robot
9f62f4f087
Merge pull request #112392 from alexkats/enable-tests-for-large-clusters
...
Remove 'DisabledForLargeClusters' tag for LB tests
2022-09-14 13:07:34 -07:00
Kubernetes Prow Robot
4e8b11d441
Merge pull request #111333 from flant/selfsubjectattributesreviews
...
Add auth API to get self subject attributes
2022-09-14 13:07:22 -07:00
Kubernetes Prow Robot
148476eff1
Merge pull request #112427 from gnufied/add-zone-field-cloud-config-test
...
Add zone field to vsphere test cloudconfig
2022-09-14 11:09:25 -07:00
Kubernetes Prow Robot
ee94dce5b1
Merge pull request #112015 from humblec/glusterfs-gone
...
Removal of GlusterFS code from the repo
2022-09-14 10:03:00 -07:00
m.nabokikh
00dfba473b
Add auth API to get self subject attributes
...
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
2022-09-14 18:00:26 +02:00
Piotr Nosek
72faedc291
HPA E2E tests: multiple metrics
2022-09-14 11:16:25 +00:00
Kubernetes Prow Robot
9e65786254
Merge pull request #112421 from pohly/e2e-annotated-location
...
e2e: improve description of framework callbacks
2022-09-14 01:09:00 -07:00
Hemant Kumar
30ac00eeb5
Add zone field to vsphere test cloudconfig
2022-09-13 17:19:33 -04:00
Riaan Kleinhans
7ceeca13a3
Fix 1.17 to 1.7
2022-09-14 09:14:28 +12:00
Humble Chirammal
c2a7bfd6b4
removal of glusterfs in-tree driver code from the source
...
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2022-09-13 20:11:50 +05:30
Patrick Ohly
84990d53cf
e2e: improve description of framework callbacks
...
When Ginkgo shows a BeforeEach/AfterEach/DeferCleanup, then it can only show
the source code where the callback was registered because there is no
description parameter. This can be improved by passing a custom CodeLocation.
Because a description like "set up framework" might not be enough, the source
code is still shown, too.
2022-09-13 14:27:32 +02:00
Riaan Kleinhans
f5502818ad
Update ineligible_endpoints.yaml
2022-09-13 11:16:42 +12:00
Riaan Kleinhans
4b4084915a
Update_ineligible_endpoints.yaml
...
remove createCoreV1NamespacedBinding
2022-09-13 09:35:58 +12:00
Kubernetes Prow Robot
46e1718462
Merge pull request #112351 from piotrnosek/fixbehaviortests
...
Fix flaky and failing HPA E2E Behavior tests
2022-09-12 10:55:37 -07:00
Kubernetes Prow Robot
d7d82ad972
Merge pull request #112252 from piotrnosek/hpa-average-metrics
...
Add e2e HPA Tests: CPU and Memory Average with different aggregation methods: Average Value and Utilization
2022-09-12 09:41:24 -07:00
Kubernetes Prow Robot
eedf0ed221
Merge pull request #112390 from pohly/e2e-storage-helpers
...
e2e storage: update helpers
2022-09-12 08:07:48 -07:00
Kubernetes Prow Robot
48256c55c2
Merge pull request #112251 from pohly/e2e-storage-proxy-shutdown
...
e2e storage: close all pending streams when proxy listener gets closed
2022-09-12 08:07:24 -07:00
Alex Katsman
945aea4627
Remove 'DisabledForLargeClusters' tag for LB tests
...
We performed several internal tests at Google both on GKE and
Kubernetes, and we believe it's safe to re-enable them for large
clusters.
2022-09-12 15:08:42 +02:00
Patrick Ohly
24230b4307
e2e storage: support creating ReplicaSet
...
This is useful for running a driver on a subset of all ready nodes:
- use e2enode.GetBoundedReadySchedulableNodes with a suitable
maximum number of nodes to determine how much nodes are available
for a test
- define pod anti-affinity in the PodTemplate:
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchLabels:
app.kubernetes.io/instance: xxxxxxx
topologyKey: kubernetes.io/hostname
- set the ReplicaSetSpec.Replicas value to the number of nodes
2022-09-12 14:38:28 +02:00
Patrick Ohly
b6b25c80de
e2e storage: add CreateFile to pod IO operations
...
This complements the other operations and will be used by some
future tests.
2022-09-12 14:38:27 +02:00
Kubernetes Prow Robot
3e9e41f82c
Merge pull request #112389 from pohly/test-cleanup-flake
...
e2e: avoid random control plane output through GinkoWriter
2022-09-12 05:27:37 -07:00
Patrick Ohly
2e61dfbf1d
e2e: avoid random control plane output through GinkoWriter
...
If the control plane emits anything at the time when the test runs, for example
"unable to sync kubernetes service", the test breaks because that additional
output is unexpected.
2022-09-12 12:02:37 +02:00
Patrick Ohly
d33e66b81b
e2e: reduce built time for framework
...
Pulling the CreateKubeConfig function from the expensive to build
test/utils/apiserver package had a considerable impact on the overall build
time because that package depends on a lot of other packages.
Because only that one function is needed by the framework, that extra build
time can be avoided by moving it into its own package.
2022-09-10 17:56:23 +02:00
SataQiu
bc9c494319
kube-scheduler: add taints filtering logic consistent with TaintToleration plugin for PodTopologySpread plugin
...
Signed-off-by: SataQiu <shidaqiu2018@gmail.com>
2022-09-10 09:04:30 +08:00
Kubernetes Prow Robot
d9f21e55df
Merge pull request #111998 from pohly/e2e-framework-after-each
...
e2e framework: replace custom cleanup support with Ginkgo v2 mechanisms
2022-09-09 16:17:22 -07:00
Piotr Nosek
3d7855392f
HPA E2E Test: CPU / Memory: Average Value / Utilization
2022-09-09 16:06:55 +00:00
Kante Yin
096dafe757
Feat: unify the status handle when return in bindingCycle ( #112103 )
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-09-09 08:31:23 -07:00
Piotr Nosek
ed1a3e6f70
Fix flaky and failing HPA E2E Behavior tests
2022-09-09 12:57:48 +00:00
Patrick Ohly
7eb472246f
e2e framework: use new apiserver helper package
2022-09-09 13:51:07 +02:00
Patrick Ohly
fc092eb145
e2e: remove cleanup actions
...
The framework.AddCleanupAction API was a workaround for Ginkgo v1 not invoking
AfterEach callbacks after a test failure. Ginkgo v2 not only fixed that, but
also added a DeferCleanup API which can be used to run some code if (and only
if!) the corresponding setup code ran. In several cases that makes the test
cleanup simpler.
2022-09-09 13:51:07 +02:00
Patrick Ohly
b7529097ca
e2e framework: add unit test for test execution
...
This covers multiple facets of the current framework and of Ginkgo:
- Ginkgo output is verbose and includes detailed progress
messages (BeforeEach/AfterEach tracing).
- Namespace creation.
- Order of callback invocation.
2022-09-09 13:51:07 +02:00
Patrick Ohly
f6029e4281
test: add helper code for running apiserver inside unit test
...
This runs etcd and an apiserver using it inside the test process. The caller
can either use the ClientSet or the config file. More options might get added
in the future.
Co-author: Antonio Ojea <antonio.ojea.garcia@gmail.com>
2022-09-09 13:51:04 +02:00
Kubernetes Prow Robot
a7936658ba
Merge pull request #112193 from jindijamie/master
...
Add an option for aggregator
2022-09-08 17:21:24 -07:00
Patrick Ohly
f7864977b6
e2e internal: support Ginkgo v2 log time stamps
...
When using By or some other Ginkgo output functions, Ginkgo v2 now adds a time
stamp at the end of the line that we need to ignore. Will become relevant when
testing more complete output.
2022-09-08 22:50:01 +02:00
Patrick Ohly
53e1c7b4c3
e2e framework: remove AddAfterEach
...
For cleanup purposes the ginkgo.DeferCleanup is a better replacement for
f.AddAfterEach:
- the cleanup only gets executed when the corresponding setup code ran
and can use the same local variables
- the callback runs after the test and before the framework
deletes namespaces (as before)
- if one callback fails, the others still get executed
For the original purpose (https://github.com/kubernetes/kubernetes/pull/86177 "This is
very useful for custom gathering scripts.") it is now possible to use
ginkgo.AfterEach because it will always get executed. Just beware that its
callbacks run in first-in-first-out order.
2022-09-08 22:50:01 +02:00
Patrick Ohly
cbf94307ef
e2e framework: clean up instance after all other code ran
...
In contrast to ginkgo.AfterEach, ginkgo.DeferCleanup runs the callback in
first-in-last-out order. Using it makes the following test code work as
expected:
f := framework.NewDefaultFramework("some test")
ginkgo.AfterEach(func() {
// do something with f.ClientSet
})
Previously, f.ClientSet was already set to nil by the framework's cleanup code.
2022-09-08 22:50:01 +02:00
Kubernetes Prow Robot
9188d55689
Merge pull request #112308 from ii/promote-namespace-replace-test
...
Promote CoreV1NamespaceReplace Test +1 Endpoint
2022-09-08 13:11:43 -07:00
Kubernetes Prow Robot
a7a5bfaef4
Merge pull request #112294 from pohly/importaliases
...
E2E import aliases
2022-09-08 13:11:31 -07:00
Kubernetes Prow Robot
cc4b7dc3c5
Merge pull request #111986 from enj/enj/i/transformer_leak
...
kms: fix go routine leak in gRPC connection
2022-09-08 09:49:46 -07:00
Patrick Ohly
2ace9a884e
e2e: generalize the framework e2e* import alias rule
...
All framework sub packages should used e2e<package name> as import alias, also
the daemonset sub package that previously wasn't listed explicitly.
2022-09-08 18:37:52 +02:00
Di Jin
6d78a25374
Add integration test
...
Add integration test to ensure aggregator is not forwarding redirect response
2022-09-08 09:36:12 -07:00
Monis Khan
4e68e9b5ad
kms: fix go routine leak in gRPC connection
...
Signed-off-by: Monis Khan <mok@microsoft.com>
2022-09-08 11:46:57 -04:00
Stephen Heywood
974f4b8ee1
Promote Namespace e2e test to Conformance
2022-09-08 11:44:05 +12:00
Nabarun Pal
26b33246cd
Update Go version in test Makefile to 1.19.1
...
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2022-09-07 22:13:58 +05:30
Patrick Ohly
8349c77e82
e2e storage: better explanation for maxConcurrentConnections
...
This the same behavior as before, it just wasn't documented.
2022-09-07 17:05:22 +02:00
Kubernetes Prow Robot
a488f4b95c
Merge pull request #107515 from MikeSpreitzer/explain-reset-fields-failure
...
Make TestApplyResetFields exhibit surprising object
2022-09-07 07:14:37 -07:00
Patrick Ohly
0bd9a1a29a
e2e storage: close all pending streams when proxy listener gets closed
...
After updating gRPC in node-driver-registrar from v1.40.0 to v1.47.0 the
behavior of gRPC change in a way such that it no longer detected the
single-sided closing of the stream as a loss of connection. This caused gRPC in
the e2e.test to get stuck, possibly in a Read or Write for the HTTP stream
because those have neither a context nor a timeout.
Changing the connection handling so that all active connections are tracking in
the listener and closing them when the listener gets closed fixed this problem.
2022-09-05 22:46:01 +02:00
Patrick Ohly
41619ace15
stop using deprecated klog flags
...
Some scripts and tools still relied on the deprecated flags, the ones
which are about to be removed.
This is intentionally not a complete removal of all those flags in the entire
repo. This would lead to much more code churn also in places where commands
still accept the flags because they use klog directly.
2022-09-04 21:02:43 +02:00
Joe Betz
7be77f9ecc
changes code to improve output for files under test/e2e/storage
2022-09-02 17:43:41 +05:30
Kubernetes Prow Robot
84a349412b
Merge pull request #112166 from SataQiu/clean-cloud-provider-insecureserving
...
cloud-provider: remove deprecated insecure serving from Config
2022-09-01 08:01:17 -07:00
Kubernetes Prow Robot
bf624aa77f
Merge pull request #111951 from sashrith/vsphere_intree_test_fixes
...
vsphere in-tree driver test fixes
2022-09-01 08:01:06 -07:00
Kubernetes Prow Robot
c870f1ddc7
Merge pull request #111865 from piotrnosek/hpa-tests-batch
...
Add e2e HPA tests: Scale to zero, scale a CRD targetRef
2022-09-01 05:43:05 -07:00
SataQiu
f09e136aca
cloud-provider: remove deprecated insecure serving from Config
2022-09-01 10:54:23 +08:00
Piotr Nosek
e252fcc429
HPA E2E Test: Scale to zero, scale custom CRD
2022-08-31 18:34:52 +00:00
Kubernetes Prow Robot
d0e413e86d
Merge pull request #112129 from pohly/e2e-ginkgo-report-after-each
...
e2e: suppress too verbose output
2022-08-31 10:00:56 -07:00
Kubernetes Prow Robot
cb057985ce
Merge pull request #112035 from piotrnosek/owners-autoscaling
...
Add OWNERS for autoscaling-owned directory
2022-08-31 08:37:01 -07:00
SataQiu
1ae5237a66
controller-manager: remove deprecated insecure serving from Config
2022-08-31 17:32:21 +08:00
Kubernetes Prow Robot
5debf63a74
Merge pull request #112074 from bertinatto/fix-snapshot-timeouts
...
e2e: use custom timeouts in GetSnapshotContentFromSnapshot()
2022-08-30 13:15:05 -07:00
Patrick Ohly
80d3cc3027
e2e: suppress progress messages for custom progress reporter
...
The custom progress reporter gets invoked via ginkgo.ReportAfterEach after each
test. The problem was that the e2e framework unconditionally enables Ginkgo's
-progress output which shows execution of all nodes, including this
ReportAfterEach. The effect were over 1000 lines of useless output at the start
of a test run while skipping disabled tests.
The solution is to tell Ginkgo that the ReportAfterEach isn't meant to be
reported.
2022-08-30 19:58:10 +02:00
Kubernetes Prow Robot
4f66f8c408
Merge pull request #112069 from enj/enj/t/aggregated_apis
...
Expand aggregated API server integration test to include CRUD
2022-08-30 08:52:55 -07:00
Monis Khan
ec283e526b
Expand aggregated API server integration test to include CRUD
...
This change updates TestAggregatedAPIServer and the related test
server wiring to exercise the full network path between the Kube API
server and the aggregated API server. We now assert that the wardle
API service and Kube API server discovery endpoints are fully healthy.
CRUD operations are performed through the Kube API server to the
wardle API server.
Signed-off-by: Monis Khan <mok@microsoft.com>
2022-08-30 10:44:01 -04:00
Kubernetes Prow Robot
04f8a5c41a
Merge pull request #111999 from kerthcet/refactor/handle-failure
...
fix error type when handling failures in scheduler
2022-08-30 05:47:01 -07:00
Mike Spreitzer
d3081b378a
Revise according to review
2022-08-29 23:02:29 -04:00
S R Ashrith
16f541ea8f
Skip read only raw block volume test for in-tree vsphere driver
2022-08-27 23:17:29 +05:30
S R Ashrith
41dbdef540
vsphere in-tree driver test fixes
2022-08-27 23:14:40 +05:30
Ryan Phillips
32a90f5f35
Revert "promote LocalStorageCapacityIsolationFSQuotaMonitoring to beta"
2022-08-26 16:25:00 -05:00
Fabio Bertinatto
e13c9be88a
e2e: use custom timeouts in GetSnapshotContentFromSnapshot()
2022-08-26 15:16:35 -03:00
Mike Spreitzer
98acbc3692
Make TestApplyResetFields exhibit surprising object
2022-08-26 14:13:35 -04:00
Kubernetes Prow Robot
3528d6f38e
Merge pull request #111848 from ii/create-namespace-replace-test
...
Write CoreV1NamespaceReplace Test +1 Endpoint
2022-08-25 23:34:26 -07:00
Piotr Nosek
7de1d13687
Add OWNERS for autoscaling-owned directory
2022-08-25 14:19:25 +00:00
Kubernetes Prow Robot
00191af94b
Merge pull request #111885 from p0lyn0mial/apiserver-integration-rsp-body
...
integration: TestCacheControl and TestHSTS close the ResponseBody
2022-08-25 05:14:07 -07:00
kerthcet
e61c16cc95
fix tests
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-08-25 15:33:10 +08:00
kerthcet
dd4fb3cd37
fix test error
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-08-25 13:29:09 +08:00
Kubernetes Prow Robot
8674ce53ff
Merge pull request #111093 from brianpursley/k-110097
...
Fix rollout history bug
2022-08-24 07:42:03 -07:00
Kubernetes Prow Robot
2472c8813a
Merge pull request #111874 from piotrnosek/hpa-tests-beh-scen
...
Add e2e HPA Behavior Tests: Scale up and down controls
2022-08-24 03:42:25 -07:00
Kubernetes Prow Robot
6c0bab878c
Merge pull request #111120 from iXinqi/lxinqi/destorying-svc-test
...
Add creating a destroying services test
2022-08-24 00:02:35 -07:00
Kubernetes Prow Robot
d436f5d0b7
Merge pull request #111954 from hj-johannes-lee/fix-typo-1
...
Fix typo of e2e utils under network framework
2022-08-23 20:09:16 -07:00
Kubernetes Prow Robot
22cb7ac766
Merge pull request #111912 from aojea/crd_recursion_regression_test
...
regression test for exponential recursion bug on CRDs
2022-08-23 20:09:08 -07:00
Kubernetes Prow Robot
95dab53bc2
Merge pull request #111907 from mythi/e2e-pod-wait-timeout
...
e2e: use user provided timeout in WaitForPodsWithLabelRunningReady
2022-08-23 20:08:52 -07:00
Kubernetes Prow Robot
a19935ac8a
Merge pull request #111789 from antoninbas/update-netpol-e2e-tests
...
Update Netpol e2e tests to use framework CreateNamespace
2022-08-23 19:00:44 -07:00
Kubernetes Prow Robot
07bca2d791
Merge pull request #67782 from dims/yank-in-tree-openstack-cloud-provider
...
Remove in-tree openstack cloud provider
2022-08-23 18:59:48 -07:00
Kubernetes Prow Robot
15a5136c26
Merge pull request #111726 from Huang-Wei/debug-pendingpods
...
Expose a pending pods summary in scheudler's dummper output
2022-08-23 17:17:49 -07:00
Kubernetes Prow Robot
55b657e37a
Merge pull request #111598 from fabi200123/e2e-node-log-viewer
...
Add e2e tests for node log viewer
2022-08-23 17:16:24 -07:00
Kubernetes Prow Robot
6ab5016ac2
Merge pull request #111551 from logicalhan/apiserver-metrics
...
clean-up apiserver metrics and use subsystem
2022-08-23 16:05:45 -07:00
Kubernetes Prow Robot
72a28b4406
Merge pull request #111380 from sonasingh46/e2e_nongracefulshutdown
...
chore(e2e): add e2e test for non graceful node shutdown
2022-08-23 16:05:24 -07:00
Kubernetes Prow Robot
068743f937
Merge pull request #111148 from cyang49/master
...
APF concurrency isolation integration test
2022-08-23 16:05:02 -07:00
Davanum Srinivas
9bbf01bae9
Remove references to openstack and cinder
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-08-22 16:43:14 -04:00
Patrick Ohly
53d5c6a15b
e2e: enable contextual logging
...
Contextual logging cannot be enabled manually because there is no feature gate
flag. Enabling the feature unconditionally:
- should be low risk for E2E testing
- if it fails, we want to know
- is useful to get better log output from code which already supports it
2022-08-22 17:04:50 +02:00
Patrick Ohly
96e9a93a6b
e2e: disable double printing of errors
...
We don't want klog to print to anything other than GinkgoWriter, but it still
used os.Stderr in addition to GinkgoWriter when printing log entries with
severity >= error. Changing "stderrthreshold" fixes that.
The unit test for framework output handling didn't test klog behavior. Now it
does:
- os.Stderr is redirected, should be empty
- a new test invokes klog
2022-08-22 17:04:26 +02:00
Patrick Ohly
c80eec19dd
e2e: fix output test assertion
...
The format string didn't match the parameters.
2022-08-22 16:59:18 +02:00
Hyeongju Johannes Lee
0bd220ca39
Fix typo of e2e utils under network framework
...
Fix typo "contaienr" to "container"
2022-08-22 14:15:09 +03:00
Piotr Nosek
a4bc164989
HPA E2E Behavior Test: Scale up/down controls
2022-08-19 16:57:17 +00:00
Antonio Ojea
8d7264fb8e
regression test for exponential recursion bug on CRDs
2022-08-19 09:43:17 +02:00
Mikko Ylinen
3128b1a773
e2e: use user provided timeout in WaitForPodsWithLabelRunningReady
...
The WaitFor* refactoring in 07c34eb400
had an oversight what timeout parameter
is used for calling WaitForAllPodsCondition() in WaitForPodsWithLabelRunningReady()
so the calls to WaitForPodsWithLabelRunningReady() ended up ignoring the user
provided timeout. Fix that.
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2022-08-18 12:05:06 +03:00
Omer Tuchfeld
44a59710ea
Fix failing test/e2e/storage/csi_mock_volume.go
test
...
Followup on https://github.com/kubernetes/kubernetes/pull/111846 . This
particular test was left out from that PR because once it was enabled it
started failing. It was desired to merge
https://github.com/kubernetes/kubernetes/pull/111846 irrespective of
this particular test.
The failure in the test was caused due to the
`createFSGroupRequestPreHook` mock CSI driver hook function assuming
that the request object passed to it is an instance of the respective
struct, but it's actually a pointer instead. This resulted in the hook
function not fulfilling its purpose, and the so the test failed.
2022-08-17 14:38:45 +02:00
Lukasz Szaszkiewicz
be2c707a4c
integration: TestCacheControl and TestHSTS close the ResponseBody
2022-08-17 13:29:01 +02:00
Ashutosh Kumar
08bd22670f
incorporate review comments
...
Signed-off-by: Ashutosh Kumar <sonasingh46@gmail.com>
2022-08-16 21:28:58 +05:30
Omer Tuchfeld
eb317ecd40
Fix capture loop vars in parallel or ginkgo tests
...
Fixes instances of #98213 (to ultimately complete #98213 linting is
required).
This commit fixes a few instances of a common mistake done when writing
parallel subtests or Ginkgo tests (basically any test in which the test
closure is dynamically created in a loop and the loop doesn't wait for
the test closure to complete).
I'm developing a very specific linter that detects this king of mistake
and these are the only violations of it it found in this repo (it's not
airtight so there may be more).
In the case of Ginkgo tests, without this fix, only the last entry in
the loop iteratee is actually tested. In the case of Parallel tests I
think it's the same problem but maybe a bit different, iiuc it depends
on the execution speed.
Waiting for the CI to confirm the tests are still passing, even after
this fix - since it's likely it's the first time those test cases are
executed - they may be buggy or testing code that is buggy.
Another instance of this is in `test/e2e/storage/csi_mock_volume.go` and
is still failing so it has been left out of this commit and will be
addressed in a separate one
2022-08-15 16:28:50 +02:00
Stephen Heywood
06346de0bb
Create e2e test for endpoint: replaceCoreV1Namespace
2022-08-15 10:14:33 +12:00
Antonin Bas
2e282e8e02
Update Netpol e2e tests to use framework CreateNamespace
...
The main purpose of this change is to update the e2e Netpol tests to use
the srandard CreateNamespace function from the Framework. Before this
change, a custom Namespace creation function was used, with the
following consequences:
* Pod security admission settings had to be enforced locally (not using
the centralized mechanism)
* the custom function was brittle, not waiting for default Namespace
ServiceAccount creation, causing tests to fail in some infrastructures
* tests were not benefiting from standard framework capabilities:
Namespace name generation, automatic Namespace deletion, etc.
As part of this change, we also do the following:
* clearly decouple responsibilities between the Model, which defines the
K8s objects to be created, and the KubeManager, which has access to
runtime information (actual Namespace names after their creation by
the framework, Service IPs, etc.)
* simplify / clean-up tests and remove as much unneeded logic / funtions
as possible for easier long-term maintenance
* remove the useFixedNamespaces compile-time constant switch, which
aimed at re-using existing K8s resources across test cases. The
reasons: a) it is currently broken as setting it to true causes most
tests to panic on the master branch, b) it is not a good idea to have
some switch like this which changes the behavior of the tests and is
never exercised in CI, c) it cannot possibly work as different test
cases have different Model requirements (e.g., the protocols list can
differ) and hence different K8s resource requirements.
For #108298
Signed-off-by: Antonin Bas <abas@vmware.com>
2022-08-10 11:38:26 -07:00
Ashutosh Kumar
707d50d806
chore(e2e): add e2e test for non graceful node shutdown
...
Signed-off-by: Ashutosh Kumar <sonasingh46@gmail.com>
2022-08-10 21:55:00 +05:30
Kubernetes Prow Robot
3b945fd77d
Merge pull request #111746 from RomanBednar/retro-sc-assignment-int
...
Add integration test for Retroactive default StorageClass assignement
2022-08-10 09:04:25 -07:00
Cici Huang
00ca624362
Remove feature
2022-08-09 19:23:27 +00:00
Roman Bednar
77d904f053
add integration tests for retroactive SC assignment
...
Also stress tested for ~2 hours to minimize possible races:
$ stress ./volume.test -test.run=TestRetroactiveStorageClassAssignment
...
1h59m50s: 3198 runs so far, 0 failures
1h59m55s: 3200 runs so far, 0 failures
2h0m0s: 3201 runs so far, 0 failures
2h0m5s: 3202 runs so far, 0 failures
2022-08-09 15:22:38 +02:00
Chih-Chieh Yang
94097457fd
Minor fixes
2022-08-09 12:19:00 +00:00
Kubernetes Prow Robot
f0bd02ca5e
Merge pull request #111346 from piotrnosek/hpa-tests-2
...
Add e2e HPA Behavior tests: scale up/down limited by number of Pods / min, scale up/down limited by percentage / min
2022-08-09 03:14:50 -07:00
Kubernetes Prow Robot
a837be03ff
Merge pull request #111751 from dobsonj/issue111740
...
Fix flaky CSIInlineVolumes e2e test (issue 111740)
2022-08-08 19:54:49 -07:00
Kubernetes Prow Robot
25a3274a4f
Merge pull request #111440 from verb/111025-ec-conformance
...
Promote Ephemeral Containers e2e test to Conformance
2022-08-08 15:35:57 -07:00
Jonathan Dobson
645f667376
Fix flaky CSIInlineVolumes e2e test (issue 111740)
2022-08-08 12:54:11 -06:00
Danielle Lancashire
e8442054fe
node_e2e: add a dbus restart test
2022-08-08 16:56:13 +00:00
Kubernetes Prow Robot
759785ea14
Merge pull request #109090 from sarveshr7/multicidr-rangeallocator
...
Enhance NodeIPAM to support multiple ClusterCIDRs
2022-08-07 15:40:18 -07:00
Wei Huang
7df9bfcfef
Expose a pending pods summary in scheudler's dummper output
2022-08-05 22:02:38 -07:00
Sarvesh Rangnekar
1473e13d1b
Add integration test for multi cluster cidr
2022-08-06 00:11:06 +00:00
Sarvesh Rangnekar
5b801ba9f9
Introduce MultiCIDRRangeAllocator
...
MultiCIDRRangeAllocator is a new Range Allocator which makes using
multiple ClusterCIDRs possible. It consists of two controllers, one for
reconciling the ClusterCIDR API objects and the other for allocating
Pod CIDRs to the nodes.
The allocation is based on the rules defined in
https://github.com/kubernetes/enhancements/tree/master/keps/sig-network/2593-multiple-cluster-cidrs
2022-08-06 00:10:39 +00:00
Kubernetes Prow Robot
64ed914545
Merge pull request #111258 from dobsonj/kep-596-ga-feature-flag
...
KEP-596: Move CSIInlineVolume feature to GA
2022-08-05 13:54:30 -07:00
Sarvesh Rangnekar
7093b10416
Introduce networking/v1alpha1 api, ClusterCIDR type
...
Introduce networking/v1alpha1 api group.
Add `ClusterCIDR` type to networking/v1alpha1 api group, this type
will enable the NodeIPAM controller to support multiple ClusterCIDRs.
2022-08-05 00:54:00 +00:00
Edwin Xie
f167b9f4ab
Fix e2e network dns_configmap test
...
Updates predicate to check for a length >=2 to avoid
the index out of bounds panic.
Signed-off-by: Edwin Xie <exie@vmware.com>
Co-authored-by: Tyler Schultz <tschultz@vmware.com>
2022-08-04 21:04:02 +00:00
Jonathan Dobson
0ee8fed853
Add conformance test for CSIInlineVolume feature
2022-08-04 13:06:30 -06:00
Michal Wozniak
bf9ce70de3
Support handling of pod failures with respect to the specified rules
2022-08-04 18:39:08 +02:00
Kubernetes Prow Robot
15d290f280
Merge pull request #111521 from wongma7/ephemeralcopy
...
Clear ephemeral container resources field when creating one in volume test
2022-08-04 07:51:50 -07:00
Kubernetes Prow Robot
305ad47627
Merge pull request #111679 from puerco/kubecross-1.19
...
[go] Bump images, dependencies and versions to go 1.19
2022-08-04 04:58:04 -07:00
Kubernetes Prow Robot
8923661eea
Merge pull request #111675 from ii/revert-apiservice-lifecycle-test
...
Revert "e2e: should manage the lifecycle of an APIService"
2022-08-04 04:57:57 -07:00
Piotr Nosek
aa9ed5209b
Add e2e HPA Behavior tests: scale up&down limited by number of Pods per minute, scale up&down limited by percentage of Pods per minute
2022-08-04 09:33:52 +00:00
Kubernetes Prow Robot
feec95583a
Merge pull request #111669 from pohly/trim_report_framework
...
e2e: trim junit report for Spyglass
2022-08-03 20:49:58 -07:00
Adolfo García Veytia (Puerco)
5d2de18956
Bump test Makefile to final 1.19
...
Signed-off-by: Adolfo García Veytia (Puerco) <puerco@chainguard.dev>
2022-08-03 22:05:03 -05:00
Kubernetes Prow Robot
0a2ae7ab3a
Merge pull request #111126 from aramase/kms-v2alpha1-impl
...
Implement KMS v2alpha1
2022-08-03 16:41:43 -07:00
Kubernetes Prow Robot
a0e702763e
Merge pull request #110495 from alexzielenski/atomic-objectreference
...
make ObjectReference field ownership granular
2022-08-03 14:21:48 -07:00
Stephen Heywood
88e86a7d98
Revert "e2e: should manage the lifecycle of an APIService"
2022-08-04 08:06:07 +12:00
Kubernetes Prow Robot
4b6134b6dc
Merge pull request #111090 from kinvolk/rata/userns-support-2022
...
Add support for user namespaces phase 1 (KEP 127)
2022-08-03 13:05:47 -07:00
Anish Ramasekar
f19f3f4099
Implement KMS v2alpha1
...
- add feature gate
- add encrypted object and run generated_files
- generate protobuf for encrypted object and add unit tests
- move parse endpoint to util and refactor
- refactor interface and remove unused interceptor
- add protobuf generate to update-generated-kms.sh
- add integration tests
- add defaulting for apiVersion in kmsConfiguration
- handle v1/v2 and default in encryption config parsing
- move metrics to own pkg and reuse for v2
- use Marshal and Unmarshal instead of serializer
- add context for all service methods
- check version and keyid for healthz
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2022-08-03 19:04:47 +00:00
Alexander Zielenski
bd648f3f9e
add regression test of formerly atomic claimRef
2022-08-03 10:57:13 -07:00
Giuseppe Scrivano
b1eaf6a2d9
tests: add e2e tests for userns
...
Co-authored-by: Rodrigo Campos <rodrigoca@microsoft.com>
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com>
2022-08-03 19:53:22 +02:00
Dave Chen
c299a12cf2
e2e: trim junit report for Spyglass, avoid "open stdout"
...
Including the full information for successful tests makes the resulting XML
file too large for the 200GB limit in Spyglass when running large jobs (like
scale testing).
The original solution from https://github.com/kubernetes/kubernetes/pull/111627
broke JUnit reporting in other test suites, in particular
test/e2e_node. Keeping the code inside the framework ensures that all test
suites continue to have the JUnit reporting.
AfterReadingAllFlags is a good place to set this up because all test suites
using the test context are expected to call it before running tests and after
parsing flags.
Removing the ReportEntries added by ginkgo.By from all test reports usually
avoids the `system-err` part in the JUnit file, which in Spyglass avoids
the extra "open stdout" button.
Co-authored-by: Patrick Ohly <patrick.ohly@intel.com>
Co-authored-by: Dave Chen <dave.chen@arm.com>
2022-08-03 17:56:36 +02:00
Chih-Chieh Yang
3c31efe32f
Add more comment and clip negative value to prevent Sqrt error
2022-08-03 15:16:26 +00:00
Chih-Chieh Yang
c70ec593ec
Fix minor issues and clean up
2022-08-03 14:14:36 +00:00
Danielle
5b312246c8
Revert "e2e: Trim junit reporter to adapt with testgrid"
2022-08-03 15:45:09 +02:00
Kubernetes Prow Robot
cf777ab782
Merge pull request #111627 from chendave/trim_report
...
e2e: Trim junit reporter to adapt with testgrid
2022-08-03 04:51:52 -07:00
Kubernetes Prow Robot
182e0989ec
Merge pull request #111646 from alculquicondor/fix_failed_suceeded
...
Fix JobTrackingWithFinalizers when a pod succeeds after the job fails
2022-08-02 17:45:52 -07:00
Aldo Culquicondor
ca8cebe5ba
Fix JobTrackingWithFinalizers when a pod succeeds after the job fails
...
Change-Id: I3be351fb3b53216948a37b1d58224f8fbbf22b47
2022-08-02 19:33:06 -04:00
Kubernetes Prow Robot
6fbeacdf73
Merge pull request #111435 from soltysh/cronjob_timezone_beta
...
Promote CronJobTimeZone to beta
2022-08-02 16:23:51 -07:00
Kubernetes Prow Robot
90f9a52db6
Merge pull request #111467 from RomanBednar/retro-sc-assignment
...
Allow retroactive storage class assigment to PVCs
2022-08-02 15:05:57 -07:00
Kubernetes Prow Robot
236fd8efba
Merge pull request #111448 from cici37/testForCelBeta
...
Move e2e test from alpha with feature promoted to beta
2022-08-02 15:05:45 -07:00
Giuseppe Scrivano
9e9b23fd3c
pkg/apis, staging: add HostUsers to pod spec
...
It is used to request that a pod runs in a unique user namespace.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com>
Co-authored-by: Rodrigo Campos <rodrigoca@microsoft.com>
2022-08-02 23:47:58 +02:00
Kubernetes Prow Robot
1de16be28f
Merge pull request #111462 from jprzychodzen/controllers
...
Enable 'running_managed_controllers' for KCM/CCM controllers: routes, services and cloud-node
2022-08-02 13:59:09 -07:00
Kubernetes Prow Robot
d4c7542878
Merge pull request #111522 from ii/promote-namespace-status-test
...
Promote NamespaceStatus endpoints test +3 Endpoints
2022-08-02 12:47:54 -07:00
Roman Bednar
42b24b7baf
move storage class helpers to utils
2022-08-02 20:52:04 +02:00
Kubernetes Prow Robot
bc4c4930ff
Merge pull request #111475 from alculquicondor/clear_pod_disruption
...
Add worker to clean up stale DisruptionTarget condition
2022-08-02 11:38:18 -07:00
Kubernetes Prow Robot
d40bc18461
Merge pull request #105126 from sallyom/tracing-kubelet
...
kubelet tracing instrumentation
2022-08-02 11:38:06 -07:00
Kubernetes Prow Robot
51ea7b2169
Merge pull request #111523 from wongma7/e2epvcns
...
Fix missing format string PVC namespace
2022-08-02 10:23:56 -07:00
Kubernetes Prow Robot
9ef16e7908
Merge pull request #108554 from pacoxu/bad-input-1
...
add deprecated warning for node beta labels in pv/sc/rc/csi storage capacity
2022-08-02 10:23:44 -07:00
Dave Chen
5fcb8e5153
e2e: trim junit report for Spyglass
...
Including the full information for successful tests makes the resulting XML
file too large for the 200GB limit in Spyglass when running large jobs (like
scale testing).
Co-authored-by: Patrick Ohly <patrick.ohly@intel.com>
Co-authored-by: Dave Chen <dave.chen@arm.com>
2022-08-03 00:32:24 +08:00
Aldo Culquicondor
4188d9b646
Add worker to clean up stale DisruptionTarget condition
...
Change-Id: I907fbdf01e7ff08d823fb23aa168ff271d8ff1ee
2022-08-02 11:25:01 -04:00
Aldo Culquicondor
dad8454ebb
Add clock interface to disruption controller
...
To be able to write more precise unit tests in the future
Change-Id: I8f45947dfacca501acd856849bd978fad0f735cd
2022-08-02 11:17:29 -04:00
Maciej Szulik
cb8eabe651
Add simple e2e verifying TimeZone support for CronJob
2022-08-02 16:53:10 +02:00
Chih-Chieh Yang
07e2bfe1cc
Refactor and clean up the code
2022-08-02 14:29:03 +00:00
Cici Huang
175bb5e4e7
Add feature back
2022-08-02 10:16:27 +00:00
Michal Wozniak
04fcbd721c
Introduction of a pod condition type indicating disruption. Its reason
field indicates the reason:
...
- PreemptionByKubeScheduler (Pod preempted by kube-scheduler)
- DeletionByTaintManager (Pod deleted by taint manager due to NoExecute taint)
- EvictionByEvictionAPI (Pod evicted by Eviction API)
- DeletionByPodGC (an orphaned Pod deleted by PodGC)PreemptedByScheduler (Pod preempted by kube-scheduler)
2022-08-02 11:12:16 +02:00
Kubernetes Prow Robot
719f3cf8da
Merge pull request #111555 from tallclair/pod-e2e-retry
...
Minor fixes to e2epod wait logic
2022-08-02 02:09:45 -07:00
Jakub Przychodzeń
08749750a9
Enable 'running_managed_controllers' for few more controllers
2022-08-02 07:33:32 +00:00
Kubernetes Prow Robot
cdc60112a6
Merge pull request #111119 from aramase/aes-gcm-part-2
...
feat:(kms) encrypt data with DEK using AES-GCM instead of AES-CBC
2022-08-01 19:22:28 -07:00
Anish Ramasekar
d54631a41a
feat:(kms) encrypt data with DEK using AES-GCM instead of AES-CBC
...
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2022-08-02 01:12:47 +00:00
Kubernetes Prow Robot
eedd2b7cb4
Merge pull request #108696 from wongma7/zonepreprovisioned
...
Set zone label selector for preprovisioned AWS in-tree tests
2022-08-01 17:46:28 -07:00
Kubernetes Prow Robot
6a6a36f569
Merge pull request #111609 from marosset/hpc-test-updates
...
Hostprocess container test updates
2022-08-01 15:05:16 -07:00
Kubernetes Prow Robot
701fed4a5a
Merge pull request #111449 from ii/promote-controller-revision-test
...
Promote ControllerRevisionLifecycleTest +7 Endpoints
2022-08-01 15:05:00 -07:00
Kubernetes Prow Robot
2e1a4da8df
Merge pull request #111358 from ddebroy/hasnet1
...
Introduce PodHasNetwork condition for pods
2022-08-01 15:04:52 -07:00
Kubernetes Prow Robot
d1f70c1409
Merge pull request #111265 from ii/promote-event-lifecycle-test
...
Promote Event Lifecycle Test +1 Endpoint
2022-08-01 15:04:40 -07:00
Mark Rossetti
85e4dd2d48
Hostprocess container test updates
...
Signed-off-by: Mark Rossetti <marosset@microsoft.com>
2022-08-01 12:04:50 -07:00
Xinqi Li
9b48b7489e
add creating a destroying services test
2022-08-01 11:24:40 -07:00
Sally O'Malley
47e7d8034f
kubelet tracing
...
Signed-off-by: Sally O'Malley <somalley@redhat.com>
Co-authored-by: David Ashpole <dashpole@google.com>
2022-08-01 12:55:02 -04:00
Deep Debroy
0ac7cce38a
Node e2e test for pod conditions managed by Kubelet
...
Signed-off-by: Deep Debroy <ddebroy@gmail.com>
2022-08-01 09:52:07 -07:00
Fabian Fulga
ff92963551
Add e2e tests for node log viewer
...
Adding e2e tests for the feature: add node log viewer
2022-08-01 17:58:51 +03:00
Kubernetes Prow Robot
ef8e7c471e
Merge pull request #110291 from danwinship/kep-3178-iptables-cleanup-kubelet
...
Implement KEP-3178 "iptables cleanup" in kubelet
2022-08-01 07:50:40 -07:00
Sascha Grunert
584783ee9f
Partly remove support for seccomp annotations
...
We now partly drop the support for seccomp annotations which is planned
for v1.25 as part of the KEP:
https://github.com/kubernetes/enhancements/issues/135
Pod security policies are not touched by this change and therefore we
have to keep the annotation key constants.
This means we only allow the usage of the annotations for backwards
compatibility reasons while the synchronization of the field to
annotation is no longer supported. Using the annotations for static pods
is also not supported any more.
Making the annotations fully non-functional will be deferred to a
future release.
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2022-08-01 09:19:29 +02:00
Cici Huang
dc15094316
Enable e2e test with feature prometed to beta.
2022-07-31 06:27:24 +00:00
Kubernetes Prow Robot
262d8b2a77
Merge pull request #111446 from alexzielenski/trivial-x-preserve-unknown-fields-correction
...
correct OpenAPI extension in error message
2022-07-30 05:06:27 -07:00
Kubernetes Prow Robot
3902a53419
Merge pull request #111441 from denkensk/respect-topology
...
Respect PodTopologySpread after rolling upgrades
2022-07-30 01:40:42 -07:00
Alex Wang
f4bc904376
implementation for MatchLabelKeys in TopologySpreadConstraint
...
Signed-off-by: Alex Wang <wangqingcan1990@gmail.com>
2022-07-30 13:23:49 +08:00
Kubernetes Prow Robot
cf2800b812
Merge pull request #111402 from verb/111030-ec-ga
...
Promote EphemeralContainers feature to GA
2022-07-29 19:29:20 -07:00
Chih-Chieh Yang
ed74de833d
Add comment for the reason this test is needed
2022-07-30 00:13:48 +00:00
Tim Allclair
b289c23394
[e2epod] wait: Don't override non-timeout errors
2022-07-29 17:11:50 -07:00
Tim Allclair
55ec0f2d9d
[e2epod] wait: Don't retry on 50X errors
2022-07-29 14:56:33 -07:00
Kubernetes Prow Robot
4f469e63f4
Merge pull request #108592 from claudiubelu/tests/enable-etc-hosts
...
tests: Enables a few Conformance tests for Windows (part 2)
2022-07-29 13:17:23 -07:00
Han Kang
178e57c17b
clean-up apiserver metrics and use subsystem
...
this is specifically so that we have more structured information when
the metric is parsed and stored as a stable metric. This change does not
change the name of the actual metrics.
Change-Id: I861482401ad9a0ae12306b93abf91d6f76d7a407
2022-07-29 12:51:32 -07:00
Kubernetes Prow Robot
9e6d456f05
Merge pull request #111481 from mattcary/gcepd
...
Enable gce pd driver via a flag rather than an env var
2022-07-29 11:49:13 -07:00
Kubernetes Prow Robot
442548a064
Merge pull request #110534 from kerthcet/feat/ga-component-config
...
Graduate component config to stable in kube-scheduler
2022-07-29 09:59:11 -07:00
Kubernetes Prow Robot
95ed6820ea
Merge pull request #107329 from pacoxu/promote-e2e-quota
...
promote LocalStorageCapacityIsolationFSQuotaMonitoring to beta
2022-07-28 19:35:10 -07:00
Matthew Wong
195797c36c
Fix missing format string PVC namespace
2022-07-28 17:57:10 -07:00
Kubernetes Prow Robot
73b3be3082
Merge pull request #111009 from marosset/runasnonroot-windows-fix
...
Windows: ensure runAsNonRoot does case-insensitive comparison on username
2022-07-28 17:55:22 -07:00
kerthcet
02f77a1b84
Feat: ga component config in kube-scheduler
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-07-29 08:47:48 +08:00
Matthew Cary
738b458f8e
enable gce pd driver via a flag rather than an env var
...
Change-Id: Ib7c99083ad334e5f6dd152e376a303de794e0bf1
2022-07-28 17:23:28 -07:00
Stephen Heywood
c5517109b9
Promote namespace status e2e test to Conformance
2022-07-29 11:54:47 +12:00
Matthew Wong
6390281a1c
Clear ephemeral container resources field when creating one in volume test
2022-07-28 15:47:14 -07:00
Kubernetes Prow Robot
5856e83573
Merge pull request #110007 from ardaguclu/enhancements-alpha-events
...
Add new flags into alpha events
2022-07-28 07:33:11 -07:00
Arda Güçlü
63b8684cd3
Add new flags into alpha events
...
In order to promote kubectl alpha events to beta,
it should at least support flags which is already
supported by kubectl get events as well as new flags.
This PR adds;
--output: json|yaml support and does essential refactorings to
integrate other printing options easier in the future.
--no-headers: kubectl get events can hide headers when this flag is set for default printing.
Adds this ability to hide headers also for kubectl alpha events.
This flag has no effect when output is json or yaml for both commands.
--types: This will be used to filter certain events to be printed and
discard others(default behavior is same with --event=Normal,Warning).
2022-07-28 15:16:58 +03:00
Kubernetes Prow Robot
0532324bd1
Merge pull request #111491 from mkumatag/patch-3
...
Update agnhost image to 2.40
2022-07-28 03:29:21 -07:00
Kubernetes Prow Robot
dd454e0c91
Merge pull request #111489 from humblec/e2e/rbd
...
update base image to Fedora 36 for volume/(gluster|iscsi|rbd)
2022-07-28 03:29:10 -07:00
Manjunath Kumatagi
095e961657
Update agnhost image to 2.40
2022-07-28 12:19:26 +05:30
Humble Chirammal
b87b7032af
update image version of GlusterFS test
...
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2022-07-28 11:54:36 +05:30
Humble Chirammal
29ad028396
update base image version of ISCSI test image
...
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2022-07-28 11:53:45 +05:30
Humble Chirammal
c158fde1e5
update RBD test image base to Fedora 36
...
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2022-07-28 11:45:30 +05:30
Kubernetes Prow Robot
3999794253
Merge pull request #111414 from chewong/chewong-emeritus
...
chore: move chewong to emeritus_approvers
2022-07-27 18:15:22 -07:00
Kubernetes Prow Robot
1663ec0851
Merge pull request #111249 from Octopusjust/k8s-pr6
...
test/e2e/common/node: fix several typo
2022-07-27 11:35:08 -07:00
Dan Winship
39bed84947
update "Networking should recreate its iptables rules" test
...
Don't assume kubelet will create KUBE-MARK-DROP; look for
KUBE-IPTABLES-HINT now instead.
2022-07-27 13:29:39 -04:00
Kubernetes Prow Robot
ce336550f1
Merge pull request #111444 from wojtek-t/prevent_leaking_goroutines
...
Prevent from future leaks of goroutines in integration tests
2022-07-27 06:31:52 -07:00
Ernest Wong
6fcc671b9d
chore: move chewong to emeritus_approvers
...
Signed-off-by: Ernest Wong <ernwong@amazon.com>
2022-07-27 03:08:28 +00:00
Stephen Heywood
337bba200c
Promote ControllerRevision e2e test to Conformance
2022-07-27 14:47:32 +12:00
Han Kang
c38746c353
add test for fake objectives
...
Change-Id: Ib0bfdf1299cd74490474f92c41d93090809f41c4
2022-07-26 15:31:25 -07:00
Han Kang
cefa194998
Update test/instrumentation/error.go
...
Co-authored-by: Damien Grisonnet <damien.grisonnet@epita.fr>
2022-07-26 15:31:25 -07:00
Han Kang
e452850ec3
Add support for summary metrics for stablity checks
...
Also add entrypoints for verifying and updating a test file for easier
debugging. This is considerably faster than running the stablity checks
against the entire Kubernetes codebase.
Change-Id: I5d5e5b3abf396ebf1317a44130f20771a09afb7f
2022-07-26 15:31:25 -07:00
Kubernetes Prow Robot
3ffdfbe286
Merge pull request #111254 from dims/update-to-golang-1.19-rc2
...
[golang] Update to 1.19rc2 (from 1.18.3)
2022-07-26 14:25:09 -07:00
Kubernetes Prow Robot
8bc12f24e6
Merge pull request #106388 from alexzielenski/ssa-ignore-nonsemantic-changes
...
Ignore non-semantic changes to objects
2022-07-26 11:35:10 -07:00
Wojciech Tyczyński
ef607d131f
Prevent from future leaks of goroutines in integration tests
2022-07-26 20:08:09 +02:00
Alexander Zielenski
a51d4c1fee
update conformance
...
x-preserve-unknown-fields becomes x-kubernetes-preserve-unknown-fields
2022-07-26 11:05:46 -07:00
Davanum Srinivas
a9593d634c
Generate and format files
...
- Run hack/update-codegen.sh
- Run hack/update-generated-device-plugin.sh
- Run hack/update-generated-protobuf.sh
- Run hack/update-generated-runtime.sh
- Run hack/update-generated-swagger-docs.sh
- Run hack/update-openapi-spec.sh
- Run hack/update-gofmt.sh
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-07-26 13:14:05 -04:00
Davanum Srinivas
4784b58e17
golang: Update to 1.19rc2 from 1.18.3
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-07-26 13:14:05 -04:00
Alexander Zielenski
59629acf47
correct OpenAPI extension in error message
...
when attemping to use preserveUnknownFields the error message leads you astray
2022-07-26 09:43:09 -07:00
Kubernetes Prow Robot
9525206bcb
Merge pull request #111306 from stlaz/restricted_scheduling_test
...
Make scheduling e2e tests run PSa-restricted pods
2022-07-26 08:01:21 -07:00
Lee Verberne
14ee775215
Promote Ephemeral Containers e2e test to Conformance
2022-07-26 16:52:02 +02:00
Stanislav Laznicka
682ee2908a
Make scheduling e2e tests run PSa-restricted pods
...
The "pause" pods that are being run in the scheduling tests are
sometimes launched in system namespaces. Therefore even if a test
is considered to be running on a "baseline" Pod Security admission
level, its "baseline" pods would fail to run if the global PSa
enforcement policy is set to "restricted" - the system namespaces
have no PSa labels.
The "pause" pods run by this test can actually easily run with
"restricted" security context, and so this patch turns them
into just that.
2022-07-26 14:32:51 +02:00
Kubernetes Prow Robot
00ace95226
Merge pull request #111046 from wongearl/omit-comparison
...
omit comparison to bool constant
2022-07-26 03:37:09 -07:00
Kubernetes Prow Robot
a72032f9b3
Merge pull request #111395 from wojtek-t/cleanup_run_apiserver
...
Remove RunAnAPIServer from integration tests
2022-07-26 01:55:53 -07:00
Lee Verberne
d238e67ba6
Remove EphemeralContainers feature-gate checks
2022-07-26 02:55:30 +02:00
Kubernetes Prow Robot
f88f76f444
Merge pull request #111404 from verb/111025-ec-node-conformance
...
Add Ephemeral Containers to node conformance tests
2022-07-25 15:30:34 -07:00
Wojciech Tyczyński
5b042f0bf4
Remove RunAnAPIServer from integration tests
2022-07-25 17:52:31 +02:00
Stephen Heywood
1c9ae32103
Promote Event e2e test to Conformance
...
In promoting this e2e test to conformance it will
supersede e2e test "Event resource lifecycle", which
has been removed in this PR.
2022-07-25 09:15:36 +12:00
Lee Verberne
4ad08e13b2
Add Ephemeral Containers to node conformance tests
2022-07-24 17:31:16 +02:00
guiyong.ou
aa6d0f5bb0
code cleanup
...
Signed-off-by: guiyong.ou <guiyong.ou@daocloud.io>
2022-07-24 21:16:21 +08:00
Lars Ekman
e93f1161ea
Replace fallocate with dd in e2e tests
2022-07-23 17:22:49 +02:00
Kubernetes Prow Robot
c58b2f4a54
Merge pull request #111269 from HecarimV/fix-22072011
...
use exist const to replace TCP str
2022-07-22 09:43:49 -07:00
Kubernetes Prow Robot
9495b2fb9f
Merge pull request #111325 from wojtek-t/fix_leaking_goroutines_13
...
Clean shutdown of serviceaccount integration tests
2022-07-22 08:31:49 -07:00
Kubernetes Prow Robot
9ec582da8b
Merge pull request #111347 from aojea/aggregator_serial
...
Conformance test "manage the lifecycle of an APIService" is Disruptive and should run in Serial
2022-07-22 07:17:37 -07:00
Antonio Ojea
6f681c8357
Tag test should manage the lifecycle of an APIService as Serial
...
The test breaks the controllers that depend on api services to be resolvable,
per example, the namespace controller, that is heavily used by the e2e framework to clean the environment
2022-07-22 12:08:26 +02:00
Antonio Ojea
38df6fcd3d
Revert "Promote APIService e2e test to Conformance"
...
This reverts commit c4935571a5
.
2022-07-22 12:07:53 +02:00
Kubernetes Prow Robot
cab41bd04d
Merge pull request #111324 from wojtek-t/cleanup_testing_namespace
...
Cleanup no longer used Create/Delete TestingNamespace
2022-07-22 00:05:49 -07:00
Wojciech Tyczyński
5af0866616
Clean shutdown of serviceaccount integration tests
2022-07-22 07:47:15 +02:00
Kubernetes Prow Robot
287888b191
Merge pull request #111330 from marosset/use-pause-3.8
...
Switching everything to use pause:3.8
2022-07-21 18:28:48 -07:00
Kubernetes Prow Robot
57e4c38ed6
Merge pull request #111060 from aojea/distroless_proxy
...
use new distroless kube-proxy image
2022-07-21 15:45:26 -07:00
Mark Rossetti
40f3e624a6
Switching everything to use pause:3.8
...
Signed-off-by: Mark Rossetti <marosset@microsoft.com>
2022-07-21 14:53:15 -07:00
Kubernetes Prow Robot
b431a61e10
Merge pull request #111264 from ii/promote-resourcequota-lifecycle-test
...
Promote List, Patch & DeleteCollection ResourceQuota test - +3 endpoint coverage
2022-07-21 14:25:39 -07:00
Kubernetes Prow Robot
398a67c033
Merge pull request #111263 from ii/promote-apiservice-lifecycle-test
...
Promote APIService lifecycle test + 4 Endpoints
2022-07-21 14:25:27 -07:00
Kubernetes Prow Robot
f93a37e314
Merge pull request #111253 from piotrnosek/hpa-tests-1
...
Add e2e HPA Behavior tests: scale down stabilisation, scale up disabled, scale down disabled
2022-07-21 12:59:42 -07:00
Kubernetes Prow Robot
bce7f34e96
Merge pull request #110967 from iXinqi/lxinqi/port-mutation-test
...
Add service port mutation test
2022-07-21 12:59:16 -07:00
Wojciech Tyczyński
aca03a4090
Cleanup no longer used Create/Delete TestingNamespace
2022-07-21 19:44:14 +02:00
Antonio Ojea
1ee13900a5
use new distroless kube-proxy image
2022-07-21 09:48:52 +02:00
Michal Wozniak
2f61b6105c
Add integration tests for podgc
2022-07-20 15:17:14 +02:00
Kubernetes Prow Robot
8b16a4a4df
Merge pull request #111284 from aojea/slow_storage
...
Revert "Revert the workaround needed to cleanup for Ginkgo V1"
2022-07-20 05:52:33 -07:00
Kubernetes Prow Robot
e348a76e10
Merge pull request #111238 from bobbypage/fix-npd-test
...
test: Only Check NPD logs in standalone mode
2022-07-20 04:02:50 -07:00
Piotr Nosek
1c455c10de
Add e2e HPA Behavior tests: scale down stabilisation, scale up disabled, scale down disabled.
2022-07-20 09:03:31 +00:00
Antonio Ojea
fc6acb2350
Revert "Revert the workaround needed to cleanup for Ginkgo V1"
...
This reverts commit 6a82ba82b1
.
2022-07-20 10:48:35 +02:00
HaoJie Liu
677f0bae39
use exist const to replace TCP str
...
Signed-off-by: HaoJie Liu <liuhaojie@beyondcent.com>
2022-07-20 11:19:18 +08:00
Stephen Heywood
bc783aaeb7
Promote ResourceQuota e2e test to Conformance
2022-07-20 11:29:43 +12:00
Kubernetes Prow Robot
728d8fd96b
Merge pull request #109763 from ii/create-namespace-status-test
...
Write NamespaceStatus endpoints test +3 Endpoints
2022-07-19 16:18:36 -07:00
Stephen Heywood
c4935571a5
Promote APIService e2e test to Conformance
2022-07-20 10:29:11 +12:00
Kubernetes Prow Robot
0cde1b7446
Merge pull request #111242 from wojtek-t/fix_leaking_goroutines_11
...
Fix leaking goroutines in multiple integration tests
2022-07-19 05:34:30 -07:00
Kubernetes Prow Robot
eeb12bb3af
Merge pull request #110178 from kevindelgado/validation-beta-1-25
...
Graduate server side validation to beta
2022-07-19 05:34:06 -07:00
ZhangYu
9cbf198ce3
test/e2e/common/node: fix several typo
2022-07-19 17:51:18 +08:00
Wojciech Tyczyński
ab1038f0e0
Clean shutdown of auth integration tests
2022-07-19 11:34:02 +02:00
Wojciech Tyczyński
f673c262bd
Clean shutdown of client integration tests
2022-07-19 10:03:51 +02:00
Wojciech Tyczyński
e9e494e14a
Clean shutdown of apiserver integration tests
2022-07-19 10:03:51 +02:00
David Porter
d906521acd
test: Only Check NPD logs in standalone mode
...
NPD can run in "standalone" or "daemonset" mode in cluster GCE tests.
For standalone mode, NPD runs as a systemd unit, daemonset mode it runs
as pod.
If NPD is running in standalone mode, as soon as we detect that the npd
service does not exist with `systemctl status`, we should skip the rest
of the checks such as looking at the journalctl logs or pid.
Signed-off-by: David Porter <david@porter.me>
2022-07-19 01:03:13 -07:00
Kubernetes Prow Robot
9cf4f15884
Merge pull request #110633 from wojtek-t/fix_leaking_goroutines_10
...
Fix leaking goroutines in multiple integration tests
2022-07-18 21:56:05 -07:00
Stephen Heywood
1d6cb6acf0
Create e2e test for NamespaceStatus endpoints
...
e2e test validates the following 3 endpoints
- patchCoreV1NamespaceStatus
- readCoreV1NamespaceStatus
- replaceCoreV1NamespaceStatus
2022-07-19 14:03:12 +12:00
Kubernetes Prow Robot
1c1efde70d
Merge pull request #109639 from Abirdcfly/fixduplicateimport
...
cleanup: remove all duplicate import
2022-07-18 16:55:23 -07:00
Mark Rossetti
588ff515bc
Windows: ensure runAsNonRoot does case-insensitive comparison on user name
...
Signed-off-by: Mark Rossetti <marosset@microsoft.com>
2022-07-18 15:23:13 -07:00
Kevin Delgado
d815449ae5
Adjust testing for server-side validation as default
2022-07-18 16:16:00 +00:00
Kevin Delgado
d983fd8078
Add server-side metadata unknown field validation
2022-07-18 14:55:12 +00:00
Kubernetes Prow Robot
d79cf03615
Merge pull request #110569 from wojtek-t/fix_leaking_goroutines_8
...
Clean shutdown of controlplane integration tests
2022-07-18 02:49:15 -07:00
Kubernetes Prow Robot
e8410006ac
Merge pull request #107042 from kkkkun/update_metrics_bucket
...
Update etcdRequestLatency metrics bucket size
2022-07-16 00:28:52 -07:00
Kubernetes Prow Robot
9d59f95a11
Merge pull request #111138 from kidddddddddddddddddddddd/two_default_ingressClasses
...
Fix failing e2e test: Handle two default IngressClasses more cleanly
2022-07-15 16:49:09 -07:00
Chih-Chieh Yang
4fc7fd25bf
Fix the apf metrics names
2022-07-15 18:27:29 +00:00
Chih-Chieh Yang
b0c211a1e5
Fix PL seat util metric retrieval
2022-07-15 17:11:16 +00:00
Chih-Chieh Yang
f298d506e8
APF concurrency isolation integration test ( #1 )
...
* Add APF concurrency utilization test
2022-07-15 17:11:16 +00:00
lucming
e536d565ea
clean up code
2022-07-15 20:22:37 +08:00
kidddddddddddddddddddddd
a76c0f9898
select the lower name ingressClass in e2e
2022-07-15 18:17:57 +08:00
Kubernetes Prow Robot
b3057e7ccc
Merge pull request #106834 from mengjiao-liu/sysctl-allow-slashes
...
Add support for slash as sysctl separator to Pod securityContext field and to PodSecurityPolicy
2022-07-15 01:04:24 -07:00
Alexander Zielenski
40343793f7
benchmark and metrics for new timestamp transformer comparison
...
add proper metrics
rename & improve documentation for path metric dimension
2022-07-14 11:56:36 -07:00
Alexander Zielenski
7233538008
revert timestamp updates to object if non-managed fields do not change
...
add short-circuiting logic for long comaprison
replace timestamps rather than doing a full managed fields deepcopy
add guard
2022-07-14 11:55:26 -07:00
Kubernetes Prow Robot
e5f4f8d71b
Merge pull request #110896 from ravisantoshgudimetla/promote-minReadySec-sts-update-ga
...
Promote minReadySeconds to GA
2022-07-14 09:45:09 -07:00
Kubernetes Prow Robot
a655368390
Merge pull request #104907 from adrianreber/2021-09-10-checkpoint
...
Minimal checkpointing support
2022-07-14 09:44:56 -07:00
Wojciech Tyczyński
8e267eba51
Clean shutdown of controlplane integration tests
2022-07-14 14:38:22 +02:00
Adrian Reber
92ea6e32b8
Add e2e tests for checkpointing
...
Signed-off-by: Adrian Reber <areber@redhat.com>
2022-07-14 10:27:41 +00:00
Wojciech Tyczyński
690d2f0101
Clean(er) shutdown of auth integration tests
2022-07-14 11:25:57 +02:00
Wojciech Tyczyński
13e4f2b554
Clean shutdown of volume integration tests
2022-07-14 11:25:57 +02:00
Abirdcfly
00b9ead02c
cleanup: remove duplicate import
...
Signed-off-by: Abirdcfly <fp544037857@gmail.com>
2022-07-14 11:25:19 +08:00
Kubernetes Prow Robot
f3654386ab
Merge pull request #111097 from saltbo/fix-thethe-typo
...
fix: update the typo code comment
2022-07-13 18:03:07 -07:00
Brian Pursley
693e1299a6
Fix rollout history bug
...
Fix rollout history bug where the latest revision was
always shown when requesting a specific revision and
specifying an output.
Add unit and integration tests for rollout history.
2022-07-13 18:27:05 -04:00
Kubernetes Prow Robot
c813886dc4
Merge pull request #110930 from falser101/fix/codeCleanUp
...
fix:remove Redundant type conversion
2022-07-13 09:27:38 -07:00
Ravi Gudimetla
9144250a92
Promote minReadySeconds to GA
2022-07-13 11:37:10 -04:00
Kubernetes Prow Robot
5d7fdf1f12
Merge pull request #111065 from chendave/cleanup_measure
...
Stop using the deprecated `Measure` method
2022-07-12 19:57:50 -07:00
saltbo
d2bab218dd
fix: update the typo code comment
2022-07-13 10:16:51 +08:00
falser101
f07d8d396f
fix:remove Redundant type conversion
...
Signed-off-by: jianfei.zhang <jianfei.zhang@daocloud.io>
2022-07-13 10:03:38 +08:00
Kubernetes Prow Robot
cb0f09275e
Merge pull request #111036 from Huang-Wei/rm-MakeDefaultErrorFunc
...
merge MakeDefaultErrorFunc into handleSchedulingFailure
2022-07-12 18:37:59 -07:00
Kubernetes Prow Robot
f58d83777f
Merge pull request #111063 from chendave/revert_workaround
...
Revert the workaround needed to cleanup for Ginkgo V1
2022-07-12 16:21:36 -07:00
Wei Huang
4f77732540
merge MakeDefaultErrorFunc into handleSchedulingFailure
2022-07-12 12:11:16 -07:00
Kubernetes Prow Robot
71481bf247
Merge pull request #111075 from ii/fix-controllerrevision-test
...
Fix ControllerRevision e2e test flake
2022-07-12 11:35:56 -07:00
Kubernetes Prow Robot
a455c296fd
Merge pull request #111015 from xmcqueen/master
...
Capture the Container Logs for a Flaky Test
2022-07-11 16:58:50 -07:00
Xinqi Li
d6f729995a
add service port mutation test
2022-07-11 11:44:49 -07:00
Brian McQueen
37d246bac1
capture the container logs on pod error to assist in debugging test failures #109295
2022-07-11 09:46:46 -07:00
Dave Chen
d61adab518
Stop using the deprecated Measure
method
...
As what suggested by Ginkgo migration guide, `Measure` node was
deprecated and replaced with `It` node which creates `gmeasure.Experiment`.
Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-07-11 17:40:33 +08:00
Dave Chen
6a82ba82b1
Revert the workaround needed to cleanup for Ginkgo V1
...
Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-07-11 14:49:40 +08:00
Stephen Heywood
6c320b2991
Fix ControllerRevision e2e test
2022-07-11 13:38:24 +12:00
alingse
3bf9a559b6
fix pass []any as any in variadic function
2022-07-09 18:53:54 +08:00
wongearl
c2cb482181
omit comparison to bool constant
2022-07-09 17:15:27 +08:00
Kubernetes Prow Robot
9d577d8a29
Merge pull request #110576 from DangerOnTheRanger/cel-e2e-part2
...
Add second set of additional CRD validation E2E tests
2022-07-08 21:41:58 -07:00
Kubernetes Prow Robot
1d954908ba
Merge pull request #109394 from pohly/storage-capacity-storage-version
...
Kubernetes 1.25: CSIStorageCapacity: use v1 as storage version
2022-07-08 19:35:51 -07:00
Kubernetes Prow Robot
2a70749717
Merge pull request #111034 from bertinatto/bump-azure-disk-timeouts
...
e2e: bump Azure Disk in-tree timeouts
2022-07-08 16:05:57 -07:00
Kubernetes Prow Robot
6e8331932b
Merge pull request #111005 from DangerOnTheRanger/cel-cost-limit-integration-test
...
Add x-kubernetes-validations cost limit integration test
2022-07-08 16:05:46 -07:00
Kubernetes Prow Robot
9dc13f4f57
Merge pull request #111011 from ii/promote-patch-pod-status-test
...
Promote patchCoreV1NamespacedPodStatus test - +1 endpoint
2022-07-08 09:07:52 -07:00
Fabio Bertinatto
eefa0fd2ed
e2e: bump Azure Disk in-tree timeouts
...
Some operations with Azure Disk volumes can be arbitrarily slow
sometimes. This causes CI flakes that are hard to debug.
Bumping the timeouts has sown to improve or eliminate this issue.
2022-07-08 11:46:26 -03:00
Patrick Ohly
2e8fa3ee6b
CSIStorageCapacity: use v1 as storage version
...
This can be done because downgrades are only supported down to 1.24 and that
release supports v1.
2022-07-08 10:06:06 +02:00
Dave Chen
05c513d5bf
ginkgo.By
can only be used inside a runnable node
...
Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-07-08 10:46:11 +08:00
Dave Chen
3833695e75
Redirect klog
out to GinkgoWriter
...
Co-authored-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-07-08 10:46:11 +08:00
Dave Chen
82ac6be0e9
Custom reporter of Junit report is no longer needed
...
Ginkgo is now writing the JUnit file itself. The -report-dir parameter is used
as fallback for enabling JUnit output in case that users haven't migrated to
the new -junit-report parameter.
Co-authored-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-07-08 10:46:11 +08:00
Dave Chen
5ac8105b86
Set Ginkgo config by the method of GinkgoConfiguration()
...
Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-07-08 10:46:11 +08:00
Dave Chen
46a3954ba5
Migrate ProgressReporter
to Ginkgo
V2
...
Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-07-08 10:46:11 +08:00
Dave Chen
fd4b5b629b
Stop using the deprecated method CurrentGinkgoTestDescription
...
Besides, the using of method might lead to a `concurrent map writes`
issue per the discussion here: https://github.com/onsi/ginkgo/issues/970
Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-07-08 10:46:11 +08:00
Dave Chen
2f3028c00d
Define the timeout
to 24h
for Ginkgo V2
...
Default timeout setting has been reduced from `24h` down to `1h` in
Ginkgo V2, but for some long running test this is too short.
How long to abort the test was controlled by the the linux command `timeout`
in V1. e.g. `'timeout -k 30s 150m ...`, and is configured in the file
like `sig-network-misc.yaml`.
Set the timeout manually for Ginkgo V2 to avoid the early aborting.
Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-07-08 10:46:11 +08:00
Dave Chen
20498fd65d
Generate conformance test spec with offset
decorator
...
`FullStackTrace` is not available in v2 if no exception found
with test execution.
The change is needed for conformance test's spec validation.
pls see: https://github.com/onsi/ginkgo/issues/960 for details.
Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-07-08 10:46:11 +08:00
Dave Chen
dd58016484
Implement DetailsReporter
report within ReportAfterSuite
...
The change is needed to verify the conformance test spec, as this
is verified in `verify-conformance-yaml.sh`.
Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-07-08 10:46:11 +08:00
Dave Chen
b57bade50c
Switch to use dry-run
option to generate test spec
...
`dryRun` option is deprecated and will not be able to
generate test spec.
Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-07-08 10:46:11 +08:00
Dave Chen
f792256954
e2e: adapt output tests to Ginkgo v2 and Gomega 1.19
...
Full stack traces are on by default. The approach for collecting results is
different. Tests run in their own goroutine, therefore runTests is no longer
part of their callstack. To cover stack traces with more than one entry, a new
test case gets added with a separate helper function.
Gomega object formatting now includes the type.
This removes the last remaining reference to Ginkgo v1.
Co-authored-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-07-08 10:46:11 +08:00
Dave Chen
375b2a5fb2
Build Ginkgo
binary
...
Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-07-08 10:46:11 +08:00
Dave Chen
ece0bb3522
Adapt to new type of GinkgoWriter
...
Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-07-08 10:44:53 +08:00
Dave Chen
2eb8e9e81f
ginkgo.It
doesn't have a timeout
arg anymore
...
Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-07-08 10:44:53 +08:00
Dave Chen
05c0f4a298
Define the const of GINKGO_PANIC
directly
...
`ginkgo.GINKGO_PANIC` is not available and cannot be imported
directly.
Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-07-08 10:44:53 +08:00
Dave Chen
857458cfa5
update ginkgo from v1 to v2 and gomega to 1.19.0
...
- update all the import statements
- run hack/pin-dependency.sh to change pinned dependency versions
- run hack/update-vendor.sh to update go.mod files and the vendor directory
- update the method signatures for custom reporters
Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-07-08 10:44:46 +08:00
Kubernetes Prow Robot
6732550634
Merge pull request #110877 from claudiubelu/agnhost-windows-file-permissions
...
agnhost: Check symlink target's permissions for Windows
2022-07-07 19:11:45 -07:00
Kubernetes Prow Robot
2b657a0f3b
Merge pull request #110805 from saschagrunert/seccomp-default-beta
...
Graduate SeccompDefault feature to beta
2022-07-07 17:54:11 -07:00
Kubernetes Prow Robot
6d5cccfdf3
Merge pull request #110122 from ii/create-controller-revision-test
...
Write ControllerRevisionLifecycleTest +7 Endpoints
2022-07-07 17:54:04 -07:00
Stephen Heywood
c288ebe53c
Promote PodStatus e2e test to Conformance
2022-07-08 11:51:58 +12:00
Kermit Alexander
3eed801adc
Add k8s CEL library and runtime cost tests.
2022-07-07 17:02:05 +00:00
Kermit Alexander
40da208b3d
Add runtime cost limit test.
2022-07-07 10:08:55 +00:00
Kubernetes Prow Robot
2a017f94bc
Merge pull request #110237 from ii/create-apiservice-lifecycle-test
...
Write APIService lifecycle test + 4 Endpoints
2022-07-06 22:25:44 -07:00
Kubernetes Prow Robot
f74aa4714d
Merge pull request #109683 from ii/create-resourcequota-test
...
Write List, Patch & DeleteCollection ResourceQuota test - +3 endpoint coverage
2022-07-06 22:25:32 -07:00
Tim Hockin
55232e2ef7
Rename IPFamilyPolicyType => IPFamilyPolicy
2022-07-06 15:42:26 -07:00
Kubernetes Prow Robot
bd2776e0c9
Merge pull request #110868 from rikatz/endport-to-ga
...
Promote endPort in Network Policy to GA
2022-07-05 19:48:49 -07:00
Kubernetes Prow Robot
89aaf7c02d
Merge pull request #110862 from Abirdcfly/deleteutil
...
cleanup: delete same utils.go in pkg/apis/storage
2022-07-01 18:23:22 -07:00
Pablo Acevedo Montserrat
34f5938abe
Add readinessProbe to aggregated api service test
2022-07-01 16:22:41 +02:00
Kubernetes Prow Robot
d2cea9475b
Merge pull request #110840 from aojea/echoserver
...
Remove e2e echoserver image and replace it by agnost
2022-06-30 13:54:57 -07:00
Kubernetes Prow Robot
982743593b
Merge pull request #110798 from ii/create-event-lifecycle-test
...
Write Event Lifecycle Test +1 Endpoint
2022-06-30 13:54:44 -07:00
Kubernetes Prow Robot
8a7eda4f61
Merge pull request #110831 from chendave/openapi
...
Bump `kube-openapi` to the latest
2022-06-30 10:42:09 -07:00
Markus Lehtonen
2eadf30358
test/e2e: fix GetCurrentKubeletConfig
...
Seemingly on slow connections if the response to /configz request was
chunked the kubectl proxy was terminated before the response body was
received and read, causing unexpected EOF errors. This patch changes the
configz polling code so that the whole response body is read before
closing the proxy connection.
2022-06-30 14:57:12 +03:00
Kubernetes Prow Robot
91aca10d59
Merge pull request #108958 from 249043822/e2e-density
...
Fix:[Flaky test] create a sequence of pods latency/resource should be within limit when create 10 pods with 50 background pods
2022-06-29 20:18:06 -07:00
Ricardo Katz
3e7bdbbf30
Promote endPort to GA
2022-06-30 00:33:43 +00:00
Paul S. Schweigert
b6675fce4a
fix link to eviction policy in e2enode eviction test
...
Signed-off-by: Paul S. Schweigert <paulschw@us.ibm.com>
2022-06-29 19:23:49 -04:00
Kensei Nakada
b0d47cb380
scheduler_perf: allow users to specify default pod and node specs ( #101799 )
...
* scheduler_perf: default pod and node spec
* Fix: un-support DefaultNodeTemplatePath
2022-06-29 11:44:07 -07:00
Claudiu Belu
14708f23b5
agnhost: Check symlink target's permissions for Windows
...
We're not interested in checking the file permissions of the
symlink itself, but it's target's permissions.
2022-06-29 09:15:47 -07:00
Abirdcfly
1dbd9de96d
cleanup:delete same utils.go in pkg/apis/storage
...
Signed-off-by: Abirdcfly <fp544037857@gmail.com>
2022-06-29 20:54:34 +08:00
Antonio Ojea
092f7f601e
remove echoserver image
2022-06-29 09:50:04 +02:00
Antonio Ojea
3204572f01
replace echoserver image with agnhost
...
agnhost contains the same features than echoserver.
2022-06-29 09:49:19 +02:00
jonyhy96
7a1493be56
feat: make jsonpath wait logics consistent with condition
...
Signed-off-by: jonyhy96 <hy352144278@gmail.com>
2022-06-29 12:28:24 +08:00
Dave Chen
852f166960
Fix the failure of testcase TestFailureOutput
...
Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-06-29 11:47:18 +08:00
Kubernetes Prow Robot
6ed938fc8f
Merge pull request #110705 from ii/patch-pod-status-test
...
Write patchCoreV1NamespacedPodStatus test - +1 endpoint
2022-06-27 16:35:55 -07:00
Stephen Heywood
7a9552593b
Create ControllerRevision lifecycle e2e test
...
The test validates the following endpoints
- createAppsV1NamespacedControllerRevision
- deleteAppsV1CollectionNamespacedControllerRevision
- deleteAppsV1NamespacedControllerRevision
- listAppsV1ControllerRevisionForAllNamespaces
- patchAppsV1NamespacedControllerRevision
- readAppsV1NamespacedControllerRevision
- replaceAppsV1NamespacedControllerRevision
2022-06-28 09:34:30 +12:00
Stephen Heywood
bc22560bb4
Create e2e test for PodStatus endpoint
...
e2e test validates the following endpoint
- patchCoreV1NamespacedPodStatus
2022-06-28 09:14:11 +12:00
Kubernetes Prow Robot
10810ab42b
Merge pull request #110788 from 21kyu/change_reflect_ptr
...
Change reflect.Ptr to reflect.Pointer
2022-06-27 10:16:59 -07:00
Sascha Grunert
a4f966aada
Graduate SeccompDefault feature to beta
...
As outlined in the KEP, we now graduate the Kubelet feature to beta
which means that it is enabled by default. The corresponding Kubelet
flag still defaults to `false`, but we now have the chance to e2e test
the feature by using a new serial test case.
KEP: https://github.com/kubernetes/enhancements/issues/2413
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2022-06-27 14:39:55 +02:00
Arda Güçlü
f5af2d0e91
(kubectl events): Add integration tests
...
This PR adds integration tests for `kubectl alpha events`
2022-06-27 09:32:32 +03:00
Stephen Heywood
faae770946
Migrate and update current e2e event test
...
e2e test validates the following missing endpoint
- replaceCoreV1NamespacedEvent
2022-06-27 10:43:24 +12:00
21kyu
df168d5b5c
Change reflect.Ptr to reflect.Pointer
2022-06-26 01:23:43 +09:00
Paco Xu
b36786e96e
promote LSCIQuotaFeature to beta
2022-06-23 10:00:54 +08:00
Kubernetes Prow Robot
dee37aacc1
Merge pull request #110652 from Abirdcfly/fixchunksize
...
fix: --chunk-size with selector returns missing result
2022-06-22 18:21:43 -07:00
Kubernetes Prow Robot
e64852fcad
Merge pull request #110330 from DangerOnTheRanger/cel-e2e
...
Add additional CRD validation E2E tests
2022-06-22 17:03:43 -07:00
Abirdcfly
fba297629d
fix: --chunk-size with selector returns missing result
...
Signed-off-by: Abirdcfly <fp544037857@gmail.com>
2022-06-23 07:07:13 +08:00
Kubernetes Prow Robot
18b5efceda
Merge pull request #110410 from Jiawei0227/master
...
CSIMigration feature gate to GA
2022-06-22 04:05:48 -07:00
Kubernetes Prow Robot
23144130a8
Merge pull request #109396 from SergeyKanzhelev/testDurationCheck
...
check for the test duraiton to make NodeProblemDetector test reliable
2022-06-22 01:43:43 -07:00
Mengjiao Liu
5fca1112e1
Add test for sysctl support slash as separator
2022-06-22 10:39:52 +08:00
wongearl
44404d309c
fix "k8s.io/client-go/rest" is being imported more than once,optimize code
2022-06-22 10:31:24 +08:00
ZhangKe10140699
a945b6f066
Fix:[Flaky test] ci-kubernetes-node-kubelet-serial-cri-o job: [sig-node] Density [Serial] [Slow] create a sequence of pods latency/resource should be within limit when create 10 pods with 50 background pods
2022-06-22 08:14:43 +08:00
Kubernetes Prow Robot
3beb8dc596
Merge pull request #110612 from mattcary/ss-integration
...
Add TestAutodeleteOwnerRefs statefulset integration test
2022-06-21 15:29:42 -07:00
Joachim Bartosik
a936e21538
Revert "Add e2e test for HPA behavior: scale up delay"
...
The test is failing since its first run: #110662
This reverts commit a724818ad0
.
2022-06-20 14:50:46 +02:00
Stephen Heywood
d1447d6419
Create e2e test for ResourceQuota endpoints
...
e2e test validates the following 3 extra endpoints
- deleteCoreV1CollectionNamespacedResourceQuota
- listCoreV1ResourceQuotaForAllNamespaces
- patchCoreV1NamespacedResourceQuota
2022-06-20 12:26:27 +12:00
Kubernetes Prow Robot
3724273d38
Merge pull request #110640 from aspsk/aspsk/pr/fix-test-e2e-network-hostport
...
test/e2e/network: fix a bug in the hostport e2e test
2022-06-19 06:54:03 -07:00
Kermit Alexander
192aea7119
Remove need for escaped quotes.
2022-06-17 22:40:38 +00:00
Anton Protopopov
4026d355bc
test/e2e/network: add a check to the hostport e2e test
...
As described in 8c76845b03
("test/e2e/network: fix a bug in the hostport e2e
test") if we have two pods with the same hostPort, hostIP, but different
protocols, a CNI may be buggy and decide to forward all traffic only to one of
these pods. Add a check that we receiving requests from different pods.
Co-authored-by: Antonio Ojea <antonio.ojea.garcia@gmail.com>
2022-06-17 21:08:35 +00:00
Patrick Ohly
1aceac797d
logs: make LoggingConfiguration an unversioned API
...
Making the LoggingConfiguration part of the versioned component-base/config API
had the theoretic advantage that components could have offered different
configuration APIs with experimental features limited to alpha versions (for
example, sanitization offered only in a v1alpha1.KubeletConfiguration). Some
components could have decided to only use stable logging options.
In practice, this wasn't done. Furthermore, we don't want different components
to make different choices regarding which logging features they offer to
users. It should always be the same everywhere, for the sake of consistency.
This can be achieved with a saner Go API by dropping the distinction between
internal and external LoggingConfiguration types. Different stability levels of
indidividual fields have to be covered by documentation (done) and potentially
feature gates (not currently done).
Advantages:
- everything related to logging is under component-base/logs;
previously this was scattered across different packages and
different files under "logs" (why some code was in logs/config.go
vs. logs/options.go vs. logs/logs.go always confused me again
and again when coming back to the code):
- long-term config and command line API are clearly separated
into the "api" package underneath that
- logs/logs.go itself only deals with legacy global flags and
logging configuration
- removal of separate Go APIs like logs.BindLoggingFlags and
logs.Options
- LogRegistry becomes an implementation detail, with less code
and less exported functionality (only registration needs to
be exported, querying is internal)
2022-06-17 20:22:13 +02:00
Anton Protopopov
fd94ff6487
agnhost/netexec: fix an error message
...
The error message inside the UDP server used a SCTP port instead of a UDP port
2022-06-17 16:03:33 +00:00
Anton Protopopov
8c76845b03
test/e2e/network: fix a bug in the hostport e2e test
...
The hostport e2e test (sonobuoy run --e2e-focus 'validates that there is no
conflict between pods with same hostPort but different hostIP and protocol')
checks, in particular, that two pods with the same hostPort, the same hostIP,
but different L4 protocols can coexist on one node.
In order to do this, the test creates two pods with the same hostIP:hostPort,
one TCP-based, another UDP-based. However, both pods listen on both protocols:
netexec --http-port=8080 --udp-port=8080
This can happen that a CNI which doesn't distinguish between TCP and UDP
hostPorts forwards all traffic, TCP or UDP, to the same pod. As this pod
listens on both protocols it will reply to both requests, and the test
will think that everything works properly while the second pod is indeed
disconnected. Fix this by executing different commands in different pods:
TCP: netexec --http-port=8080 --udp-port=-1
UDP: netexec --http-port=8008 --udp-port=8080
The TCP pod now doesn't listen on UDP, and the UDP pod doesn't listen on TCP on
the target hostPort. The UDP pod still needs to listen on TCP on another port
so that a pod readiness check can be made.
2022-06-17 13:06:41 +00:00
Kubernetes Prow Robot
7992398725
Merge pull request #110451 from lzhecheng/fix-spread-pods
...
[e2e] Should spread Pods to schedulable cluster zones
2022-06-16 14:37:05 -07:00
Kubernetes Prow Robot
92c5f3f01c
Merge pull request #110583 from Riaankl/node_status_ineligible
...
Update ineligible_endpoints.yaml
2022-06-16 12:33:04 -07:00
Riaan Kleinhans
39d3d9439f
Update ineligible_endpoints.yaml
2022-06-17 06:24:35 +12:00
Kubernetes Prow Robot
80c19baa11
Merge pull request #110557 from ldsdsy/modify
...
Fixing grammar in e2e Windows test logging
2022-06-16 10:14:48 -07:00
ldsdsy
2a2d33b2b1
Modify annotation syntax errors
2022-06-16 16:46:51 +08:00
Kubernetes Prow Robot
4b024fc4ee
Merge pull request #110459 from wangyysde/promote-pod-security-to-ga
...
PodSecurity: promote config and feature gate to GA
2022-06-15 14:41:22 -07:00
Matthew Cary
3af09ab04a
add TestAutodeleteOwnerRefs statefulset integration test
...
Change-Id: I3aa3220df59c33fc40f1d8e08e055caa1f6fb4a3
2022-06-15 13:33:02 -07:00
Kubernetes Prow Robot
2b51b2595a
Merge pull request #110604 from wojtek-t/fix_leaking_goroutines_9
...
Fix leaking goroutines in multiple integration tests
2022-06-15 09:01:18 -07:00
Wojciech Tyczyński
6b59525746
Clean shutdown of flowcontrol integration tests
2022-06-15 16:53:42 +02:00
Wojciech Tyczyński
57242e3cbb
Clean shutdown of openapi integration tests
2022-06-15 16:40:54 +02:00
Kubernetes Prow Robot
700fea3d42
Merge pull request #110558 from wespanther/update-debian
...
Update Debian base images to latest
2022-06-15 07:23:17 -07:00
apeltop
e530336b18
fix typos
2022-06-15 13:38:48 +09:00
wangyysde
ab66a38194
PodSecurity: promote config and feature gate to GA
...
Signed-off-by: wangyysde <net_use@bzhy.com>
2022-06-15 09:29:47 +08:00
Riaan Kleinhans
6d19ddc7bf
Update ineligible_endpoints.yaml
2022-06-15 10:27:33 +12:00
Kubernetes Prow Robot
8e541911b8
Merge pull request #110574 from SataQiu/test-speed-20220614
...
Using t.Run() in integration test TestApplyAlsoCreates
2022-06-14 12:07:45 -07:00
Kubernetes Prow Robot
5503bb0570
Merge pull request #110529 from wojtek-t/fix_leaking_goroutines_7
...
Fix leaking goroutines in multiple integration tests
2022-06-14 09:09:54 -07:00
SataQiu
20f8a06e50
using t.Run() in integration test TestApplyAlsoCreates
2022-06-15 00:01:10 +08:00
Wojciech Tyczyński
ed442cc3dd
Clean(er) shutdown of auth integration tests
2022-06-14 13:55:31 +02:00
Wojciech Tyczyński
3930362ad4
Clean(er) shutdown of apiserver integration tests
2022-06-14 13:55:31 +02:00
Wojciech Tyczyński
41d7ddee1a
Clean shutdown of apimachinery integration tests
2022-06-14 13:55:31 +02:00
Wojciech Tyczyński
8a87681a39
Clean shutdown of resourcequota integration tests
2022-06-14 13:55:31 +02:00
Kubernetes Prow Robot
27cf82d785
Merge pull request #110385 from piotrnosek/hpa-beh-tests
...
Add e2e test for HPA behavior: scale up delay
2022-06-14 00:25:32 -07:00
Wes Panther
6ac853fe60
Update Debian base images to latest
...
- debian-base:bullseye-v1.3.0
- debian-iptables:bullseye-v1.4.0
- setcap:bullseye-v1.3.0
2022-06-13 21:36:46 -07:00
Kubernetes Prow Robot
c0cc911667
Merge pull request #110509 from kevindelgado/e2e-namespace-bug
...
Use namespace created by framework
2022-06-13 13:28:26 -07:00
Kubernetes Prow Robot
c0642b749e
Merge pull request #110179 from Jefftree/fix_openapi_v2
...
Prune defaults for CRDs for OpenAPI V2
2022-06-13 13:28:12 -07:00
Kubernetes Prow Robot
2b14fd9fb1
Merge pull request #110515 from MikeSpreitzer/unpairvec
...
Remove the PairVec types
2022-06-13 08:04:24 -07:00
Kubernetes Prow Robot
661cbe6823
Merge pull request #109850 from ardaguclu/validate-nooptdefval
...
Define NoOptDefVal for validate flag
2022-06-13 08:04:11 -07:00
Kubernetes Prow Robot
61a0ee5588
Merge pull request #110465 from bertinatto/e2e-populator-fix
...
e2e: ensure single image for populator containers
2022-06-13 06:44:11 -07:00
Kevin Delgado
1bfaccb434
Use namespace created by framework
2022-06-13 07:08:58 +00:00
Mike Spreitzer
1f1cfba2a3
Remove the PairVec types
2022-06-12 23:37:15 -04:00
Kubernetes Prow Robot
c8a2db31ac
Merge pull request #110505 from wojtek-t/fix_leaking_goroutines_6
...
Clean shutdown of some auth integration tests
2022-06-12 07:18:09 -07:00
Wojciech Tyczyński
8ef7dd49ee
Clean shutdown of auth integration tests
2022-06-10 19:46:50 +02:00
Kubernetes Prow Robot
5b5fc07a29
Merge pull request #110272 from brianpursley/k-110270
...
Fix e2e test failure
2022-06-10 09:41:45 -07:00
Kubernetes Prow Robot
6e0e9f382e
Merge pull request #109194 from pohly/log-tests
...
log tests
2022-06-10 03:07:46 -07:00
Zhecheng Li
b8b18a0a05
[e2e] Should spread Pods to schedulable cluster zones
...
Some Nodes like control plane ones should not be considered
to spread Pods.
Signed-off-by: Zhecheng Li <zhechengli@microsoft.com>
2022-06-10 16:40:56 +08:00
Kermit Alexander
9fb55af69b
Make schema formatting consistent.
2022-06-09 23:15:30 +00:00
Kubernetes Prow Robot
226323178e
Merge pull request #110256 from bobbypage/terminal-ready-condition
...
kubelet: Mark ready condition as false explicitly for terminal pods
2022-06-08 20:07:42 -07:00
David Porter
b4b338d4eb
test: update graceful node shutdown e2e with watch
...
Use a watch to detect invalid pod status updates in graceful node
shutdown node e2e test. By using a watch, all pod updates will be
captured while the previous logic required polling the api-server which
could miss some intermediate updates.
Signed-off-by: David Porter <david@porter.me>
2022-06-08 16:19:16 -07:00
Kermit Alexander
ff3d04d5df
Fix incorrect wording in expectedErrMsg.
2022-06-08 22:45:29 +00:00
Jefftree
e2cbf9759b
Add test to check for _v2
2022-06-08 21:33:07 +00:00
Fabio Bertinatto
9ef5c4e03a
e2e: ensure single image for populator containers
...
This is useful in environments where the Deployment image is replaced
by another image from an internal registry (via fixture). In that case,
the populator running in populate mode should use the same image as the
populator running in controller mode.
2022-06-08 15:08:42 -03:00
Kermit Alexander
c58c02fcf9
Ensure estimated cost limit is exceeded.
2022-06-08 17:40:50 +00:00
Kermit Alexander
6f66ed06f2
Correct cost estimation check.
2022-06-07 16:36:20 +00:00
Kermit Alexander
120744bf44
Change case on syntax error check.
2022-06-07 16:31:41 +00:00
Kubernetes Prow Robot
198dd7668a
Merge pull request #110395 from tnqn/fix-sctp-test
...
Fix SCTP default-deny test
2022-06-07 08:45:07 -07:00
Kubernetes Prow Robot
39b6e6c6a0
Merge pull request #110362 from wojtek-t/fix_leaking_goroutines_5
...
Fix leaking goroutines in multiple integration tests
2022-06-07 08:44:55 -07:00
Kubernetes Prow Robot
9fad5c981a
Merge pull request #110327 from neolit123/1.25-ga-unversioned-kubelet-config
...
kubeadm: graduate the UnversionedKubeletConfigMap FG to GA
2022-06-07 07:04:56 -07:00
cpanato
aac61cea97
Update Go to 1.18.3
...
Signed-off-by: cpanato <ctadeu@gmail.com>
2022-06-07 13:32:07 +02:00
Ryan Phillips
97db4ac963
add service e2e tests
2022-06-06 17:00:59 -05:00
Ryan Phillips
230124f3d4
kubelet: add e2e test to verify probe readiness
2022-06-06 17:00:55 -05:00
Jiawei Wang
760365d5c9
CSIMigration feature gate to GA
2022-06-06 21:19:19 +00:00
Wojciech Tyczyński
2af8d0bbd7
Clean shutdown of events integration tests
2022-06-06 20:33:20 +02:00
Wojciech Tyczyński
e5ec28ff86
Clean shutdown of network integration tests
2022-06-06 20:33:20 +02:00
Kubernetes Prow Robot
59ffc93678
Merge pull request #110404 from humblec/e2e-flag
...
correct the e2e framework flag description typos
2022-06-06 08:06:22 -07:00
Humble Chirammal
3988ac1498
correct the e2e framework flag description typos
...
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2022-06-06 19:23:28 +05:30
Kubernetes Prow Robot
913e8536f2
Merge pull request #110240 from yselkowitz/storage-e2e
...
Update storage e2e test images
2022-06-06 06:52:23 -07:00
Quan Tian
5dd9184945
Fix SCTP default-deny test
...
The test is about SCTP and the accessed service only forwarded SCTP
traffic to the server Pod but the client Pod used TCP protocol, so the
test traffic never reached the server Pod and the test NetworkPolicy
was never enforced, which lead to test success even if the default-deny
policy was implemented wrongly. In some cases it may got failure result
if there was an external server having same IP as the cluster IP and
listening to TCP 80 port.
Signed-off-by: Quan Tian <qtian@vmware.com>
2022-06-06 13:14:07 +08:00
Piotr Nosek
a724818ad0
Add e2e test for HPA behavior: scale up delay
2022-06-05 06:52:44 +00:00
Kubernetes Prow Robot
ca630bc118
Merge pull request #109828 from pohly/polling-failures
...
[E2E] enhance pod polling failures
2022-06-03 18:08:31 -07:00
Kubernetes Prow Robot
1f90b7980b
Merge pull request #108997 from dobsonj/issue79980
...
Fix volume reconstruction for CSI ephemeral volumes
2022-06-03 18:08:20 -07:00
Kubernetes Prow Robot
b7337cb171
Merge pull request #110235 from jsturtevant/fix-new-restricted-pod-tests
...
test: RunAsUser causes pods to not start on Windows
2022-06-03 13:32:20 -07:00
Patrick Ohly
f02c72eaf9
pods: more tolerant checking of poll tests
...
Under load we might skip some of the poll events, leading to less output. Now
we expect only at least one output line for polling.
2022-06-03 13:41:11 +02:00
Patrick Ohly
2b299526b2
e2e: include more information in pod timeout error
...
The advantage is that the extra error information is guaranteed to be printed
directly before the failure and we avoid one extra log line that would have to
be correlated with the failure.
2022-06-03 13:41:05 +02:00
Patrick Ohly
8e79f4ce27
e2e: make failure message for unexpected errors more readable
...
The failure message from Gomega was hard to read because explanation and error
text were separated by the error dump. In many cases, that error dump doesn't
add any relevant information.
Now the error is dumped first as info message (just in case that it is
relevant) and then a shorter failure message is created from explanation and
error text.
2022-06-03 13:41:02 +02:00
Patrick Ohly
486744e814
e2e: test output of e2epod wait
...
Both output during the test and the failure message are covered.
2022-06-03 11:03:16 +02:00
Patrick Ohly
0e0e51d792
e2e: refactor Ginkgo output testing
...
The helper code will be useful for testing other parts of the e2e framework.
2022-06-03 10:25:23 +02:00
Patrick Ohly
2ad1fc5f8f
e2e: include expected line number in output test
...
This makes it easier to see when comment lines must be added or removed.
2022-06-03 10:04:40 +02:00
Stephen Heywood
e35ea8503f
Create APIService lifecycle e2e test
...
The test validates the following endpoints
- deleteApiregistrationV1CollectionAPIService
- patchApiregistrationV1APIServiceStatus
- replaceApiregistrationV1APIService
- replaceApiregistrationV1APIServiceStatus
2022-06-03 12:05:44 +12:00
Yaakov Selkowitz
9c2be70e44
storage e2e: hostpath driver v1.8.0
...
Changes includes results of the following command:
test/e2e/testing-manifests/storage-csi$ ./update-hostpath.sh v1.8.0
This also includes backports from the following post-release commits:
https://github.com/kubernetes-csi/csi-driver-host-path/pull/355
https://github.com/kubernetes-csi/csi-driver-host-path/pull/357
Also includes a manual update of the busybox image to match the tag used
elsewhere in kubernetes e2e.
2022-06-02 19:33:35 -04:00
Kubernetes Prow Robot
b7b824bb9e
Merge pull request #110033 from mk46/etcd_update_v3.5.4
...
etcd: Updated to v3.5.4
2022-06-02 13:26:31 -07:00
Kubernetes Prow Robot
e562e93010
Merge pull request #110303 from hunknownz/enhance_assertions_windows
...
enhance assertions in test/e2e/windows
2022-06-02 12:11:50 -07:00
Wojciech Tyczyński
d9d46d5326
Clean shutdown of certificates integration tests
2022-06-02 21:02:04 +02:00
Wojciech Tyczyński
783da34f54
Clean shutdown of disruption integration tests
2022-06-02 21:02:04 +02:00
Kubernetes Prow Robot
03d0e2c338
Merge pull request #110264 from wojtek-t/fix_leaking_goroutines_4
...
Fix leaking goroutines in multiple integration tests
2022-06-02 03:59:47 -07:00
Kubernetes Prow Robot
b4fbd12c3a
Merge pull request #106441 from yjjy0921/master
...
create resultsDir if the folder not exists
2022-06-01 13:39:46 -07:00
Jonathan Dobson
c8d3cc5c07
e2e: restore volume lifecycle checks for csi-hostpath driver
...
These tests were previously disabled to work around #79980
https://github.com/kubernetes/kubernetes/commit/f1e1f3a416b70bafadf961518c330ce3b1b5459
2022-06-01 14:23:10 -06:00
Kubernetes Prow Robot
19ca12cb3e
Merge pull request #109820 from fromanirh/e2e-node-enable-device-plugin-test
...
e2e: node: re-enable the device plugin tests
2022-06-01 12:03:40 -07:00
Kermit Alexander
05da62c075
Add additional CRD validation tests.
2022-06-01 17:11:21 +00:00
Lubomir I. Ivanov
403ca0c1a2
e2e_kubeadm: cleanup tests for UnversionedKubeletConfig
...
- don't require clusteconfiguration.kubernetesVersion
- use the helper functions GetConfigMap, ExpectRole, ExpectRoleBinding
(these were used before UnversionedKubeletConfig went Beta)
2022-06-01 17:17:07 +03:00
Kubernetes Prow Robot
ba502ee555
Merge pull request #110180 from gnufied/add-ephemeral-expansion-tests
...
Enable volume expansion tests for generic ephemeral volumes
2022-06-01 06:11:02 -07:00
Manish Kumar
e9e8be304c
etcd: Updated to v3.5.4
2022-06-01 07:52:46 +05:30
Kubernetes Prow Robot
78fb1fa9a2
Merge pull request #109938 from dims/move-from-k8s.gcr.io-to-registry.k8s.io
...
Move from k8s.gcr.io to registry.k8s.io
2022-05-31 13:45:23 -07:00
Han Kang
731397086b
remove deprecated metric and promote the replacement to STABLE
2022-05-31 09:53:28 -07:00
Davanum Srinivas
50bea1dad8
Move from k8s.gcr.io to registry.k8s.io
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-05-31 10:16:53 -04:00
hunknownz
fdb43cc5ad
enhance assertions in test/e2e/windows
...
Signed-off-by: hunknownz <klercc37@gmail.com>
2022-05-31 20:42:04 +08:00
Patrick Ohly
f45322ef41
logs: add micro benchmarks for argument passing
...
Parameter passing and value lookup from context are important aspects of the
proposed contextual logging.
2022-05-31 08:07:37 +02:00
Patrick Ohly
04ecc1b63b
logs: test JSON output with klog output test
...
The updated klog provides a reusable test suite for output handling.
Using it increases our test coverage without having to copy the test cases from
there into some JSON specific test suite.
2022-05-31 08:07:37 +02:00
Lubomir I. Ivanov
2a18a2d59b
test/e2e_kubeadm: add URL scheme test for node CRI annotations
...
The tests in nodes_test.go check if the Node objects
in a kubeadm cluster are annotated with a CRI socket
path. It is used by kubeadm to store a CRI socket per node.
Add a new test condition to verify if the CRI socket path
is prefixed with URL scheme "unix://".
2022-05-30 17:10:14 +03:00
Brian Pursley
457181fbd6
Fix e2e test failure
...
Remove namespace from manifest to fix the error: the namespace from
the provided object "my-ns" does not match the namespace
"kubectl-8939". You must pass '--namespace=my-ns' to perform this
operation.
2022-05-28 18:09:41 -04:00
Wojciech Tyczyński
3af4c74f37
Clean shutdown of cronjob integration tests
2022-05-28 21:36:54 +02:00
Wojciech Tyczyński
64d1b24cc8
Clean shutdown of daemonset integration tests
2022-05-28 21:31:28 +02:00
Wojciech Tyczyński
f31d0305ad
Clean shutdown of defaulttolerationseconds integration tests
2022-05-28 21:14:09 +02:00
Wojciech Tyczyński
411c319db8
Clean shutdown of dualstack integration tests
2022-05-28 21:14:09 +02:00
Wojciech Tyczyński
8a959396b8
Clean shutdown of volumescheduling integration tests
2022-05-28 21:14:09 +02:00
Wojciech Tyczyński
3b61f4ac20
Clean shutdown of apply integration tests
2022-05-28 21:14:09 +02:00
Wojciech Tyczyński
5073506aa7
Clean shutdown of statefulset integration tests
2022-05-28 21:14:09 +02:00
Wojciech Tyczyński
aee829abf4
Clean shutdown of job integration tests
2022-05-28 21:14:09 +02:00
Kubernetes Prow Robot
c6970e6452
Merge pull request #110250 from wojtek-t/fix_leaking_goroutines_3
...
Fix leaking goroutines in scheduler integration tests
2022-05-28 05:51:02 -07:00
Kubernetes Prow Robot
8b6dd065d7
Merge pull request #110255 from robscott/fix-pod-eviction-ip
...
Endpoints and EndpointSlices should not publish IPs for terminal pods
2022-05-27 16:24:42 -07:00
Rob Scott
aa02b7a434
Updating e2e test to check EndpointSlices and Endpoints as well
2022-05-27 21:10:59 +00:00
James Sturtevant
061b8e8049
RunAsUser causes pods to not start on Windows
2022-05-27 09:31:39 -07:00
Kubernetes Prow Robot
f161dde085
Merge pull request #109977 from JohnTitor/remove-poddelete-use
...
Remove the use of derecated `PodDeleteTimeout` const
2022-05-27 06:21:08 -07:00
Wojciech Tyczyński
c802118e81
Update scheduler tests
2022-05-27 14:57:21 +02:00
Kubernetes Prow Robot
61b983a66b
Merge pull request #110229 from wojtek-t/fix_leaking_goroutines_1
...
Fix leaking goroutine in multiple integration tests by migrating to common StartTestServer utility
2022-05-27 00:41:19 -07:00
Antonio Ojea
3a8edca2d8
e2e: services with evicted pods doesn't have endpoints
2022-05-27 06:43:03 +02:00
Antonio Ojea
ffdbce6291
e2e test for evicted pods
2022-05-27 06:43:03 +02:00
Wojciech Tyczyński
8ca1ec2b60
Clean shutdown of cronjob integration tests
2022-05-26 19:29:34 +02:00
Wojciech Tyczyński
2893ad3e5b
Clean shutdown of evictions integration tests
2022-05-26 17:19:36 +02:00
Wojciech Tyczyński
c0149f78d7
Clean shutdown of certificates integration tests
2022-05-26 17:19:36 +02:00
Wojciech Tyczyński
2583942eb7
Clean shutdown of daemonset integration tests
2022-05-26 17:19:36 +02:00
Wojciech Tyczyński
5fc1c39bd4
Clean shutdown of configmap integration tests
2022-05-26 17:19:36 +02:00
Wojciech Tyczyński
b8d28ef2b6
Clean shutdown of storageclasses integration tests
2022-05-26 17:19:36 +02:00
Wojciech Tyczyński
fbd2184583
Clean shutdown of namespace integration tests
2022-05-26 17:19:36 +02:00
Wojciech Tyczyński
7b44e64dd8
Clean shutdown of secret integration tests
2022-05-26 17:19:36 +02:00
Wojciech Tyczyński
492bad026c
Clean shutdown of endpointslice integration tests
2022-05-26 17:19:36 +02:00
Wojciech Tyczyński
7add7ba9e5
Clean shutdown of endpoints integration tests
2022-05-26 17:19:36 +02:00
Wojciech Tyczyński
7ac6638f92
Clean shutdown of replicationcontroller integration tests
2022-05-26 17:19:36 +02:00
Wojciech Tyczyński
33831c9fd3
Clean shutdown of replicaset integration tests
2022-05-26 17:19:36 +02:00
Wojciech Tyczyński
368802dd7e
Clean shutdown of deployment integration tests
2022-05-26 17:19:36 +02:00
Wojciech Tyczyński
79289294b2
Clean shutdown of pods integration tests
2022-05-26 17:18:26 +02:00
Wojciech Tyczyński
054c489d00
Clean shutdown of metrics integration tests
2022-05-26 16:20:56 +02:00
Wojciech Tyczyński
284509f36e
Clean shutdown of ttlcontroller integration tests
2022-05-26 16:20:56 +02:00
Wojciech Tyczyński
c6e3bd732e
Clean shutdown of persistentvolume integration tests
2022-05-26 16:20:56 +02:00
Wojciech Tyczyński
f68e72a360
Clean shutdown of volume integration tests
2022-05-26 16:20:56 +02:00
Wojciech Tyczyński
3b98f59e16
Clean shutdown of service integration tests
2022-05-26 16:20:56 +02:00
Wojciech Tyczyński
6ae4bbbfc2
Add namespace utility test functions
2022-05-26 16:20:56 +02:00
Wojciech Tyczyński
fe3616cafb
Clean shutdown of kcm, ccm and scheduler
2022-05-26 12:36:59 +02:00
Kubernetes Prow Robot
eb37a5d9c1
Merge pull request #110000 from wojtek-t/fix_shutdown_sequence
...
Fix apiserver shutdown in integration tests
2022-05-26 02:53:22 -07:00
Wojciech Tyczyński
6f706775bc
Clean shutdown of test apiserver
2022-05-26 10:42:48 +02:00
Kubernetes Prow Robot
60481c944e
Merge pull request #109946 from tallclair/ps-e2e
...
Restricted Pod E2E tests
2022-05-25 14:45:22 -07:00
Kubernetes Prow Robot
1e7fa3478e
Merge pull request #110214 from aojea/agnhost_2.39
...
agnhost: bump version 2.39
2022-05-25 13:36:02 -07:00
Kubernetes Prow Robot
f08c680d2f
Merge pull request #110192 from RomanBednar/gcp-bump
...
bump gcp driver and sidecar versions
2022-05-25 13:35:54 -07:00
Kubernetes Prow Robot
b0991517e5
Merge pull request #110127 from jwtty/boolcheck
...
test/e2e/common/node: enhance assertions
2022-05-25 13:35:23 -07:00
Antonio Ojea
7397e60477
agnhost: bump version 2.39
2022-05-25 16:02:10 +02:00
Kubernetes Prow Robot
1290d6a4c0
Merge pull request #110212 from aojea/fix_agnhost_sigterm
...
agnhost: fix sigterm shutdown
2022-05-25 06:38:44 -07:00
Kubernetes Prow Robot
072148d339
Merge pull request #110194 from p0lyn0mial/hardens-test-aggregated-api-server
...
hardens TestAggregatedAPIServer
2022-05-25 04:58:45 -07:00
Roman Bednar
5c16ce257f
bump gcp driver and sidecar versions
2022-05-25 13:54:27 +02:00
Antonio Ojea
2b822161f0
agnhost: fix sigterm shutdown
2022-05-25 12:50:23 +02:00
Lukasz Szaszkiewicz
c4e337c57c
hardens TestAggregatedAPIServer
...
Since ClientCAs are provided by "client-ca::kube-system::extension-apiserver-authentication::client-ca-file" controller
we need to wait until it picks up the configmap (via a lister) before checking the CAs otherwise the response might contain an empty result.
2022-05-25 12:41:26 +02:00
Kubernetes Prow Robot
e1d92980e3
Merge pull request #107419 from sanposhiho/non-need-e2e-queue-move
...
Delete non-need `AddUnschedulableIfNotPresent` calling in `TestCoreResourceEnqueue`
2022-05-24 17:06:43 -07:00
Tim Allclair
702ab97722
Run common pod E2Es as restricted
2022-05-24 16:10:16 -07:00
Tim Allclair
ccc69b1e9a
Add MixinRestrictedPodSecurity e2e util
2022-05-24 16:10:16 -07:00
Kubernetes Prow Robot
f8c77fda0c
Merge pull request #110176 from deads2k/try-new-image
...
update to new level of agnhost
2022-05-24 14:27:25 -07:00
Hemant Kumar
50f1e16e4d
Log new size and old sizes
2022-05-24 14:57:29 -04:00
Kubernetes Prow Robot
1ad8613d5c
Merge pull request #109790 from p0lyn0mial/users-watchtools-informerwatcher
...
users of watchtools.NewIndexerInformerWatcher should wait for the informer to sync
2022-05-24 08:52:05 -07:00
David Eads
c1a891c661
update to the latest agnhost image
2022-05-24 11:12:37 -04:00
Kubernetes Prow Robot
78a4ba6af8
Merge pull request #110174 from deads2k/readyz-agnhost
...
add readyz handling to netexec
2022-05-24 07:26:18 -07:00
Kubernetes Prow Robot
c3d550d4e7
Merge pull request #110101 from MikeSpreitzer/rename-observers
...
Give apf metrics abstractions more familiar names
2022-05-24 07:26:06 -07:00
Lukasz Szaszkiewicz
59a5c1a6ea
hardens integration job tests
...
the job controller used by the tests must wait for the caches to sync
since the tests don't check /readyz there is no way
the tests can tell it is safe to call the server and requests won't be rejected
2022-05-24 13:47:38 +02:00
Lukasz Szaszkiewicz
4a7845b485
users of watchtools.NewIndexerInformerWatcher should wait for the informer to sync
...
previously users of this method were relying on the fact that a call to LIST was made.
Instead, users should use the dedicated `HasSynced` method.
2022-05-24 13:05:40 +02:00
Hemant Kumar
fb9db79d3f
Enable volume expansion tests for generic ephemeral volumes
2022-05-23 21:58:34 -04:00
Kubernetes Prow Robot
fdb2d54475
Merge pull request #108210 from jlsong01/update_kubectl_warning
...
coordinate the kubectl warning style
2022-05-23 15:57:09 -07:00
Mike Spreitzer
7d64a93a14
Give apf metrics abstractions more familiar names
...
The logic is similar to Prometheus gauges and vectors,
adopt that terminology.
2022-05-23 16:09:43 -04:00
David Eads
566394467e
add readyz handling to netexec
2022-05-23 14:26:09 -04:00
Kubernetes Prow Robot
1131fb95fc
Merge pull request #110125 from wojtek-t/fix_resource_quota_shutdown
...
Fix resource quota shutdown
2022-05-23 07:18:03 -07:00
jlsong01
272e245f06
add a warning printer in cli-runtime to coordinate warning style
...
modified: staging/src/k8s.io/kubectl/pkg/cmd/auth/auth.go
2022-05-23 19:10:15 +08:00
Kubernetes Prow Robot
e9f1c9cc7c
Merge pull request #110138 from wojtek-t/fix_leaking_goroutines_in_kubelet_test
...
Fix leaking goroutines in kubelet integration test
2022-05-23 04:06:01 -07:00
Wojciech Tyczyński
f8211d7e44
Fix ResourceQuota admission shutdown
2022-05-23 12:34:50 +02:00
Wojciech Tyczyński
0d41d2921e
Fix leaking goroutines in kubelet integration test
2022-05-23 11:50:29 +02:00
Wantong Jiang
93692ef57d
enhance assertions in test/e2e/common/node
2022-05-23 00:39:09 +00:00
sanposhiho
bbd5f19497
Delete non-need AddUnschedulableIfNotPresent in e2e
2022-05-22 06:54:49 +00:00
Kubernetes Prow Robot
4ab90ccebb
Merge pull request #109719 from stlaz/e2e_nodeauthn_nosasecret
...
auth e2e: node_authn test: don't expect a SA secret
2022-05-19 15:13:53 -07:00
Kubernetes Prow Robot
a608fba48c
Merge pull request #110055 from brianpursley/vol-limit-flake
...
Increase csiNodeInfoTimeout from 1 minute to 2 minutes
2022-05-19 09:21:20 -07:00
Kubernetes Prow Robot
a1c8e9386a
Merge pull request #110090 from wojtek-t/shutdown_broadcaster_in_controllers
...
Fix event broadcaster shutdown in multiple controllers
2022-05-18 03:38:53 -07:00
Kubernetes Prow Robot
84c8afeba3
Merge pull request #110095 from neolit123/1.25-update-master-label-taint
...
kubeadm: cleanup the "master" taint on CP nodes during upgrade
2022-05-18 00:52:54 -07:00
Kevin Delgado
91c016e4d5
Add unknown metadata field validation tests ( #109316 )
...
* add unknown metadata validation e2e tests
* Address PR Feedback
* explicitly check for unexpected nil errors or namespace errors
2022-05-17 15:04:30 -07:00
Wojciech Tyczyński
11b679c66a
Fix event broadcaster shutdown in multiple controllers
2022-05-17 22:14:19 +02:00
Lubomir I. Ivanov
ddd046f3dd
kubeadm: cleanup the "master" taint on CP nodes during upgrade
...
- iniconfiguration.go: stop applying the "master" taint
for new clusters; update related unit tests in _test.go
- apply.go: Remove logic related to cleanup of the "master" label
during upgrade
- apply.go: Add cleanup of the "master" taint on CP nodes
during upgrade
- controlplane_nodes_test.go: remove test for old "master" taint
on nodes (this needs backport to 1.24, because we have a kubeadm
1.25 vs kubernetes test suite 1.24 e2e test)
2022-05-17 19:21:49 +03:00
Francesco Romani
f3e157d168
e2e: node: re-enable the device plugin tests
...
Signed-off-by: Francesco Romani <fromani@redhat.com>
2022-05-16 16:05:13 +02:00
Francesco Romani
48b5af49e0
e2e: node: reorder imports
...
trivial cleanup
Signed-off-by: Francesco Romani <fromani@redhat.com>
2022-05-16 16:04:01 +02:00
Francesco Romani
98eb6db7c0
e2e: node: fix plugins directory
...
Previously, the e2e test was overriding the plugins socket directory to
"/var/lib/kubelet/plugins_registry". This seems wrong, and with that
setting the e2e test was already failing, because the registration
process was timing out, in turn because the kubelet was trying to call
back the device plugin in the wrong place (see below for details).
I can't explain why it worked before - or it if worked at all - but
it really seems that `pluginapi.DevicePluginPath` is the right
setting here.
+++
In a nutshell, the device plugin registration process works like this:
1. The kubelet runs and creates the device plugin socket registration
endpoint:
KubeletSocket = DevicePluginPath + "kubelet.sock"
DevicePluginPath = "/var/lib/kubelet/device-plugins/"
2. Each device plugin will listen to an ENDPOINT the kubelet will connect
backk to. IOW the kubelet will act like a client to each device plugin,
to perform allocation requests (and more)
Each device plugin will serve from a endpoint.
The endpoint name is plugin-specific, but they all must be inside a
well-known directory: pluginapi.DevicePluginPath
3. The kubelet creates the device plugin pod, like any other pod
4. During the startup, each device plugin wants to register itself in the
kubelet. So it sends a request through
the registration endpoint. Key details:
grpc.Dial(kubelet registration socket)
registration request
reqt := &pluginapi.RegisterRequest{
Version: pluginapi.Version,
Endpoint: endpointSocket, <- socket relative to pluginapi.DevicePluginPath
ResourceName: resourceName, <- resource name to be exposed
}
5. While handling the registration request, kubelet dial back the
device plugin on socketDir + req.Endpoint.
But socketDir is hardcoded in the device manager code to
pluginapi.KubeletSocket
Signed-off-by: Francesco Romani <fromani@redhat.com>
2022-05-16 16:03:50 +02:00
Francesco Romani
23147ff4b3
e2e: node: devplugin: tolerate node readiness flip
...
In the AfterEach check of the e2e node device plugin tests,
the tests want really bad to clean up after themselves:
- delete the sample device plugin
- restart again the kubelet
- ensure that after the restart, no stale sample devices
(provided by the sample device plugin) are reported anymore.
We observed that in the AfterEach block of these e2e tests
we have quite reliably a flip/flop of the kubelet readiness
state, possibly related to a race with/ a slow runtime/PLEG check.
What happens is that the kubelet readiness state is true,
but goes false for a quick interval and then goes true again
and it's pretty stable after that (observed adding more logs
to the check loop).
The key factor here is the function `getLocalNode` aborts the
test (as in `framework.ExpectNoError`) if the node state is
not ready. So any occurrence of this scenario, even if it
is transient, will cause a test failure. I believe this will
make the e2e test unnecessarily fragile without making it more
correct.
For the purpose of the test we can tolerate this kind of glitches,
with kubelet flip/flopping the ready state, granted that we meet
eventually the final desired condition on which the node reports
ready AND reports no sample devices present - which was the condition
the code was trying to check.
So, we add a variant of `getLocalNode`, which just fetches the
node object the e2e_node framework created, alongside to a flag
reporting the node readiness. The new helper does not make
implicitly the test abort if the node is not ready, just bubbles
up this information.
Signed-off-by: Francesco Romani <fromani@redhat.com>
2022-05-16 14:22:25 +02:00
Francesco Romani
56c539bff0
e2e: node: deviceplug: deepcopy the pod dev template
...
Let's avoid unexpected side effects
Signed-off-by: Francesco Romani <fromani@redhat.com>
2022-05-16 14:22:24 +02:00
Kubernetes Prow Robot
22a21f974f
Merge pull request #110063 from wojtek-t/cleanup_testing_namespaces_in_integration
...
Simplify Create/Delete-TestingNamespace functions
2022-05-16 01:50:18 -07:00
Wojciech Tyczyński
deef9e40de
Simplify Create/Delete-TestingNamespace functions
2022-05-15 23:06:26 +02:00
Brian Pursley
db9d5c1e77
Increase csiNodeInfoTimeout from 1 minute to 2 minutes
2022-05-14 16:29:28 -04:00
cpanato
90871a0b2f
Update Go to 1.18.2
...
Signed-off-by: cpanato <ctadeu@gmail.com>
2022-05-14 00:57:15 +02:00
Kubernetes Prow Robot
bbdcce6a9e
Merge pull request #109880 from Jefftree/patch-4
...
Remove warning log for crd merging
2022-05-13 15:31:54 -07:00
Kubernetes Prow Robot
47bb8c6d0c
Merge pull request #108777 from pjo256/recursive-rollout-status
...
feat(kubectl rollout): support multiple resources for rollout status
2022-05-13 13:15:55 -07:00
Jefftree
fad5353ef8
Integration test for openapi scale & status
2022-05-13 11:45:31 -07:00
Kubernetes Prow Robot
1a6adee3d6
Merge pull request #109753 from matthyx/109577
...
do not install docker with curl
2022-05-13 07:33:49 -07:00
Matthias Bertschy
d42321dc05
recommend containerd instead of docker, cleanup
2022-05-13 15:25:15 +02:00
Kubernetes Prow Robot
9720d130e4
Merge pull request #110030 from wojtek-t/clean_shutdown_2
...
Minor cleanups in integration test shutdown
2022-05-13 03:43:48 -07:00
Wojciech Tyczyński
492e7111a0
Minor cleanup of apply tests
2022-05-13 11:37:22 +02:00
Wojciech Tyczyński
89549142c0
Stop leaking apiserver in tracing test
2022-05-13 09:47:24 +02:00
Kubernetes Prow Robot
340ba56567
Merge pull request #109989 from tallclair/image-type
...
Use typed ImageID for imageutils images
2022-05-13 00:13:48 -07:00
Kubernetes Prow Robot
1be1ec4aa3
Merge pull request #109970 from stevekuznetsov/skuznets/isolate-versioner
...
storage: move the APIObjectVersioner definition to storage
2022-05-12 12:32:44 -07:00
Tim Allclair
ab29782d24
Use typed ImageID for imageutils images
2022-05-12 08:51:07 -07:00
Kubernetes Prow Robot
dd1a7893d4
Merge pull request #109997 from aojea/downward_e2e
...
don't skip Feature:EphemeralStorage based on skipper
2022-05-12 08:09:26 -07:00
Kubernetes Prow Robot
976a940f4a
Merge pull request #109978 from wojtek-t/remove_storage_tracking
...
Cleanup no-longer used storage cleanup method
2022-05-12 06:31:25 -07:00
Kubernetes Prow Robot
076168b84d
Merge pull request #109990 from tnqn/fix-netpol-error
...
Correct errors in the netpol test suite
2022-05-12 03:43:26 -07:00
Kubernetes Prow Robot
9254f94da1
Merge pull request #109413 from lzhecheng/flexible-internal-static-ip
...
[e2e][azure] Make internalStaticIP flexible
2022-05-12 03:43:14 -07:00
Antonio Ojea
9b1f99bee8
don't skip Feature:EphemeralStorage based on skipper
2022-05-12 10:20:52 +02:00
Quan Tian
b792f7392f
Correct errors in the netpol test suite
...
It was confusing to see message saying "unable to update pod" when it
was actually trying to create a Pod.
Signed-off-by: Quan Tian <qtian@vmware.com>
2022-05-12 10:48:51 +08:00
Kubernetes Prow Robot
cae22d8b8a
Merge pull request #108797 from deads2k/release-1.25-removed-01-checker
...
update for APIs removed in 1.25
2022-05-11 19:25:13 -07:00
Kubernetes Prow Robot
af99c75390
Merge pull request #109961 from pohly/e2e-framework-log-test-fix
...
e2e: fix unit test
2022-05-11 14:59:12 -07:00
Wojciech Tyczyński
2dd44d6226
Cleanup no-longer used storage cleanup method
2022-05-11 20:11:37 +02:00
Kubernetes Prow Robot
564b204923
Merge pull request #109972 from wojtek-t/clean_shutdown_1
...
Clean shutdown of couple controllers in integration tests
2022-05-11 10:47:25 -07:00
Yuki Okushi
6bc6a671ae
Remove the use of derecated PodDeleteTimeout
const
2022-05-12 01:58:23 +09:00
Kubernetes Prow Robot
c0f48d2a2e
Merge pull request #109781 from wojtek-t/fix_scheduler_tests
...
Close events recording sink in integration tests
2022-05-11 08:47:14 -07:00
Kubernetes Prow Robot
3bcbf3de11
Merge pull request #108884 from kerthcet/feature/implement-nodeInclusionPolicy
...
feat: implement node inclusion policy in scheduler
2022-05-11 08:47:02 -07:00
Steve Kuznetsov
3939f3003e
storage: move the APIObjectVersioner definition to storage
...
The means by which we extract and parse the version of an API object is
not specific to etcd3. In order to allow for a generic suite of tests
against any storage.Interface imlpementation, we need this logic to live
outside of the etcd3 package, or import cycles will exist.
Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
2022-05-11 08:19:32 -07:00
Wojciech Tyczyński
1fcc5d9eae
Clear shutdown in deployment integration test
2022-05-11 17:05:31 +02:00
Wojciech Tyczyński
ca68691feb
Clear shutdown in replicationcontroller integration test
2022-05-11 17:05:31 +02:00
Wojciech Tyczyński
c043535250
Clear shutdown in replicaset integration test
2022-05-11 17:05:31 +02:00
Patrick Ohly
e198c3a544
e2e: fix node wait test
...
Because these tests don't run in the CI, the test did not quite match the
actual code anymore. Apparently a retry mechanism was added after the test was
written.
2022-05-11 11:43:55 +02:00
Patrick Ohly
38348532a3
e2e: reformat log test
...
Using multi-line strings makes the test source code easier to read.
2022-05-11 11:29:56 +02:00
Patrick Ohly
228640ffab
e2e: fix logs unit test
...
The test had two problems:
- the expected line was off by one (probably modified import statements)
- when Gomega failed in TestFailureOutput, Ginkgo panicked because
its fail handler was called outside of a Ginkgo node
Now github.com/stretchr/testify/assert is used for comparing the output because
it works in a unit test without further customization and because the failure
messages are more useful.
2022-05-11 10:50:51 +02:00
Kubernetes Prow Robot
b74d023e70
Merge pull request #109694 from RyanAoh/fix-108837
...
Be sure to update the status of StatefulSet even if the new replica creation fails
2022-05-10 21:28:50 -07:00
kerthcet
790d983867
feat: implement NodeInclusionPolicy in TopologySpreadConstraint
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-05-11 07:51:18 +08:00
Kubernetes Prow Robot
cf64022a0f
Merge pull request #109896 from superbrothers/kubectl-delete-fix-discovery-cache-ttl
...
Fix discovery cache TTL to 6 hours
2022-05-10 14:33:36 -07:00
Kubernetes Prow Robot
517dd4ccfe
Merge pull request #109822 from claudiubelu/windows-node-name
...
tests: Include the Windows node name in the exception
2022-05-10 14:33:25 -07:00
David Eads
d323a30f60
remove PDB v1beta1 usage where v1 is equivalent
2022-05-10 13:32:07 -04:00
Kubernetes Prow Robot
8245695028
Merge pull request #109919 from stevekuznetsov/skuznets/clarify-integration-namespace
...
test/integration: clarify namespace utilities
2022-05-10 05:17:56 -07:00
Aohan Yang
774df1b0af
Be sure to update the status of StatefulSet even if the new replica creation fails
2022-05-10 10:25:26 +08:00
Kubernetes Prow Robot
5fdbfbcd4a
Merge pull request #109921 from endocrimes/dani/use-newer-tf-image
...
node-perf: use tf-wide-deep:1.2
2022-05-09 19:07:42 -07:00
Kubernetes Prow Robot
8a4f82c6de
Merge pull request #109852 from pacoxu/DownwardAPIHugePages
...
do not skip DownwardAPIHugePages
2022-05-09 16:29:42 -07:00
Mauricio Poppe
34f078d7f4
Use sync in provisioning tests
2022-05-09 21:10:33 +00:00
Kubernetes Prow Robot
d0832102a7
Merge pull request #106415 from ahrtr/replace_ioutil_with_io_os_test_image_version
...
Replace ioutil with os and io for the test/images
2022-05-09 12:36:32 -07:00
Kubernetes Prow Robot
b059f99951
Merge pull request #109901 from aojea/integration_shutdown
...
integration: force close httpserver on exit
2022-05-09 11:17:30 -07:00
Danielle Lancashire
8756e9c027
node-perf: use tf-wide-deep:1.2
2022-05-09 16:58:18 +00:00
Steve Kuznetsov
173c1da99e
test/integration: clarify namespace utilities
...
For a developer that's not very familiar with the integration flow, it
is very surprising to see that the namespace creation logic does not
create anything and that the namespace deletion logic does not delete
anything, either.
Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
2022-05-09 09:57:01 -07:00
Mauricio Poppe
538fd832aa
Skip generic ephemeral tests if Immediate binding and topology keys set
2022-05-09 16:48:16 +00:00
Antonio Ojea
eba27127db
integration: force close httpserver on exit
2022-05-09 16:18:26 +02:00
Kubernetes Prow Robot
543893cbb0
Merge pull request #109899 from wojtek-t/cleanup_apiserver_holder
...
Minor cleanup in apiserver startup in integration tests
2022-05-09 06:33:31 -07:00
Kubernetes Prow Robot
4717a59097
Merge pull request #109734 from kidddddddddddddddddddddd/enhance_assertions_auth
...
test/e2e/auth: enhance assertions
2022-05-09 03:29:18 -07:00
Wojciech Tyczyński
d1c9042f57
Unify apiserver startup in integration tests
2022-05-09 12:08:38 +02:00
Paco Xu
db147b7d67
(ut) add tests for bad filed values checking; refactor some funcs
2022-05-09 16:17:32 +08:00
ahrtr
584d994133
replace all the deprecated ioutil with io and os
2022-05-09 15:27:13 +08:00
Wei Huang
c96109a321
Refactor scheduler integration test that starts APIServer in a non-standarized manner
2022-05-08 22:28:13 -07:00
Kazuki Suda
d2b4c017c8
Fix discovery cache TTL to 6 hours
...
Signed-off-by: Kazuki Suda <kazuki.suda@gmail.com>
2022-05-09 13:47:52 +09:00
Kubernetes Prow Robot
7af5a7bfc5
Merge pull request #109602 from lavalamp/remove-clustername
...
Finish clustername removal
2022-05-07 08:01:16 -07:00
Kubernetes Prow Robot
570f1092f4
Merge pull request #109542 from sanposhiho/fix-test-case-scheduler-perf
...
scheduler_perf: Remove test cases for Preemption which always fail
2022-05-07 03:33:29 -07:00
kidddddddddddddddddddddd
6791ba2590
test/e2e/auth: enhance assertions
2022-05-07 11:58:06 +08:00
Kubernetes Prow Robot
83b25e371f
Merge pull request #109834 from aojea/split_scheduling_integration
...
integration: refactor and split scheduler tests
2022-05-06 09:07:32 -07:00
Kubernetes Prow Robot
7e6a8bc3db
Merge pull request #109252 from kerthcet/fix/goroutine-leak-in-integration-tests
...
fix: resolve goroutine leak in integration tests
2022-05-06 09:07:17 -07:00
Paco Xu
aa0642790b
do not skip DownwardAPIHugePages
2022-05-06 21:24:58 +08:00
Arda Güçlü
0245e74590
Define NoOptDefVal for validate flag
...
validate flag does not have default value defined when there is no
parameter passed, therefore it tries to use next irrelevant flag.
This PR defines NoOptDefVal for validate flag which is set "strict".
2022-05-06 14:17:50 +03:00
Antonio Ojea
6a0e55d124
remove unused variables in test/integration/scheduler/filters/filters_test.go
2022-05-06 12:50:30 +02:00
Antonio Ojea
46fc39f440
remove unused variables in test/integration/scheduler/util.go
2022-05-06 12:49:59 +02:00
Antonio Ojea
ef410d18e1
remove unused function on b/test/integration/util/util.go
2022-05-06 12:47:25 +02:00
kerthcet
c74aeab5a5
fix: resolve goroutine leak in statefulset integration tests
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-05-06 17:51:34 +08:00
kerthcet
835cdd6d81
fix: resolve goroutine leak in volumescheduling integration tests
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-05-06 17:51:17 +08:00
Antonio Ojea
9dbe4c8508
integration: migrate taint tests
2022-05-06 11:27:15 +02:00
Antonio Ojea
0dbb9f4a8f
integration: migrate scoring tests
2022-05-06 11:27:15 +02:00
Antonio Ojea
63d64b7108
integration: migrate preemption tests
2022-05-06 11:27:15 +02:00
Antonio Ojea
6a64e24cfa
integration: migrate plugings tests
2022-05-06 11:27:15 +02:00
Antonio Ojea
69acad2c15
integration: migrate extender tests
2022-05-06 11:27:15 +02:00
Antonio Ojea
3bb965b651
merge test integration scheduler util
2022-05-06 11:27:11 +02:00
Antonio Ojea
ad765c1801
integration: scheduler: migrate PDB from v1beta1 to v1
2022-05-06 10:24:47 +02:00
Kubernetes Prow Robot
5e9a6a256e
Merge pull request #109464 from liggitt/gomodule-install
...
Use module mode when building/installing
2022-05-05 16:28:52 -07:00
Kubernetes Prow Robot
313d9fb0b1
Merge pull request #109311 from my-git9/creatego
...
Modify function parameters
2022-05-05 13:50:41 -07:00
Daniel Smith
331525670b
Remove ClusterName
2022-05-05 20:12:50 +00:00
Kubernetes Prow Robot
71df3e819b
Merge pull request #109545 from sanposhiho/fix-nun-on-scheduler_perf
...
Skip adding data to avoid "json: unsupported value: NaN" panic when data is NaN
2022-05-05 11:53:45 -07:00
Kubernetes Prow Robot
751e9c0f5b
Merge pull request #109825 from alculquicondor/reduce-tests
...
Reduce number of repetitions and pods in TestPreemptionRaces
2022-05-05 10:50:29 -07:00
Kubernetes Prow Robot
f853a05e24
Merge pull request #109534 from ii/promote-job-lifecycle-test
...
Promote Batchv1JobLifecycleTest +4 Endpoints
2022-05-05 10:50:21 -07:00
Kensei Nakada
4af3c5efeb
Skip adding data to avoid "json: unsupported value: NaN" panic when data is NaN
2022-05-05 16:11:22 +00:00
Claudiu Belu
47e7461209
Update test/e2e/windows/host_process.go
...
Co-authored-by: James Sturtevant <jsturtevant@gmail.com>
2022-05-05 18:34:17 +03:00
Aldo Culquicondor
51b1bb5ea7
Reduce number of repetitions and pods in TestPreemptionRaces
...
Change-Id: Id2c73be7be2536b02c804978d26d1e977a344399
2022-05-05 10:38:05 -04:00
Kubernetes Prow Robot
99de67958d
Merge pull request #109798 from liggitt/psp
...
Remove PodSecurityPolicy admission plugin
2022-05-05 06:40:32 -07:00
Jordan Liggitt
2a10ca650d
drop vendor from test targets
2022-05-05 08:47:33 -04:00
Kubernetes Prow Robot
b81a2a7373
Merge pull request #109792 from my-git9/csi-test2
...
modify link
2022-05-05 05:02:31 -07:00
Kubernetes Prow Robot
f0928952d7
Merge pull request #109770 from fromanirh/e2e-node-device-plugin-skip
...
e2e: node: explicit skip for device plugin tests
2022-05-05 01:43:37 -07:00
Kubernetes Prow Robot
77c37da7fc
Merge pull request #109764 from saikat-royc/fix-delete-timeout
...
honor the framework delete timeout for pv
2022-05-05 01:43:29 -07:00
Kubernetes Prow Robot
f40f078590
Merge pull request #109759 from wojtek-t/cleanup_integration_tests
...
Minor cleanup to use t.Run() in test/integration
2022-05-05 01:43:22 -07:00
Kubernetes Prow Robot
e514c5d79c
Merge pull request #109755 from p0lyn0mial/harden-test-service-account
...
hardens integration serviceaccount tests
2022-05-05 01:43:14 -07:00
Tim Allclair
07c34eb400
[E2E] Refactor pod polling functions (WaitForX) ( #109704 )
...
* Clean up WaitFor Pod functions
* Handle retryable errors when polling
* Log more context on timeout
* #squash Address PR feedback
2022-05-05 01:42:32 -07:00
Kubernetes Prow Robot
6445efb341
Merge pull request #109344 from stbenjam/host-port-fixes
...
Replace use of Sprintf with net.JoinHostPort
2022-05-04 15:28:19 -07:00
Kubernetes Prow Robot
6b988c516e
Merge pull request #109268 from liggitt/pruning-metadata
...
ServerSideFieldValidation: Fix bug treating metadata fields as unknown fields
2022-05-04 14:14:19 -07:00
Claudiu Belu
0570f611a2
tests: Enables a few Conformance tests for Windows
...
Some of these tests could not be run previously, especially on Windows
Docker containers. But now, by using Windows Containerd, we can finally
run them:
- HostNetwork=true tests: This can now be enabled on Windows Privileged Containers.
- /etc/hosts related tests: These were not supported because it required single
file mappings, which is possible in Containerd.
- termination message as non-root user: Requires RunAsUsername, and single file
mappings.
2022-05-04 13:07:24 -07:00
Kubernetes Prow Robot
4dacd5113d
Merge pull request #109231 from pbeschetnov/rc-logs
...
Only log requests for configured consumptions in ResourceConsumer
2022-05-04 13:02:19 -07:00
Jordan Liggitt
fba69f7eb9
Change test/cmd to test deprecations using a CRD
2022-05-04 16:00:57 -04:00
Jordan Liggitt
410ac59c0d
Remove PodSecurityPolicy admission plugin
2022-05-04 16:00:56 -04:00
Claudiu Belu
8d98e53b78
tests: Include the Windows node name in the exception
...
There are a few tests that fail because the hostnames apparently do not
match. Logging the name would help finding the problem.
2022-05-04 12:50:57 -07:00
xin.li
ba654e0dad
modify link
...
Signed-off-by: xin.li <xin.li@daocloud.io>
2022-05-05 00:19:02 +08:00
Francesco Romani
19ae360af9
e2e: node: inline getSampleDevicePluginPod
...
Starting golangci-lint >= 1.45, the tool is complaining
about the function being unused:
```bash
test/e2e_node/device_plugin_test.go:82:6: func `getSampleDevicePluginPod` is unused (unused)
func getSampleDevicePluginPod() *v1.Pod {
^
Please review the above warnings. You can test via "./hack/verify-golangci-lint.sh"
If the above warnings do not make sense, you can exempt this warning with a comment
(if your reviewer is okay with it).
In general please prefer to fix the error, we have already disabled specific lints
that the project chooses to ignore.
See: https://golangci-lint.run/usage/false-positives/ }
```
thing is the code is not changed lately, and manual inspection trivially
confirms it is used.
Older versions of golangci-lint (tested with
```
golangci-lint has version 1.41.1 built from a2074809 on 2021-06-19T16:01:50Z
```)
indeed do NOT complain about the function, so this seems a golangci-lint
bug.
To move forward, we can disable the warning, but this leaves a sour
taste.
Instead, since the function is pretty trivias, was used just once and the caller
was undoing some of the work done by the function, we just inline it,
which solves the linter warning and makes the code a bit better.
Signed-off-by: Francesco Romani <fromani@redhat.com>
2022-05-04 17:05:00 +02:00
Wojciech Tyczyński
61d681387f
Close events recording sink in integration tests
2022-05-04 13:59:47 +02:00
Kubernetes Prow Robot
094a33ad80
Merge pull request #109342 from bertinatto/custom-timeout-storage-e2e-cleanup
...
test/e2e/storage: replace hardcoded value with custom timeout in cleanup routine
2022-05-04 03:45:52 -07:00
Stephen Benjamin
b351745c1c
Replace use of Sprintf with net.JoinHostPort
...
On IPv6 clusters, one of the most frequent problems I encounter is
assumptions that one can build a URL with a host and port simply by
using Sprintf, like this:
```go
fmt.Sprintf("http://%s:%d/foo ", host, port)
```
When `host` is an IPv6 address, this produces an invalid URL as it must
be bracketed, like this:
```
http://[2001:4860:4860::8888]:9443
```
This change fixes the occurences of joining a host and port with the
purpose built `net.JoinHostPort` function.
I encounter this problem often enough that I started to [write a linter
for it](https://github.com/stbenjam/go-sprintf-host-port ). I don't
think the linter is quite ready for wide use yet, but I did run it
against the Kube codebase and found these. While the host portion in
some of these changes may always be an FQDN or IPv4 IP today, it's an
easy thing that can break later on.
2022-05-04 06:37:50 -04:00
Kubernetes Prow Robot
3bef1692ef
Merge pull request #109696 from Huang-Wei/rm-sched-perf-legacy
...
Cleanup legacy scheduler perf tests
2022-05-04 02:35:43 -07:00
Kubernetes Prow Robot
c1ad54dfe3
Merge pull request #109649 from pohly/e2e-feature-gates
...
e2e: move feature gate support from test/e2e to test/e2e_node
2022-05-04 02:35:18 -07:00
Kubernetes Prow Robot
3739175e1f
Merge pull request #109580 from dobsonj/offline-expansion-test-flag
...
e2e: add storage capability for offline volume expansion
2022-05-04 02:34:29 -07:00
Kubernetes Prow Robot
2a0d2331a8
Merge pull request #109574 from endocrimes/dani/e2e_node-approver
...
sig-node: endocrimes as e2e_node approver
2022-05-04 02:34:11 -07:00
Kubernetes Prow Robot
1347e560ec
Merge pull request #109572 from endocrimes/dani/remote-docker
...
e2e_node: remote runner: Require containerd/crio
2022-05-04 02:34:03 -07:00
Kubernetes Prow Robot
a637604399
Merge pull request #109571 from endocrimes/dani/cleanup-e2e-node
...
e2e_node: Cleanup old unused jenkins scripts/config
2022-05-04 02:33:56 -07:00
Kubernetes Prow Robot
fa69786fa6
Merge pull request #109551 from SergeyKanzhelev/fixTensorflow
...
fix the image for node performance tests - model expected tensorflow…
2022-05-04 01:29:30 -07:00
Kubernetes Prow Robot
629706e0fe
Merge pull request #109546 from sanposhiho/replace-metrics
...
Replace scheduler_e2e_scheduling_duration_seconds with scheduler_scheduling_attempt_duration_seconds in scheduler_perf
2022-05-04 01:29:22 -07:00
Kubernetes Prow Robot
a3c0729c4d
Merge pull request #109509 from leiyiz/imagevsc
...
fixed incorrect tag on volume cloning test case
2022-05-04 01:28:40 -07:00
Kubernetes Prow Robot
63a618a815
Merge pull request #109486 from alculquicondor/job-backofflimit
...
Fix job tracking leaving pods with finalizers
2022-05-04 01:28:14 -07:00
Kubernetes Prow Robot
e8ef77514b
Merge pull request #109443 from kevindelgado/dynamic-apply
...
Add Apply and ApplyStatus methods to dynamic ResourceInterface
2022-05-04 01:27:53 -07:00
Kubernetes Prow Robot
35de9f5027
Merge pull request #109410 from dims/set-default-flake-attempt-to-one
...
Set default flake attempt to 1 (not 2)
2022-05-04 01:27:30 -07:00
sanposhiho
1c2c20e6bd
Change test cases for Preemption to create fewer Pods
2022-05-04 07:47:46 +00:00
Kubernetes Prow Robot
edac6fce2a
Merge pull request #109338 from kerthcet/cleanup/forget-to-close-when-error
...
test/integration/framework: call closeFn() in startAPIServerOrDie() on error
2022-05-03 19:31:22 -07:00
Kubernetes Prow Robot
e5115587b3
Merge pull request #109322 from hoskeri/conformance-test-healthz
...
conformance-test: use kubelet healthz port.
2022-05-03 19:31:06 -07:00
Kubernetes Prow Robot
cc2807c521
Merge pull request #109303 from wojtek-t/clean_storage_shutdown
...
Cleanup rest storage resources on shutdown
2022-05-03 19:30:57 -07:00
Kubernetes Prow Robot
108222ef72
Merge pull request #109279 from pohly/fstype-csi-ephemeral
...
storage e2e: set fstype for CSI ephemeral inline volumes
2022-05-03 19:30:39 -07:00
Kubernetes Prow Robot
b1cdb660b4
Merge pull request #109270 from liggitt/cleanup-test-cmd-exit
...
test-cmd: Reorder process shutdown and exit immediately in cleanup
2022-05-03 19:30:23 -07:00
Kubernetes Prow Robot
05e3919b45
Merge pull request #109016 from klueska/refactor-devicemanager
...
Refactor all device-plugin logic into separate 'plugin' package under the devicemanager
2022-05-03 18:24:12 -07:00
Kubernetes Prow Robot
a19f8776ce
Merge pull request #108789 from kidlj/fix_pkg_name_mismatches
...
e2e/cleanup: fix package name and dir name mismatches
2022-05-03 18:23:55 -07:00
Kubernetes Prow Robot
9ebaeaa929
Merge pull request #108503 from ehashman/stable-metrics-label
...
Update OWNERS file for stable metrics
2022-05-03 18:23:39 -07:00
Kubernetes Prow Robot
7d3fd15200
Merge pull request #108409 from 249043822/br-e2e-ciro
...
Add pod status info log for e2e creating pods failure
2022-05-03 18:23:19 -07:00
Kubernetes Prow Robot
743238e951
Merge pull request #108048 from aojea/custom_etcd_integration
...
integration: custom etcd gracefully termination
2022-05-03 17:18:48 -07:00
Kubernetes Prow Robot
6ffd13f460
Merge pull request #107819 from matthyx/107505
...
Replace dbus-send for fake PrepareForShutdown message
2022-05-03 17:18:39 -07:00
Kubernetes Prow Robot
70ca1dbb81
Merge pull request #107444 from sayaoailun/master
...
fix comment of e2e test case garbage_collector
2022-05-03 17:18:23 -07:00
Kubernetes Prow Robot
f0cd3725d3
Merge pull request #101835 from sanposhiho/scheduler_perf/feature/op-sleep
...
scheduler_perf: create sleep operation
2022-05-03 17:17:11 -07:00
Kubernetes Prow Robot
ea7c57b2ee
Merge pull request #99685 from yangjunmyfm192085/run-test24
...
Fix misspelling of success.
2022-05-03 17:16:47 -07:00
Saikat Roychowdhury
c208a7b753
honor the framework delete timeout for pv
2022-05-03 17:20:10 +00:00
Francesco Romani
017998e889
e2e: node: explicit skip for device plugin tests
...
The device plugin e2e tests where failing lately and to unblock the
release a skip was added in the prow job configuration:
71cf119c84/config/jobs/kubernetes/sig-node/sig-node-presubmit.yaml (L401)
The problem here is not only the broken test which need to be
fixed, but also the fact that this is the only skip (for a specific
test) we do this way, which is surprising (xref:
https://github.com/kubernetes/kubernetes/issues/106635#issuecomment-1105627265 )
As next step towards improvement, we add an explicit skip in the tests
proper. This makes at least more obvious these tests need more work,
and allow us to remove the edge case in the prow configuration.
Signed-off-by: Francesco Romani <fromani@redhat.com>
2022-05-03 18:44:11 +02:00
Wojciech Tyczyński
04b77f02ee
Minor cleanup to use t.Run() in test/integration
2022-05-02 21:13:32 +02:00
Lukasz Szaszkiewicz
8dea7ea27e
hardens integration serviceaccount tests
...
the serviceAccountController controller used by the tests must wait for the caches to sync
since the tests don't check /readyz there is no way
the tests can tell it is safe to call the server and requests won't be rejected
2022-05-02 17:33:50 +02:00
Kevin Klues
f6eaa25b71
Move DevicePluginStub implementation into new plugin package
...
Signed-off-by: Kevin Klues <kklues@nvidia.com>
2022-04-29 10:52:37 +00:00
Stanislav Laznicka
914a2a325a
auth e2e: node_authn test: don't expect a SA secret
...
The test was expecting an SA token in a secret but pods are getting
their SA tokens via projected volumes by default. Also, the SA token
controller function is getting reduced so the original check is likely
to fail.
2022-04-29 11:16:16 +02:00
Sergey Kanzhelev
4eb2c570f7
check for the test duraiton to make NodeProblemDetector test reliable in long running environments
2022-04-28 22:05:55 +00:00
Wei Huang
846ebf7814
Cleanup legacy scheduler perf tests
2022-04-27 09:57:17 -07:00
sanposhiho
b7b94b6b39
scheduler_perf: create sleep operation
2022-04-25 23:02:09 +00:00
Patrick Ohly
2664740043
e2e: move feature gate support from test/e2e to test/e2e_node
...
The test/e2e suite has never supported feature gates:
- it cannot discover at runtime how the cluster is configured
- its --feature-gates parameter had no effect
Despite that, tests were written that used
e2eskipper.SkipUnlessFeatureGateEnabled even though that function then only
checked the default feature gate state. To catch such mistakes, e2e tests
suites now must explicitly enable feature gate checking via
e2eskipper.InitFeatureGates. They also must register their own command line
flag. When that is not done, then using SkipUnlessFeatureGateEnabled or
SkipIfFeatureGateEnabled leads to a test failure.
test/e2e_node does both and therefore continues to work as before.
2022-04-25 15:41:41 +02:00
Patrick Ohly
12990dec40
e2e: remove useless SkipUnlessFeatureGateEnabled
...
These SkipUnlessFeatureGateEnabled are useless because:
- the tests run in test/e2e where feature gates always
have their default state
- CSIMigration, SizeMemoryBackedVolumes and ExecProbeTimeout are
all enabled by default (beta resp. GA)
2022-04-25 15:41:25 +02:00
Abhijit Hoskeri
49dc59873b
e2e_node/{service,util}: use kubelet healthz port.
...
The readonly port could be disabled.
Since we are only using the /healthz endpoint,
we can use the healthz port for this.
Change-Id: Ie0e05a5ab4ec6f51e4d3c63226aa23c1b3a69956
2022-04-22 16:14:31 -07:00
Jonathan Dobson
f369b1234a
e2e: add storage capability for offline volume expansion
2022-04-21 14:49:18 -06:00
Philip Ottesen
ff8801d12b
tests: adding integration test for rollout status
2022-04-21 11:21:13 -04:00
Aldo Culquicondor
12568860cb
Test Foreground deletion in job integration
...
Change-Id: Ia6e86da5e66422fdb653c1ee60864a1c79233ea6
2022-04-20 16:39:10 -04:00
Aldo Culquicondor
f2c8030845
Integration test for backoff limit and finalizers
...
Change-Id: Ic231ce9a5504d3aae4191901d7eb5fe69bf017ac
2022-04-20 16:39:09 -04:00
Danielle Lancashire
d6c184084c
sig-node: endocrimes as e2e_node approver
2022-04-20 17:12:09 +00:00
Danielle Lancashire
0e0e3113e2
e2e_node: remote runner: Require containerd/crio
2022-04-20 16:49:29 +00:00
Danielle Lancashire
7151ff8d5c
e2e_node: remove jenkins docker_validation
2022-04-20 16:16:57 +00:00
Danielle Lancashire
3e0041b5b9
e2e_node: remove copy-e2e-image.sh
...
This script is unused, and the project that was formerly used for e2e
node images is in the process of being removed.
2022-04-20 16:15:25 +00:00
Danielle Lancashire
d90ba453ce
e2e_node: remove unused jenkins runner script
2022-04-20 16:15:15 +00:00
Danielle Lancashire
8333bcc6ab
e2e_node: remove unused jenkins/coreos-init.json
2022-04-20 16:11:36 +00:00
Sergey Kanzhelev
462e1ae7f9
fix the image for node performance tests - model expected tensorflow version <1.9
...
Change-Id: I116cc38eac20f7cdafb975c88ee9a0e7ec667861
2022-04-20 00:14:21 +00:00
sanposhiho
6e0da69632
Replace scheduler_e2e_scheduling_duration_seconds with scheduler_scheduling_attempt_duration_seconds in scheduler_perf
2022-04-20 00:48:12 +09:00
Wojciech Tyczyński
73da6d15f9
Fix TestPriorityLevelIsolation concurrency issue
2022-04-19 15:59:14 +02:00
Wojciech Tyczyński
e95f8f2e42
Clean apiserver shutdown in integration tests
2022-04-19 15:59:13 +02:00
Wojciech Tyczyński
0527a0dd45
Cleanup rest storage resources on shutdown
2022-04-19 15:59:13 +02:00
Davanum Srinivas
a48aac46f8
Disable Intree GCE PD tests by default
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-04-19 09:22:51 -04:00
Stephen Heywood
18d33db623
Promote e2e job lifecycle test to Conformance
2022-04-19 09:35:27 +12:00
Antonio Ojea
1756fe60d4
integration: custom etcd gracefully termination
...
when running integration tests without an external etcd, the framework
spawns an etcd instance executing it in its own process and killing
it once the test stops.
Instead of killing it directly, allow etcd to exit gracefully or kill
it after 5 seconds.
2022-04-18 19:09:38 +02:00
Léiyì Zhang
4a314b9d56
fixed incorrect tag on volume cloning test case
2022-04-15 21:20:12 +00:00
Kubernetes Prow Robot
a750d8054a
Merge pull request #109487 from alculquicondor/disable-job-tracking
...
Disable JobTrackingWithFinalizers due to unresolved bug
2022-04-15 06:43:09 -07:00
Zhecheng Li
b4a3750912
[e2e][azure] Make internalStaticIP flexible
...
Now, internalStaticIP is hard-coded to "10.240.11.11". Such IP works
for aks-engine cluster but not for CAPZ ones (node-subnet 10.1.0.0/16)
Signed-off-by: Zhecheng Li <zhechengli@microsoft.com>
2022-04-15 10:08:36 +08:00
Aldo Culquicondor
3b18613be8
Disable JobTrackingWithFinalizers due to unresolved bug
...
Change-Id: Ieeeab689ae51dfe0dc06bdca88519d0ecf66d636
2022-04-14 15:08:14 -04:00
Kubernetes Prow Robot
8dfdbd406b
Merge pull request #109473 from ii/fix-job-lifecycle-test
...
Fix crash in E2E Job lifecycle test when the job doesn't have annotations
2022-04-14 11:17:35 -07:00
Stephen Augustus
3f85937b11
etcd: Update to v3.5.3
...
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2022-04-13 19:04:00 -04:00
Stephen Augustus
cddd83c997
Update Debian base images
...
- debian-base:bullseye-v1.2.0
- debian-iptables:bullseye-v1.3.0
- setcap:bullseye-v1.2.0
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2022-04-13 16:23:54 -04:00
cpanato
2e9d10e8c6
Update Go to 1.18.1
...
Signed-off-by: cpanato <ctadeu@gmail.com>
2022-04-13 16:44:21 +02:00
Kubernetes Prow Robot
4cdeab4696
Merge pull request #109436 from JamesLaverack/revert-108290
...
Revert "Introduce APIs to support multiple ClusterCIDRs (#108290 )"
2022-04-13 07:02:46 -07:00
James Laverack
7d57d5c70d
Revert "Introduce APIs to support multiple ClusterCIDRs ( #108290 )"
...
This reverts commit b9792a9dae
.
2022-04-13 13:58:19 +01:00
Stephen Heywood
931ad8944d
Fix e2e test, assignment to entry in nil map
2022-04-13 15:24:47 +12:00
Abdullah Gharaibeh
6d499ee9ea
Correct event registration for multiple scheduler plugins.
2022-04-12 18:32:24 -04:00
Kevin Delgado
581ac7f446
Add Apply and ApplyStatus methods to dynamic ResourceInterface
2022-04-12 21:55:40 +00:00
Abhijit Hoskeri
ea6e653db1
conformance-test: use kubelet healthz port.
...
The readonly port could be disabled.
Since we are only using the /healthz endpoint,
we can use the healthz port.
Change-Id: If004f2888ca5847b9e2d8c02d5615bed52d94b24
2022-04-11 16:57:29 -07:00
Davanum Srinivas
984037d4f7
Set default flake attempt to 1 (not 2)
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-04-10 20:24:17 -04:00
Elana Hashman
eb540aaa4a
Update OWNERS file for stable metrics
2022-04-07 13:22:39 -07:00
Aldo Culquicondor
77d9243623
Retry Job update on conflict
...
Once JobReadyPods is enabled, the Job status might be updated at a later stage after the pods are running.
Change-Id: I4c13c9e55ab7e11b1f9428d6cf0a560a41be1c6a
2022-04-07 09:38:20 -04:00
Fabio Bertinatto
5ccef5c25e
test/e2e/storage: replace hardcoded value with custom timeout in cleanup routine
2022-04-06 14:25:40 -03:00
Jordan Liggitt
e570744ca9
Revert "add test to dry-run for unwanted generated values"
...
This reverts commit 48994c1518
.
2022-04-06 12:34:49 -04:00
Jordan Liggitt
adb7621919
Revert "remove unwanted values returned from dry-run"
...
This reverts commit 60c1d58d02
.
2022-04-06 12:34:42 -04:00
kerthcet
fbf07e989c
fix: forget to call close() in error
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-04-06 22:21:23 +08:00
James Sturtevant
3d09201dbd
Disable node->pod tests for Windows
2022-04-05 16:17:13 -07:00
Kubernetes Prow Robot
8cd689e40d
Merge pull request #109283 from s-urbaniak/ratchet-e2e
...
test/e2e/framework: use restricted policy by default, default existing tests to privileged
2022-04-05 14:37:25 -07:00
Kubernetes Prow Robot
25fa92cd7d
Merge pull request #109314 from SergeyKanzhelev/properRetryInSSH
...
fix the retry logic in ssh in test framework
2022-04-05 13:34:01 -07:00
Kubernetes Prow Robot
66369f47ec
Merge pull request #109294 from Riaankl/NetworkPolicyStatus_endpoints
...
Add NetworkPolicyStatus to ineligible_endpoints.yaml
2022-04-05 13:33:49 -07:00
Kubernetes Prow Robot
a1a9dc066c
Merge pull request #109256 from chendave/nullpointer
...
Fix the nil pointer dereference for comformance spec validation
2022-04-05 13:33:37 -07:00
Kubernetes Prow Robot
5163909f64
Merge pull request #108867 from pohly/storage-capacity-conformance
...
storage capacity conformance
2022-04-05 13:33:24 -07:00
Sergey Kanzhelev
ee80dd19db
fix the retry logic in ssh in test framework
2022-04-05 17:14:58 +00:00
Kubernetes Prow Robot
c13d3369d5
Merge pull request #109267 from ii/promote-job-status-test
...
Promote Read, Replace, Patch BatchV1NamespacedJobStatus test - +3 endpoints
2022-04-05 08:23:49 -07:00
xin.li
e0496cee62
Modify function parameters
...
Signed-off-by: xin.li <xin.li@daocloud.io>
2022-04-05 22:05:39 +08:00
Sergiusz Urbaniak
1495c9f2cd
test/e2e/*: default existing tests to privileged pod security policy
...
This is to ensure that all existing tests don't break when defaulting
the pod security policy to restricted in the e2e test framework.
2022-04-05 08:41:12 +02:00
Kubernetes Prow Robot
71cf2ea2da
Merge pull request #108664 from mkimuram/e2e-anyvolumedatasource
...
Add initial E2E tests for `AnyVolumeDatasource` feature
2022-04-04 14:35:36 -07:00
Riaan Kleinhans
a4a6d70168
Add NetworkPolicyStatus to ineligible list
2022-04-05 07:36:38 +12:00
Jordan Liggitt
7de6100dae
Expand cmd tests of modifying schema-declaring custom resources
2022-04-04 13:51:15 -04:00
Jordan Liggitt
f12d001b20
Revert "Adjust testing for server-side validation as default"
...
This reverts commit f234cb142a
.
2022-04-04 12:26:51 -04:00
Masaki Kimura
cd634b59ac
Implement initial E2E test for AnyVolumeDataSource
2022-04-04 16:10:39 +00:00
Kubernetes Prow Robot
a315ec3388
Merge pull request #108590 from claudiubelu/tests/enable-windows-tests
...
tests: Enables a few Conformance tests for Windows (part 1)
2022-04-04 08:56:11 -07:00
Sergiusz Urbaniak
f578b9a40d
test/e2e/framework: use restricted policy by default
2022-04-04 13:58:59 +02:00
Pavel Beschetnov
7da800f822
Only log requests for configured consumptions in ResourceConsumer
2022-04-04 11:28:01 +00:00
Patrick Ohly
c681ff2320
storage e2e: set fstype for CSI ephemeral inline volumes
...
This doesn't affect in-tree testing, but some out-of-tree usage of the
pre-defined test patterns with non-default fstype.
2022-04-04 10:09:43 +02:00
Patrick Ohly
556794d469
storage capacity: promote CRUD test to conformance
2022-04-04 07:53:05 +02:00
Jordan Liggitt
2a30f1c31b
Reorder process shutdown in test-cmd and exit immediately
2022-04-03 22:40:30 -04:00
Stephen Heywood
c709baa9a0
Promote e2e job status test to Conformance
2022-04-04 13:22:57 +12:00
Dave Chen
1b5d8b0b9b
Fix the nil pointer dereference for comformance spec validation
...
`verify-conformance-yaml.sh` is used to verify the test spec of
conformance e2e test are valid.
Bascically, it calls `e2e.test` binary to dump the test spec and
then walk the source to generate the `conformance.yaml`.
If the `e2e.test` binary is outdated, it's possible that `testInfo`
is nil.
Access the field from nil will result to `nil pointer dereference`
Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-04-02 16:53:39 +08:00
Kubernetes Prow Robot
8e0ac5b6a1
Merge pull request #109222 from pacoxu/flake-nfs
...
use privileged enforce level for nfs test
2022-04-01 21:22:22 -07:00
Paco Xu
fc186d5616
use privileged enforce level for nfs test
2022-04-01 15:22:34 +08:00
Maciej Wyrzuc
1108bed763
Revert "Field status.hostIPs
added for Pod ( #101566 )"
...
This reverts commit 61b3c028ba
.
2022-03-31 12:39:45 +00:00
Sarvesh Rangnekar
b9792a9dae
Introduce APIs to support multiple ClusterCIDRs ( #108290 )
...
* Introduce networking/v1alpha1 api, ClusterCIDRConfig type
Introduce networking/v1alpha1 api group.
Add `ClusterCIDRConfig` type to networking/v1alpha1 api group, this type
will enable the NodeIPAM controller to support multiple ClusterCIDRs.
* Change ClusterCIDRConfig.NodeSelector type in api
* Fix review comments for API
* Update ClusterCIDRConfig API Spec
Introduce PerNodeHostBits field, remove PerNodeMaskSize
2022-03-30 19:39:00 -07:00
Kubernetes Prow Robot
8b158fa730
Merge pull request #108953 from nckturner/remove-insecure-serving
...
Remove the deprecated insecure serving from the cloud controller manager
2022-03-30 18:03:00 -07:00
Kubernetes Prow Robot
e4690b0fbc
Merge pull request #109123 from dims/switch-to-pause-3.7
...
Switch to pause 3.7 for Kubernetes 1.24
2022-03-29 20:37:39 -07:00
Kubernetes Prow Robot
9e65ee3908
Merge pull request #109097 from pacoxu/fix-sig-node-failures
...
remove baseline pod security in host pid sharing testing
2022-03-29 20:36:37 -07:00
Kubernetes Prow Robot
904c30562a
Merge pull request #109031 from Jefftree/openapiv3beta
...
OpenAPI V3 Enable Beta
2022-03-29 20:36:25 -07:00
Kubernetes Prow Robot
0c5574c2a3
Merge pull request #108745 from aramase/aes-gcm
...
feat: prepare KMS data encryption for migration to AES-GCM
2022-03-29 19:28:25 -07:00
Jefftree
67d3dbfaae
Separate OpenAPI V2 and V3 Config
2022-03-29 17:49:56 -07:00
Anish Ramasekar
90b42f91fd
feat: prepare KMS data encryption for migration to AES-GCM
...
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
Co-authored-by: Monis Khan <mok@vmware.com>
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2022-03-30 00:37:42 +00:00
Kubernetes Prow Robot
5b8dbfbbcf
Merge pull request #108995 from pohly/log-contextual
...
contextual logging
2022-03-29 17:35:59 -07:00
Kubernetes Prow Robot
4b3ddcf793
Merge pull request #108909 from saschagrunert/wip-crio
...
Inject SSH public key into CRI-O serial prow jobs
2022-03-29 17:35:42 -07:00
Kubernetes Prow Robot
b0254c8a0b
Merge pull request #108758 from fengzixu/improvement-volume-health
...
re-push "add volume kubelet_volume_stats_health_abnormal to kubelet #105585 "
2022-03-29 17:35:34 -07:00
Kubernetes Prow Robot
9fe98d8bab
Merge pull request #108736 from NetApp/any-volume-data-source-beta
...
Update AnyVolumeDataSource feature gate to beta
2022-03-29 17:35:25 -07:00
Kubernetes Prow Robot
57a739bdf2
Merge pull request #108691 from andrewsykim/proxy-terminating-endpoints
...
Apply ProxyTerminatingEndpoints to all traffic policies
2022-03-29 17:34:57 -07:00
Kubernetes Prow Robot
dd1e43332a
Merge pull request #107476 from alculquicondor/job-ready
...
Graduate JobReadyPods to beta
2022-03-29 16:08:06 -07:00
Davanum Srinivas
f7ad09c447
Switch to pause 3.7
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-03-29 15:36:38 -04:00
Shiming Zhang
61b3c028ba
Field status.hostIPs
added for Pod ( #101566 )
...
* Add FeatureGate PodHostIPs
* Add HostIPs field and update PodIPs field
* Types conversion
* Add dropDisabledStatusFields
* Add HostIPs for kubelet
* Add fuzzer for PodStatus
* Add status.hostIPs in ConvertDownwardAPIFieldLabel
* Add status.hostIPs in validEnvDownwardAPIFieldPathExpressions
* Downward API support for status.hostIPs
* Add DownwardAPI validation for status.hostIPs
* Add e2e to check that hostIPs works
* Add e2e to check that Downward API works
* Regenerate
2022-03-29 11:46:07 -07:00
Ben Swartzlander
08948ca779
Update AnyVolumeDataSource feature gate to beta
...
Default to enabled
Fix validation of null-updates/patches when the "old" PVC was persisted by
an older version. Add upgrade integration tests written by liggitt.
2022-03-29 13:39:48 -04:00
Andrew Sy Kim
50d93f7cec
test/utils/image: use agnhost image agnhost:2.36 to include --delay-shutdown flag
...
Signed-off-by: Andrew Sy Kim <andrewsy@google.com>
2022-03-29 11:37:43 -04:00
Andrew Sy Kim
01c178c9de
test/e2e/network: add e2e tests for ProxyTerminatingEndpoints
...
Signed-off-by: Andrew Sy Kim <andrewsy@google.com>
2022-03-29 11:37:43 -04:00
Aldo Culquicondor
8c00f510ef
Graduate JobReadyPods to beta
...
Set podUpdateBatchPeriod to 1s
Change-Id: I8a10fd8f8559adad9df179b664b8c82851607855
2022-03-29 10:07:41 -04:00
Patrick Ohly
b390d018c7
logs: pass verbosity to loggers
...
When a Logger gets called directly via contextual logging, it has to do its own
verbosity check and therefore needs to know what the intended verbosity level
is.
This used to work previously because all verbosity checks were done in klog
before invoking the Logger.
2022-03-29 12:06:40 +02:00
Ricardo Katz
42a1201082
Implementation on Network Policy Status ( #107963 )
...
* Implement status subresource in NetworkPolicy
* add NetworkPolicyStatus generated files
* Fix comments in netpol status review
2022-03-29 01:52:48 -07:00
Paco Xu
4e96009c15
use privileged enforce level in host pid sharing testing
2022-03-29 15:51:33 +08:00
Kubernetes Prow Robot
fe8a663860
Merge pull request #109029 from ehashman/runc-1.1.0
...
Dep bump to runc 1.1.0, cadvisor 0.44.0
2022-03-28 22:45:10 -07:00
Kubernetes Prow Robot
874d4bff43
Merge pull request #108990 from jpbetz/per-crd
...
CRD CEL Validation: per-CRD estimated cost limit enforcement
2022-03-28 16:53:11 -07:00
Kir Kolyshkin
37761a329e
pkg/kubelet: changes to update runc to 1.1.0
...
The changes (mostly in pkg/kubelet/cm) are there to adopt changed
runc 1.1 API, and simplify things a bit. In particular:
1. simplify cgroup manager instantiation, using a new, easier way of
libcontainers/cgroups/manager.New;
2. replace libcontainerAdapter with a boolean variable (all it did
was passing on whether systemd manager should be used);
3. trivial change due to removed cgroupfs.HugePageSizes and added
cgroups.HugePageSizes();
4. do not calculate cgroup paths in update / destroy, since libcontainer
cgroup managers now calculate the paths upon creation (previously,
they were doing that only in Apply, so using e.g. Set or Destroy right
after creation was impossible without specifying paths).
We currently still calculate cgroup paths in Exists -- this is to be
addressed separately.
Co-Authored-By: Elana Hashman <ehashman@redhat.com>
2022-03-28 16:23:20 -07:00
Kubernetes Prow Robot
ef45c99506
Merge pull request #109025 from alculquicondor/smaller-job-integration-load
...
Reduce number of pods in Job+GC tests
2022-03-28 15:23:56 -07:00
Joe Betz
ff3d67d76a
Enfoce per-CRD estimated cost limit
2022-03-28 17:33:16 -04:00
Kubernetes Prow Robot
ea0dc6ed41
Merge pull request #108889 from kevindelgado/validation-beta-flag
...
ServerSideFieldValidation Beta Graduation
2022-03-28 14:20:12 -07:00
Kubernetes Prow Robot
e41350790f
Merge pull request #108612 from DangerOnTheRanger/cel-crd-maxlength
...
Calculate CEL cost totals
2022-03-28 14:20:03 -07:00
Kubernetes Prow Robot
b053c91fb6
Merge pull request #106454 from s-urbaniak/psa-e2e
...
test/e2e: let e2e tests configure namespace labels
2022-03-28 14:19:43 -07:00
Kermit Alexander
7e66bd2057
Add per-CRD cost evaluation.
2022-03-28 16:08:13 +00:00
Kubernetes Prow Robot
36142cc0b7
Merge pull request #106678 from bertinatto/azure-file-e2e
...
Add storage tests for Azure File in-tree storage plugin
2022-03-28 06:43:34 -07:00
Sergiusz Urbaniak
373c08e0c7
test/e2e/framework: configure pod security admission level for e2e tests
2022-03-28 15:42:10 +02:00
Sergiusz Urbaniak
e06e6771ef
test/e2e/framework: add pod security admission configuration
2022-03-28 15:42:04 +02:00
Kevin Delgado
f234cb142a
Adjust testing for server-side validation as default
2022-03-28 04:11:27 +00:00
Nick Turner
18ce801bea
Remove the deprecated insecure serving from the cloud controller manager
2022-03-27 00:15:24 +00:00
Kubernetes Prow Robot
922faa5646
Merge pull request #109053 from liggitt/pod-conformance
...
Improve debug output in pod conformance test failures
2022-03-26 13:43:27 -07:00
Kubernetes Prow Robot
58c975a083
Merge pull request #109048 from aojea/integration_subtests
...
Integration subtests
2022-03-26 13:43:20 -07:00
Kubernetes Prow Robot
5281d51c44
Merge pull request #108642 from ii/create-job-lifecycle-test
...
Write Batchv1JobLifecycleTest + 4 Endpoints
2022-03-26 10:37:28 -07:00
Jordan Liggitt
f9db31dbcc
Improve debug output in pod conformance test failures
2022-03-26 13:00:31 -04:00
Kubernetes Prow Robot
9568dca969
Merge pull request #109039 from mkimuram/issue/109037
...
Use WaitForPodRunningInNamespace for proxy e2e tests
2022-03-26 04:35:21 -07:00
Antonio Ojea
d2ca66651d
refactor apiserver tests
2022-03-26 10:20:27 +01:00
Antonio Ojea
ddadc9a0bb
reorganize controlplane integration tests
2022-03-26 09:19:55 +01:00
Antonio Ojea
d9bac2efb9
reduce parallelism on daemonset tests
2022-03-26 09:14:53 +01:00
Kevin Delgado
b0f3b5a796
Adjust validation checks to pass for both client-side and server-side validation
2022-03-26 03:45:13 +00:00
Kevin Delgado
0bb1a32411
Expand newly created cmd-test
...
Modify newly created cmd-test to work for both
client-side and server-side validation
2022-03-26 03:45:13 +00:00
Kevin Delgado
fe3772890f
add server-side validation support to kubectl
2022-03-26 03:45:13 +00:00
Kubernetes Prow Robot
6c73b674d7
Merge pull request #109030 from liggitt/revert-apf-ssa
...
Revert "Revert "Merge pull request #107797 from tkashem/revert-107456""
2022-03-25 19:17:58 -07:00
Kubernetes Prow Robot
6efd6582df
Merge pull request #109006 from andrewsykim/kubelet-cred-provider-e2e-beta
...
test/e2e_node: update kubelet credential provider tests to use new v1beta1 APIs
2022-03-25 18:08:24 -07:00
Kubernetes Prow Robot
c239b406f0
Merge pull request #108929 from gnufied/move-expansion-feature-gate-ga
...
Move all volume expansion feature gates to GA
2022-03-25 18:08:16 -07:00
Kubernetes Prow Robot
0a63090445
Merge pull request #108859 from cici37/placeholder
...
Return a placeholder error for blocking failures and skip CEL validation.
2022-03-25 18:07:58 -07:00
Kubernetes Prow Robot
91d3afc948
Merge pull request #108899 from jsturtevant/windows-gmsa-deployment
...
Windows gmsa e2e: Don't assume bash is avaliable for webhook deployment
2022-03-25 15:34:45 -07:00
Masaki Kimura
52afdc6259
Use WaitForPodRunningInNamespace for proxy e2e tests
2022-03-25 21:24:59 +00:00
Jordan Liggitt
363a8beaab
Revert "Revert "Merge pull request 107797 from tkashem/revert-107456""
...
This reverts commit b0b460921b
.
2022-03-25 14:36:10 -04:00
Stephen Heywood
a1f6b7b7ec
Create job lifecycle e2e test
...
The test validates the following endpoints
- deleteBatchV1CollectionNamespacedJob
- listBatchV1JobForAllNamespaces
- patchBatchV1NamespacedJob
- replaceBatchV1NamespacedJob
2022-03-26 06:58:38 +13:00
Aldo Culquicondor
cd9fd12960
Reduce number of pods in Job+GC tests
...
To reduce the load of the integration tests. This change reduces the runtime of each test in half.
Change-Id: I71bcaadf3809643c63bb0f6b73c28778d37d8967
2022-03-25 13:01:50 -04:00
Hemant Kumar
5e49fb067f
Fix flexvolume online resizing tests
2022-03-25 12:52:49 -04:00
Fabio Bertinatto
9e4fa29982
Fix max file size in Azure File tests
2022-03-25 08:56:56 -03:00
Fabio Bertinatto
dafa0e178d
Fix volume creation and deletion of Azure File tests
2022-03-25 08:56:56 -03:00
Fabio Bertinatto
b5cff9219d
Add storage tests for Azure File in-tree storage plugin
2022-03-25 08:56:56 -03:00
Kubernetes Prow Robot
4348c8ecaf
Merge pull request #108752 from alculquicondor/job-orphan-pods
...
Fix: Clean job tracking finalizer from orphan pods
2022-03-25 03:21:51 -07:00
cici37
460121fa1e
Return a placeholder error for blocking failure before CEL validation.
2022-03-25 01:19:31 -07:00
Sascha Grunert
57a3ce1a3e
Inject SSH public key into CRI-O serial prow jobs
...
This allows using the `GCE_SSH_PUBLIC_KEY_FILE_CONTENT` placeholder to
inject the public SSH key for running the tests.
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2022-03-25 08:23:57 +01:00
Kubernetes Prow Robot
d58f42961c
Merge pull request #99556 from nikhita/kubectl-subresources-01
...
kubectl: support --subresource flag
2022-03-24 23:43:50 -07:00
Kubernetes Prow Robot
cee5e9f406
Merge pull request #108892 from mkimuram/issue/108891
...
e2e: deflake "should run through the lifecycle of Pods and PodStatus"
2022-03-24 22:08:01 -07:00
Kubernetes Prow Robot
ef404e989d
Merge pull request #108073 from benluddy/cel-transition-rule-oldself-plumbing
...
Support CEL CRD validation expressions that reference existing object state.
2022-03-24 22:07:50 -07:00
Andrew Sy Kim
45e6498fc5
test/e2e_node/plugins/gcp-credential-provider: update Test_getCredentials to validate against v1beta1 kubelet APIs
...
Signed-off-by: Andrew Sy Kim <andrewsy@google.com>
2022-03-24 23:29:13 -04:00
Andrew Sy Kim
3600a7a355
test/e2e_node: update test plugin to use v1beta1 kubelet APIs
...
Signed-off-by: Andrew Sy Kim <andrewsy@google.com>
2022-03-24 23:29:06 -04:00
Andrew Sy Kim
ef3c4fb3cd
test/e2e_node: update credential provider config to use v1beta1 kubelet
...
APIs
Signed-off-by: Andrew Sy Kim <andrewsy@google.com>
2022-03-24 23:28:37 -04:00
Kubernetes Prow Robot
bfe649dbc0
Merge pull request #108965 from adisky/add-crdential-flag-to-ubuntu
...
[node e2e] prepend credential provider flags on ubuntu os also
2022-03-24 20:06:05 -07:00
Joe Betz
f71c4d4cf4
Add validation rule tests for transition rules
2022-03-24 21:19:50 -04:00
Ben Luddy
fe38a414f8
Allow and enforce CEL CRD validation rules that reference oldSelf.
...
Co-authored-by: Joe Betz <jpbetz@google.com>
2022-03-24 18:20:51 -04:00
Alex Zielenski
11b3a18cca
Update kube-openapi ( #108895 )
...
* upgrade k8s.io/kube-openapi
* fix open-api v3 blank aggregator output
* use keys as API group
in ./hack/update-openapi-spec.sh
* fix import grouping
* update openapiv3 integration tests
2022-03-24 14:01:01 -07:00
Kubernetes Prow Robot
bd1e7dc3cb
Merge pull request #108817 from KnVerey/kustomize_version
...
Expose the version of Kustomize that Kubectl embeds
2022-03-24 14:00:53 -07:00
James Sturtevant
61af67ef10
Don't assume bash is avaliable for webhook deployment
2022-03-24 13:06:49 -07:00
Kubernetes Prow Robot
2161071d0b
Merge pull request #108919 from denkensk/rename-usQ
...
Rename unschedulableQ to unschedulablePods
2022-03-24 12:18:53 -07:00
Hemant Kumar
ac6ef262df
remove ExpandCSIVolume feature gate
2022-03-24 14:53:00 -04:00
Katrina Verey
44e63e8ff8
kubectl version should include bundled kustomize version
2022-03-24 13:31:57 -04:00
Aldo Culquicondor
1d9e3766d2
Add test for Background delete propagation
...
Change-Id: I033e6fb04933c64cfe6490d1019333745d58c423
2022-03-24 11:57:51 -04:00
Aldo Culquicondor
f72173e4b4
Add integration test for orphan pods when there is GC
...
Change-Id: I04cd70725fd1830be8daf2dca53f67bc10a379b7
2022-03-24 11:57:49 -04:00
Hemant Kumar
cdfb841a52
remove ExpandInUsePersistentVolume feature gate
2022-03-24 11:19:42 -04:00
Hemant Kumar
9343cce20b
remove ExpandPersistentVolume feature gate
2022-03-24 10:02:47 -04:00
Kubernetes Prow Robot
190f974dd8
Merge pull request #108902 from kolyshkin/bump-golangci-lint
...
Fix verify:* after go 1.18 upgrade
2022-03-24 02:59:06 -07:00
Alex Wang
8a5df1302a
rename unschedulableQ to unschedulablePods
...
Signed-off-by: Alex Wang <wangqingcan1990@gmail.com>
2022-03-24 17:38:49 +08:00
Aditi Sharma
51cd36cf80
prepend credential provider flags on ubuntu also
2022-03-24 14:08:41 +05:30
Kubernetes Prow Robot
96aa41513e
Merge pull request #107859 from ravisantoshgudimetla/promote-PodOS-beta
...
Promote PodOS field to beta
2022-03-24 00:14:41 -07:00
Kubernetes Prow Robot
99e36a93b2
Merge pull request #108781 from SergeyKanzhelev/conformanceruntimeClass
...
RuntimeClass and PodOverhead tests promotion to Conformance
2022-03-23 22:31:41 -07:00
Kubernetes Prow Robot
bb67b5e9e8
Merge pull request #108717 from lavalamp/remove-clustername
...
Remove ClusterName
2022-03-23 22:31:33 -07:00
Kubernetes Prow Robot
8168c68bb6
Merge pull request #108522 from SergeyKanzhelev/grpcToBeta
...
promote grpcProbes to beta
2022-03-23 22:31:05 -07:00
Kubernetes Prow Robot
7ae9615760
Merge pull request #108114 from ii/test-job-status
...
Write Read, Replace, Patch BatchV1NamespacedJobStatus test - +3 endpoint coverage
2022-03-23 22:30:41 -07:00
Yuvaraj Kakaraparthi
a5aa858d44
kubectl: add --support to get, patch, edit and replace commands
...
Co-authored-by: Nikhita Raghunath <nikitaraghunath@gmail.com>
2022-03-24 09:49:12 +05:30
Kubernetes Prow Robot
f97825e1ce
Merge pull request #107395 from alculquicondor/indexed-job
...
Graduate IndexedJob to stable
2022-03-23 17:44:41 -07:00
Kubernetes Prow Robot
2249708b5d
Merge pull request #108862 from mmiranda96/fix/stats_summary_ubuntu
...
Increase timeout for stats/summary check
2022-03-23 13:22:43 -07:00
Kubernetes Prow Robot
da88853f9d
Merge pull request #108651 from andrewsykim/node-e2e-cred-provider
...
test/e2e_node: add kubelet credential provider tests
2022-03-23 13:22:18 -07:00
Kubernetes Prow Robot
7dde0b4bb5
Merge pull request #108342 from tkashem/rate-limit-error
...
client-go: chain the error returned by rate limiter
2022-03-23 13:21:43 -07:00
Kubernetes Prow Robot
9fbe66a486
Merge pull request #103516 from ykakarap/kubectl-subresources-apiserver
...
kubectl: apiserver changes to add --subresource support
2022-03-23 13:21:32 -07:00
Kubernetes Prow Robot
2d46f1bc30
Merge pull request #103062 from ikeeip/component_helper_storage
...
Move volume helpers to "k8s.io/component-helpers/storage/volume".
2022-03-23 13:21:20 -07:00
Kubernetes Prow Robot
14e8db067e
Merge pull request #108191 from ravisantoshgudimetla/wire-cert-contexts
...
Wire cert contexts
2022-03-23 11:20:17 -07:00
Masaki Kimura
41570eb02d
e2e: deflake "should run through the lifecycle of Pods and PodStatus"
2022-03-23 17:47:15 +00:00
Kir Kolyshkin
d8fdb00b34
Fix verify: generated-stable-metrics wrt go 1.18
...
This should fix the following error when running
./hack/update-generated-stable-metrics.sh:
'go get' is no longer supported outside a module.
To build and install a command, use 'go install' with a version,
like 'go install example.com/cmd@latest'
For more information, see https://golang.org/doc/go-get-install-deprecation
or run 'go help get' or 'go help install'.
Using `go get` to download gopkg.in/yaml.v2 package into
KUBE_EXTRA_GOPATH directory no longer works. Interestingly, main repo
already has gopkg.in/yaml.v2@v2.4.0, same version that was installed by
that go get.
I guess that GOPATH with multiple elements no longer works either,
and since this code was the only user of KUBE_EXTRA_GOPATH, let's remove
it as well.
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2022-03-23 10:19:59 -07:00
Kir Kolyshkin
4513de06a8
Regen mocks using go 1.18
...
Generated by ./hack/update-mocks.sh using go 1.18
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2022-03-23 10:19:38 -07:00
Kir Kolyshkin
8820f4d381
TestWatchRestartsIfTimeoutNotReached: fix
...
This fixes the following error:
> test/integration/apimachinery/watch_restart_test.go:232:5: call to (*T).Fatalf from a non-test goroutine
Update: the previous fix (commit 1ce55e3afe
that uses panic)
looks way too severe; it seems it is enough to call t.Errorf and return
from goroutine. The test will time out and fail anyway.
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2022-03-23 10:19:38 -07:00
Daniel Smith
2831f9a343
remove unneeded references
2022-03-23 15:26:38 +00:00
Kubernetes Prow Robot
24a71990e0
Merge pull request #108445 from pohly/storage-capacity-ga
...
storage capacity GA
2022-03-23 08:06:21 -07:00
Kubernetes Prow Robot
a6e65a246c
Merge pull request #107986 from wzshiming/promote/shutdown-based-on-pod-priority
...
Promote graceful shutdown based on pod priority to beta
2022-03-23 08:06:09 -07:00
Andrew Sy Kim
a4b79590eb
move cluster/gce/gci/credential-provider to test/e2e_node/plugins/gcp-credential-provider
...
Signed-off-by: Andrew Sy Kim <andrewsy@google.com>
2022-03-23 10:30:02 -04:00
Andrew Sy Kim
ddeb1e1352
cluster/gce/gci/credential-provider: add barebones GCP credential provider for testing only
...
Signed-off-by: Andrew Sy Kim <andrewsy@google.com>
Co-authored-by: Aditi Sharma <adi.sky17@gmail.com>
2022-03-23 10:30:01 -04:00
Andrew Sy Kim
758d78a662
test/e2e_node: add a test pulling a private GCR image
...
Signed-off-by: Andrew Sy Kim <andrewsy@google.com>
Co-authored-by: Aditi Sharma <adi.sky17@gmail.com>
2022-03-23 10:30:01 -04:00
Andrew Sy Kim
f440a69c70
test/e2e_node: install and configure kubelet credential provider
...
Signed-off-by: Andrew Sy Kim <andrewsy@google.com>
Co-authored-by: Aditi Sharma <adi.sky17@gmail.com>
2022-03-23 10:30:01 -04:00
Abu Kashem
6acbe7e645
client-go: chain the error returned by rate limiter
2022-03-23 08:29:28 -04:00
Davanum Srinivas
3470453e01
Fix for verify: generated-stable-metrics problem
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-03-23 08:02:53 -04:00
Davanum Srinivas
1ce55e3afe
fix govet on golang 1.18
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-03-23 08:02:53 -04:00
Yuvaraj Kakaraparthi
801c39b478
kubectl: API changes to support --subresource in kubectl
...
Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
Co-authored-by: Nikhita Raghunath <nikitaraghunath@gmail.com>
Co-authored-by: Yuvaraj Kakaraparthi <kakaraparthy@vmware.com>
2022-03-23 11:19:58 +05:30
ravisantoshgudimetla
82f701aae2
pod admission test
2022-03-22 14:58:27 -04:00
Kubernetes Prow Robot
41501c4fcf
Merge pull request #108704 from MartinForReal/feat/add_bootid_for_windows
...
Add bootid support for windows node.
2022-03-22 10:36:11 -07:00
Davanum Srinivas
d8f1da5ecb
golang: Update to 1.18 from 1.18rc1
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-03-22 09:47:35 -04:00
Kubernetes Prow Robot
0b8a665d50
Merge pull request #108613 from Huang-Wei/fix-v1beta3-order
...
Fix a bug that out-of-tree plugin is misplaced when using scheduler v1beta3 config
2022-03-22 01:01:44 -07:00
Patrick Ohly
f5340fdd02
storage capacity: CRUD conformance test
...
This is needed for GA APIs. This one is based on
test/e2e/common/node/runtimeclass.go.
2022-03-22 08:12:56 +01:00
Kubernetes Prow Robot
9a8defda15
Merge pull request #108383 from tkashem/revert
...
Revert the revert of #107456 - "apf: change controller to use SSA for patches"
2022-03-21 22:09:43 -07:00
Kubernetes Prow Robot
0053a0e0fd
Merge pull request #108782 from cfryanr/expirationseconds_conformance
...
Promote CertificateSigningRequest's Spec.ExpirationSeconds field to GA
2022-03-21 20:19:55 -07:00
Kubernetes Prow Robot
7cf5c02980
Merge pull request #107979 from XudongLiuHarold/promote-loadbalancerclass-to-ga
...
Promote load balancer class to GA
2022-03-21 17:54:13 -07:00
Xudong Liu
c8a6c7f338
promote load balancer class to GA
...
Signed-off-by: Xudong Liu <xudongliuharold@gmail.com>
2022-03-21 16:16:13 -07:00
Mike Miranda
44e3280799
Increase timeout for stats check
2022-03-21 22:20:57 +00:00
Stephen Heywood
b5edb55bbc
Create e2e job status test
...
e2e test validates the following 3 extra endpoints
- patchBatchV1NamespacedJobStatus
- readBatchV1NamespacedJobStatus
- replaceBatchV1NamespacedJobStatus
2022-03-22 10:26:44 +13:00
Wei Huang
d330f4dcb4
Fix a bug that out-of-tree plugin is misplaced when using scheduler v1beta3 config
2022-03-21 10:46:26 -07:00
Ryan Richard
e29ac0f8be
Promote CertificateSigningRequest's Spec.ExpirationSeconds field to GA
...
Remove the comment "As of v1.22, this field is beta and is controlled
via the CSRDuration feature gate" from the expirationSeconds field's
godoc.
Mark the "CSRDuration" feature gate as GA in 1.24, lock its value to
"true", and remove the various logic which handled when the gate was
"false".
Update conformance test to check that the CertificateSigningRequest's
Spec.ExpirationSeconds field is stored, but do not check if the field
is honored since this functionality is optional.
2022-03-18 14:41:43 -07:00
David Porter
7ac2896a14
test: increase timeout in pod collection deletion
...
Increase the current timeout of 1 minute for waiting for all pods to be
deleted to avoid flakiness. To avoiding hardcoding a timeout, use the
built in framework's `PodDelete` timeout which defaults to 5 minutes.
While we are in here, also change `framework.PodStartTimeout` to use
`f.Timeouts.PodStart` since `framework.PodStartTimeouts` are marked as
deprecated.
Signed-off-by: David Porter <david@porter.me>
2022-03-18 13:40:29 -07:00
Kubernetes Prow Robot
cd6af9e64b
Merge pull request #106155 from enj/enj/i/webhook_rest_config
...
webhook: use rest.Config instead of kubeconfig file as input
2022-03-18 12:23:56 -07:00
Kubernetes Prow Robot
0ade4678a7
Merge pull request #108771 from andrewsykim/bump-agnhost
...
Bump agnhost@v2.36 to include changes for --delay-shutdown flag
2022-03-18 00:15:17 -07:00
Kubernetes Prow Robot
ad751e8520
Merge pull request #108710 from kevindelgado/ssfv-testing-improvement
...
Exact Matching for Field Validation Integration Tests
2022-03-17 21:21:16 -07:00
Jian Li
c55658cd9f
e2e/cleanup: fix package name and dir name mismatches
2022-03-18 11:41:27 +08:00
MartinForReal
d529b7e10b
add bootid support for windows node.
...
Signed-off-by: MartinForReal <fanshangxiang@gmail.com>
2022-03-18 02:17:52 +00:00
Monis Khan
fef7d0ef1e
webhook: use rest.Config instead of kubeconfig file as input
...
This change updates the generic webhook logic to use a rest.Config
as its input instead of a kubeconfig file. This exposes all of the
rest.Config knobs to the caller instead of the more limited set
available through the kubeconfig format. This is useful when this
code is being used as a library outside of core Kubernetes. For
example, a downstream consumer may want to override the webhook's
internals such as its TLS configuration.
Signed-off-by: Monis Khan <mok@vmware.com>
2022-03-17 20:47:42 -04:00
Kevin Delgado
7983932800
Exact Matching for Field Validation Tests
2022-03-17 22:08:49 +00:00
Sergey Kanzhelev
29e8bef315
RuntimeClass and PodOverhead promotion to GA
2022-03-17 21:49:32 +00:00
Andrew Sy Kim
07ac998e3b
test/images: clarify documentation around bumping test image versions
...
Signed-off-by: Andrew Sy Kim <andrewsy@google.com>
2022-03-17 14:28:41 -04:00
Andrew Sy Kim
9b5b77ac81
test/images/agnhost: bump agnhost to v2.36
...
Signed-off-by: Andrew Sy Kim <andrewsy@google.com>
2022-03-17 11:47:04 -04:00
Kubernetes Prow Robot
9e50a332d8
Merge pull request #108366 from smarterclayton/terminating_not_terminated
...
Delay writing a terminal phase until the pod is terminated
2022-03-17 08:29:21 -07:00
Kubernetes Prow Robot
48ee98fabf
Merge pull request #108757 from liggitt/service-account-conformance
...
Exercise Get of serviceaccount in e2e
2022-03-17 00:41:30 -07:00
Kubernetes Prow Robot
6340b19dda
Merge pull request #108750 from andrewsykim/agnhost-netexec-termination
...
agnhost: support --delay-shutdown flag for the net and netexec subcommands
2022-03-16 18:35:26 -07:00
Kubernetes Prow Robot
a7740c83f2
Merge pull request #108714 from SergeyKanzhelev/podOverheadConformance
...
pod overhead test to be made a Conformance
2022-03-16 18:35:19 -07:00
Kubernetes Prow Robot
5cb6fab8f6
Merge pull request #105585 from fengzixu/improvement-volume-health
...
add volume kubelet_volume_stats_health_abnormal to kubelet
2022-03-17 01:32:38 +00:00
Jordan Liggitt
654dc8686b
Exercise Get of serviceaccount in e2e
2022-03-16 20:24:50 -04:00
Kubernetes Prow Robot
b195a64d45
Merge pull request #108644 from Jefftree/googleapis-gnostic
...
googleapis/gnostic -> google/gnostic and update kube-openapi
2022-03-16 15:14:10 -07:00
Sergey Kanzhelev
6b3758bb95
pod overhead test to be made a Conformance
2022-03-16 21:35:02 +00:00
Kubernetes Prow Robot
52ab081283
Merge pull request #108593 from claudiubelu/tests/update-pod-collection-test
...
tests: Updates the should delete a collection of pods test
2022-03-16 13:50:23 -07:00
Andrew Sy Kim
ff997ae5a0
agnhost/net: support --delay-shutdown flag
...
Signed-off-by: Andrew Sy Kim <andrewsy@google.com>
2022-03-16 16:46:43 -04:00
Andrew Sy Kim
d981aa118f
agnhost/netexec: support --delay-shutdown flag
...
Signed-off-by: Andrew Sy Kim <andrewsy@google.com>
2022-03-16 16:46:43 -04:00
Kubernetes Prow Robot
0b3629ae7d
Merge pull request #108432 from iXinqi/add-write-file-test
...
Add gMSA Reading and Writing Files Test Case
2022-03-16 12:36:10 -07:00
David Porter
d6cd51e5c0
test: Verify that nodes do not transition to Failed while ready
...
Signed-off-by: David Porter <david@porter.me>
2022-03-16 13:15:03 -04:00
David Porter
c70f1955c4
test: Add E2E for job completions with cpu reservation
...
Create an E2E test that creates a job that spawns a pod that should
succeed. The job reserves a fixed amount of CPU and has a large number
of completions and parallelism. Use to repro github.com/kubernetes/kubernetes/issues/106884
Signed-off-by: David Porter <david@porter.me>
2022-03-16 13:15:03 -04:00
Clayton Coleman
ca98714ec0
test: Add E2E for init container pod deletion
...
Exploring termination revealed we have race conditions in certain
parts of pod initialization and termination. To better catch these
issues refactor the existing test so it can be reused, and then test
a number of alternate scenarios.
2022-03-16 13:15:03 -04:00
Maciej Borsz
aa95513982
Revert "add volume kubelet_volume_stats_health_abnormal to kubelet"
2022-03-16 13:44:09 +01:00
Konstantin Misyutin
1d7cefe9c4
Move volume helpers to "k8s.io/component-helpers/storage/volume".
...
This patch aims to simplify decoupling "pkg/scheduler/framework/plugins"
from internal "k8s.io/kubernetes" packages. More described in
issue #89930 and PR #102953 .
Some helpers from "k8s.io/kubernetes/pkg/controller/volume/persistentvolume"
package moved to "k8s.io/component-helpers/storage/volume" package:
- IsDelayBindingMode
- GetBindVolumeToClaim
- IsVolumeBoundToClaim
- FindMatchingVolume
- CheckVolumeModeMismatches
- CheckAccessModes
- GetVolumeNodeAffinity
Also "CheckNodeAffinity" from "k8s.io/kubernetes/pkg/volume/util"
package moved to "k8s.io/component-helpers/storage/volume" package
to prevent diamond dependency conflict.
Signed-off-by: Konstantin Misyutin <konstantin.misyutin@huawei.com>
2022-03-16 15:43:09 +08:00
Xinqi Li
65a4d1cbe7
add gMSA remote storage test
2022-03-15 22:51:55 -07:00
Jefftree
8a1d5947ad
googleapis/gnostic -> google/gnostic
2022-03-15 20:44:03 -07:00
Kubernetes Prow Robot
7dcd697ddf
Merge pull request #108702 from pbetkier/test-e2e-autoscaling-owners
...
Add sig-autoscaling as owners of test/e2e/framework/autoscaling
2022-03-15 18:09:48 -07:00
Aldo Culquicondor
2c5d0a273c
Graduate IndexedJob to stable
...
- Lock feature gate to true and schedule for deletion in 1.26
- Remove checks on feature gate
- Graduate E2E test to Conformance
Change-Id: I6814819d318edaed5c86dae4055f4b050a4d39fd
2022-03-15 13:41:06 -04:00
Kubernetes Prow Robot
2b1b849d6a
Merge pull request #108362 from sanposhiho/implement-mindomains
...
Implement MinDomains on Pod Topology Spread
2022-03-15 10:34:11 -07:00
Kubernetes Prow Robot
1a5abe5d1f
Merge pull request #105585 from fengzixu/improvement-volume-health
...
add volume kubelet_volume_stats_health_abnormal to kubelet
2022-03-15 05:58:11 -07:00
Piotr Betkier
3df96cbf01
Add sig-autoscaling as owners of test/e2e/framework/autoscaling
2022-03-15 11:22:49 +01:00
Kubernetes Prow Robot
02b1ec5b0b
Merge pull request #108485 from BigDarkClown/master
...
Make daemon.NodeShouldRunDaemonPod function public
2022-03-15 00:30:21 -07:00
Kubernetes Prow Robot
7cc4fcd802
Merge pull request #108253 from pohly/kubelet-root
...
test: support storage tests with non-standard kubelet root directory
2022-03-15 00:30:10 -07:00
Kubernetes Prow Robot
8bf64e4128
Merge pull request #108652 from 249043822/probe-restart
...
Fix test:Probing container should have monotonically increasing restart
2022-03-14 22:08:11 -07:00
Kubernetes Prow Robot
41dbd290d1
Merge pull request #108694 from mikedanese/metadata-conceal
...
remove metadata-concealment related testing
2022-03-14 18:50:43 -07:00
Kubernetes Prow Robot
d7bd0d4f52
Merge pull request #108648 from ahg-g/ahg-ds
...
Update PreFilter interface to return a PreFilterResult
2022-03-14 18:50:20 -07:00
ZhangKe10140699
d7d7e0d508
Fix test:Probing container should have monotonically increasing restart count
2022-03-15 09:15:33 +08:00
Kubernetes Prow Robot
f9be590b25
Merge pull request #108431 from ii/promote-replace-podtemplate
...
Promote replaceCoreV1NamespacedPodTemplate test - +1 endpoint coverage
2022-03-14 16:24:58 -07:00
Sergey Kanzhelev
792a37e2f1
promote grpcProbes to beta
2022-03-14 22:49:38 +00:00
Matthew Wong
7f638b45b7
Set zone label selector for preprovisioned AWS in-tree tests
2022-03-14 15:38:10 -07:00
Kubernetes Prow Robot
2acc22a9a0
Merge pull request #108690 from klueska/add-owners
...
Add klueska to test/e2e/node/OWNERS file
2022-03-14 14:23:19 -07:00
Kubernetes Prow Robot
5c98eb5625
Merge pull request #108264 from pbetkier/hpa-behavior-e2e-tests-downscale
...
Add e2e test for HPA behavior: decreased downscale stabilization
2022-03-14 14:23:00 -07:00
Kubernetes Prow Robot
c6c4915dd7
Merge pull request #108495 from stevekuznetsov/skuznets/better-rv-math
...
test/integration: improve TestTransform
2022-03-14 13:03:11 -07:00
Mike Danese
b32e043898
remove metadata-concealment related testing
...
We agreed to remove these tests in SIG Auth because they aren't testing
any OSS functionality.
2022-03-14 12:44:48 -07:00
Abdullah Gharaibeh
5b20b68bc9
Updated the scheduler framework's PreFilter interface to return a PreFilterResult
2022-03-14 15:36:52 -04:00
Patrick Ohly
f84f4fa291
storage capacity: use V1 API
2022-03-14 20:05:45 +01:00
Patrick Ohly
921edae2b4
storage capacity: v1 API
2022-03-14 20:05:45 +01:00
Patrick Ohly
3a7deaa141
storage capacity: GA, always enabled, remove feature check
...
The code and tests for scenarios where the feature is disabled are no longer
needed because the feature is graduating to GA.
2022-03-14 20:05:45 +01:00
sanposhiho
6141aa53f9
Implement MinDomains
2022-03-15 01:38:44 +09:00
Kevin Klues
b815122f17
Add klueska to test/e2e/node/OWNERS file
...
Signed-off-by: Kevin Klues <kklues@nvidia.com>
2022-03-14 17:02:25 +01:00
Riaan Kleinhans
454571b1bc
add log endpoint to ineligible_endpoints.yaml
2022-03-14 09:59:21 +13:00
Kubernetes Prow Robot
d2ce895e07
Merge pull request #107055 from jsturtevant/remove-unsupported-sac
...
Remove unsupported Windows SAC test images
2022-03-11 16:32:23 -08:00
Kubernetes Prow Robot
633313616f
Merge pull request #107132 from NikhilSharmaWe/netTest
...
made independent test cases ginkgo.It for checking connectivity
2022-03-11 13:26:22 -08:00
Kubernetes Prow Robot
86ad8fc586
Merge pull request #107477 from NikhilSharmaWe/memlim
...
Updated Sig-windows Memory Limits tests to not assume all nodes are the same
2022-03-11 11:52:22 -08:00
Shiming Zhang
1322dbba46
Add e2e
2022-03-11 17:31:25 +08:00
Nikhil Sharma
cf48674dbf
Updated Sig-windows Memory Limits tests to not assume all nodes are the same
2022-03-11 10:48:36 +05:30
Kubernetes Prow Robot
897f2f78a5
Merge pull request #108458 from pohly/csi-test-image-mirroring
...
e2e: support CSI images in -list-images
2022-03-10 21:17:06 -08:00
Nikhil Sharma
edfd8cba54
made independent test cases ginkgo.It for checking connectivity
2022-03-11 09:02:17 +05:30
Kubernetes Prow Robot
c5f7ceb26c
Merge pull request #108581 from pacoxu/image-docker-hub-fix
...
migrate nginx to k8s.gcr.io image
2022-03-10 16:19:07 -08:00
Steve Kuznetsov
ff8fbc2d37
test/integration: use a context with a deadline for streaming
...
Without such a context, this test would hang without data for 10
minutes, then panic.
Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
2022-03-10 13:56:55 -08:00
Steve Kuznetsov
a843239ec3
test/integration: use a known previous resourceVersion
...
ResourceVersion values are opaque and math should not be done on them.
The intent of this test was to watch from a resourceVersion before the
moment where the objects were created, and we can find such a version by
listing from the API server before the tests begin.
Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
2022-03-10 13:56:36 -08:00
Kubernetes Prow Robot
425ff1c8e2
Merge pull request #108500 from SergeyKanzhelev/grpcsupportInAgnHost
...
add the grpc-health-checking to agnhost
2022-03-10 13:05:07 -08:00
Steve Kuznetsov
305652a432
conformance: do not parse resourceVersion
...
This test wishes to observe a watch event. In order to do this in the
past, the test chose a well-known `Service` object, fetched it, and did
arithmetic on the returned `resourceVersion` in order to start a watch
that was guaranteed to see an event. It is not valid to parse the
`resourceVersion` as an integer or to do arithmetic on it, so in order
to make the test conformant to an appropriate use of the API it now:
- creates a namespace
- fetches the current `resourceVersion`
- creates an object
- watches from the previous `resourceVersion` that was read
This ensures that an event is seen by the watch, but uses the publically
supported API.
`ConfigMap`s are used instead of `Service`s as they do not require a
valid `spec` for creation and make the test terser.
Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
2022-03-10 09:46:04 -08:00
Claudiu Belu
720ffb826a
tests: Updates the should delete a collection of pods test
...
We should wait for all 3 pods after we've spawned them, instead of
spawning and waiting for them sequentially.
2022-03-10 08:32:50 -08:00
Kubernetes Prow Robot
9e5efebb4c
Merge pull request #108563 from ipochi/imran/update-e2e-lock-contention-test-to-remove-restart-kubelet
...
Remove the restart kubelet check from the test.
2022-03-09 21:49:35 -08:00
Kubernetes Prow Robot
b90bddfd9f
Merge pull request #108204 from kevindelgado/field-validation-crd-unit-tests
...
Field validation CRD benchmarks and decoder unit tests
2022-03-09 20:01:35 -08:00
Paco Xu
f2930ec98b
revert change in imports: ide auto-change to make import-boss verify green
2022-03-10 10:20:59 +08:00
Kubernetes Prow Robot
4763d75290
Merge pull request #108598 from chendave/remove_testcases
...
Remove the legacy Nginx testcases
2022-03-09 13:56:12 -08:00
Dave Chen
09e47291c7
Rename variable error
to err
...
`error` is the keywork in golang
Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-03-09 10:39:34 +08:00
Dave Chen
85dfca3e16
Remove the legacy Nginx testcases
...
Those testcases does't work anymore after nginx-ingress controller
has been upgraded to v1.
Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-03-09 10:38:07 +08:00
Paco Xu
b03e27af1b
migrate dockerhub image to k8s.gcr.io e2e test image
2022-03-09 09:54:11 +08:00
Kubernetes Prow Robot
19935de5a9
Merge pull request #107410 from margocrawf/master
...
Ensure static certs in kubeconfig override exec plugin
2022-03-08 11:34:21 -08:00
Bartłomiej Wróblewski
b2e2fb8d89
Make daemon.NodeShouldRunDaemonPod function public
2022-03-08 11:32:17 +00:00
carlory
fcc282f9f2
remove audit.k8s.io/v1[alpha|beta]1 versions
2022-03-08 14:37:26 +08:00
Margo Crawford
f015fd66ce
Check whether static cert is already configured in UpdateTransportConfig
...
- Also update test-cmd.sh to pass a signing ca to the kube controller
manager, so CSRs work properly in integration tests.
Signed-off-by: Margo Crawford <margaretc@vmware.com>
2022-03-07 13:54:32 -08:00
Kubernetes Prow Robot
f93be6584e
Merge pull request #108426 from deads2k/e2e-check
...
add resource enablement check for e2e tests of beta APIs
2022-03-07 11:34:26 -08:00
David Eads
8ab8d05cc4
add resource enablement check for e2e tests of beta APIs
2022-03-07 13:31:37 -05:00
Ravi Gudimetla
72a62f47f7
Wire context for cert controllers
...
All the controllers should use context for signalling termination of communication with API server. Once kcm cancels context all the cert controllers which are started via kcm should cancel the APIServer request in flight instead of hanging around.
2022-03-07 10:19:45 -05:00
Patrick Ohly
df1d1cc263
e2e: support CSI images in -list-images
...
It was possible to patch images in the YAML files via KUBE_TEST_REPO, but it
was not possible to know in advance which images might be needed. Now
-list-images also includes all images referenced by the
test-manifest/storage-csi YAML files.
2022-03-07 15:03:16 +01:00
Imran Pochi
5ef0be2f58
Remove the restart kubelet check from the test.
...
Upon reconsidering as to the purpose of the test i.e to test the lock
contention flags (--lock-file-contention and --lock-file), it makes
sense that we test only the actual functionality which is the kubelet
should stop once there is a lock contention.
In no way it is the responsiblity of the kubelet to restart, which would
be the responsiblity of a higher system such as systemd.
Hence the removal of the check for releasing the lock and checking for
whether the kubelet is healthy again or not seem out of scope from
kubelet's responsiblities.
Signed-off-by: Imran Pochi <imran@kinvolk.io>
2022-03-07 18:51:07 +05:30
Kubernetes Prow Robot
ad46b4f921
Merge pull request #108457 from ialidzhikov/cleanup/target-ram-mb
...
apiserver: Remove the deprecated `--target-ram-mb` flag
2022-03-07 02:38:53 -08:00
Claudiu Belu
87123c49a0
tests: Enables a few Conformance tests for Windows
...
Some of these tests could not be run previously, especially on Windows
Docker containers. But now, by using Windows Containerd, we can finally
run them:
- HostNetwork=true tests: This can now be enabled on Windows Privileged Containers.
- /etc/hosts related tests: These were not supported because it required single
file mappings, which is possible in Containerd.
- termination message as non-root user: Requires RunAsUsername, and single file
mappings.
2022-03-06 09:36:39 -08:00
Kubernetes Prow Robot
3775ac6d19
Merge pull request #108535 from Abirdcfly/master
...
fix some typo
2022-03-05 22:46:52 -08:00
Abirdcfly
2005110090
fix some typo
...
Change-Id: I211f572555e964581214a5d726ac552676c9833a
2022-03-05 23:25:52 +08:00
Kubernetes Prow Robot
546e4fa1ef
Merge pull request #107771 from sanposhiho/fix-tiny
...
make scheduler_perf stable
2022-03-04 17:22:52 -08:00
Kubernetes Prow Robot
422b867d45
Merge pull request #108514 from dims/avoid-dockerhub-for-nginx-pull-kubernetes-e2e-gce
...
Avoid dockerhub for nginx (fix for only pull-kubernetes-e2e-gce)
2022-03-04 15:35:30 -08:00
Sergey Kanzhelev
2012358e39
add the grpc-health-checking to agnhost
2022-03-04 21:29:55 +00:00
Davanum Srinivas
2fd5d18570
Avoid dockerhub for nginx (fix for only pull-kubernetes-e2e-gce)
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-03-04 14:03:18 -05:00
Kubernetes Prow Robot
0a3470a68d
Merge pull request #107135 from ruquanzhao/removegenericScheduler
...
Scheduler: Remove genericScheduler and SchedulerAlgorithm.
2022-03-04 08:20:52 -08:00
Ruquan Zhao
f1a5b6ca06
Remove genericScheduler and SchedulerAlgorithm.
...
Signed-off-by: Ruquan Zhao <ruquan.zhao@arm.com>
2022-03-04 13:26:46 +08:00
Jordan Liggitt
7895fbd45d
Restore wait loop to integration test
2022-03-03 21:33:01 -05:00
Patrick Ohly
ff5558edc3
test: support storage tests with non-standard kubelet root directory
...
Some storage tests deploy DaemonSets which hard-code /var/lib/kubelet as root
directory for kubelet registration and pod directory. There was already a
parameter which allowed specifying the root directory, just with a very
confusing name ("--volume-dir") and matching field name. A --kubelet-root-dir
parameters gets added because this may make it easier to find the parameter,
with the old name preserved as an alias for the same field for backwards
compatibility.
2022-03-03 12:34:18 +01:00
Antonio Ojea
b0600c630d
integration: run tests in eachs own process
2022-03-03 08:19:14 +01:00
ialidzhikov
bdbc750129
apiserver: Remove the deprecated --target-ram-mb
flag
...
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2022-03-02 18:52:46 +02:00
Kubernetes Prow Robot
4737127b57
Merge pull request #108429 from dims/allow-env-var-to-be-remote-url
...
Allow KUBE_TEST_REPO_LIST to be a remote url as well
2022-03-02 08:07:16 -08:00
Kubernetes Prow Robot
88f9728339
Merge pull request #108309 from zshihang/token
...
no auto-generation of secret-based service account token
2022-03-02 06:19:15 -08:00
Stephen Heywood
5597b0c4fb
Promote replace podtemplate e2e test to Conformance
2022-03-02 10:33:02 +13:00
Davanum Srinivas
6f3765b731
Allow KUBE_TEST_REPO_LIST to be a remote url as well
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-03-01 13:44:51 -05:00
Antonio Ojea
2660ac8a6d
integration framework: log number of leaked goroutines
2022-03-01 15:31:13 +01:00
ZhangKe10140699
34c90a4014
Add pod status info log for e2e creating pods
2022-03-01 18:20:47 +08:00
Piotr Betkier
13c3f091a7
Small review fixes
2022-03-01 09:24:26 +01:00
Piotr Betkier
50200dc54f
Add e2e test for HPA behavior: decreased downscale stabilization
2022-03-01 09:24:26 +01:00
Kubernetes Prow Robot
77f6476d34
Merge pull request #108327 from SergeyKanzhelev/unused_jenkins_files
...
two files not being used any longer
2022-02-28 19:43:46 -08:00
Kubernetes Prow Robot
1cc8edb838
Merge pull request #108286 from ii/replace-pod-template
...
Write replaceCoreV1NamespacedPodTemplate test - +1 endpoint coverage
2022-02-28 17:11:46 -08:00
Kubernetes Prow Robot
2c91952fcf
Merge pull request #106486 from Ahmed-Aghadi/codeEnhanceNode
...
test/e2e/node + test/e2e/scheduling: improve checks
2022-02-28 11:17:46 -08:00
AHMED AGHADI
ff0a3009db
Improve checks for test/e2e/node and test/e2e/scheduling
2022-02-28 23:44:21 +05:30
Abu Kashem
b0b460921b
Revert "Merge pull request #107797 from tkashem/revert-107456"
...
This reverts commit 83ca745412
, reversing
changes made to 1c216c6ec8
.
2022-02-27 13:40:28 -05:00
Stephen Heywood
522b9b3de2
Create e2e replace pod template test
...
The test validates the following endpoint
- replaceCoreV1NamespacedPodTemplate
2022-02-25 15:28:15 +13:00
Kubernetes Prow Robot
3213a92802
Merge pull request #108341 from zshihang/gce
...
bump kube-addon-manager image version to 9.1.6
2022-02-24 16:19:55 -08:00
Kubernetes Prow Robot
d3ece70f0b
Merge pull request #108269 from kerthcet/refactor/rename-schedulercache-to-cache
...
refactor: rename SchedulerCache to Cache in Scheduler
2022-02-24 14:46:13 -08:00
Shihang Zhang
5ee418b4c7
bump kube-addon-manager image version to 9.1.6
2022-02-24 14:13:01 -08:00
sanposhiho
4c3a1000c7
fix by gofmt
2022-02-25 00:23:01 +09:00
Kubernetes Prow Robot
7588a82bdb
Merge pull request #108293 from chendave/upstream_gopath
...
e2e: Embed DNS related maninfests into codebase
2022-02-24 01:19:33 -08:00
Sergey Kanzhelev
3f9df1423f
two files not being used any longer
2022-02-24 08:03:31 +00:00
kerthcet
eafbaad9f7
refactor: rename SchedulerCache to Cache in Scheduler
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-02-24 09:47:21 +08:00
Kubernetes Prow Robot
2fcdbd098c
Merge pull request #107993 from deads2k/simplify
...
prevent enabling beta by default for new api groups
2022-02-23 16:03:35 -08:00
Kubernetes Prow Robot
77eb1a03df
Merge pull request #94637 from liggitt/namespace-before-admission
...
set/validate object namespace before admission
2022-02-23 14:35:58 -08:00
Shihang Zhang
fb6c727fde
no auto-generation of secret-based service account token
2022-02-23 14:17:30 -08:00
Kubernetes Prow Robot
6d1c9a98ef
Merge pull request #108104 from pbetkier/autoscaling-e2e-resource-consumer-fix
...
e2e: Fix ResourceConsumer unstable request interval
2022-02-23 11:45:57 -08:00
David Eads
1afcc31b1b
add integration test to prevent new beta APIs from being enabled by default
2022-02-23 13:51:43 -05:00
sanposhiho
1080c2d717
Make scheduler_perf stable
2022-02-24 01:29:38 +09:00
Jordan Liggitt
92422a7305
set/validate object namespace before admission
2022-02-23 11:12:27 -05:00
Dave Chen
cee132b197
Remove couple of variables to simplify the code
...
Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-02-23 17:17:27 +08:00
Dave Chen
d5775aef5e
e2e: Embed dns related maninfests into codebase
...
Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-02-23 17:16:50 +08:00
Kubernetes Prow Robot
5211a4b214
Merge pull request #103061 from SergeyKanzhelev/removeAlphaRuntimeClass
...
Remove RuntimeClass feature gate and stop serving older versions of RuntimeClass
2022-02-22 19:08:18 -08:00
Kubernetes Prow Robot
44241bacca
Merge pull request #108239 from Abirdcfly/master
...
delete redundant characters in comment
2022-02-22 13:25:16 -08:00
Kubernetes Prow Robot
86945d7e74
Merge pull request #107431 from justaugustus/rel-mgr
...
OWNERS(releng): Reconcile existing Release Managers
2022-02-22 11:39:16 -08:00
Sergey Kanzhelev
06ee2969ef
do not serve node.k8s.io, version v1alpha1
2022-02-22 18:30:24 +00:00
Kubernetes Prow Robot
bda996e6a7
Merge pull request #107105 from justaugustus/go118
...
golang: Update to go1.18rc1
2022-02-21 07:46:15 -08:00
Stephen Augustus
946cc66220
test/{images,utils/image}/OWNERS: Alpha-sort reviewers/approvers
...
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2022-02-21 08:37:29 -05:00
Wojciech Tyczyński
f3d56369f7
Unify merge GetToList and List storage methods to single GetList
2022-02-21 12:52:05 +01:00
Abirdcfly
5da98dedb4
delete redundant characters in comment
...
Change-Id: Id49d6266f76d2e242880f25cfa2b591bcef1b5ff
2022-02-21 13:51:53 +08:00
Stephen Augustus
93295000af
golang: Update to go1.18rc1
...
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2022-02-20 21:16:26 -05:00
Abdullah Gharaibeh
8a1c70b48c
Graduate PodAffinityNamespaceSelector to GA
2022-02-18 12:07:29 -05:00
Kubernetes Prow Robot
2078864d08
Merge pull request #106671 from wzshiming/test/e2e-graceful-node-shutdown-based-on-pod-priority
...
Fix flaky test - when gracefully shutting down with Pod priority should be able to gracefully shutdown pods with various grace periods
2022-02-17 22:32:26 -08:00
Kubernetes Prow Robot
8a6439d2b1
Merge pull request #108129 from ahg-g/ahg-suspend
...
Graduate SuspendJob to GA
2022-02-17 19:36:23 -08:00
Shiming Zhang
102a669ca1
Fix flaky test
2022-02-18 09:39:46 +08:00
Kubernetes Prow Robot
23ccbafdf1
Merge pull request #104334 from ipochi/imran/re-revert-lock-contention-tests
...
Revert #104308 to bring back LockContention tests
2022-02-17 17:20:25 -08:00
Kevin Delgado
a72f24d33c
start CRD integration benchmarks
2022-02-18 01:04:51 +00:00
Kubernetes Prow Robot
3d4f59416e
Merge pull request #108192 from SergeyKanzhelev/no-docker-install-needed
...
remove docker installation from startup scripts
2022-02-17 15:01:33 -08:00
Kubernetes Prow Robot
3e60727f75
Merge pull request #108174 from stevekuznetsov/skuznets/transformer-context
...
storage: transformers: pass a context.Context
2022-02-17 09:45:37 -08:00
Steve Kuznetsov
27312feb99
storage: transformers: pass a context.Context
...
When an envelope transformer calls out to KMS (for instance), it will be
very helpful to pass a `context.Context` to allow for cancellation. This
patch does that, while passing the previously-expected additional data
via a context value.
Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
2022-02-17 08:31:31 -08:00
Sergey Kanzhelev
19a01fa8c6
remove docker installation from everywhere
2022-02-17 08:02:13 +00:00
Kevin Delgado
df2768123d
FieldValidation tests for endpoints apiserver and benchmarks for integration tests ( #107848 )
...
* wip, working post-strict-yaml
* wip, merge-patch and json-patch tests added
* added SMP tests
* cleanup
* add benchmarks
* more detailed test failure message
* start adding field validation integration benchmarks
* use valid input for benchmarking
* fix remaining integration benchmarks
* benchmarking feedback
* fix endpoints benchmarking
* remove unused vars
2022-02-16 21:19:49 -08:00
Ciprian Hacman
3834761187
Remove unused --dockershim-checkpoint-dir
e2e.test flag
...
Signed-off-by: Ciprian Hacman <ciprian@hakman.dev>
2022-02-16 15:34:28 +02:00
Kubernetes Prow Robot
a06e272124
Merge pull request #108127 from neolit123/1.24-fix-e2e-kubeadm-unversioned-kubelet-cm-defaults
...
test/e2e_kubeadm: fix matching UnversionedKubeletConfigMap defaults
2022-02-16 00:43:38 -08:00
Kubernetes Prow Robot
1fa888529e
Merge pull request #107533 from neolit123/1.24-update-master-label-taint
...
kubeadm: apply "master" label/taint migration for 1.24
2022-02-15 21:44:36 -08:00
Kubernetes Prow Robot
a37b6fc8b4
Merge pull request #108138 from liggitt/v1beta1-selector
...
Revert v1beta1 PodDisruptionBudget selector patchStrategy to pre-1.21 behavior
2022-02-15 16:25:18 -08:00
Jordan Liggitt
33fc0b9651
Add PDB selector patch integration test
2022-02-15 14:45:22 -05:00
Lubomir I. Ivanov
2fba7c8ade
test/e2e_kubeadm: fix matching UnversionedKubeletConfigMap defaults
...
The kubeadm defaults in features.go differ between versions.
e2e_kubeadm tests cannot import the kubeadm features.go,
or easily detect the versioned of the kubeadm binary used
to create the cluster.
Check for the existence of both versioned and unversioned
objects independent of the value of the FG. Once the FG
goes GA only the unversioned objects should be checked.
Without this change kubeadm e2e skew tests will fail where kubeadm
is at 1.24 (has the FG defaulted to true), the FG is not
explicitly set by the user and the k8s version is at 1.23.
2022-02-15 18:38:44 +02:00
Abdullah Gharaibeh
b2d2ec9e76
Graduate SuspendJob to GA
2022-02-15 10:46:13 -05:00
Kubernetes Prow Robot
d12787bc2c
Merge pull request #104698 from weiwenli97/windows_node_reboot
...
Add Windows node reboot
2022-02-15 02:34:02 -08:00
Kubernetes Prow Robot
d899c39ca3
Merge pull request #108111 from yselkowitz/nfs-provisioner-v3
...
test: bump nfs-provisioner to 3.0.1
2022-02-14 23:32:02 -08:00
Kubernetes Prow Robot
e42e2e877f
Merge pull request #107527 from wojtek-t/remove_selflink_ga
...
Graduate RemoveSelfLink to Stable
2022-02-14 19:46:02 -08:00
Kubernetes Prow Robot
64e83a7e43
Merge pull request #107945 from saschagrunert/cri-verbose
...
Add support for CRI `verbose` fields
2022-02-14 17:58:12 -08:00
Kubernetes Prow Robot
4e30fe40df
Merge pull request #108093 from hakman/remove_e2e_flag_container-runtime
...
Remove unused `--container-runtime` e2e.test flag
2022-02-14 14:04:31 -08:00
Kubernetes Prow Robot
1ae7da0b68
Merge pull request #108109 from eddiezane/ez/update-sig-cli-owners
...
Update sig-cli OWNERS
2022-02-14 12:06:30 -08:00
Yaakov Selkowitz
f44fdaca07
test: bump nfs-provisioner to 3.0.1
...
This is the first version built for multiple architectures.
2022-02-14 14:02:38 -05:00
Kubernetes Prow Robot
d374c954de
Merge pull request #108027 from neolit123/1.24-update-unversioned-kubelet-cm-fg
...
kubeadm: switch UnversionedKubeletConfigMap to true
2022-02-14 10:59:52 -08:00
Eddie Zaneski
040d575e9f
Update sig-cli OWNERS
...
Signed-off-by: Eddie Zaneski <eddiezane@gmail.com>
2022-02-14 10:55:35 -07:00
Wojciech Tyczyński
b62774f2f7
Couple remaining SelfLink references cleanup
2022-02-14 18:35:54 +01:00
Piotr Betkier
4c9d3d522f
e2e: Fix ResourceConsumer unstable request interval
...
Setting a new consumption target in autoscaling.ResourceConsumer caused
the internal sleep duration between consumption requests to reset.
The next consumption would then get delayed, starting after a gap of 0-30s.
2022-02-14 13:08:17 +01:00
Kubernetes Prow Robot
b591acca57
Merge pull request #108047 from wojtek-t/fix_event_update
...
Fix validation of event updates
2022-02-14 02:27:28 -08:00
Wojciech Tyczyński
41ee6a3e44
Remove selflink integration tests
2022-02-14 11:11:56 +01:00
Kubernetes Prow Robot
21c0f6f6ff
Merge pull request #107677 from pohly/scheduler-integration-benchmark
...
scheduler integration benchmark improvements
2022-02-14 01:23:28 -08:00
Ciprian Hacman
7d5afb322d
Remove unused --container-runtime
e2e.test flag
...
Signed-off-by: Ciprian Hacman <ciprian@hakman.dev>
2022-02-14 08:49:56 +02:00
Matthias Bertschy
931f227ec1
Replace dbus-send with godbus for fake PrepareForShutdown message
2022-02-13 13:54:12 +01:00
Marko Mudrinić
980406f083
Update Go to 1.17.7
...
Signed-off-by: Marko Mudrinić <mudrinic.mare@gmail.com>
2022-02-12 13:06:08 +01:00