Repository navigation
PPC: test-osuosl-ubuntu1404-ppc64_le-2 has strange linker issues #1815
Description
https://ci.nodejs.org/computer/test-osuosl-ubuntu1404-ppc64_le-2/ has been consistently failing with a linker error:
11:16:01 g++-6 -o /home/iojs/build/workspace/node-test-commit-plinux/nodes/ppcle-ubuntu1404/out/Release/mksnapshot -pthread -rdynamic -m64 -m64 -Wl,--start-group /home/iojs/build/workspace/node-test-commit-plinux/nodes/ppcle-ubuntu1404/out/Release/obj.target/mksnapshot/deps/v8/src/snapshot/embedded-file-writer.o /home/iojs/build/workspace/node-test-commit-plinux/nodes/ppcle-ubuntu1404/out/Release/obj.target/mksnapshot/deps/v8/src/snapshot/mksnapshot.o /home/iojs/build/workspace/node-test-commit-plinux/nodes/ppcle-ubuntu1404/out/Release/obj.target/tools/v8_gypfiles/libv8_base.a /home/iojs/build/workspace/node-test-commit-plinux/nodes/ppcle-ubuntu1404/out/Release/obj.target/tools/v8_gypfiles/libv8_init.a /home/iojs/build/workspace/node-test-commit-plinux/nodes/ppcle-ubuntu1404/out/Release/obj.target/tools/v8_gypfiles/libv8_libbase.a /home/iojs/build/workspace/node-test-commit-plinux/nodes/ppcle-ubuntu1404/out/Release/obj.target/tools/v8_gypfiles/libv8_libplatform.a /home/iojs/build/workspace/node-test-commit-plinux/nodes/ppcle-ubuntu1404/out/Release/obj.target/tools/v8_gypfiles/libv8_nosnapshot.a /home/iojs/build/workspace/node-test-commit-plinux/nodes/ppcle-ubuntu1404/out/Release/obj.target/tools/icu/libicui18n.a /home/iojs/build/workspace/node-test-commit-plinux/nodes/ppcle-ubuntu1404/out/Release/obj.target/tools/v8_gypfiles/libv8_libsampler.a /home/iojs/build/workspace/node-test-commit-plinux/nodes/ppcle-ubuntu1404/out/Release/obj.target/tools/icu/libicuucx.a /home/iojs/build/workspace/node-test-commit-plinux/nodes/ppcle-ubuntu1404/out/Release/obj.target/tools/icu/libicudata.a /home/iojs/build/workspace/node-test-commit-plinux/nodes/ppcle-ubuntu1404/out/Release/obj.target/tools/icu/libicustubdata.a /home/iojs/build/workspace/node-test-commit-plinux/nodes/ppcle-ubuntu1404/out/Release/obj.target/tools/v8_gypfiles/libv8_initializers.a -ldl -lrt -latomic -Wl,--end-group
11:16:04 /home/iojs/build/workspace/node-test-commit-plinux/nodes/ppcle-ubuntu1404/out/Release/obj.target/v8_base/deps/v8/src/bootstrapper.o:(.toc1+0x218): undefined reference tov8::internal::StatisticsExtension::kSource' 11:16:04 /home/iojs/build/workspace/node-test-commit-plinux/nodes/ppcle-ubuntu1404/out/Release/obj.target/v8_base/deps/v8/src/bootstrapper.o:(.toc1+0x228): undefined reference tovtable for v8::internal::StatisticsExtension'
I marked it offline for the time being.

Activity
refack commentedon May 30, 2019
/CC @mhdawson @sam-github
mhdawson commentedon Jun 4, 2019
I've pinged @sam-github to make sure this is on his radar. We were both out last week at the Collab summit.
sam-github commentedon Jun 4, 2019
@miladfarca, you looked at this a bit? Did you have any ideas, or even manage to reproduce this?
refack commentedon Jun 4, 2019
richardlau commentedon Jun 4, 2019
miladfarca commentedon Jun 4, 2019
@sam-github this is a separate issue I assume, the one I was looking at was related to the
/test-worker-prof.jstest case.refack commentedon Jun 4, 2019
sam-github commentedon Jun 5, 2019
The history here is a bit confusing, because multiple issues are discussed. I hid @refack and @richardlau comments above that are related to #1820, just to make this easier to read.
@miladfarca, we have discussed this linker error before, in slack:
Luckily (?) the linker problems stopped over the weekend, and my build passed and was merged (by someone else): nodejs/node#27834
But, there seems to be a real issue.
Reviewing https://ci.nodejs.org/computer/test-osuosl-ubuntu1404-ppc64_le-2/builds, many failed with linker errors (though some with pty timeouts, as in #1820).
I'll go look at the .gyp file that Milad mentions in the workspace, and compare it to a clean build. Since the workers is offline, I should be able to redo the build in the workspace from ssh, and see if it fails to link for me, too.
miladfarca commentedon Jun 18, 2019
v8::internal::StatisticsExtension::kSourceis defined instatistics-extension.ccunder V8. Looking at the latest job under this machine (hash cfbb5bb) on May 30, thestatistics-extensionobject file is not compiled properly, this is the output ofnm:I copied the directory, re configured and compiled it from scratch and it worked fine. Seems like jenkins was interrupted mid compilation and the truncated
statistics-extension.owas used in the later test jobs and commits?Are we clearing cache/workspace properly before/after each build?
Is it possible to clear the workspace manually and activate the machine and see if it happens again.
sam-github commentedon Jun 18, 2019
Its possible the workspace isn't cleared, but its also possible that a bad build got ccached, which would cause the issue to come back over and over.
I removed the .o file, cleared the ccache, and reenabled the machine.
EDIT: I'll leave this open until some builds pass on this machine.
sam-github commentedon Jun 18, 2019
I just got a green build from the daily: https://ci.nodejs.org/computer/test-osuosl-ubuntu1404-ppc64_le-2/builds
Perhaps this issue is resolved?
sam-github commentedon Jun 20, 2019
https://ci.nodejs.org/computer/test-osuosl-ubuntu1404-ppc64_le-2/builds looks resolved, closing this.