[BUG] GitHub + macOS + Node 14: All tests pass but process exits with code 134
See original GitHub issueContext:
- Playwright Version: 1.2.0
- Operating System: macOS
- Node version: 14
- Browser: Webkit
- Extra: Running as GitHub Action using microsoft/playwright-github-action v1.3.0
Running one project: e2e
PASS browser: chromium e2e tests/e2e/example.test.js
PASS browser: firefox e2e tests/e2e/example.test.js
PASS browser: webkit e2e tests/e2e/example.test.js
PASS browser: chromium e2e tests/e2e/vue.test.js
PASS browser: firefox e2e tests/e2e/vue.test.js
PASS browser: webkit e2e tests/e2e/vue.test.js
Test Suites: 6 passed, 6 of 2 total
Tests: 24 passed, 24 total
Snapshots: 0 total
Time: 21.526 s
Ran all test suites.
Assertion failed: (0), function uv_close, file ../deps/uv/src/unix/core.c, line 178.
/Users/runner/work/_temp/241fae1a-1600-440c-9c4a-dc01208caa50.sh: line 1: 3699 Abort trap: 6
npm run test:jest-e2e -- -ci
##[error]Process completed with exit code 134.
Tests pass with all other os/node versions:
- macOS + Node 10/12 (not 14)
- Ubuntu + Node 10/12/14
- Windows + Node 10/12/14
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
macOS + node 12/14 = e2e tests pass but "Process completed ...
Your build passed successfully with exit code 0 on Node.js 10.x but failed on the same environments with Node.js 12.x and 14.x. It...
Read more >macOS + node 12/14 = e2e tests pass but "Process ... - GitHub
Issue triager. macOS + node 12/14 = e2e tests pass but "Process completed with exit code 134". Issue triager #593 #593. Sign in...
Read more >Update dependencies because of vulnerabilities #343 - GitHub
Fixed that, please consider creating a new npm from it. ... [BUG] GitHub + macOS + Node 14: All tests pass but process...
Read more >Assert at exit in uv_close on macOS #32389 - GitHub
We run a karma test suite against safari, everything runs fine except the process asserts when it exits: Assertion failed: (0), function ...
Read more >Process exited with code 134 · Issue #923 - GitHub
Getting a FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory. Newbie here. Is it something to do with...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks to @aslushnikov and @yury-s I was able to track down the issue. The linked issues provided by @yury-s convinced me that an outdated version of chokidar was likely the cause. I ran the following CLI command to determine if a dependency on an outdated version existed in our project:
Sure enough, this was the result:
Turns out live-server is still using chokidar v2. A live-server PR has been created to address the issue, but since that PR is now four months old with no sign of activity, we made the switch to browser-sync. Very happy to report that all tests pass without issue now.
Thanks again for your help. The linked issues were critical in identifying the problem. Very much appreciated!
@yury-s –
Turns out that setting
runInProcess
totrue
for jest-image-snapshot solves the issue so I recreated an issue there: https://github.com/americanexpress/jest-image-snapshot/issues/231.For clarification, I believe the issue is macOS- and/or GitHub-specific, not Webkit-specific. All tests pass without issue locally on macOS and on both Ubuntu and Windows using GitHub Actions.