Skip to content

fix: renew expired TLS certificates in e2e test fixtures - #9256

Merged
zirain merged 5 commits into
mainfrom
copilot/fix-e2e-test-v1-33-7-failure
Jun 20, 2026
Merged

zirain merged 5 commits into
mainfrom
copilot/fix-e2e-test-v1-33-7-failure

Conversation

Copilot AI commented Jun 20, 2026 •

Copy link
Copy Markdown
Contributor

Three e2e test fixture files contained TLS certificates that expired on or around Jun 19, 2026, causing test failures due to CA validation rejecting the expired trust anchors.

Changes

  • test/e2e/testdata/proxy-protocol-with-tls.yaml — replaced ca.crt, tls.crt, tls.key for example-com-tls Secret and the inline PEM in example-ca ConfigMap; new certs valid until 2036
  • test/e2e/testdata/listenerset-base.yaml — replaced ca.crt, tls.crt, tls.key in listener-https-certificate Secret; same root CA was expired
  • test/e2e/testdata/listenerset-tls-termination.yaml — same as above for the cross-namespace listener-https-certificate Secret

All new certs generated via the existing test/e2e/testdata/certs/client-mtls-trustbundle.sh script pattern (RSA 2048, 10-year validity, same SANs/subjects).

@netlify

netlify Bot commented Jun 20, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for cerulean-figolla-1f9435 ready!

Name Link
🔨 Latest commit 3ca6385
🔍 Latest deploy log https://app.netlify.com/projects/cerulean-figolla-1f9435/deploys/6a366e6ef04f0b0008f53bd7
😎 Deploy Preview https://deploy-preview-9256--cerulean-figolla-1f9435.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copilot AI added 2 commits June 20, 2026 09:38
The CA certificate in test/e2e/testdata/client-mtls-trustbundle.yaml
expired on 2026-06-19 12:19:51 UTC. The test ran at ~16:02 UTC on the
same day, causing filterValidCertificates() to reject the expired CA cert
and set HTTP 500 direct responses on all routes.

Changes:
- Regenerated all certs with 10-year validity (3650 days) instead of 1 year
- Updated example-com-tls and client-example-com secrets with new certs
- Updated ClusterTrustBundle trustBundle with new CA cert
- Updated expected XFCC hash in client_mtls.go to match new client cert
- Fixed cert generation script to use 3650 days for CA cert
Copilot AI changed the title [WIP] Fix failing GitHub Actions job e2e-test (v1.33.7, ipv4, default) fix: renew expired test certificates for ClientMTLSClusterTrustBundle e2e test Jun 20, 2026
Copilot AI requested a review from rudrakhp June 20, 2026 09:39
@rudrakhp
rudrakhp marked this pull request as ready for review June 20, 2026 09:42
@rudrakhp
rudrakhp requested a review from a team as a code owner June 20, 2026 09:42
@codecov

codecov Bot commented Jun 20, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.15%. Comparing base (8c54e5e) to head (3ca6385).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9256      +/-   ##
==========================================
+ Coverage   75.14%   75.15%   +0.01%     
==========================================
  Files         252      252              
  Lines       41031    41031              
==========================================
+ Hits        30831    30836       +5     
+ Misses       8101     8097       -4     
+ Partials     2099     2098       -1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copilot AI changed the title fix: renew expired test certificates for ClientMTLSClusterTrustBundle e2e test fix: renew expired certificates in proxy-protocol-with-tls.yaml e2e test Jun 20, 2026
Copilot AI changed the title fix: renew expired certificates in proxy-protocol-with-tls.yaml e2e test fix: renew expired TLS certificates in e2e test fixtures Jun 20, 2026
@zirain
zirain merged commit 675f6e2 into main Jun 20, 2026
57 of 62 checks passed
@zirain
zirain deleted the copilot/fix-e2e-test-v1-33-7-failure branch June 20, 2026 12:29
zirain pushed a commit to zirain/gateway that referenced this pull request Jun 22, 2026
…9256)

* Initial plan

* fix: renew expired certificates in ClientMTLSClusterTrustBundle e2e test

The CA certificate in test/e2e/testdata/client-mtls-trustbundle.yaml
expired on 2026-06-19 12:19:51 UTC. The test ran at ~16:02 UTC on the
same day, causing filterValidCertificates() to reject the expired CA cert
and set HTTP 500 direct responses on all routes.

Changes:
- Regenerated all certs with 10-year validity (3650 days) instead of 1 year
- Updated example-com-tls and client-example-com secrets with new certs
- Updated ClusterTrustBundle trustBundle with new CA cert
- Updated expected XFCC hash in client_mtls.go to match new client cert
- Fixed cert generation script to use 3650 days for CA cert

* style: add blank line between comment and apiVersion in yaml

* fix: renew expired certificates in proxy-protocol-with-tls.yaml e2e test

* fix: renew expired certificates in listenerset-base.yaml and listenerset-tls-termination.yaml

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
@zirain zirain mentioned this pull request Jun 22, 2026
jukie pushed a commit that referenced this pull request Jun 22, 2026
* [chore] bump codecov

Signed-off-by: zirain <[email protected]>

* fix: renew expired TLS certificates in e2e test fixtures (#9256)

* Initial plan

* fix: renew expired certificates in ClientMTLSClusterTrustBundle e2e test

The CA certificate in test/e2e/testdata/client-mtls-trustbundle.yaml
expired on 2026-06-19 12:19:51 UTC. The test ran at ~16:02 UTC on the
same day, causing filterValidCertificates() to reject the expired CA cert
and set HTTP 500 direct responses on all routes.

Changes:
- Regenerated all certs with 10-year validity (3650 days) instead of 1 year
- Updated example-com-tls and client-example-com secrets with new certs
- Updated ClusterTrustBundle trustBundle with new CA cert
- Updated expected XFCC hash in client_mtls.go to match new client cert
- Fixed cert generation script to use 3650 days for CA cert

* style: add blank line between comment and apiVersion in yaml

* fix: renew expired certificates in proxy-protocol-with-tls.yaml e2e test

* fix: renew expired certificates in listenerset-base.yaml and listenerset-tls-termination.yaml

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>

---------

Signed-off-by: zirain <[email protected]>
Co-authored-by: Copilot <[email protected]>
zirain added a commit to zirain/gateway that referenced this pull request Jun 23, 2026
* [chore] bump codecov

Signed-off-by: zirain <[email protected]>

* fix: renew expired TLS certificates in e2e test fixtures (envoyproxy#9256)

* Initial plan

* fix: renew expired certificates in ClientMTLSClusterTrustBundle e2e test

The CA certificate in test/e2e/testdata/client-mtls-trustbundle.yaml
expired on 2026-06-19 12:19:51 UTC. The test ran at ~16:02 UTC on the
same day, causing filterValidCertificates() to reject the expired CA cert
and set HTTP 500 direct responses on all routes.

Changes:
- Regenerated all certs with 10-year validity (3650 days) instead of 1 year
- Updated example-com-tls and client-example-com secrets with new certs
- Updated ClusterTrustBundle trustBundle with new CA cert
- Updated expected XFCC hash in client_mtls.go to match new client cert
- Fixed cert generation script to use 3650 days for CA cert

* style: add blank line between comment and apiVersion in yaml

* fix: renew expired certificates in proxy-protocol-with-tls.yaml e2e test

* fix: renew expired certificates in listenerset-base.yaml and listenerset-tls-termination.yaml

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>

---------

Signed-off-by: zirain <[email protected]>
Co-authored-by: Copilot <[email protected]>
zirain added a commit that referenced this pull request Jun 23, 2026
* [release-1.7] bump codecov

Signed-off-by: zirain <[email protected]>

* [chore] bump codecov (#9264)

* [chore] bump codecov

Signed-off-by: zirain <[email protected]>

* fix: renew expired TLS certificates in e2e test fixtures (#9256)

* Initial plan

* fix: renew expired certificates in ClientMTLSClusterTrustBundle e2e test

The CA certificate in test/e2e/testdata/client-mtls-trustbundle.yaml
expired on 2026-06-19 12:19:51 UTC. The test ran at ~16:02 UTC on the
same day, causing filterValidCertificates() to reject the expired CA cert
and set HTTP 500 direct responses on all routes.

Changes:
- Regenerated all certs with 10-year validity (3650 days) instead of 1 year
- Updated example-com-tls and client-example-com secrets with new certs
- Updated ClusterTrustBundle trustBundle with new CA cert
- Updated expected XFCC hash in client_mtls.go to match new client cert
- Fixed cert generation script to use 3650 days for CA cert

* style: add blank line between comment and apiVersion in yaml

* fix: renew expired certificates in proxy-protocol-with-tls.yaml e2e test

* fix: renew expired certificates in listenerset-base.yaml and listenerset-tls-termination.yaml

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>

---------

Signed-off-by: zirain <[email protected]>
Co-authored-by: Copilot <[email protected]>

---------

Signed-off-by: zirain <[email protected]>
Co-authored-by: Copilot <[email protected]>
guydc pushed a commit to guydc/gateway that referenced this pull request Jun 30, 2026
…9256)

* Initial plan

* fix: renew expired certificates in ClientMTLSClusterTrustBundle e2e test

The CA certificate in test/e2e/testdata/client-mtls-trustbundle.yaml
expired on 2026-06-19 12:19:51 UTC. The test ran at ~16:02 UTC on the
same day, causing filterValidCertificates() to reject the expired CA cert
and set HTTP 500 direct responses on all routes.

Changes:
- Regenerated all certs with 10-year validity (3650 days) instead of 1 year
- Updated example-com-tls and client-example-com secrets with new certs
- Updated ClusterTrustBundle trustBundle with new CA cert
- Updated expected XFCC hash in client_mtls.go to match new client cert
- Fixed cert generation script to use 3650 days for CA cert

* style: add blank line between comment and apiVersion in yaml

* fix: renew expired certificates in proxy-protocol-with-tls.yaml e2e test

* fix: renew expired certificates in listenerset-base.yaml and listenerset-tls-termination.yaml

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
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.

3 participants