-
Notifications
You must be signed in to change notification settings - Fork 29.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Investigate flaky test-runner-cli #43618
Labels
flaky-test
Issues and PRs related to the tests with unstable failures on the CI.
test_runner
Issues and PRs related to the test runner subsystem.
Comments
F3n67u
added
flaky-test
Issues and PRs related to the tests with unstable failures on the CI.
test_runner
Issues and PRs related to the test runner subsystem.
labels
Jun 29, 2022
Related test: node/test/parallel/test-runner-cli.js Lines 37 to 51 in ed1e9ae
When running Actual 'not ok 3 - /Users/iojs/build/workspace/node-test-commit-osx/nodes/osx1015/test/fixtures/test-runner/random.test.mjs\n' +
' ---\n' +
' duration_ms: 0.072654973\n' +
" failureType: 'subtestsFailed'\n" +
' exitCode: 1\n' +
" stdout: ''\n" +
" stderr: ''\n" +
" error: 'test failed'\n" +
" code: 'ERR_TEST_FAILURE'\n" +
' ...\n' + Expectednot ok 3 - /Users/bytedance/Projects/node/test/fixtures/test-runner/random.test.mjs
---
duration_ms: 0.153871203
failureType: 'subtestsFailed'
exitCode: 1
stdout: |-
TAP version 13
not ok 1 - this should fail
---
duration_ms: 0.000535456
failureType: 'testCodeFailure'
error: 'this is a failing test'
code: 'ERR_TEST_FAILURE'
stack: |-
TestContext.<anonymous> (file:///Users/bytedance/Projects/node/test/fixtures/test-runner/random.test.mjs:4:9)
Test.runInAsyncScope (node:async_hooks:202:9)
Test.run (node:internal/test_runner/test:340:20)
Test.start (node:internal/test_runner/test:292:17)
Test.test (node:internal/test_runner/harness:126:18)
file:///Users/bytedance/Projects/node/test/fixtures/test-runner/random.test.mjs:3:1
ModuleJob.run (node:internal/modules/esm/module_job:197:25)
async Promise.all (index 0)
async ESMLoader.import (node:internal/modules/esm/loader:527:24)
async loadESM (node:internal/process/esm_loader:83:5)
...
1..1
# tests 1
# pass 0
# fail 1
# skipped 0
# todo 0
# duration_ms 0.116038223
stderr: |-
(node:19382) ExperimentalWarning: The test runner is an experimental feature. This feature could change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
error: 'test failed'
code: 'ERR_TEST_FAILURE'
... |
IL try taking a look |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
flaky-test
Issues and PRs related to the tests with unstable failures on the CI.
test_runner
Issues and PRs related to the test runner subsystem.
Test
test-runner-cli
Platform
macos
Console output
Build links
https://ci.nodejs.org/job/node-test-commit-osx/45870/nodes=osx1015/testReport/junit/(root)/test/parallel_test_runner_cli/
Additional information
I cannot reproduce this flaky problem on my Mac with
repeat 1000 ./node test/parallel/test-runner-cli.js
cc @nodejs/test_runner
The text was updated successfully, but these errors were encountered: