Skip to content
This repository has been archived by the owner on Nov 27, 2018. It is now read-only.

npm install fails with 'shasum check failed' for multiparty module #76

Open
mykmelez opened this issue Oct 15, 2015 · 9 comments
Open

Comments

@mykmelez
Copy link
Contributor

This recent build on Travis failed a hash check for the multiparty module:

make: Entering directory /home/travis/build/mozilla/oghliner/node_modules/travis-encrypt/node_modules/ursa/build' CXX(target) Release/obj.target/ursaNative/src/ursaNative.o CXX(target) Release/obj.target/ursaNative/src/asprintf.o SOLINK_MODULE(target) Release/obj.target/ursaNative.node COPY Release/ursaNative.node make: Leaving directory/home/travis/build/mozilla/oghliner/node_modules/travis-encrypt/node_modules/ursa/build'
npm ERR! Linux 3.13.0-40-generic
npm ERR! argv "/home/travis/.nvm/versions/node/v0.12.7/bin/node" "/home/travis/.nvm/versions/node/v0.12.7/bin/npm" "install"
npm ERR! node v0.12.7
npm ERR! npm v2.11.3

npm ERR! shasum check failed for /tmp/npm-2066-5cbdf385/registry.npmjs.org/multiparty/-/multiparty-2.2.0.tgz
npm ERR! Expected: a567c2af000ad22dc8f2a653d91978ae1f5316f4
npm ERR! Actual: 6055a8df1315811def83ca6585d46cd476845953
npm ERR! From: https://registry.npmjs.org/multiparty/-/multiparty-2.2.0.tgz
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! https://github.com/npm/npm/issues

npm ERR! Please include the following file with any support request:
npm ERR! /home/travis/build/mozilla/oghliner/npm-debug.log

The command "npm install" failed and exited with 1 during .

Your build has been stopped.

A rebuild succeeded, so you won't see that error on Travis now, but here's the log file:

log.txt

Presumably this is a rare build failure, and nothing to be concerned about, but filing it here just in case it happens more frequently, and we should dig into it further.

@marco-c
Copy link
Contributor

marco-c commented Oct 15, 2015

I've seen it too yesterday, in another Travis build.

@marco-c
Copy link
Contributor

marco-c commented Oct 15, 2015

@lodr and @digitarald were having issues with ursa, I wonder if this is related.

@digitarald
Copy link

npm-debug.log for references: https://gist.github.com/digitarald/793431625bafbfeb325c

@brendandahl
Copy link
Contributor

I also saw this on platatus.

@digitarald
Copy link

travis-ci also fell over once with a similar error: https://travis-ci.org/mozilla/platatus/builds/85638640

@mykmelez
Copy link
Contributor Author

It looks like it isn't restricted to multiparty, as I just saw it with rx in this build:

npm ERR! Linux 3.13.0-40-generic
npm ERR! argv "/home/travis/.nvm/versions/node/v0.12.7/bin/node" "/home/travis/.nvm/versions/node/v0.12.7/bin/npm" "install"
npm ERR! node v0.12.7
npm ERR! npm v2.11.3
npm ERR! shasum check failed for /tmp/npm-2061-7cb4f698/registry.npmjs.org/rx/-/rx-2.5.3.tgz
npm ERR! Expected: 21adc7d80f02002af50dae97fd9dbf248755f566
npm ERR! Actual: fd9286c5602187f65b2819610bd71503a2f0fa9f
npm ERR! From: https://registry.npmjs.org/rx/-/rx-2.5.3.tgz

@marco-c
Copy link
Contributor

marco-c commented Oct 24, 2015

This hasn't happened for a while, so I'm closing it.

@marco-c marco-c closed this as completed Oct 24, 2015
@marco-c marco-c reopened this Nov 5, 2015
@marco-c
Copy link
Contributor

marco-c commented Nov 5, 2015

@darkwing

@marco-c
Copy link
Contributor

marco-c commented Nov 5, 2015

This happened again in #140.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants