Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

investigate flaky test-worker-resource-limits #37844

Closed
Trott opened this issue Mar 20, 2021 · 2 comments
Closed

investigate flaky test-worker-resource-limits #37844

Trott opened this issue Mar 20, 2021 · 2 comments
Labels
flaky-test Issues and PRs related to the tests with unstable failures on the CI.

Comments

@Trott
Copy link
Member

Trott commented Mar 20, 2021

  • Test: test-worker-resource-limits
  • Platform: ubuntu1804_sharedlibs_debug_x64
  • Console Output:
10:30:31 not ok 2710 parallel/test-worker-resource-limits
10:30:31   ---
10:30:31   duration_ms: 0.812
10:30:31   severity: fail
10:30:31   exitcode: 1
10:30:31   stack: |-
10:30:31     node:internal/event_target:639
10:30:31       process.nextTick(() => { throw err; });
10:30:31                                ^
10:30:31     
10:30:31     AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
10:30:31     + actual - expected
10:30:31     
10:30:31       Comparison {
10:30:31     +   code: 'ERR_ASSERTION',
10:30:31     +   message: 'The expression evaluated to a falsy value:\n' +
10:30:31     +     '\n' +
10:30:31     +     '  assert(usedMB < resourceLimits.maxOldGenerationSizeMb * 1.1)\n'
10:30:31     -   code: 'ERR_WORKER_OUT_OF_MEMORY',
10:30:31     -   message: 'Worker terminated due to reaching memory limit: JS heap out of memory'
10:30:31       }
10:30:31         at Worker.<anonymous> (/home/iojs/build/workspace/node-test-commit-linux-containered/test/common/index.js:566:12)
10:30:31         at Worker.<anonymous> (/home/iojs/build/workspace/node-test-commit-linux-containered/test/common/index.js:381:15)
10:30:31         at Worker.emit (node:events:369:20)
10:30:31         at Worker.[kOnErrorMessage] (node:internal/worker:297:10)
10:30:31         at Worker.[kOnMessage] (node:internal/worker:308:37)
10:30:31         at MessagePort.<anonymous> (node:internal/worker:211:57)
10:30:31         at MessagePort.[nodejs.internal.kHybridDispatch] (node:internal/event_target:459:20)
10:30:31         at MessagePort.exports.emitMessage (node:internal/per_context/messageport:23:28) {
10:30:31       generatedMessage: true,
10:30:31       code: 'ERR_ASSERTION',
10:30:31       actual: AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:
10:30:31       
10:30:31         assert(usedMB < resourceLimits.maxOldGenerationSizeMb * 1.1)
10:30:31       
10:30:31           at Object.<anonymous> (/home/iojs/build/workspace/node-test-commit-linux-containered/test/parallel/test-worker-resource-limits.js:40:3)
10:30:31           at Module._compile (node:internal/modules/cjs/loader:1108:14)
10:30:31           at Object.Module._extensions..js (node:internal/modules/cjs/loader:1137:10)
10:30:31           at Module.load (node:internal/modules/cjs/loader:988:32)
10:30:31           at Function.Module._load (node:internal/modules/cjs/loader:828:14)
10:30:31           at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:76:12)
10:30:31           at MessagePort.<anonymous> (node:internal/main/worker_thread:182:24)
10:30:31           at MessagePort.[nodejs.internal.kHybridDispatch] (node:internal/event_target:459:20)
10:30:31           at MessagePort.exports.emitMessage (node:internal/per_context/messageport:23:28) {
10:30:31         generatedMessage: true,
10:30:31         code: 'ERR_ASSERTION',
10:30:31         actual: false,
10:30:31         expected: true,
10:30:31         operator: '=='
10:30:31       },
10:30:31       expected: {
10:30:31         code: 'ERR_WORKER_OUT_OF_MEMORY',
10:30:31         message: 'Worker terminated due to reaching memory limit: JS heap out of memory'
10:30:31       },
10:30:31       operator: 'throws'
10:30:31     }
10:30:31   ...
@Trott Trott added the flaky-test Issues and PRs related to the tests with unstable failures on the CI. label Mar 20, 2021
@danbev
Copy link
Contributor

danbev commented Mar 24, 2021

