Skip to content

e2e: update test suites with addon availability, CIDR handling, and conformance improvements#847

Open
tatlat wants to merge 3 commits into
aws:mainfrom
tatlat:e2e-test-suite-updates
Open

e2e: update test suites with addon availability, CIDR handling, and conformance improvements#847
tatlat wants to merge 3 commits into
aws:mainfrom
tatlat:e2e-test-suite-updates

Conversation

@tatlat
Copy link
Copy Markdown
Member

@tatlat tatlat commented Mar 29, 2026

Summary

Updates the e2e test suites to use the new addon availability framework, adds VPC CIDR fields to HybridCluster, and improves conformance test setup.

Changes

  • Update suite files (addon_ec2.go, peered_vpc.go, mixed_mode_test.go, addons_test.go, nodeadm_test.go) to call IsAvailable() and handle ErrAddonNotAvailable gracefully
  • Add CloudVPCCIDR, HybridVPCCIDR, PodCIDR fields to HybridCluster in test/e2e/peered/cluster.go, populated at lookup time from AWS APIs
  • Update OSProviderList to accept a region parameter for partition-aware OS selection
  • Add conformance test repo-list.yaml template with ECR registry mappings and dynamic generation function in conformance_test.go
  • Add ChinaEcrAccountId and other constants to test/e2e/constants/constants.go
  • Update test/e2e/kubernetes/conformance.go with WithTestRepoList option

Dependencies

Depends on #845 and #846

Testing

  • make lint passes with 0 issues

tatlat added 3 commits March 28, 2026 23:28
…ECR auth

- Add GetSerialConsoleEndpoint() to support China partition EC2 serial console endpoint format
- Refactor Bottlerocket ECR auth to use anonymous ECR Public token for China regions
  instead of querying private China ECR mirrors (works without AWS credentials)
- Update peered node to use partition-aware serial console endpoint
- Add IsAvailable() method to check if addon is offered in current region/partition
- Add ErrAddonNotAvailable sentinel error for skipping unavailable addons
- Call IsAvailable() in CreateAndWaitForActive() to skip unavailable addons gracefully
- Add adot addon support
- Fix import alias conflict (e2eerrors vs errors) in addon.go
- Update fsxcsidriver, certmanager, pcaissuer with improved error handling
- Update fsx_csi_dynamic_provisioning.yaml test data
…onformance improvements

- Update suite files to handle addon availability checks gracefully
- Add VXLAN/cert-manager webhook port constants to mixed mode tests
- Use partition-aware OSProviderList with region parameter
- Add CloudVPCCIDR, HybridVPCCIDR, PodCIDR fields to HybridCluster
- Add conformance test repo-list.yaml template and dynamic generation
- Fix gofumpt: 0644 -> 0o644 octal literal
@tatlat tatlat dismissed abhinavmpandey08’s stale review March 30, 2026 15:58

The merge-base changed after approval.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants