Skip to content

Test case failure while building sha.js on PowerPC64LE - ppc64le #66

Open
@sarveshtamba

Description

@sarveshtamba

Trying the build using npm install, getting the following test case failure while building sha.js on PowerPC64LE - ppc64le:-

277441c298b48bec9426878b36fa43ded530822c == ef717286343f6da3f4e6f68c6de02a5148a801c4
not ok 26 should be equal
  ---
    operator: equal
    expected: "ef717286343f6da3f4e6f68c6de02a5148a801c4"
    actual:   "277441c298b48bec9426878b36fa43ded530822c"
    at: Test._cb (/home/tester/sha.js/test/test.js:68:10)
  ...
f273624c41df116d00e8d3ea9d71b9efa4477c7f == ce4303f6b22257d9c9cf314ef1dee4707c6e1c13
not ok 27 should be equal
  ---
    operator: equal
    expected: "ce4303f6b22257d9c9cf314ef1dee4707c6e1c13"
    actual:   "f273624c41df116d00e8d3ea9d71b9efa4477c7f"
    at: Test._cb (/home/tester/sha.js/test/test.js:68:10)
  ...
ccfa96bb04107e5a9eb882b704db72412e55f23f == 5f5513f8822fdbe5145af33b64d8d970dcf95c6e
not ok 28 should be equal
  ---
    operator: equal
    expected: "5f5513f8822fdbe5145af33b64d8d970dcf95c6e"
    actual:   "ccfa96bb04107e5a9eb882b704db72412e55f23f"
    at: Test._cb (/home/tester/sha.js/test/test.js:68:10)
  ...
# call digest for more than MAX_UINT32 bits of data
not ok 29 should be equal
  ---
    operator: equal
    expected: "8cd9f41b675a8eb11748681b3b7fa0bb43573740"
    actual:   "470d946dd5b9e09147207be5b5dfbfe9e0f07ac1"
    at: Test._cb (/home/tester/sha.js/test/test.js:98:5)
  ...

1..29
# tests 29
# pass  25
# fail  4

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! sha.js@2.4.11 unit: `set -e; for t in test/*.js; do node $t; done;`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the sha.js@2.4.11 unit script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2020-04-10T10_37_56_214Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! sha.js@2.4.11 prepublish: `npm ls && npm run unit`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the sha.js@2.4.11 prepublish script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2020-04-10T10_37_56_319Z-debug.log

Any help would be greatly appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions