Repository navigation
Closed
Labels
async_hooksIssues and PRs related to the async hooks subsystem.Issues and PRs related to the async hooks subsystem.flaky-testIssues and PRs involving tests that fail intermittently in CI.Issues and PRs involving tests that fail intermittently in CI.linuxIssues and PRs related to the Linux platform.Issues and PRs related to the Linux platform.windowsIssues and PRs related to the Windows platform.Issues and PRs related to the Windows platform.
Description
- Version: v11.0.0-pre (master)
- Platform: win2016 (vs2017)
- Subsystem: async_hooks
00:59:50 not ok 12 async-hooks/test-statwatcher
00:59:50 ---
00:59:50 duration_ms: 0.468
00:59:50 severity: fail
00:59:50 exitcode: 1
00:59:50 stack: |-
00:59:50 assert.js:80
00:59:50 throw new AssertionError(obj);
00:59:50 ^
00:59:50
00:59:50 AssertionError [ERR_ASSERTION]: Checking invocations at stage "watcher1: when unwatched second file":
00:59:50 Called "before" 2 time(s), but expected 1 invocation(s).
00:59:50 at checkHook (c:\workspace\node-test-binary-windows\COMPILED_BY\vs2017\RUNNER\win2016\RUN_SUBSET\0\test\async-hooks\hook-checks.js:51:14)
00:59:50 at Array.forEach (<anonymous>)
00:59:50 at checkInvocations (c:\workspace\node-test-binary-windows\COMPILED_BY\vs2017\RUNNER\win2016\RUN_SUBSET\0\test\async-hooks\hook-checks.js:28:62)
00:59:50 at Immediate.setImmediate (c:\workspace\node-test-binary-windows\COMPILED_BY\vs2017\RUNNER\win2016\RUN_SUBSET\0\test\async-hooks\test-statwatcher.js:65:9)
00:59:50 at runCallback (timers.js:678:18)
00:59:50 at tryOnImmediate (timers.js:649:5)
00:59:50 at processImmediate (timers.js:631:5)
00:59:50 ...Metadata
Metadata
Assignees
Labels
async_hooksIssues and PRs related to the async hooks subsystem.Issues and PRs related to the async hooks subsystem.flaky-testIssues and PRs involving tests that fail intermittently in CI.Issues and PRs involving tests that fail intermittently in CI.linuxIssues and PRs related to the Linux platform.Issues and PRs related to the Linux platform.windowsIssues and PRs related to the Windows platform.Issues and PRs related to the Windows platform.
Activity
Trott commentedon Jun 20, 2018
@nodejs/async_hooks @thlorenz
Trott commentedon Jun 26, 2018
Again on the same platform:
https://ci.nodejs.org/job/node-test-binary-windows/18237/COMPILED_BY=vs2017,RUNNER=win2016,RUN_SUBSET=0/console
@nodejs/testing
refack commentedon Jul 26, 2018
https://ci.nodejs.org/job/node-test-binary-windows/18759/COMPILED_BY=vs2017,RUNNER=win2016,RUN_SUBSET=2/console
So it seems like this happens only on the
win2016platformTrott commentedon Jul 30, 2018
win2016 yet again...
https://ci.nodejs.org/job/node-test-binary-windows/18808/COMPILED_BY=vs2017,RUNNER=win2016,RUN_SUBSET=2/console
@nodejs/platform-windows
Trott commentedon Aug 9, 2018
https://ci.nodejs.org/job/node-test-binary-windows/19063/COMPILED_BY=vs2017,RUNNER=win2016,RUN_SUBSET=2/console
Trott commentedon Aug 9, 2018
@nodejs/testing
joyeecheung commentedon Aug 13, 2018
Looks like it's not windows-only. Refs: nodejs/reliability#12
test: mark async-hooks/test-statwatcher as flaky
test: mark async-hooks/test-statwatcher as flaky
test: mark async-hooks/test-statwatcher as flaky
Trott commentedon Aug 27, 2018
Any ideas of how/where to even start with figuring out what's going on here?
https://ci.nodejs.org/job/node-test-binary-windows/19555/COMPILED_BY=vs2017,RUNNER=win2016,RUN_SUBSET=2/console
45 remaining items
test: unflake async hooks statwatcher test
test: unflake async hooks statwatcher test
Trott commentedon Feb 6, 2020
Looks like this is still an issue.
https://ci.nodejs.org/job/node-test-binary-windows-js-suites/1618/RUN_SUBSET=0,nodes=win2016-COMPILED_BY-vs2017/console
@lundibundi
lundibundi commentedon Feb 9, 2020
This looks like
async-hooksbug now, thestatwatcheremits exactly 2 events (based on the log fromonchangexwhich is there till the end of the test) but for some reason, we get anotherbeforeinvocation for the 1st file. I actually tried to reproduce this on Windows 10 but to no avail, it didn't fail at even extreme values of-j --repeat.Trott commentedon Feb 10, 2020
@nodejs/async_hooks
Trott commentedon Feb 10, 2020
https://ci.nodejs.org/job/node-test-binary-windows-js-suites/1705/RUN_SUBSET=0,nodes=win2016-COMPILED_BY-vs2017/console
test-azure_msft-win2016_vs2017-x64-4
Details
test: unflake async-hooks/test-statwatcher
test: unflake async-hooks/test-statwatcher
test: unflake async-hooks/test-statwatcher
test: remove flaky status for test-statwatcher
test: unflake async hooks statwatcher test
test: unflake async-hooks/test-statwatcher