New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Node version checksum mismatch #5562
Comments
Update: adding |
We're running into the same problem and |
Also seen in https://travis-ci.org/desert-planet/hayt/builds/103683508. I feel that this is an issue with node-gyp: nodejs/node-gyp#645 (and a less verbose nodejs/node-gyp#693). Similar issues:
At any rate, there is not much we can do on our side to improve the situation for your builds, I am afraid. |
So for some reason node-gyp doesn't properly create the checksum of the downloaded node-headers and even 'node-gyp-install' only managed to install those unreliably. I ended up updating node and npm (and a couple of other libraries we use) like so:
where
later versions of Node and failed to compile stuff using gyp because the default gcc doesn't seem to support c++11. |
Is there anything on our end to do? This seems strictly an issue with |
TLDR: It's a For some reason, node-gyp wasn't calculating the correct sha256sum of the downloaded |
This definitely seems node-gyp related, but I can't find anything where the maintainers of node-gyp have addressed it. Has anyone been able to find a related issue filed at node-gyp? If not, I might file one there. |
Why do you need the Node.js version in non- @daveyarwood nodejs/node-gyp#693 is the closest I found. |
That issue suggests this is some kind of mirror issue? |
@daveyarwood Perhaps. But I found a few other issues with the same message with |
The situation is a bit complicated for us now -- we ended up pinning Travis to test only Node v0.10.26 (instead of 0.10, which was trying to use the latest in that series, 0.10.41), and that solved our immediate issue with the checksum mismatch. We figured this is a step in the right direction, since the production app is running in containers that have Node v0.10.26, so we should ensure that it builds specifically on that version. So that fixed the checksum mismatch issue, but now we're getting a handful of other node-gyp related issues. Here are a couple examples:
(then on subsequent build, after removing
I'm having a hard time understanding what's going on, beyond that it appears to be node-gyp related. |
For some reason, node seems to receive corrupt files when downloading from a travis worker. (nodejs/node-gyp#693) Anything changed in the travis environment that could be causing that? Some cache maybe? |
That seems rather incredible. Does the problem persist if you re-run the previously-failing builds? |
@BanzaiMan I believe starting last wednesday afternoon (gmt +1), it started to slowly transition from working sometimes on previously-failing build to pretty much failing always. Take that with a grain of salt, not 100% sure about it. |
I believe we are experimenting the same issue with the-grid/gmr-saliency:
Raw log is available at https://gist.github.com/automata/fca157029dc01357b5d5d7cfd6fc62d1 and also the .travis.yml source. The same issue already happened with Node.js 0.12 and 4.2. |
Is this still an issue? |
I bumped |
I'm closing this now. |
Travis has stopped building our project -- we are now getting this error on every build attempt:
Adding
- npm cache clean
to thebefore_install
section of the.travis.yml
seems to fix the issue (builds successfully), but then after removing that line again and force-pushing, the same error occurs.The text was updated successfully, but these errors were encountered: