Skip to content

Investigate flaky test-watch-mode #44655

Description

@tniessen

Test

test-watch-mode

Platform

AIX, Linux ARMv7, Linux x64

Console output

11:00:15 not ok 3018 parallel/test-watch-mode11:00:15 ---11:00:15 duration_ms: 8.77911:00:15 severity: fail11:00:15 exitcode: 111:00:15 stack: |-11:00:15 TAP version 1311:00:15 # Subtest: watch mode11:00:15 # Subtest: should watch changes to a file - event loop ended11:00:15 ok 1 - should watch changes to a file - event loop ended11:00:15 ---11:00:15 duration_ms: 343.07637911:00:15 ...11:00:15 # Subtest: should watch changes to a failing file11:00:15 not ok 2 - should watch changes to a failing file11:00:15 ---11:00:15 duration_ms: 187.29175511:00:15 failureType: 'testCodeFailure'11:00:15 error: |-11:00:15 Expected values to be strictly equal:11:00:15 11:00:15 1 !== 211:00:15 11:00:15 code: 'ERR_ASSERTION'11:00:15 stack: |-11:00:15 Object.<anonymous> (file:///home/iojs/build/workspace/node-test-commit-linux-containered/test/parallel/test-watch-mode.mjs:96:12)11:00:15 process.processTicksAndRejections (node:internal/process/task_queues:95:5)11:00:15 async ItTest.run (node:internal/test_runner/test:487:9)11:00:15 async Suite.processPendingSubtests (node:internal/test_runner/test:252:7)11:00:15 ...11:00:15 # Subtest: should not watch when running an non-existing file11:00:15 ok 3 - should not watch when running an non-existing file11:00:15 ---11:00:15 duration_ms: 156.84523311:00:15 ...11:00:15 # Subtest: should watch when running an non-existing file - when specified under --watch-path11:00:15 ok 4 - should watch when running an non-existing file - when specified under --watch-path # SKIP11:00:15 ---11:00:15 duration_ms: 0.24884111:00:15 ...11:00:15 # Subtest: should watch changes to a file - event loop blocked11:00:15 ok 5 - should watch changes to a file - event loop blocked11:00:15 ---11:00:15 duration_ms: 1368.87192311:00:15 ...11:00:15 # Subtest: should watch changes to dependencies - cjs11:00:15 ok 6 - should watch changes to dependencies - cjs11:00:15 ---11:00:15 duration_ms: 321.39569411:00:15 ...11:00:15 # Subtest: should watch changes to dependencies - esm11:00:15 ok 7 - should watch changes to dependencies - esm11:00:15 ---11:00:15 duration_ms: 334.36872411:00:15 ...11:00:15 # Subtest: should restart multiple times11:00:15 ok 8 - should restart multiple times11:00:15 ---11:00:15 duration_ms: 2445.70140511:00:15 ...11:00:15 # Subtest: should gracefully wait when restarting11:00:15 ok 9 - should gracefully wait when restarting11:00:15 ---11:00:15 duration_ms: 2309.42633411:00:15 ...11:00:15 # Subtest: should pass arguments to file11:00:15 ok 10 - should pass arguments to file11:00:15 ---11:00:15 duration_ms: 294.61482511:00:15 ...11:00:15 # Subtest: should not load --require modules in main process11:00:15 ok 11 - should not load --require modules in main process11:00:15 ---11:00:15 duration_ms: 286.41737111:00:15 ...11:00:15 # Subtest: should not load --import modules in main process11:00:15 ok 12 - should not load --import modules in main process11:00:15 ---11:00:15 duration_ms: 334.63455711:00:15 ...11:00:15 1..1211:00:15 not ok 1 - watch mode11:00:15 ---11:00:15 duration_ms: 8391.26770811:00:15 failureType: 'subtestsFailed'11:00:15 error: '1 subtest failed'11:00:15 code: 'ERR_TEST_FAILURE'11:00:15 ...11:00:15 1..111:00:15 # tests 111:00:15 # pass 011:00:15 # fail 111:00:15 # cancelled 011:00:15 # skipped 011:00:15 # todo 011:00:15 # duration_ms 8394.66553511:00:15 (node:30879) ExperimentalWarning: The test runner is an experimental feature. This feature could change at any time11:00:15 (Use `node --trace-warnings ...` to show where the warning was created)11:00:15 ...

Build links

Additional information

Added in #44366.

Metadata

Metadata

Assignees

No one assigned

    Labels

    aixIssues and PRs related to the AIX platform.armIssues and PRs related to the ARM architecture.flaky-testIssues and PRs related to the tests with unstable failures on the CI.linuxIssues and PRs related to the Linux platform.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions