Skip to content

test(heap): fixme "should not leak workers" on stable Firefox#41749

Open
microsoft-playwright-automation[bot] wants to merge 1 commit into
mainfrom
fix-flakes/macos-15-xlarge-29231981762
Open

test(heap): fixme "should not leak workers" on stable Firefox#41749
microsoft-playwright-automation[bot] wants to merge 1 commit into
mainfrom
fix-flakes/macos-15-xlarge-29231981762

Conversation

@microsoft-playwright-automation

Copy link
Copy Markdown
Contributor

Flaky on Firefox (Juggler) only: ~36% of firefox-library CI runs fail
(148/415 rows), always a 30s timeout. Chromium, WebKit and
moz-firefox-nightly (BiDi) never fail.

Instrumenting the loop shows the hang is always in
workerObj.waitForEvent('close'): after worker.terminate(), Firefox
sometimes never delivers the worker 'close' event, so the object is
never disposed and the leak assertion is never reached. That's a
Juggler worker-close race, not a test-side bug, so scope a fixme to
stable Firefox and keep it running everywhere else (nightly BiDi passes).

Verified locally on firefox-macos-15-xlarge (macOS 15, arm64): before
the fixme, 3 failed + 4 flaky of 8 --repeat-each; after, 3 skipped on
Firefox and still passing on Chromium. npm run flint clean.

Run: https://github.com/microsoft/playwright/actions/runs/29231981762

Suggested-reviewer: dgozman

Flaky on Firefox (Juggler) only: ~36% of firefox-library CI runs fail
(148/415 rows), always a 30s timeout. Chromium, WebKit and
moz-firefox-nightly (BiDi) never fail.

Instrumenting the loop shows the hang is always in
workerObj.waitForEvent('close'): after worker.terminate(), Firefox
sometimes never delivers the worker 'close' event, so the object is
never disposed and the leak assertion is never reached. That's a
Juggler worker-close race, not a test-side bug, so scope a fixme to
stable Firefox and keep it running everywhere else (nightly BiDi passes).

Verified locally on firefox-macos-15-xlarge (macOS 15, arm64): before
the fixme, 3 failed + 4 flaky of 8 --repeat-each; after, 3 skipped on
Firefox and still passing on Chromium. npm run flint clean.

Run: https://github.com/microsoft/playwright/actions/runs/29231981762

Suggested-reviewer: dgozman
@github-actions

Copy link
Copy Markdown
Contributor

Test results for "MCP"

3 failed
❌ [chrome] › mcp/annotate.spec.ts:270 › should start dashboard and annotate when no dashboard is running @mcp-windows-latest-chrome
❌ [chrome] › mcp/cli-navigation.spec.ts:56 › goto chrome:// page that closes the tab does not crash the response @mcp-windows-latest-chrome
❌ [webkit] › mcp/annotate.spec.ts:497 › should disengage annotate mode when --annotate client disconnects @mcp-macos-latest-webkit

7757 passed, 1249 skipped


Merge workflow run.

@github-actions

Copy link
Copy Markdown
Contributor

Test results for "tests 1"

4 flaky ⚠️ [chromium-library] › library/chromium/chromium.spec.ts:371 › should produce network events, routing, and annotations for Service Worker `@frozen-time-library-chromium-linux`
⚠️ [chromium-library] › library/trace-viewer.spec.ts:1630 › should highlight locator in iframe while typing `@chromium-ubuntu-22.04-node20`
⚠️ [chromium-library] › library/video.spec.ts:476 › screencast › should capture static page in persistent context @smoke `@chromium-ubuntu-22.04-node20`
⚠️ [chromium-library] › library/video.spec.ts:717 › screencast › should work with video+trace `@chromium-ubuntu-22.04-node20`

49543 passed, 1162 skipped


Merge workflow run.

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.

1 participant