Skip to content

Investigate flaky test-watch-mode (no. 3)#44898

@tniessen

Description

@tniessen

Test

test-watch-mode

Platform

Linux x64, FreeBSD

Console output

13:17:49 not ok 3811 sequential/test-watch-mode13:17:55 ---13:17:55 duration_ms: 5.29113:17:55 severity: fail13:17:55 exitcode: 113:17:55 stack: |-13:17:55 TAP version 1313:17:55 # Subtest: watch mode13:17:55 # Subtest: should watch changes to a file - event loop ended13:17:55 ok 1 - should watch changes to a file - event loop ended13:17:55 ---13:17:55 duration_ms: 2739.79382113:17:55 ...13:17:55 # Subtest: should watch changes to a failing file13:17:55 ok 2 - should watch changes to a failing file13:17:55 ---13:17:55 duration_ms: 2477.02816913:17:55 ...13:17:55 # Subtest: should not watch when running an non-existing file13:17:55 ok 3 - should not watch when running an non-existing file13:17:55 ---13:17:55 duration_ms: 2285.64273313:17:55 ...13:17:55 # Subtest: should watch when running an non-existing file - when specified under --watch-path13:17:55 ok 4 - should watch when running an non-existing file - when specified under --watch-path # SKIP13:17:55 ---13:17:55 duration_ms: 209.59162313:17:55 ...13:17:55 # Subtest: should watch changes to a file - event loop blocked13:17:55 not ok 5 - should watch changes to a file - event loop blocked13:17:55 ---13:17:55 duration_ms: 2870.0346713:17:55 failureType: 'testCodeFailure'13:17:55 error: |-13:17:55 Expected values to be strictly deep-equal:13:17:55 + actual - expected13:17:55 13:17:55 [13:17:55 + 'running',13:17:55 + "Restarting '/home/iojs/build/workspace/node-test-commit-linux-containered/test/fixtures/watch-mode/event_loop_blocked.js'"13:17:55 - "Restarting '/home/iojs/build/workspace/node-test-commit-linux-containered/test/fixtures/watch-mode/event_loop_blocked.js'",13:17:55 - 'running'13:17:55 ]13:17:55 code: 'ERR_ASSERTION'13:17:55 stack: |-13:17:55 assertRestartedCorrectly (file:///home/iojs/build/workspace/node-test-commit-linux-containered/test/sequential/test-watch-mode.mjs:74:10)13:17:55 Object.<anonymous> (file:///home/iojs/build/workspace/node-test-commit-linux-containered/test/sequential/test-watch-mode.mjs:141:5)13:17:55 process.processTicksAndRejections (node:internal/process/task_queues:95:5)13:17:55 async ItTest.run (node:internal/test_runner/test:512:9)13:17:55 async Promise.all (index 4)13:17:55 async Suite.run (node:internal/test_runner/test:739:7)13:17:55 ...13:17:55 # Subtest: should watch changes to dependencies - cjs13:17:55 ok 6 - should watch changes to dependencies - cjs13:17:55 ---13:17:55 duration_ms: 2782.27808213:17:55 ...13:17:55 # Subtest: should watch changes to dependencies - esm13:17:55 ok 7 - should watch changes to dependencies - esm13:17:55 ---13:17:55 duration_ms: 2598.25828913:17:55 ...13:17:55 # Subtest: should restart multiple times13:17:55 ok 8 - should restart multiple times13:17:55 ---13:17:55 duration_ms: 4515.9500913:17:55 ...13:17:55 # Subtest: should pass arguments to file13:17:55 ok 9 - should pass arguments to file13:17:55 ---13:17:55 duration_ms: 2784.22740913:17:55 ...13:17:55 # Subtest: should not load --require modules in main process13:17:55 ok 10 - should not load --require modules in main process13:17:55 ---13:17:55 duration_ms: 2822.56644413:17:55 ...13:17:55 # Subtest: should not load --import modules in main process13:17:55 ok 11 - should not load --import modules in main process13:17:55 ---13:17:55 duration_ms: 2968.50289613:17:55 ...13:17:55 1..1113:17:55 not ok 1 - watch mode13:17:55 ---13:17:55 duration_ms: 4638.01035213:17:55 failureType: 'subtestsFailed'13:17:55 error: '1 subtest failed'13:17:55 code: 'ERR_TEST_FAILURE'13:17:55 ...13:17:55 1..113:17:55 # tests 113:17:55 # pass 013:17:55 # fail 113:17:55 # cancelled 013:17:55 # skipped 013:17:55 # todo 013:17:55 # duration_ms 4649.41637613:17:55 ...

Build links

Additional information

Refs: #44655
Refs: #44735
Refs: #44805

Metadata

Metadata

Assignees

No one assigned

    Labels

    flaky-testIssues and PRs related to the tests with unstable failures on the CI.freebsdIssues and PRs related to the FreeBSD platform.linuxIssues and PRs related to the Linux platform.watch-modeIssues and PRs related to watch mode

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions