Skip to content

chore: ignore test env stop error - #7817

Merged
zhaohuabing merged 2 commits into
envoyproxy:mainfrom
zirain:fix-kube-test
Dec 26, 2025
Merged

zhaohuabing merged 2 commits into
envoyproxy:mainfrom
zirain:fix-kube-test

Conversation

@zirain

@zirain zirain commented Dec 25, 2025 •

Copy link
Copy Markdown
Member

fixes: #7815

  • ignore test env stop error

@zirain
zirain requested a review from a team as a code owner December 25, 2025 03:59
@codecov

codecov Bot commented Dec 25, 2025 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 72.62%. Comparing base (cec35e6) to head (2d45796).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7817      +/-   ##
==========================================
- Coverage   72.65%   72.62%   -0.04%     
==========================================
  Files         235      235              
  Lines       34876    34876              
==========================================
- Hits        25340    25328      -12     
- Misses       7732     7740       +8     
- Partials     1804     1808       +4     

☔ View full report in Codecov by Sentry.
📢 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.

@zhaohuabing

Copy link
Copy Markdown
Member

Does this fixes the data race? The locks are only added to reading.

Write at 0x00c000ef4f00 by goroutine 3401:
  runtime.mapassign()
      /opt/hostedtoolcache/go/1.25.5/x64/src/internal/runtime/maps/runtime_swiss.go:188 +0x0
  k8s.io/apimachinery/pkg/runtime.(*Scheme).AddKnownTypeWithName()
      /home/runner/go/pkg/mod/k8s.io/[email protected]/pkg/runtime/scheme.go:192 +0x4fa
  sigs.k8s.io/controller-runtime/pkg/client/fake.(*fakeClient).addToSchemeIfUnknownAndUnstructuredOrPartial()
runtime.mapaccess1()
      /opt/hostedtoolcache/go/1.25.5/x64/src/internal/runtime/maps/runtime_swiss.go:40 +0x0
  k8s.io/apimachinery/pkg/runtime.(*Scheme).ObjectKinds()
      /home/runner/go/pkg/mod/k8s.io/[email protected]/pkg/runtime/scheme.go:274 +0x149

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

zirain commented Dec 26, 2025

Copy link
Copy Markdown
Member Author

Does this fixes the data race? The locks are only added to reading.

Write at 0x00c000ef4f00 by goroutine 3401:
  runtime.mapassign()
      /opt/hostedtoolcache/go/1.25.5/x64/src/internal/runtime/maps/runtime_swiss.go:188 +0x0
  k8s.io/apimachinery/pkg/runtime.(*Scheme).AddKnownTypeWithName()
      /home/runner/go/pkg/mod/k8s.io/[email protected]/pkg/runtime/scheme.go:192 +0x4fa
  sigs.k8s.io/controller-runtime/pkg/client/fake.(*fakeClient).addToSchemeIfUnknownAndUnstructuredOrPartial()
runtime.mapaccess1()
      /opt/hostedtoolcache/go/1.25.5/x64/src/internal/runtime/maps/runtime_swiss.go:40 +0x0
  k8s.io/apimachinery/pkg/runtime.(*Scheme).ObjectKinds()
      /home/runner/go/pkg/mod/k8s.io/[email protected]/pkg/runtime/scheme.go:274 +0x149

#7820 should be the correct one for data race, it's inside client-go.

@zirain zirain changed the title fix kubernetes test chore: ignore test env stop error Dec 26, 2025
Signed-off-by: zirain <[email protected]>

@zhaohuabing zhaohuabing left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for taking care of the flaky test!

@zhaohuabing
zhaohuabing requested a review from a team December 26, 2025 02:45
@zhaohuabing
zhaohuabing merged commit c1931a6 into envoyproxy:main Dec 26, 2025
@zirain
zirain deleted the fix-kube-test branch December 26, 2025 11:47
millermatt pushed a commit to millermatt/envoy-gateway that referenced this pull request Jan 4, 2026
* fix

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

* revert

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

---------

Signed-off-by: zirain <[email protected]>
Signed-off-by: Matt Miller <[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.

FAIL: TestNamespacedProvider

3 participants