Commit Graph

27503 Commits

Author SHA1 Message Date
Jordan Liggitt
6bb6c99342 Drop null creationTimestamp from test fixtures 2025-05-02 15:38:40 -04:00
Kubernetes Prow Robot
a931fc57aa Merge pull request #131585 from pohly/dra-e2e-no-terminationgraceperiod
DRA e2e: avoid terminationGracePeriodSeconds
2025-05-02 11:37:55 -07:00
Patrick Ohly
dceae3b388 DRA e2e: avoid terminationGracePeriodSeconds
`terminationGracePeriodSeconds: 0` was a mistake, it bypasses the normal
pod shutdown in the kubelet.

The right way to shut down a pod quickly is to have it react to SIGTERM.
The busybox implementation of "sleep" doesn't. `agnhost pause` does,
so let's use that instead.

For E2E tests, the InfiniteSleepCommand was already change about a year ago to
react to SIGTERM, so the `terminationGracePeriodSeconds: 1` workaround is no
longer needed.
2025-05-02 10:52:56 +02:00
Kubernetes Prow Robot
cf6cc0f5d7 Merge pull request #130381 from royalsflush/probe-total-beta
Bumps up prober_probe_total from alpha to beta
2025-04-30 18:39:54 -07:00
Kubernetes Prow Robot
8aa1d337e9 Merge pull request #131102 from esotsal/debug_131067
[FG:InPlacePodVerticalScaling] Clean code resize test
2025-04-30 15:33:55 -07:00
Kubernetes Prow Robot
42bd93955a Merge pull request #131538 from aojea/blue_green_e2e
e2e network: blue green deployments
2025-04-30 14:14:01 -07:00
Kubernetes Prow Robot
15f8e91f03 Merge pull request #131342 from carlory/fix131329
deflake e2e tests: CustomResourcePublishOpenAPI works for multiple CRDs of same group and version but different kinds
2025-04-30 10:13:55 -07:00
Antonio Ojea
3a5dda78af e2e network: blue green deployments
Use Pod Readiness Gates and Services to implement blue green deployment
strategies by setting the corresponding readines gate to influence the
service traffic.

Change-Id: I23e3b9a0440014f48a4612685055565fd8dff5ec
2025-04-30 04:46:50 +00:00
Kubernetes Prow Robot
67d2befc93 Merge pull request #131526 from pohly/dra-test-driver-example-update
DRA test: update examples
2025-04-29 09:18:10 -07:00
Kubernetes Prow Robot
e0dbdc9d17 Merge pull request #131518 from kevinrizza/pod-resize-test-namespace
Don't create extra namespaces during pod resize tests
2025-04-29 09:18:02 -07:00
Kubernetes Prow Robot
ea08d4df93 Merge pull request #128946 from jackfrancis/SetPVCVACName-eventually-gomega
test: don't panic during an Eventually retry loop
2025-04-29 09:17:55 -07:00
kevinrizza
903d6d4f03 Don't reinitialize test framework during each test case
This commit updates pod resize tests to resolve an
issue where extraneous unused namespaces are created
when the tests are run. This happens because a new
instance of the test framework is generated when
looping over the test specs, registering BeforeEach each
time.
2025-04-29 09:17:40 -04:00
Patrick Ohly
3cadb6ff80 DRA test: update examples
Some more out-dated reference to resource class. Keeping the pod running is
better for demonstrating the lifecycle of claims because it is actually
possible to see a claim in the allocated state.
2025-04-29 09:55:05 +02:00
Kubernetes Prow Robot
23258f104d Merge pull request #131511 from pohly/dep-misspell
dependencies: github.com/client9/misspell -> github.com/golangci/misspell
2025-04-28 12:25:53 -07:00
Sotiris Salloumis
d6b45bc98d [FG:InPlacePodVerticalScaling] clean code resize test
- Improve information when VerifyPodContainersCgroupValues fails
- Use common way to append errors
2025-04-28 18:43:12 +02:00
Patrick Ohly
8bb7b05637 dependencies: github.com/client9/misspell -> github.com/golangci/misspell
github.com/client9/misspell was archived by the owner on Mar 26, 2025.
The golangci-lint team maintains a fork.

The newer code finds some misspellings which where missed before.
2025-04-28 15:44:04 +02:00
Abhijit Hoskeri
db960d1007 Fix openid discovery docs with external jwt signer.
If the external jwt signer is enabled, publishing
OIDC discovery docs and keys fails because the PublicKeysGetter
is not wired correctly.

Set the public keys getter on startup so public key
discovery works in that case as well.
2025-04-26 17:39:31 -07:00
Kubernetes Prow Robot
fe5afa919b Merge pull request #130333 from kmala/job
handle job complete update delayed event
2025-04-25 17:55:22 -07:00
Kubernetes Prow Robot
30f8f3d146 Merge pull request #131361 from jkyros/fix-inplace-test-wait-quota-status
[FG:InPlacePodVerticalScaling] deflake - wait for resourceQuota status to be populated
2025-04-25 13:35:22 -07:00
John Kyros
00908ce2d1 Wait for resource quota status to be populated
Trying to create a pod using a resourcequota whose status has not been
populated will result in api admission rejecting it with a 403
Forbidden. The pod resize tests do not wait/check to make sure the
resourcequota status is populated before trying to use the quota when
creating a pod, so in scenarious where either the test runs too fast, or
the resourcequota controller is too slow, the tests will fail.

This just makes the test wait up to a minute for the quota status to
populate. The status generation timing/logic gets tested separately in
test/e2e/apimachinery/resource_quota.go, and it waits a minute, so we
wait a minute, but in practice it takes at worst seconds.
2025-04-25 01:09:08 -05:00
Benjamin Elder
540ea5949f skip kubectl proxy env tests when the host is localhost/loopback and would not be proxied 2025-04-24 22:40:05 -07:00
Kubernetes Prow Robot
05a3d178a2 Merge pull request #129564 from Jefftree/compat-134
Bump DefaultKubeBinaryVersion to 1.34 and fix VAP test
2025-04-24 15:24:30 -07:00
Kubernetes Prow Robot
5da29d0ee7 Merge pull request #131334 from natasha41575/fix-cgorup-error-msg
[FG:InPlacePodVerticalScaling] add more error details to the failing cgroup check
2025-04-24 12:00:41 -07:00
Kubernetes Prow Robot
af53af19e6 Merge pull request #130211 from carlory/add-intree-driver-for-nfs3
e2e storage test: in-tree driver adds the support for nfs v3
2025-04-24 10:52:31 -07:00
Natasha Sarkar
932cff5dd4 add more error details to the failing cgroup check 2025-04-24 15:51:08 +00:00
Kubernetes Prow Robot
4bcaa515c9 Merge pull request #131267 from tallclair/resize-helpers
Move pod resize e2e utilities out of e2e/framework
2025-04-24 01:28:44 -07:00
Kubernetes Prow Robot
62129df407 Merge pull request #129699 from carlory/cleanup-intree
remove unnecessary functions
2025-04-24 01:28:33 -07:00
Kubernetes Prow Robot
a88a8238d7 Merge pull request #131416 from alculquicondor/rm-alculquicondor
Remove alculquicondor from test framework OWNERS
2025-04-23 18:21:36 -07:00
Kubernetes Prow Robot
37b9388869 Merge pull request #131371 from BenTheElder/test-images-dedupe-go-version
test/images: read .go-version instead of duplicating
2025-04-23 18:21:21 -07:00
Kubernetes Prow Robot
4841bc9a1f Merge pull request #131349 from pohly/etcd-shutdown
etcd: fix 5 second delay during shutdown
2025-04-23 18:21:06 -07:00
Kubernetes Prow Robot
2867fed217 Merge pull request #131288 from carlory/deflake-TestEndpointHandlers
deflake intergation test: TestEndpointHandlers
2025-04-23 18:20:44 -07:00
Kubernetes Prow Robot
75c640bc02 Merge pull request #131278 from haosdent/haosdent/remove-redundant-call
scheduler: remove duplicate nominatedNodeName clearing in preemption
2025-04-23 18:20:30 -07:00
Kubernetes Prow Robot
d895ad2181 Merge pull request #131259 from pohly/etcd-output-and-retry
etcd: use Unix Domain socket
2025-04-23 17:10:05 -07:00
Kubernetes Prow Robot
077a382170 Merge pull request #131242 from zhifei92/update-mockery-version
Upgrade the mockery version to v2.53.3
2025-04-23 17:09:43 -07:00
Kubernetes Prow Robot
1b6fffcc56 Merge pull request #131238 from Rajalakshmi-Girish/update-busybox
Update the busybox test image to 1.37.0
2025-04-23 17:09:35 -07:00
Kubernetes Prow Robot
476614ef9e Merge pull request #131236 from jsafrane/fix-rwx-tests
RWX tests should create RWX volumes
2025-04-23 17:09:28 -07:00
Kubernetes Prow Robot
c77ed4ca9e Merge pull request #131217 from jsafrane/shorten-log-test-names
Shorten long directory names with e2e pod logs
2025-04-23 17:09:20 -07:00
Kubernetes Prow Robot
63224eef2d Merge pull request #131187 from bertinatto/fix-podsecurity-cidrs
Update PodSecurityLevel used during Service CIDRs tests
2025-04-23 17:08:58 -07:00
Kubernetes Prow Robot
ec40244141 Merge pull request #131149 from saza-ku/enable-api-server-init
scheduler-perf: add option to enable api-server initialization
2025-04-23 17:08:44 -07:00
Kubernetes Prow Robot
f3d42bc845 Merge pull request #131141 from rphillips/fix_test_case_kubelet_authz_endpoint
kubelet: update kubelet_authz to new test framework
2025-04-23 17:08:30 -07:00
Kubernetes Prow Robot
1c1ee80682 Merge pull request #131100 from hshiina/exec-fail
[InPlacePodVerticalScaling] e2e: Keep original error when exec in container fails
2025-04-23 15:59:49 -07:00
Kubernetes Prow Robot
0d4edac675 Merge pull request #131079 from macsko/disable_thresholds_for_preemption_tests
Disable thresholds for PreemptionBasic and PreemptionPVs tests
2025-04-23 15:59:35 -07:00
Kubernetes Prow Robot
e63dcda8a2 Merge pull request #131064 from aojea/e2e_services_ip
e2e service ip preservation test
2025-04-23 15:59:13 -07:00
Kubernetes Prow Robot
a63fd40447 Merge pull request #131060 from BenTheElder/kubectl-http-proxy
improve kubectl e2e test debugging
2025-04-23 15:58:59 -07:00
Kubernetes Prow Robot
5a630b7289 Merge pull request #131042 from pacoxu/adjust-metric-range
adjust container_spec_memory_limit_bytes e2e to range: ppc64le is less
2025-04-23 15:58:51 -07:00
Kubernetes Prow Robot
0534744401 Merge pull request #131028 from mimowo/fix-agnhost-pause
Test tooling: fix agnhost pause command
2025-04-23 15:58:44 -07:00
Tim Allclair
947a9f26fa Move pod resize e2e utilities out of e2e/framework 2025-04-23 14:02:36 -07:00
Kubernetes Prow Robot
8a6b916765 Merge pull request #130720 from saintube/scheduler-expose-nodeinfo-in-prefilter
Expose NodeInfo to PreFilter plugins
2025-04-23 13:31:29 -07:00
Kubernetes Prow Robot
7397a0f6dc Merge pull request #129702 from carlory/clean-e2e
remove outdate comment
2025-04-23 13:31:00 -07:00
Aldo Culquicondor
4fa090bd81 Remove alculquicondor from test framework OWNERS 2025-04-23 14:03:19 +00:00