Skip to content

Local run test failed: benchmark/test-benchmark-napi #34427

@rickyes

Description

@rickyes
  • Version: master
  • Platform: macOS x64
  • Subsystem: maybe N-API

What steps will reproduce the bug?

make -j4 test following failures will occur:

=== release test-benchmark-napi ===                                           
Path: benchmark/test-benchmark-napi
/Users/ricky/projj/github.com/rickyes/node/benchmark/napi/function_args/index.js: V8 Binding failed to load
misc/function_call.js Binding failed to load
internal/modules/cjs/loader.js:1084
  throw err;
  ^

Error: Cannot find module './build/Release/addon'
Require stack:
- /Users/ricky/projj/github.com/rickyes/node/benchmark/napi/ref/index.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:1081:15)
    at Function.Module._load (internal/modules/cjs/loader.js:927:27)
    at Module.require (internal/modules/cjs/loader.js:1141:19)
    at require (internal/modules/cjs/helpers.js:75:18)
    at Object.<anonymous> (/Users/ricky/projj/github.com/rickyes/node/benchmark/napi/ref/index.js:3:15)
    at Module._compile (internal/modules/cjs/loader.js:1252:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1273:10)
    at Module.load (internal/modules/cjs/loader.js:1101:32)
    at Function.Module._load (internal/modules/cjs/loader.js:966:14)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/Users/ricky/projj/github.com/rickyes/node/benchmark/napi/ref/index.js'
  ]
}
assert.js:103
  throw new AssertionError(obj);
  ^

AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:

1 !== 0

    at ChildProcess.<anonymous> (/Users/ricky/projj/github.com/rickyes/node/test/common/benchmark.js:30:12)
    at ChildProcess.emit (events.js:314:20)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12) {
  generatedMessage: true,
  code: 'ERR_ASSERTION',
  actual: 1,
  expected: 0,
  operator: 'strictEqual'
}
Command: out/Release/node /Users/ricky/projj/github.com/rickyes/node/test/benchmark/test-benchmark-napi.js
[02:22|%  88|+ 2779|-   1]: Done                          ^C
make[1]: *** [jstest] Error 1
make: *** [test] Interrupt: 2

How often does it reproduce? Is there a required condition?

Always

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions