node icon indicating copy to clipboard operation
node copied to clipboard

Flaky test `test-zlib-brotli-16GB`

Open targos opened this issue 1 year ago • 2 comments

Test

test/parallel/test-zlib-brotli-16GB.js

Platform

AIX

Console output

17:07:37 not ok 3588 parallel/test-zlib-brotli-16GB
17:07:37   ---
17:07:37   duration_ms: 412.84800
17:07:37   severity: fail
17:07:37   exitcode: 1
17:07:37   stack: |-
17:07:37     node:assert:126
17:07:37       throw new AssertionError(obj);
17:07:37       ^
17:07:37     
17:07:37     AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
17:07:37     
17:07:37     0 !== 1
17:07:37     
17:07:37         at Timeout.<anonymous> (/home/iojs/build/workspace/node-test-commit-aix/nodes/aix72-ppc64/test/parallel/test-zlib-brotli-16GB.js:21:3)
17:07:37         at Timeout._onTimeout (/home/iojs/build/workspace/node-test-commit-aix/nodes/aix72-ppc64/test/common/index.js:476:15)
17:07:37         at listOnTimeout (node:internal/timers:573:17)
17:07:37         at process.processTimers (node:internal/timers:514:7) {
17:07:37       generatedMessage: true,
17:07:37       code: 'ERR_ASSERTION',
17:07:37       actual: 0,
17:07:37       expected: 1,
17:07:37       operator: 'strictEqual'
17:07:37     }
17:07:37     
17:07:37     Node.js v21.6.3-pre
17:07:37   ...

Build links

  • https://ci.nodejs.org/job/node-test-commit-aix/50223/nodes=aix72-ppc64/console

Additional information

No response

targos avatar Feb 15 '24 16:02 targos

Failed in https://ci.nodejs.org/job/node-test-commit-linux-containered/41606/nodes=ubuntu2204_sharedlibs_icu_x64/ as well.

https://ci.nodejs.org/job/node-test-commit-linux-containered/41606/nodes=ubuntu2204_sharedlibs_icu_x64/console

12:03:15 not ok 3348 parallel/test-zlib-brotli-16GB
12:03:15   ---
12:03:15   duration_ms: 623.88700
12:03:15   severity: fail
12:03:15   exitcode: 1
12:03:15   stack: |-
12:03:15     node:assert:126
12:03:15       throw new AssertionError(obj);
12:03:15       ^
12:03:15     
12:03:15     AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
12:03:15     
12:03:15     0 !== 1
12:03:15     
12:03:15         at Timeout.<anonymous> (/home/iojs/build/workspace/node-test-commit-linux-containered/test/parallel/test-zlib-brotli-16GB.js:21:3)
12:03:15         at Timeout._onTimeout (/home/iojs/build/workspace/node-test-commit-linux-containered/test/common/index.js:473:15)
12:03:15         at listOnTimeout (node:internal/timers:573:17)
12:03:15         at process.processTimers (node:internal/timers:514:7) {
12:03:15       generatedMessage: true,
12:03:15       code: 'ERR_ASSERTION',
12:03:15       actual: 0,
12:03:15       expected: 1,
12:03:15       operator: 'strictEqual'
12:03:15     }
12:03:15     
12:03:15     Node.js v22.0.0-pre
12:03:15   ...

richardlau avatar Feb 15 '24 17:02 richardlau

https://ci.nodejs.org/job/node-test-commit-linux-containered/41610/

targos avatar Feb 16 '24 07:02 targos

So, I've "fixed" it in a single branch (v20 I guess) by increasing the platform timeout to 500

https://github.com/nodejs/node/blob/v20.x/test/parallel/test-zlib-brotli-16GB.js#L22. While this isn't a "fix", we could use until find a better test suite.

RafaelGSS avatar Feb 17 '24 19:02 RafaelGSS

I'd love a better way to test for this bug :/.

mcollina avatar Feb 17 '24 20:02 mcollina