-
Notifications
You must be signed in to change notification settings - Fork 30.3k
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 parallel/test-performance #19197
Labels
flaky-test
Issues and PRs related to the tests with unstable failures on the CI.
Comments
apapirovski
added
the
flaky-test
Issues and PRs related to the tests with unstable failures on the CI.
label
Mar 7, 2018
The timing stuff sure suggests to me that the test ought to be in |
Oh, yes, definitely can fail due to system load. $ tools/test.py --repeat 192 -j 96 test/parallel/test-performance.js
=== release test-performance ===
Path: parallel/test-performance
assert.js:249
throw err;
^
AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:
assert(Math.abs(delta) < 1000)
at checkNodeTiming (/Users/trott/io.js/test/parallel/test-performance.js:118:7)
at Object.<anonymous> (/Users/trott/io.js/test/parallel/test-performance.js:125:1)
at Module._compile (module.js:670:30)
at Object.Module._extensions..js (module.js:681:10)
at Module.load (module.js:581:32)
at tryModuleLoad (module.js:521:12)
at Function.Module._load (module.js:513:3)
at Function.Module.runMain (module.js:711:10)
at startup (bootstrap_node.js:223:16)
at bootstrapNodeJSCore (bootstrap_node.js:562:3)
Command: out/Release/node /Users/trott/io.js/test/parallel/test-performance.js
=== release test-performance ===
Path: parallel/test-performance
assert.js:249
throw err;
^
AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:
assert(Math.abs(delta) < 1000)
at checkNodeTiming (/Users/trott/io.js/test/parallel/test-performance.js:118:7)
at Object.<anonymous> (/Users/trott/io.js/test/parallel/test-performance.js:125:1)
at Module._compile (module.js:670:30)
at Object.Module._extensions..js (module.js:681:10)
at Module.load (module.js:581:32)
at tryModuleLoad (module.js:521:12)
at Function.Module._load (module.js:513:3)
at Function.Module.runMain (module.js:711:10)
at startup (bootstrap_node.js:223:16)
at bootstrapNodeJSCore (bootstrap_node.js:562:3)
Command: out/Release/node /Users/trott/io.js/test/parallel/test-performance.js
=== release test-performance ===
Path: parallel/test-performance
assert.js:249
throw err;
^
AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:
assert(Math.abs(delta) < 1000)
at checkNodeTiming (/Users/trott/io.js/test/parallel/test-performance.js:118:7)
at Object.<anonymous> (/Users/trott/io.js/test/parallel/test-performance.js:125:1)
at Module._compile (module.js:670:30)
at Object.Module._extensions..js (module.js:681:10)
at Module.load (module.js:581:32)
at tryModuleLoad (module.js:521:12)
at Function.Module._load (module.js:513:3)
at Function.Module.runMain (module.js:711:10)
at startup (bootstrap_node.js:223:16)
at bootstrapNodeJSCore (bootstrap_node.js:562:3)
Command: out/Release/node /Users/trott/io.js/test/parallel/test-performance.js
[00:11|% 100|+ 189|- 3]: Done
$ |
Trott
added a commit
to Trott/io.js
that referenced
this issue
Mar 8, 2018
test-performance can fail due to resource constraints. Move it from parallel to sequential so it does not compete with other tests for resources. Fixes: nodejs#19197
2 tasks
PR to address this: #19228 |
MylesBorins
pushed a commit
that referenced
this issue
Mar 15, 2018
test-performance can fail due to resource constraints. Move it from parallel to sequential so it does not compete with other tests for resources. Fixes: #19197 PR-URL: #19228 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Minwoo Jung <minwoo@nodesource.com> Reviewed-By: Jon Moss <me@jonathanmoss.me> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
MylesBorins
pushed a commit
that referenced
this issue
Mar 20, 2018
test-performance can fail due to resource constraints. Move it from parallel to sequential so it does not compete with other tests for resources. Fixes: #19197 PR-URL: #19228 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Minwoo Jung <minwoo@nodesource.com> Reviewed-By: Jon Moss <me@jonathanmoss.me> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
MayaLekova
pushed a commit
to MayaLekova/node
that referenced
this issue
May 8, 2018
test-performance can fail due to resource constraints. Move it from parallel to sequential so it does not compete with other tests for resources. Fixes: nodejs#19197 PR-URL: nodejs#19228 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Minwoo Jung <minwoo@nodesource.com> Reviewed-By: Jon Moss <me@jonathanmoss.me> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This happened again in sequential: nodejs/reliability#14
Example
|
jasnell
pushed a commit
to jasnell/node
that referenced
this issue
Aug 17, 2018
test-performance can fail due to resource constraints. Move it from parallel to sequential so it does not compete with other tests for resources. Fixes: nodejs#19197 PR-URL: nodejs#19228 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Minwoo Jung <minwoo@nodesource.com> Reviewed-By: Jon Moss <me@jonathanmoss.me> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
4 tasks
targos
pushed a commit
that referenced
this issue
Aug 24, 2018
1) This adds a better error logging so we are able to address further failures easier. 2) It adds a extra epsilon so the test runs into less issues in case the machine is under heavy load. 3) The epsilon in increased if the CPU is under heavy load. 4) The total startup epsilon was reduced due to recent startup time improvements. PR-URL: #22404 Fixes: #19197 Refs: nodejs/reliability#14 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
targos
pushed a commit
that referenced
this issue
Sep 3, 2018
1) This adds a better error logging so we are able to address further failures easier. 2) It adds a extra epsilon so the test runs into less issues in case the machine is under heavy load. 3) The epsilon in increased if the CPU is under heavy load. 4) The total startup epsilon was reduced due to recent startup time improvements. PR-URL: #22404 Fixes: #19197 Refs: nodejs/reliability#14 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
MylesBorins
pushed a commit
that referenced
this issue
Sep 6, 2018
test-performance can fail due to resource constraints. Move it from parallel to sequential so it does not compete with other tests for resources. Fixes: #19197 Backport-PR-URL: #22380 PR-URL: #19228 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Minwoo Jung <minwoo@nodesource.com> Reviewed-By: Jon Moss <me@jonathanmoss.me> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The recently changed
parallel/test-performance
appears to unfortunately be flaky now. Recently failed onaix61-ppc64
. More info:/cc @TimothyGu
The text was updated successfully, but these errors were encountered: