Repository navigation
test: cctest MultipleEnvironmentsPerIsolate & AtExitWithArgument are flaky (no-snapshot) #14206
Description
Activity
- addedc++Issues and PRs that require attention from people who are familiar with C++.Issues and PRs that require attention from people who are familiar with C++.flaky-testIssues and PRs involving tests that fail intermittently in CI.Issues and PRs involving tests that fail intermittently in CI.help wantedIssues that need assistance from volunteers or PRs that need help to proceed.Issues that need assistance from volunteers or PRs that need help to proceed.lib / srcIssues and PRs involving general changes in the lib/ or src/ directories.Issues and PRs involving general changes in the lib/ or src/ directories.testIssues and PRs related to Node.js core tests and test infrastructure.Issues and PRs related to Node.js core tests and test infrastructure.v8 engineIssues and PRs related to the V8 dependency.Issues and PRs related to the V8 dependency.
on Jul 12, 2017 Quoting #13861 (comment):
Running the cctest locally makes valgrind complain in a way that points to us not cleaning up libuv handles properly in the multi-
Environmenttests, similar to the problem fixed by d5db4d2. If I’m right (and valgrind complaining should be a good sign for that), this is not a problem that’s going to effect regular users, and more likely to be a problem with the test itself.I’ve also previously asked whether it’s possible to get a core dump from that machine to make sure; I think you might be the best person to have an answer?
I think all we need is somebody who has the time to dig into the valgrind logs to figure this out.
Reacted by Rich TrottStill happening, of course: https://ci.nodejs.org/job/node-test-commit-plinux/10186/nodes=ppcbe-ubuntu1404/console
Is anyone on this? Anyone especially sensible to loop in on it?
I'll try on Windows, but !@#$@%#$%^ MMMV (it might not even be a problem here 🤷♂️ )
We can try to call @indutny to the flag (it's partly his fault, JK nothing but ❤️ )
Created this issue to request access to the BE machine were it recreates most easily for @jBarz : nodejs/build#795
He's tried to reproduce locally with no luck.
I can reproduce on build machine. However, it is intermittent (about once in 5 tries)
I wondering if we should exclude this test until we can figure out what is going on. It seems to happen quire regularly for PPC and alpine.
Continuing to investigate. So far I have found it to hang at the following location in api.cc from v8 when initializing the isolate.
Isolate::Scope isolate_scope(v8_isolate); if (params.entry_hook || !i::Snapshot::Initialize(isolate)) { isolate->Init(NULL); // <--- Hangs here }
I wondering if we should exclude this test until we can figure out what is going on. It seems to happen quire regularly for PPC and alpine.
If we have a way to make sure it doesn't get neglected, I'm +1
17 remaining items
hey @refack Last week was extremely busy with other things.
I am going to try to get this resolved this week.Fix is in #14749
Reacted by John BarbozaReacted by John Barboza and Rich Trott- added a commit that references this issue
on Aug 10, 2017 - added 6 commits that reference this issue
on Aug 10, 2017 - added a commit that references this issue
on Jul 27, 2026
masterMoving nodejs/build#789 to core
The test has intermitently failed on:
https://ci.nodejs.org/job/node-test-commit-plinux/10137/nodes=ppcbe-ubuntu1404/console
https://ci.nodejs.org/job/node-test-commit-plinux/10138/nodes=ppcbe-ubuntu1404/console
https://ci.nodejs.org/job/node-test-commit-plinux/10139/nodes=ppcbe-ubuntu1404/console
https://ci.nodejs.org/job/node-test-commit-plinux/10156/nodes=ppcbe-ubuntu1404/
https://ci.nodejs.org/job/node-test-commit-arm/10826/nodes=armv7-wheezy/console
https://ci.nodejs.org/job/node-test-commit-plinux/10165/nodes=ppcbe-ubuntu1404/console
https://ci.nodejs.org/job/node-test-commit-plinux/10166/nodes=ppcbe-ubuntu1404/console
https://ci.nodejs.org/job/node-test-commit-linux/11117/nodes=centos5-64
https://ci.nodejs.org/job/node-test-commit-plinux/10172/nodes=ppcbe-ubuntu1404/console
https://ci.nodejs.org/job/node-test-commit-linux/11130/nodes=ubuntu1604_docker_alpine34-64/console
One of the more interesting outputs (from docker_alpine34-64):
The more common output:
This is the test code
From
test/cctest/test_environment.cc