You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
00:59:50 not ok 12 async-hooks/test-statwatcher00:59:50 ---00:59:50 duration_ms: 0.46800:59:50 severity: fail00:59:50 exitcode: 100:59:50 stack: |-00:59:50 assert.js:8000: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 ...
16:00:10 not ok 12 async-hooks/test-statwatcher16:00:10 ---16:00:10 duration_ms: 0.45216:00:10 severity: fail16:00:10 exitcode: 116:00:10 stack: |-16:00:10 assert.js:8016:00:10 throw new AssertionError(obj);16:00:10 ^16:00:10 16:00:10 AssertionError [ERR_ASSERTION]: Checking invocations at stage "watcher1: when unwatched second file":16:00:10 Called "before" 2 time(s), but expected 1 invocation(s).16:00:10 at checkHook (c:\workspace\node-test-binary-windows\test\async-hooks\hook-checks.js:51:14)16:00:10 at Array.forEach (<anonymous>)16:00:10 at checkInvocations (c:\workspace\node-test-binary-windows\test\async-hooks\hook-checks.js:28:62)16:00:10 at Immediate.setImmediate (c:\workspace\node-test-binary-windows\test\async-hooks\test-statwatcher.js:65:9)16:00:10 at runCallback (timers.js:664:18)16:00:10 at tryOnImmediate (timers.js:635:5)16:00:10 at processImmediate (timers.js:617:5)16:00:10 ...
00:41:05 not ok 12 async-hooks/test-statwatcher00:41:05 ---00:41:05 duration_ms: 0.46800:41:05 severity: fail00:41:05 exitcode: 100:41:05 stack: |-00:41:05 assert.js:8400:41:05 throw new AssertionError(obj);00:41:05 ^00:41:05 00:41:05 AssertionError [ERR_ASSERTION]: Checking invocations at stage "watcher1: when unwatched second file":00:41:05 Called "before" 2 time(s), but expected 1 invocation(s).00:41:05 at checkHook (c:\workspace\node-test-binary-windows\test\async-hooks\hook-checks.js:51:14)00:41:05 at Array.forEach (<anonymous>)00:41:05 at checkInvocations (c:\workspace\node-test-binary-windows\test\async-hooks\hook-checks.js:28:62)00:41:05 at Immediate.setImmediate (c:\workspace\node-test-binary-windows\test\async-hooks\test-statwatcher.js:65:9)00:41:05 at runCallback (timers.js:661:18)00:41:05 at tryOnImmediate (timers.js:632:5)00:41:05 at processImmediate (timers.js:614:5)00:41:05 ...
03:44:05 not ok 12 async-hooks/test-statwatcher03:44:05 ---03:44:05 duration_ms: 0.47303:44:05 severity: fail03:44:05 exitcode: 103:44:05 stack: |-03:44:05 assert.js:8403:44:05 throw new AssertionError(obj);03:44:05 ^03:44:05 03:44:05 AssertionError [ERR_ASSERTION]: Checking invocations at stage "watcher1: when unwatched second file":03:44:05 Called "before" 2 time(s), but expected 1 invocation(s).03:44:05 at checkHook (c:\workspace\node-test-binary-windows\test\async-hooks\hook-checks.js:51:14)03:44:05 at Array.forEach (<anonymous>)03:44:05 at checkInvocations (c:\workspace\node-test-binary-windows\test\async-hooks\hook-checks.js:28:62)03:44:05 at Immediate.setImmediate (c:\workspace\node-test-binary-windows\test\async-hooks\test-statwatcher.js:65:9)03:44:05 at runCallback (timers.js:661:18)03:44:05 at tryOnImmediate (timers.js:632:5)03:44:05 at processImmediate (timers.js:614:5)03:44:05 ...
Reason async-hooks/test-statwatcher
Type JS_TEST_FAILURE
Failed PR 6 (#21975, #22242, #22274, #22290, #22288, #22293)
Appeared test-azure_msft-win2016-x64-4, test-joyent-ubuntu1604_sharedlibs_container-x64-1, test-softlayer-ubuntu1604_sharedlibs_container-x64-4, test-digitalocean-ubuntu1604_sharedlibs_container-x64-10
First CI https://ci.nodejs.org/job/node-test-pull-request/16326/
Last CI https://ci.nodejs.org/job/node-test-pull-request/16413/
03:43:07 not ok 12 async-hooks/test-statwatcher # TODO : Fix flaky test03:43:07 ---03:43:07 duration_ms: 0.46403:43:07 severity: flaky03:43:07 exitcode: 103:43:07 stack: |-03:43:07 assert.js:8403:43:07 throw new AssertionError(obj);03:43:07 ^03:43:07 03:43:07 AssertionError [ERR_ASSERTION]: Checking invocations at stage "watcher1: when unwatched second file":03:43:07 Called "before" 2 time(s), but expected 1 invocation(s).03:43:07 at checkHook (c:\workspace\node-test-binary-windows\test\async-hooks\hook-checks.js:51:14)03:43:07 at Array.forEach (<anonymous>)03:43:07 at checkInvocations (c:\workspace\node-test-binary-windows\test\async-hooks\hook-checks.js:28:62)03:43:07 at Immediate.setImmediate (c:\workspace\node-test-binary-windows\test\async-hooks\test-statwatcher.js:65:9)03:43:07 at runCallback (timers.js:661:18)03:43:07 at tryOnImmediate (timers.js:632:5)03:43:07 at processImmediate (timers.js:614:5)03:43:07 ...
This looks like async-hooks bug now, the statwatcher emits exactly 2 events (based on the log from onchangex which is there till the end of the test) but for some reason, we get another before invocation 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.
This looks like async-hooks bug now, the statwatcher emits exactly 2 events (based on the log from onchangex which is there till the end of the test) but for some reason, we get another before invocation for the 1st file.
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