Commit graph

704 commits

Author SHA1 Message Date
Kubernetes Prow Robot
4db43d1321
Merge pull request #134251 from joshjms/update-etcd-3.6.5
etcd: Update etcd to v3.6.5
2025-10-03 07:00:58 -07:00
joshjms
070d4c1846 bump etcd to v3.6.5
Signed-off-by: joshjms <joshjms1607@gmail.com>
2025-10-03 18:19:15 +08:00
Kubernetes Prow Robot
0dd78f632e
Merge pull request #133747 from pohly/dra-e2e-crud-conformance
DRA: CRUD conformance tests
2025-10-02 20:22:56 -07:00
Antonio Ojea
0b0a5974f8 integration test: webhook proxy behavior
adds a new integration test to verify that the API server's egress
to admission webhooks correctly respects the standard `HTTPS_PROXY`
and `NO_PROXY` environment variables.

It adds a new test util to implement a Fake DNS server that allows
to override DNS resolution in tests, specially useful for integration
test that can only bind to localhost the servers, that is ignored
by certain functionalities.
2025-10-02 22:31:08 +00:00
Patrick Ohly
2ac9ff1c1f test: format unstructured as YAML
It's a nested map which looks a lot nicer as YAML, in particular
when it represents a Kubernetes object.

Unit+integration tests using ktesting+gomega and E2E tests benefit from this
change.
2025-10-02 16:07:48 +02:00
arkadeepsen
25893cb579 Promote regression-issue-74839 to 1.4
Signed-off-by: arkadeepsen <arsen@redhat.com>
2025-09-22 17:05:43 +05:30
Davanum Srinivas
3fc0498d6e Bump distroless-iptables to v0.7.8 2025-09-16 17:16:06 -04:00
ylink-lfs
1fd7f308fc ci: remove httpd usage while using agnhost instead 2025-09-01 20:11:18 +08:00
Stephen Kitt
81cec6df1d
Bump to mockery v3
mockery has introduced breaking changes and switched to a v3 branch,
this migrates to that, mostly using the built-in migration tool. Mocks
are now generated in single files per package, except in packages
containing mocks for multiple interface packages (in
pkg/kubelet/container/testing).

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2025-08-29 13:43:54 +02:00
Kubernetes Prow Robot
8e8046d7fe
Merge pull request #133237 from ylink-lfs/chore/intptr_deref_replacement
chore: use ptr.Deref to replace int deref utils
2025-08-27 16:06:04 -07:00
Carlos Panato
020b7052ca
Bump dependencies, images and versions used to Go 1.24.6 and distroless iptables
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2025-08-14 09:46:06 +02:00
Luiz Oliveira
7fbf63a23f
HPA support for pod-level resource specifications (#132430)
* HPA support for pod-level resource specifications

* Add e2e tests for HPA support for pod-level resource specifications
2025-07-29 09:02:26 -07:00
Kubernetes Prow Robot
dd4e4f1dd1
Merge pull request #133262 from BenTheElder/no-authenticated-image-pulling
remove broken test that depends on expired credential, remove hardcoded credential, add TODOs
2025-07-28 17:28:28 -07:00
Benjamin Elder
8ace0fb89f remove failing test that depends on expired credential, remove credential, add TODOs
see: https://github.com/kubernetes/kubernetes/issues/130271
2025-07-28 15:43:43 -07:00
Ivan Valdes
e8dc272c53
Update etcd to 3.6.4 2025-07-27 21:45:02 -07:00
ylink-lfs
065899e95d chore: use ptr.Deref to replace int deref utils 2025-07-27 16:33:22 +08:00
Kubernetes Prow Robot
b3d00a026d
Merge pull request #132756 from ylink-lfs/ci/redis_removal
ci: redis removal for e2e test dependency simplicity
2025-07-24 09:38:42 -07:00
Taahir Ahmed
4624cb9bb9 Pod Certificates: Basic implementation
* Define feature gate
* Define and serve PodCertificateRequest
* Implement Kubelet projected volume source
* kube-controller-manager GCs PodCertificateRequests
* Add agnhost subcommand that implements a toy signer for testing

Change-Id: Id7ed030d449806410a4fa28aab0f2ce4e01d3b10
2025-07-21 21:49:57 +00:00
Kubernetes Prow Robot
c44bf18b9b
Merge pull request #130713 from ArkaSaha30/bump-pause-version
dependency: update pause version to registry.k8s.io/pause:3.10.1
2025-07-20 20:16:26 -07:00
Patrick Ohly
c8ca9249ac DRA integration: add upgrade/downgrade testing with local-up-cluster.sh
The test brings up the cluster and uses that power to run through
an upgrade/downgrade scenario. Version skew testing (running tests while the cluster
is partially up- or downgraded) could be added.

The new helper code for managing the cluster is written so that it could be
used both in an integration test and an E2E
test. https://github.com/kubernetes/kubernetes/pull/122481 could make that a
bit easier in an E2E test, but is not absolutely required.

In contrast to running on a normal cluster, pods need no privileges.
Instead, the caller has to make sure that the test itself can write
into system directories used by the cluster.
2025-07-15 12:54:40 +02:00
Patrick Ohly
e5f57d2cfa ktesting: add WithoutCancel
This closes a gap compared to the context package. It's useful when combined
with Ginkgo to keep something running beyond the end of the Ginkgo BeforeEach
or It node.
2025-07-15 12:52:27 +02:00
Patrick Ohly
e01603b2e3 ktesting: document side effect of SetDefaultVerbosity during init 2025-07-15 12:52:27 +02:00
Patrick Ohly
0b1bed1a1e ktesting: WithCancel does not cancel on test completion anymore
That WithCancel added a deferred cleanup which cancels on test termination was
unexpected. This automatic cancellation makes sense only for the initial root
TContext.
2025-07-15 12:52:27 +02:00
Patrick Ohly
906505281f ktesting: add step Begin/End
This allows declaring a code region as one step without having to use
an anonymous callback function, which has the advantage that variables
set during the step are visible afterwards.

In Python, this would be done as

    with ktesting.Step(tctx) as tcxt:
        // some code code inside step
    // code not in the same step

But Go has no such construct.

In contrast to WithStep, the start and end of the step are logged, including
timing information.
2025-07-15 12:52:27 +02:00
Patrick Ohly
b7c2d6aba5 ktesting: skip logging error when capturing it
Hiding the error in WithError is the right choice for example
when it is used inside ktesting.Eventually. Most callers probably want to deal
with the unexpected error themselves. For those who don't, WithErrorLogging
continues to log it.
2025-07-15 12:52:27 +02:00
Carlos Panato
a06b3d356c
Bump dependencies, images and versions used to Go 1.24.5 and distroless iptables
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2025-07-11 20:30:39 +02:00
ArkaSaha30
621482d68b
update pause version to 3.10.1
This commit will update the pause version to 3.10.1 as per thread: https://kubernetes.slack.com/archives/CJH2GBF7Y/p1741674313893029

Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2025-07-09 16:38:14 +05:30
ylink-lfs
075abb07a9 ci: redis removal for e2e test dependency simplicity 2025-07-08 09:14:54 +08:00
PatrickLaabs
2f7148782b chore: depr. pointer pkg replacement for test/e2e and utils 2025-07-06 22:18:03 +02:00
Kubernetes Prow Robot
c6539bc785
Merge pull request #132284 from ArkaSaha30/bump-etcd-3.6.1
Bump etcd to v3.6.1
2025-06-30 11:00:35 -07:00
ArkaSaha30
e1d74f1d33
Update etcd image revision to 3.6.1-1
This commit will update etcd image revision from 3.6.1-0 to 3.6.1-1
Ref Discussion: https://github.com/kubernetes/kubernetes/pull/132395/files#r2156576606

Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2025-06-23 23:00:38 +05:30
Davanum Srinivas
3827d3bc4f
Drop usage of forked copies of goyaml.v2 and goyaml.v3
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2025-06-17 11:00:27 -04:00
ArkaSaha30
e09b042d34
Bump etcd to v3.6.1
This commit will bump etcd to v3.6.1
Release: https://github.com/etcd-io/etcd/releases/tag/v3.6.1
Issue: https://github.com/etcd-io/etcd/issues/20047

Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2025-06-13 16:28:35 +05:30
Carlos Panato
e5f36796e3
Bump dependencies, images and versions used to Go 1.24.4 and distroless iptables
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2025-06-11 08:24:35 +02:00
yashsingh74
1d1d0c154c
promote agnhost to v2.56
Signed-off-by: yashsingh74 <yashsingh1774@gmail.com>
2025-06-05 14:45:00 +05:30
joshjms
b461d80f3d etcd: update etcd image to v3.6.0
Signed-off-by: joshjms <joshjms1607@gmail.com>
2025-05-26 15:06:50 +08:00
Carlos Panato
488c94735c
Bump dependencies, images and versions used to Go 1.24.3 and distroless iptables
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2025-05-23 08:58:13 -04:00
Manjunath Kumatagi
671d1a07a5
Bump the busybox image 2025-05-16 13:28:37 +05:30
Patrick Ohly
5af026120a test: bump agnhost image to 2.54
YAML files were patched with:
   sed -i -e 's;registry.k8s.io/e2e-test-images/agnhost:2...;registry.k8s.io/e2e-test-images/agnhost:2.54;' $(git grep -l agnhost:2 test/e2e/testing-manifests/ test/fixtures/)

The test/images/kitten and test/images/nautilus base images are still on an
older agnhost because updating those is better left to the owners.
2025-05-05 08:25:20 +02:00
Jordan Liggitt
6bb6c99342
Drop null creationTimestamp from test fixtures 2025-05-02 15:38:40 -04: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
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
Arnaud Meukam
e467c9530b
[Go] Bump dependencies, images and versions used to Go 1.24.2 and distroless-iptables
Signed-off-by: Arnaud Meukam <ameukam@gmail.com>
2025-04-18 15:49:48 +02:00
carlory
091d09b447 deflake e2e tests: CustomResourcePublishOpenAPI works for multiple CRDs of same group and version but different kinds
Co-authored-by: Antonio Ojea <antonio.ojea.garcia@gmail.com>
Signed-off-by: carlory <baofa.fan@daocloud.io>
2025-04-17 16:40:27 +08:00
zhangzhifei16
c1ff9cf4e8 chore: Upgrade the mockery version to v2.53.3. 2025-04-10 21:16:47 +08:00
joshjms
24edc6e90f Update etcd to 3.5.21
Signed-off-by: joshjms <joshjms1607@gmail.com>
2025-04-02 02:16:38 +08:00
Patrick Ohly
6478ca5859 ktesting: fix per-test logging in TContext.Run and WithTB
WithTB was originally defined as "uses the existing logger". But what we want
there and in the newer TContext.Run is the usual per-test logging, now for the
sub-test.
2025-03-18 20:52:54 +01:00
cpanato
597b54720e
Bump images, dependencies and versions to go 1.24.0
Signed-off-by: cpanato <ctadeu@gmail.com>
2025-02-26 11:26:54 +01:00
Kubernetes Prow Robot
06d81cfc7a
Merge pull request #130359 from my-git9/assertion1
fix wrong assertion on tests
2025-02-24 05:18:34 -08:00
xin.li
bc4ae15d77 fix wrong assertion on tests
Signed-off-by: xin.li <xin.li@daocloud.io>
2025-02-23 16:53:50 +08:00