-
Notifications
You must be signed in to change notification settings - Fork 82
Open
Description
I am trying to build prebuild-install package on ubi9 ppc64le container.
While testing with "npm test", below tests are failing.
One possible reason is a-native-module (https://github.com/ralphtheninja/a-native-module) don't has binary for ppc64le.
Here are my output logs for test failures :
TAP version 13
downloading from GitHub with token
(node:1378) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated
(Use node --trace-deprecation ...
to show where the warning was created)
not ok 1 no error
operator: error
at: <anonymous> (/prebuild-install/test/asset-test.js:60:7)
stack: |-
Error: Could not find GitHub release for version
at /prebuild-install/asset.js:36:8
at /prebuild-install/node_modules/simple-get/index.js:98:7
at IncomingMessage.<anonymous> (/prebuild-install/node_modules/simple-concat/index.js:8:13)
at Object.onceWrapper (node:events:627:28)
at IncomingMessage.emit (node:events:513:28)
at endReadableNT (node:internal/streams/readable:1358:12)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
...
ok 2 no build folder
ok 3 correct url
not ok 4 no error
operator: error
at: <anonymous> (/prebuild-install/test/asset-test.js:94:9)
stack: |-
Error: No prebuilt binaries found (target=undefined runtime=node arch=ppc64 libc=undefined platform=linux)
at Object.exports.noPrebuilts (/prebuild-install/error.js:2:10)
at /prebuild-install/download.js:77:27
at FSReqCallback.oncomplete (node:fs:192:23)
...
not ok 5 prebuildCache created
operator: equal
expected: true
actual: false
at: <anonymous> (/prebuild-install/test/asset-test.js:95:9)
stack: |-
Error: prebuildCache created
at Test.assert [as _assert] (/prebuild-install/node_modules/tape/lib/test.js:492:48)
at Test.strictEqual (/prebuild-install/node_modules/tape/lib/test.js:670:7)
at /prebuild-install/test/asset-test.js:95:9
at /prebuild-install/download.js:77:11
at FSReqCallback.oncomplete (node:fs:192:23)
...
not ok 6 prebuild was cached
operator: equal
expected: true
actual: false
at: <anonymous> (/prebuild-install/test/asset-test.js:96:9)
stack: |-
Error: prebuild was cached
at Test.assert [as _assert] (/prebuild-install/node_modules/tape/lib/test.js:492:48)
at Test.strictEqual (/prebuild-install/node_modules/tape/lib/test.js:670:7)
at /prebuild-install/test/asset-test.js:96:9
at /prebuild-install/download.js:77:11
at FSReqCallback.oncomplete (node:fs:192:23)
...
not ok 7 /prebuild-install/test/build/Release/leveldown.node should exist
operator: equal
expected: true
actual: false
at: <anonymous> (/prebuild-install/test/asset-test.js:97:9)
stack: |-
Error: /prebuild-install/test/build/Release/leveldown.node should exist
at Test.assert [as _assert] (/prebuild-install/node_modules/tape/lib/test.js:492:48)
at Test.strictEqual (/prebuild-install/node_modules/tape/lib/test.js:670:7)
at /prebuild-install/test/asset-test.js:97:9
at /prebuild-install/download.js:77:11
at FSReqCallback.oncomplete (node:fs:192:23)
...
ok 8 temp file should be gone
not ok 9 plan != count
operator: fail
expected: 11
actual: 8
at: process.<anonymous> (/prebuild-install/node_modules/tape/index.js:169:8)
stack: |-
Error: plan != count
at Test.assert [as _assert] (/prebuild-install/node_modules/tape/lib/test.js:492:48)
at Test.fail (/prebuild-install/node_modules/tape/lib/test.js:600:7)
at Test._exit (/prebuild-install/node_modules/tape/lib/test.js:443:8)
at process.<anonymous> (/prebuild-install/node_modules/tape/index.js:169:8)
at process.emit (node:events:513:28)
...
not ok 10 test exited without ending: non existing version should fail asset request
operator: fail
at: process.<anonymous> (/prebuild-install/node_modules/tape/index.js:169:8)
stack: |-
Error: test exited without ending: non existing version should fail asset request
at Test.assert [as _assert] (/prebuild-install/node_modules/tape/lib/test.js:492:48)
at Test.fail (/prebuild-install/node_modules/tape/lib/test.js:600:7)
at Test._exit (/prebuild-install/node_modules/tape/lib/test.js:449:8)
at process.<anonymous> (/prebuild-install/node_modules/tape/index.js:169:8)
at process.emit (node:events:513:28)
...
not ok 11 test exited without ending: downloading from GitHub, not cached
operator: fail
at: process.<anonymous> (/prebuild-install/node_modules/tape/index.js:169:8)
stack: |-
Error: test exited without ending: downloading from GitHub, not cached
at Test.assert [as _assert] (/prebuild-install/node_modules/tape/lib/test.js:492:48)
at Test.fail (/prebuild-install/node_modules/tape/lib/test.js:600:7)
at Test._exit (/prebuild-install/node_modules/tape/lib/test.js:449:8)
at process.<anonymous> (/prebuild-install/node_modules/tape/index.js:169:8)
at process.emit (node:events:513:28)
...
not ok 12 test exited without ending: cached prebuild
operator: fail
at: process.<anonymous> (/prebuild-install/node_modules/tape/index.js:169:8)
stack: |-
Error: test exited without ending: cached prebuild
at Test.assert [as _assert] (/prebuild-install/node_modules/tape/lib/test.js:492:48)
at Test.fail (/prebuild-install/node_modules/tape/lib/test.js:600:7)
at Test._exit (/prebuild-install/node_modules/tape/lib/test.js:449:8)
at process.<anonymous> (/prebuild-install/node_modules/tape/index.js:169:8)
at process.emit (node:events:513:28)
...
not ok 13 test exited without ending: local prebuild
operator: fail
at: process.<anonymous> (/prebuild-install/node_modules/tape/index.js:169:8)
stack: |-
Error: test exited without ending: local prebuild
at Test.assert [as _assert] (/prebuild-install/node_modules/tape/lib/test.js:492:48)
at Test.fail (/prebuild-install/node_modules/tape/lib/test.js:600:7)
at Test._exit (/prebuild-install/node_modules/tape/lib/test.js:449:8)
at process.<anonymous> (/prebuild-install/node_modules/tape/index.js:169:8)
at process.emit (node:events:513:28)
...
not ok 14 test exited without ending: non existing host should fail with no dangling temp file
operator: fail
at: process.<anonymous> (/prebuild-install/node_modules/tape/index.js:169:8)
stack: |-
Error: test exited without ending: non existing host should fail with no dangling temp file
at Test.assert [as _assert] (/prebuild-install/node_modules/tape/lib/test.js:492:48)
at Test.fail (/prebuild-install/node_modules/tape/lib/test.js:600:7)
at Test._exit (/prebuild-install/node_modules/tape/lib/test.js:449:8)
at process.<anonymous> (/prebuild-install/node_modules/tape/index.js:169:8)
at process.emit (node:events:513:28)
...
not ok 15 test exited without ending: existing host but invalid url should fail
operator: fail
at: process.<anonymous> (/prebuild-install/node_modules/tape/index.js:169:8)
stack: |-
Error: test exited without ending: existing host but invalid url should fail
at Test.assert [as _assert] (/prebuild-install/node_modules/tape/lib/test.js:492:48)
at Test.fail (/prebuild-install/node_modules/tape/lib/test.js:600:7)
at Test._exit (/prebuild-install/node_modules/tape/lib/test.js:449:8)
at process.<anonymous> (/prebuild-install/node_modules/tape/index.js:169:8)
at process.emit (node:events:513:28)
...
not ok 16 test exited without ending: error during download should fail with no dangling temp file
operator: fail
at: process.<anonymous> (/prebuild-install/node_modules/tape/index.js:169:8)
stack: |-
Error: test exited without ending: error during download should fail with no dangling temp file
at Test.assert [as _assert] (/prebuild-install/node_modules/tape/lib/test.js:492:48)
at Test.fail (/prebuild-install/node_modules/tape/lib/test.js:600:7)
at Test._exit (/prebuild-install/node_modules/tape/lib/test.js:449:8)
at process.<anonymous> (/prebuild-install/node_modules/tape/index.js:169:8)
at process.emit (node:events:513:28)
...
not ok 17 test exited without ending: should fail if abi is system abi with invalid binary
operator: fail
at: process.<anonymous> (/prebuild-install/node_modules/tape/index.js:169:8)
stack: |-
Error: test exited without ending: should fail if abi is system abi with invalid binary
at Test.assert [as _assert] (/prebuild-install/node_modules/tape/lib/test.js:492:48)
at Test.fail (/prebuild-install/node_modules/tape/lib/test.js:600:7)
at Test._exit (/prebuild-install/node_modules/tape/lib/test.js:449:8)
at process.<anonymous> (/prebuild-install/node_modules/tape/index.js:169:8)
at process.emit (node:events:513:28)
...
not ok 18 test exited without ending: log.level defaults to notice if npm_config_loglevel is not set
operator: fail
at: process.<anonymous> (/prebuild-install/node_modules/tape/index.js:169:8)
stack: |-
Error: test exited without ending: log.level defaults to notice if npm_config_loglevel is not set
at Test.assert [as _assert] (/prebuild-install/node_modules/tape/lib/test.js:492:48)
at Test.fail (/prebuild-install/node_modules/tape/lib/test.js:600:7)
at Test._exit (/prebuild-install/node_modules/tape/lib/test.js:449:8)
at process.<anonymous> (/prebuild-install/node_modules/tape/index.js:169:8)
at process.emit (node:events:513:28)
...
not ok 19 test exited without ending: log.level respects npm_config_loglevel
operator: fail
at: process.<anonymous> (/prebuild-install/node_modules/tape/index.js:169:8)
stack: |-
Error: test exited without ending: log.level respects npm_config_loglevel
at Test.assert [as _assert] (/prebuild-install/node_modules/tape/lib/test.js:492:48)
at Test.fail (/prebuild-install/node_modules/tape/lib/test.js:600:7)
at Test._exit (/prebuild-install/node_modules/tape/lib/test.js:449:8)
at process.<anonymous> (/prebuild-install/node_modules/tape/index.js:169:8)
at process.emit (node:events:513:28)
...
not ok 20 test exited without ending: log.level is verbose if rc.verbose
operator: fail
at: process.<anonymous> (/prebuild-install/node_modules/tape/index.js:169:8)
stack: |-
Error: test exited without ending: log.level is verbose if rc.verbose
at Test.assert [as _assert] (/prebuild-install/node_modules/tape/lib/test.js:492:48)
at Test.fail (/prebuild-install/node_modules/tape/lib/test.js:600:7)
at Test._exit (/prebuild-install/node_modules/tape/lib/test.js:449:8)
at process.<anonymous> (/prebuild-install/node_modules/tape/index.js:169:8)
at process.emit (node:events:513:28)
...
not ok 21 test exited without ending: downloading using proxy
operator: fail
at: process.<anonymous> (/prebuild-install/node_modules/tape/index.js:169:8)
stack: |-
Error: test exited without ending: downloading using proxy
at Test.assert [as _assert] (/prebuild-install/node_modules/tape/lib/test.js:492:48)
at Test.fail (/prebuild-install/node_modules/tape/lib/test.js:600:7)
at Test._exit (/prebuild-install/node_modules/tape/lib/test.js:449:8)
at process.<anonymous> (/prebuild-install/node_modules/tape/index.js:169:8)
at process.emit (node:events:513:28)
...
not ok 22 test exited without ending: downloading without using proxy
operator: fail
at: process.<anonymous> (/prebuild-install/node_modules/tape/index.js:169:8)
stack: |-
Error: test exited without ending: downloading without using proxy
at Test.assert [as _assert] (/prebuild-install/node_modules/tape/lib/test.js:492:48)
at Test.fail (/prebuild-install/node_modules/tape/lib/test.js:600:7)
at Test._exit (/prebuild-install/node_modules/tape/lib/test.js:449:8)
at process.<anonymous> (/prebuild-install/node_modules/tape/index.js:169:8)
at process.emit (node:events:513:28)
...
not ok 23 test exited without ending: custom config and aliases
operator: fail
at: process.<anonymous> (/prebuild-install/node_modules/tape/index.js:169:8)
stack: |-
Error: test exited without ending: custom config and aliases
at Test.assert [as _assert] (/prebuild-install/node_modules/tape/lib/test.js:492:48)
at Test.fail (/prebuild-install/node_modules/tape/lib/test.js:600:7)
at Test._exit (/prebuild-install/node_modules/tape/lib/test.js:449:8)
at process.<anonymous> (/prebuild-install/node_modules/tape/index.js:169:8)
at process.emit (node:events:513:28)
...
not ok 24 test exited without ending: npm args are passed on from npm environment into rc
operator: fail
at: process.<anonymous> (/prebuild-install/node_modules/tape/index.js:169:8)
stack: |-
Error: test exited without ending: npm args are passed on from npm environment into rc
at Test.assert [as _assert] (/prebuild-install/node_modules/tape/lib/test.js:492:48)
at Test.fail (/prebuild-install/node_modules/tape/lib/test.js:600:7)
at Test._exit (/prebuild-install/node_modules/tape/lib/test.js:449:8)
at process.<anonymous> (/prebuild-install/node_modules/tape/index.js:169:8)
at process.emit (node:events:513:28)
...
not ok 25 test exited without ending: npm_config_* are passed on from environment into rc
operator: fail
at: process.<anonymous> (/prebuild-install/node_modules/tape/index.js:169:8)
stack: |-
Error: test exited without ending: npm_config_* are passed on from environment into rc
at Test.assert [as _assert] (/prebuild-install/node_modules/tape/lib/test.js:492:48)
at Test.fail (/prebuild-install/node_modules/tape/lib/test.js:600:7)
at Test._exit (/prebuild-install/node_modules/tape/lib/test.js:449:8)
at process.<anonymous> (/prebuild-install/node_modules/tape/index.js:169:8)
at process.emit (node:events:513:28)
...
not ok 26 test exited without ending: can pass in external package config to rc
operator: fail
at: process.<anonymous> (/prebuild-install/node_modules/tape/index.js:169:8)
stack: |-
Error: test exited without ending: can pass in external package config to rc
at Test.assert [as _assert] (/prebuild-install/node_modules/tape/lib/test.js:492:48)
at Test.fail (/prebuild-install/node_modules/tape/lib/test.js:600:7)
at Test._exit (/prebuild-install/node_modules/tape/lib/test.js:449:8)
at process.<anonymous> (/prebuild-install/node_modules/tape/index.js:169:8)
at process.emit (node:events:513:28)
...
not ok 27 test exited without ending: use default ABI
operator: fail
at: process.<anonymous> (/prebuild-install/node_modules/tape/index.js:169:8)
stack: |-
Error: test exited without ending: use default ABI
at Test.assert [as _assert] (/prebuild-install/node_modules/tape/lib/test.js:492:48)
at Test.fail (/prebuild-install/node_modules/tape/lib/test.js:600:7)
at Test._exit (/prebuild-install/node_modules/tape/lib/test.js:449:8)
at process.<anonymous> (/prebuild-install/node_modules/tape/index.js:169:8)
at process.emit (node:events:513:28)
...
not ok 28 test exited without ending: using --tag-prefix will set the tag prefix
operator: fail
at: process.<anonymous> (/prebuild-install/node_modules/tape/index.js:169:8)
stack: |-
Error: test exited without ending: using --tag-prefix will set the tag prefix
at Test.assert [as _assert] (/prebuild-install/node_modules/tape/lib/test.js:492:48)
at Test.fail (/prebuild-install/node_modules/tape/lib/test.js:600:7)
at Test._exit (/prebuild-install/node_modules/tape/lib/test.js:449:8)
at process.<anonymous> (/prebuild-install/node_modules/tape/index.js:169:8)
at process.emit (node:events:513:28)
...
not ok 29 test exited without ending: libc works on linux platform
operator: fail
at: process.<anonymous> (/prebuild-install/node_modules/tape/index.js:169:8)
stack: |-
Error: test exited without ending: libc works on linux platform
at Test.assert [as _assert] (/prebuild-install/node_modules/tape/lib/test.js:492:48)
at Test.fail (/prebuild-install/node_modules/tape/lib/test.js:600:7)
at Test._exit (/prebuild-install/node_modules/tape/lib/test.js:449:8)
at process.<anonymous> (/prebuild-install/node_modules/tape/index.js:169:8)
at process.emit (node:events:513:28)
...
not ok 30 test exited without ending: libc glibc is passed as empty
operator: fail
at: process.<anonymous> (/prebuild-install/node_modules/tape/index.js:169:8)
stack: |-
Error: test exited without ending: libc glibc is passed as empty
at Test.assert [as _assert] (/prebuild-install/node_modules/tape/lib/test.js:492:48)
at Test.fail (/prebuild-install/node_modules/tape/lib/test.js:600:7)
at Test._exit (/prebuild-install/node_modules/tape/lib/test.js:449:8)
at process.<anonymous> (/prebuild-install/node_modules/tape/index.js:169:8)
at process.emit (node:events:513:28)
...
not ok 31 test exited without ending: libc is discarded on non-linux platform
operator: fail
at: process.<anonymous> (/prebuild-install/node_modules/tape/index.js:169:8)
stack: |-
Error: test exited without ending: libc is discarded on non-linux platform
at Test.assert [as _assert] (/prebuild-install/node_modules/tape/lib/test.js:492:48)
at Test.fail (/prebuild-install/node_modules/tape/lib/test.js:600:7)
at Test._exit (/prebuild-install/node_modules/tape/lib/test.js:449:8)
at process.<anonymous> (/prebuild-install/node_modules/tape/index.js:169:8)
at process.emit (node:events:513:28)
...
not ok 32 test exited without ending: skips download in git dependency
operator: fail
at: process.<anonymous> (/prebuild-install/node_modules/tape/index.js:169:8)
stack: |-
Error: test exited without ending: skips download in git dependency
at Test.assert [as _assert] (/prebuild-install/node_modules/tape/lib/test.js:492:48)
at Test.fail (/prebuild-install/node_modules/tape/lib/test.js:600:7)
at Test._exit (/prebuild-install/node_modules/tape/lib/test.js:449:8)
at process.<anonymous> (/prebuild-install/node_modules/tape/index.js:169:8)
at process.emit (node:events:513:28)
...
not ok 33 test exited without ending: does not skip download in normal dependency
operator: fail
at: process.<anonymous> (/prebuild-install/node_modules/tape/index.js:169:8)
stack: |-
Error: test exited without ending: does not skip download in normal dependency
at Test.assert [as _assert] (/prebuild-install/node_modules/tape/lib/test.js:492:48)
at Test.fail (/prebuild-install/node_modules/tape/lib/test.js:600:7)
at Test._exit (/prebuild-install/node_modules/tape/lib/test.js:449:8)
at process.<anonymous> (/prebuild-install/node_modules/tape/index.js:169:8)
at process.emit (node:events:513:28)
...
not ok 34 test exited without ending: does not skip download in standalone package
operator: fail
at: process.<anonymous> (/prebuild-install/node_modules/tape/index.js:169:8)
stack: |-
Error: test exited without ending: does not skip download in standalone package
at Test.assert [as _assert] (/prebuild-install/node_modules/tape/lib/test.js:492:48)
at Test.fail (/prebuild-install/node_modules/tape/lib/test.js:600:7)
at Test._exit (/prebuild-install/node_modules/tape/lib/test.js:449:8)
at process.<anonymous> (/prebuild-install/node_modules/tape/index.js:169:8)
at process.emit (node:events:513:28)
...
not ok 35 test exited without ending: prebuildCache() for different environments
operator: fail
at: process.<anonymous> (/prebuild-install/node_modules/tape/index.js:169:8)
stack: |-
Error: test exited without ending: prebuildCache() for different environments
at Test.assert [as _assert] (/prebuild-install/node_modules/tape/lib/test.js:492:48)
at Test.fail (/prebuild-install/node_modules/tape/lib/test.js:600:7)
at Test._exit (/prebuild-install/node_modules/tape/lib/test.js:449:8)
at process.<anonymous> (/prebuild-install/node_modules/tape/index.js:169:8)
at process.emit (node:events:513:28)
...
not ok 36 test exited without ending: cachedPrebuild() converts url to valid characters
operator: fail
at: process.<anonymous> (/prebuild-install/node_modules/tape/index.js:169:8)
stack: |-
Error: test exited without ending: cachedPrebuild() converts url to valid characters
at Test.assert [as _assert] (/prebuild-install/node_modules/tape/lib/test.js:492:48)
at Test.fail (/prebuild-install/node_modules/tape/lib/test.js:600:7)
at Test._exit (/prebuild-install/node_modules/tape/lib/test.js:449:8)
at process.<anonymous> (/prebuild-install/node_modules/tape/index.js:169:8)
at process.emit (node:events:513:28)
...
not ok 37 test exited without ending: tempFile() ends with pid and random number
operator: fail
at: process.<anonymous> (/prebuild-install/node_modules/tape/index.js:169:8)
stack: |-
Error: test exited without ending: tempFile() ends with pid and random number
at Test.assert [as _assert] (/prebuild-install/node_modules/tape/lib/test.js:492:48)
at Test.fail (/prebuild-install/node_modules/tape/lib/test.js:600:7)
at Test._exit (/prebuild-install/node_modules/tape/lib/test.js:449:8)
at process.<anonymous> (/prebuild-install/node_modules/tape/index.js:169:8)
at process.emit (node:events:513:28)
...
not ok 38 test exited without ending: urlTemplate() returns different templates based on pkg and rc
operator: fail
at: process.<anonymous> (/prebuild-install/node_modules/tape/index.js:169:8)
stack: |-
Error: test exited without ending: urlTemplate() returns different templates based on pkg and rc
at Test.assert [as _assert] (/prebuild-install/node_modules/tape/lib/test.js:492:48)
at Test.fail (/prebuild-install/node_modules/tape/lib/test.js:600:7)
at Test._exit (/prebuild-install/node_modules/tape/lib/test.js:449:8)
at process.<anonymous> (/prebuild-install/node_modules/tape/index.js:169:8)
at process.emit (node:events:513:28)
...
not ok 39 test exited without ending: urlTemplate() with pkg.binary cleans up leading ./ or / and trailing /
operator: fail
at: process.<anonymous> (/prebuild-install/node_modules/tape/index.js:169:8)
stack: |-
Error: test exited without ending: urlTemplate() with pkg.binary cleans up leading ./ or / and trailing /
at Test.assert [as _assert] (/prebuild-install/node_modules/tape/lib/test.js:492:48)
at Test.fail (/prebuild-install/node_modules/tape/lib/test.js:600:7)
at Test._exit (/prebuild-install/node_modules/tape/lib/test.js:449:8)
at process.<anonymous> (/prebuild-install/node_modules/tape/index.js:169:8)
at process.emit (node:events:513:28)
...
not ok 40 test exited without ending: getDownloadUrl() expands template to correct values
operator: fail
at: process.<anonymous> (/prebuild-install/node_modules/tape/index.js:169:8)
stack: |-
Error: test exited without ending: getDownloadUrl() expands template to correct values
at Test.assert [as _assert] (/prebuild-install/node_modules/tape/lib/test.js:492:48)
at Test.fail (/prebuild-install/node_modules/tape/lib/test.js:600:7)
at Test._exit (/prebuild-install/node_modules/tape/lib/test.js:449:8)
at process.<anonymous> (/prebuild-install/node_modules/tape/index.js:169:8)
at process.emit (node:events:513:28)
...
not ok 41 test exited without ending: localPrebuild
operator: fail
at: process.<anonymous> (/prebuild-install/node_modules/tape/index.js:169:8)
stack: |-
Error: test exited without ending: localPrebuild
at Test.assert [as _assert] (/prebuild-install/node_modules/tape/lib/test.js:492:48)
at Test.fail (/prebuild-install/node_modules/tape/lib/test.js:600:7)
at Test._exit (/prebuild-install/node_modules/tape/lib/test.js:449:8)
at process.<anonymous> (/prebuild-install/node_modules/tape/index.js:169:8)
at process.emit (node:events:513:28)
...
1..41
tests 41
pass 3
fail 38
Metadata
Metadata
Assignees
Labels
No labels