Just wanted to mention that I've run into this frequently when linking with OpenSSL 3.0 and once we get a CI job for OpenSSL 3.0 we might run into this more often I'm afraid.

@Trott
Copy link
Member Author

Trott commented Mar 24, 2021

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

00:14:08 not ok 2713 parallel/test-worker-resource-limits
00:14:08   ---
00:14:08   duration_ms: 1.112
00:14:08   severity: fail
00:14:08   exitcode: 1
00:14:08   stack: |-
00:14:08     node:internal/event_target:639
00:14:08       process.nextTick(() => { throw err; });
00:14:08                                ^
00:14:08     
00:14:08     AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
00:14:08     + actual - expected
00:14:08     
00:14:08       Comparison {
00:14:08     +   code: 'ERR_ASSERTION',
00:14:08     +   message: 'The expression evaluated to a falsy value:\n' +
00:14:08     +     '\n' +
00:14:08     +     '  assert(usedMB < resourceLimits.maxOldGenerationSizeMb * 1.1)\n'
00:14:08     -   code: 'ERR_WORKER_OUT_OF_MEMORY',
00:14:08     -   message: 'Worker terminated due to reaching memory limit: JS heap out of memory'
00:14:08       }
00:14:08         at Worker.<anonymous> (/home/iojs/build/workspace/node-test-commit-linux-containered/test/common/index.js:566:12)
00:14:08         at Worker.<anonymous> (/home/iojs/build/workspace/node-test-commit-linux-containered/test/common/index.js:381:15)
00:14:08         at Worker.emit (node:events:369:20)
00:14:08         at Worker.[kOnErrorMessage] (node:internal/worker:297:10)
00:14:08         at Worker.[kOnMessage] (node:internal/worker:308:37)
00:14:08         at MessagePort.<anonymous> (node:internal/worker:211:57)
00:14:08         at MessagePort.[nodejs.internal.kHybridDispatch] (node:internal/event_target:459:20)
00:14:08         at MessagePort.exports.emitMessage (node:internal/per_context/messageport:23:28) {
00:14:08       generatedMessage: true,
00:14:08       code: 'ERR_ASSERTION',
00:14:08       actual: AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:
00:14:08       
00:14:08         assert(usedMB < resourceLimits.maxOldGenerationSizeMb * 1.1)
00:14:08       
00:14:08           at Object.<anonymous> (/home/iojs/build/workspace/node-test-commit-linux-containered/test/parallel/test-worker-resource-limits.js:40:3)
00:14:08           at Module._compile (node:internal/modules/cjs/loader:1108:14)
00:14:08           at Object.Module._extensions..js (node:internal/modules/cjs/loader:1137:10)
00:14:08           at Module.load (node:internal/modules/cjs/loader:988:32)
00:14:08           at Function.Module._load (node:internal/modules/cjs/loader:828:14)
00:14:08           at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:76:12)
00:14:08           at MessagePort.<anonymous> (node:internal/main/worker_thread:182:24)
00:14:08           at MessagePort.[nodejs.internal.kHybridDispatch] (node:internal/event_target:459:20)
00:14:08           at MessagePort.exports.emitMessage (node:internal/per_context/messageport:23:28) {
00:14:08         generatedMessage: true,
00:14:08         code: 'ERR_ASSERTION',
00:14:08         actual: false,
00:14:08         expected: true,
00:14:08         operator: '=='
00:14:08       },
00:14:08       expected: {
00:14:08         code: 'ERR_WORKER_OUT_OF_MEMORY',
00:14:08         message: 'Worker terminated due to reaching memory limit: JS heap out of memory'
00:14:08       },
00:14:08       operator: 'throws'
00:14:08     }
00:14:08   ...

@danbev danbev closed this as completed in 498c6b1 Mar 25, 2021
ruyadorno pushed a commit that referenced this issue Mar 29, 2021
PR-URL: #37901
Fixes: #37844
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
ruyadorno pushed a commit that referenced this issue Mar 30, 2021
PR-URL: #37901
Fixes: #37844
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
targos pushed a commit that referenced this issue May 1, 2021
PR-URL: #37901
Fixes: #37844
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flaky-test Issues and PRs related to the tests with unstable failures on the CI.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants