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
After some debugging, seems to me that this is a legitimate failure indicative of an http2 and/or perf_hooks bug whereby, for whatever reason, sometimes (infrequently) the Http2Session entry with detail type client never occurs.
This bug appears to have been introduced in f3eb224.
If it helps, I debugged by adding console.error() statements (don't judge) along with a setTimeout() to throw an error after 5 seconds. So with the modified code below, tools/test.py --timeout=10 --repeat 1920 test/parallel/test-http2-pack-end-stream-flag.js showed the issue. In CI, it happens on macOS and FreeBSD.
Activity
targos commentedon Mar 8, 2021
I've seen it fail on macOS too:
https://ci.nodejs.org/job/node-test-commit-osx/39328/nodes=osx1014/console
https://ci.nodejs.org/job/node-test-commit-osx/39332/nodes=osx1014/console
Trott commentedon Mar 12, 2021
https://ci.nodejs.org/job/node-test-commit-freebsd/38594/nodes=freebsd11-x64/console
Details
Trott commentedon Mar 12, 2021
https://ci.nodejs.org/job/node-test-commit-osx/39441/nodes=osx1014/console
Details
Trott commentedon Mar 12, 2021
I'm able to replicate the problam on macOS without even running stuff in parallel.
Trott commentedon Mar 12, 2021
Bisecting points to f3eb224 as the change where this issue starts to manifest itself.
Trott commentedon Mar 18, 2021
Still happening on CI with some frequency:
https://ci.nodejs.org/job/node-test-commit-osx/39504/nodes=osx1014/console
Trott commentedon Mar 18, 2021
After some debugging, seems to me that this is a legitimate failure indicative of an http2 and/or perf_hooks bug whereby, for whatever reason, sometimes (infrequently) the
Http2Sessionentry with detail typeclientnever occurs.This bug appears to have been introduced in f3eb224.
@jasnell
jasnell commentedon Mar 18, 2021
I'll take a look a bit later today
Trott commentedon Mar 18, 2021
If it helps, I debugged by adding
console.error()statements (don't judge) along with asetTimeout()to throw an error after 5 seconds. So with the modified code below,tools/test.py --timeout=10 --repeat 1920 test/parallel/test-http2-pack-end-stream-flag.jsshowed the issue. In CI, it happens on macOS and FreeBSD.test: fix flaky test-http2-pack-end-stream-flag