Skip to content

test: intermittent failure running add-on tests on AIX #8239

Closed
@mhdawson

Description

@mhdawson
  • Version: master
  • Platform: AIX
  • Subsystem: addons

Looks like the AIX jobs are failing intermittently due to a problem compiling add-ons.

It looks to me like the problem is that the step of creating the exp file has not completed before the add-on tests start to run.

For example in a failing run: https://ci.nodejs.org/job/node-test-commit-aix/nodes=aix61-ppc64/429/consoleFull

I see

 SOLINK_MODULE(target) Release/obj.target/addon.node
  LD_LIBRARY_PATH=/home/iojs/build/workspace/node-test-commit-aix/nodes/aix61-ppc64/out/Release/lib.host:/home/iojs/build/workspace/node-test-commit-aix/nodes/aix61-ppc64/out/Release/lib.target:$LD_LIBRARY_PATH; export LD_LIBRARY_PATH; cd ../.; mkdir -p /home/iojs/build/workspace/node-test-commit-aix/nodes/aix61-ppc64/out/Release; sh tools/create_expfile.sh "/home/iojs/build/workspace/node-test-commit-aix/nodes/aix61-ppc64/out/Release/obj.target" "/home/iojs/build/workspace/node-test-commit-aix/nodes/aix61-ppc64/out/Release/node.exp"
Searching /home/iojs/build/workspace/node-test-commit-aix/nodes/aix61-ppc64/out/Release/obj.target to write out expfile to /home/iojs/build/workspace/node-test-commit-aix/nodes/aix61-ppc64/out/Release/node.exp
ld: 0711-317 ERROR: Undefined symbol: .v8::String::NewFromUtf8(v8::Isolate*, char const*, v8::String::NewStringType, int)
ld: 0711-317 ERROR: Undefined symbol: .v8::Function::Call(v8::Local<v8::Value>, int, v8::Local<v8::Value>*)
ld: 0711-317 ERROR: Undefined symbol: .v8::Isolate::GetCurrent()
ld: 0711-317 ERROR: Undefined symbol: .v8::HandleScope::HandleScope(v8::Isolate*)
ld: 0711-317 ERROR: Undefined symbol: .v8::FunctionTemplate::New(v8::Isolate*, void (*)(v8::FunctionCallbackInfo<v8::Value> const&), v8::Local<v8::Value>, v8::Local<v8::Signature>, int)
ld: 0711-317 ERROR: Undefined symbol: .v8::FunctionTemplate::GetFunction()
ld: 0711-317 ERROR: Undefined symbol: .v8::Function::SetName(v8::Local<v8::String>)
ld: 0711-317 ERROR: Undefined symbol: .v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)
ld: 0711-317 ERROR: Undefined symbol: .v8::HandleScope::~HandleScope()
ld: 0711-317 ERROR: Undefined symbol: .node_module_register
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: error: ld returned 8 exit status
gmake[2]: *** [Release/obj.target/addon.node] Error 1

Were as in a successful run I see the line:

Searching /home/iojs/build/workspace/node-test-commit-aix/nodes/aix61-ppc64/out/Release/obj.target to write out expfile to /home/iojs/build/workspace/node-test-commit-aix/nodes/aix61-ppc64/out/Release/node.exp

before the add-on tests start to run. For example:

https://ci.nodejs.org/job/node-test-commit-aix/nodes=aix61-ppc64/431/consoleFull

Metadata

Metadata

Assignees

No one assigned

    Labels

    testIssues and PRs related to the tests.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions