Closed
Description
Test
test-watch-mode
Platform
AIX, Linux ARMv7, Linux x64
Console output
11:00:15 not ok 3018 parallel/test-watch-mode
11:00:15 ---
11:00:15 duration_ms: 8.779
11:00:15 severity: fail
11:00:15 exitcode: 1
11:00:15 stack: |-
11:00:15 TAP version 13
11:00:15 # Subtest: watch mode
11:00:15 # Subtest: should watch changes to a file - event loop ended
11:00:15 ok 1 - should watch changes to a file - event loop ended
11:00:15 ---
11:00:15 duration_ms: 343.076379
11:00:15 ...
11:00:15 # Subtest: should watch changes to a failing file
11:00:15 not ok 2 - should watch changes to a failing file
11:00:15 ---
11:00:15 duration_ms: 187.291755
11:00:15 failureType: 'testCodeFailure'
11:00:15 error: |-
11:00:15 Expected values to be strictly equal:
11:00:15
11:00:15 1 !== 2
11: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 file
11:00:15 ok 3 - should not watch when running an non-existing file
11:00:15 ---
11:00:15 duration_ms: 156.845233
11:00:15 ...
11:00:15 # Subtest: should watch when running an non-existing file - when specified under --watch-path
11:00:15 ok 4 - should watch when running an non-existing file - when specified under --watch-path # SKIP
11:00:15 ---
11:00:15 duration_ms: 0.248841
11:00:15 ...
11:00:15 # Subtest: should watch changes to a file - event loop blocked
11:00:15 ok 5 - should watch changes to a file - event loop blocked
11:00:15 ---
11:00:15 duration_ms: 1368.871923
11:00:15 ...
11:00:15 # Subtest: should watch changes to dependencies - cjs
11:00:15 ok 6 - should watch changes to dependencies - cjs
11:00:15 ---
11:00:15 duration_ms: 321.395694
11:00:15 ...
11:00:15 # Subtest: should watch changes to dependencies - esm
11:00:15 ok 7 - should watch changes to dependencies - esm
11:00:15 ---
11:00:15 duration_ms: 334.368724
11:00:15 ...
11:00:15 # Subtest: should restart multiple times
11:00:15 ok 8 - should restart multiple times
11:00:15 ---
11:00:15 duration_ms: 2445.701405
11:00:15 ...
11:00:15 # Subtest: should gracefully wait when restarting
11:00:15 ok 9 - should gracefully wait when restarting
11:00:15 ---
11:00:15 duration_ms: 2309.426334
11:00:15 ...
11:00:15 # Subtest: should pass arguments to file
11:00:15 ok 10 - should pass arguments to file
11:00:15 ---
11:00:15 duration_ms: 294.614825
11:00:15 ...
11:00:15 # Subtest: should not load --require modules in main process
11:00:15 ok 11 - should not load --require modules in main process
11:00:15 ---
11:00:15 duration_ms: 286.417371
11:00:15 ...
11:00:15 # Subtest: should not load --import modules in main process
11:00:15 ok 12 - should not load --import modules in main process
11:00:15 ---
11:00:15 duration_ms: 334.634557
11:00:15 ...
11:00:15 1..12
11:00:15 not ok 1 - watch mode
11:00:15 ---
11:00:15 duration_ms: 8391.267708
11: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..1
11:00:15 # tests 1
11:00:15 # pass 0
11:00:15 # fail 1
11:00:15 # cancelled 0
11:00:15 # skipped 0
11:00:15 # todo 0
11:00:15 # duration_ms 8394.665535
11:00:15 (node:30879) ExperimentalWarning: The test runner is an experimental feature. This feature could change at any time
11:00:15 (Use `node --trace-warnings ...` to show where the warning was created)
11:00:15 ...
Build links
- https://ci.nodejs.org/job/node-test-binary-armv7l/2327/RUN_SUBSET=js,label=debian10-armv7l/
- https://ci.nodejs.org/job/node-test-commit-aix/42751/nodes=aix72-ppc64/
- https://ci.nodejs.org/job/node-test-commit-linux-containered/33667/nodes=ubuntu1804_sharedlibs_zlib_x64/
Additional information
Added in #44366.