Skip to content

test: Deflake XfccIntegrationTest.TagExtractedNameGenerationTest - #49036

Merged
phlax merged 1 commit into
envoyproxy:mainfrom
phlax:test-xfcc-tag-extraction-deflake
Nov 5, 2026
Merged

phlax merged 1 commit into
envoyproxy:mainfrom
phlax:test-xfcc-tag-extraction-deflake

Conversation

@phlax

@phlax phlax commented Nov 5, 2026

Copy link
Copy Markdown
Member

The test expects the per-worker watchdog counters to exist, but they are created in a post callback on the worker that runs after the listener-ready notification and after the started callback that unblocks the main thread. The admin request added in #32280 is served on the main thread's connection handler and so does not synchronize with the worker at all. Use a worker barrier instead.

The test expects the per-worker watchdog counters to exist, but they are
created in a post callback on the worker that runs after the listener-ready
notification and after the started callback that unblocks the main thread.
The admin request added in envoyproxy#32280 is served on the main thread's connection
handler and so does not synchronize with the worker at all.  Use a worker
barrier instead.

Signed-off-by: Ryan Northey <[email protected]>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues are recorded for the worker-thread synchronization change.

No open issues 🎉

What changed in this PR

Deflakes XfccIntegrationTest.TagExtractedNameGenerationTest by synchronizing with worker threads before checking watchdog statistics, replacing the main-thread admin request introduced in #32280.

Changes:

  • Replaces the /config_dump request with waitForWorkerThreads().
  • Explains why an admin request does not synchronize worker initialization.
File Description
test/​integration/​xfcc_integration_test.cc Uses a worker barrier before validating watchdog statistics.

Review effort: Balanced

@phlax
phlax merged commit 4113c85 into envoyproxy:main Nov 5, 2026
27 checks passed
phlax added a commit to phlax/envoy that referenced this pull request Nov 12, 2026
…oyproxy#49036)

The test expects the per-worker watchdog counters to exist, but they are
created in a post callback on the worker that runs after the
listener-ready notification and after the started callback that unblocks
the main thread. The admin request added in envoyproxy#32280 is served on the main
thread's connection handler and so does not synchronize with the worker
at all. Use a worker barrier instead.

Signed-off-by: Ryan Northey <[email protected]>
jwendell pushed a commit that referenced this pull request Nov 12, 2026
)

The test expects the per-worker watchdog counters to exist, but they are
created in a post callback on the worker that runs after the
listener-ready notification and after the started callback that unblocks
the main thread. The admin request added in #32280 is served on the main
thread's connection handler and so does not synchronize with the worker
at all. Use a worker barrier instead.

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
…oyproxy#49036)

The test expects the per-worker watchdog counters to exist, but they are
created in a post callback on the worker that runs after the
listener-ready notification and after the started callback that unblocks
the main thread. The admin request added in envoyproxy#32280 is served on the main
thread's connection handler and so does not synchronize with the worker
at all. Use a worker barrier instead.

Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit 4113c85)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
…oyproxy#49036)

The test expects the per-worker watchdog counters to exist, but they are
created in a post callback on the worker that runs after the
listener-ready notification and after the started callback that unblocks
the main thread. The admin request added in envoyproxy#32280 is served on the main
thread's connection handler and so does not synchronize with the worker
at all. Use a worker barrier instead.

Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit 4113c85)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
…oyproxy#49036)

The test expects the per-worker watchdog counters to exist, but they are
created in a post callback on the worker that runs after the
listener-ready notification and after the started callback that unblocks
the main thread. The admin request added in envoyproxy#32280 is served on the main
thread's connection handler and so does not synchronize with the worker
at all. Use a worker barrier instead.

Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit 4113c85)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
…oyproxy#49036)

The test expects the per-worker watchdog counters to exist, but they are
created in a post callback on the worker that runs after the
listener-ready notification and after the started callback that unblocks
the main thread. The admin request added in envoyproxy#32280 is served on the main
thread's connection handler and so does not synchronize with the worker
at all. Use a worker barrier instead.

Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit 4113c85)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
…oyproxy#49036)

The test expects the per-worker watchdog counters to exist, but they are
created in a post callback on the worker that runs after the
listener-ready notification and after the started callback that unblocks
the main thread. The admin request added in envoyproxy#32280 is served on the main
thread's connection handler and so does not synchronize with the worker
at all. Use a worker barrier instead.

Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit 4113c85)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
…oyproxy#49036)

The test expects the per-worker watchdog counters to exist, but they are
created in a post callback on the worker that runs after the
listener-ready notification and after the started callback that unblocks
the main thread. The admin request added in envoyproxy#32280 is served on the main
thread's connection handler and so does not synchronize with the worker
at all. Use a worker barrier instead.

Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit 4113c85)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 17, 2026
…oyproxy#49036)

The test expects the per-worker watchdog counters to exist, but they are
created in a post callback on the worker that runs after the
listener-ready notification and after the started callback that unblocks
the main thread. The admin request added in envoyproxy#32280 is served on the main
thread's connection handler and so does not synchronize with the worker
at all. Use a worker barrier instead.

Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit 4113c85)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 17, 2026
…oyproxy#49036)

The test expects the per-worker watchdog counters to exist, but they are
created in a post callback on the worker that runs after the
listener-ready notification and after the started callback that unblocks
the main thread. The admin request added in envoyproxy#32280 is served on the main
thread's connection handler and so does not synchronize with the worker
at all. Use a worker barrier instead.

Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit 4113c85)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 17, 2026
…oyproxy#49036)

The test expects the per-worker watchdog counters to exist, but they are
created in a post callback on the worker that runs after the
listener-ready notification and after the started callback that unblocks
the main thread. The admin request added in envoyproxy#32280 is served on the main
thread's connection handler and so does not synchronize with the worker
at all. Use a worker barrier instead.

Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit 4113c85)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit that referenced this pull request Nov 17, 2026
)

The test expects the per-worker watchdog counters to exist, but they are
created in a post callback on the worker that runs after the
listener-ready notification and after the started callback that unblocks
the main thread. The admin request added in #32280 is served on the main
thread's connection handler and so does not synchronize with the worker
at all. Use a worker barrier instead.

Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit 4113c85)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 18, 2026
…oyproxy#49036)

The test expects the per-worker watchdog counters to exist, but they are
created in a post callback on the worker that runs after the
listener-ready notification and after the started callback that unblocks
the main thread. The admin request added in envoyproxy#32280 is served on the main
thread's connection handler and so does not synchronize with the worker
at all. Use a worker barrier instead.

Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit 4113c85)
Signed-off-by: Ryan Northey <[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