kubernetes/test/e2e
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
..
apimachinery DRA: use v1 API 2025-07-24 08:33:45 +02:00
apps Merge pull request #132756 from ylink-lfs/ci/redis_removal 2025-07-24 09:38:42 -07:00
architecture
auth chore: depr. pointer pkg replacement for test/e2e 2025-07-06 22:32:21 +02:00
autoscaling switch to latest sigs.k8s.io/yaml v1.5.0 (run update-gofmt.sh as well) 2025-06-25 11:42:12 -04:00
chaosmonkey
cloud
common Merge pull request #132756 from ylink-lfs/ci/redis_removal 2025-07-24 09:38:42 -07:00
dra DRA: graduate DynamicResourceAllocation feature to GA 2025-07-24 08:33:56 +02:00
environment Ensure all the files have the updated sorting 2025-06-27 11:13:50 -04:00
feature Merge pull request #132083 from carlory/cleanup-GAed-fg-DevicePluginCDIDevices 2025-07-21 13:06:27 -07:00
framework Merge pull request #132991 from danwinship/endpoints-e2e-updates 2025-07-23 19:56:26 -07:00
instrumentation
kubectl chore: depr. pointer pkg replacement for test/e2e 2025-07-07 12:25:55 +02:00
lifecycle
network Merge pull request #132959 from ylink-lfs/test/e2e_named_port_con_case 2025-07-24 07:56:34 -07:00
node Merge pull request #133065 from natasha41575/dedupe-resize-test 2025-07-22 17:56:27 -07:00
perftype
reporters
scheduling
storage Bump external snapshotter for vgs tests 2025-07-22 16:38:20 +08:00
testing-manifests Merge pull request #132756 from ylink-lfs/ci/redis_removal 2025-07-24 09:38:42 -07:00
upgrades
windows chore: replacement of toPtr helper functions with ptr packge 2025-07-08 09:48:56 +02:00
e2e-example-config.json
e2e.go
e2e_test.go
providers.go
README.md
suites.go

test/e2e

This is home to e2e tests used for presubmit, periodic, and postsubmit jobs.

Some of these jobs are merge-blocking, some are release-blocking.

e2e test ownership

All e2e tests must adhere to the following policies:

  • the test must be owned by one and only one SIG
  • the test must live in/underneath a sig-owned package matching pattern: test/e2e/[{subpath}/]{sig}/..., e.g.
    • test/e2e/auth - all tests owned by sig-auth
    • test/e2e/common/storage - all tests common to cluster-level and node-level e2e tests, owned by sig-node
    • test/e2e/upgrade/apps - all tests used in upgrade testing, owned by sig-apps
  • each sig-owned package should have an OWNERS file defining relevant approvers and labels for the owning sig, e.g.
# test/e2e/node/OWNERS
# See the OWNERS docs at https://go.k8s.io/owners

approvers:
- alice
- bob
- cynthia
emeritus_approvers:
- dave
reviewers:
- sig-node-reviewers
labels:
- sig/node
  • packages that use {subpath} should have an imports.go file importing sig-owned packages (for ginkgo's benefit), e.g.
// test/e2e/common/imports.go
package common

import (
	// ensure these packages are scanned by ginkgo for e2e tests
	_ "k8s.io/kubernetes/test/e2e/common/network"
	_ "k8s.io/kubernetes/test/e2e/common/node"
	_ "k8s.io/kubernetes/test/e2e/common/storage"
)
  • test ownership must be declared via a top-level SIGDescribe call defined in the sig-owned package, e.g.
// test/e2e/lifecycle/framework.go
package lifecycle

import "k8s.io/kubernetes/test/e2e/framework"

// SIGDescribe annotates the test with the SIG label.
var SIGDescribe = framework.SIGDescribe("cluster-lifecycle")
// test/e2e/lifecycle/bootstrap/bootstrap_signer.go

package bootstrap

import (
	"github.com/onsi/ginkgo"
	"k8s.io/kubernetes/test/e2e/lifecycle"
)
var _ = lifecycle.SIGDescribe("cluster", feature.BootstrapTokens, func() {
  /* ... */
  ginkgo.It("should sign the new added bootstrap tokens", func(ctx context.Context) {
    /* ... */
  })
  /* etc */
})

These polices are enforced:

  • via the merge-blocking presubmit job pull-kubernetes-verify
  • which ends up running hack/verify-e2e-test-ownership.sh
  • which can also be run via make verify WHAT=e2e-test-ownership

more info

See kubernetes/community/.../e2e-tests.md