outmoded / university

Community learning experiment
Other
371 stars 193 forks source link

Travis build error and npm install failure #143

Closed zoe-1 closed 9 years ago

zoe-1 commented 9 years ago

After uploading edits to master. Travis did not pass tests.

The command "eval npm install " failed 3 times.
The command "npm install " failed and exited with 1 during .
Your build has been stopped.

Based on error messages it looks like npm fails to install with iojs. Looks like iojs is having issues. node.js tests pass.

zoe-1 commented 9 years ago

3.09s$ nvm install iojs ######################################################################## 100.0% WARNING: checksums are currently disabled for io.js Now using io.js v2.2.0 $ node --version v2.2.0 $ npm --version 2.11.0 $ nvm --version 0.23.3 5.37s$ npm install npm ERR! Linux 3.13.0-40-generic npm ERR! argv "/home/travis/.nvm/versions/io.js/v2.2.0/bin/iojs" "/home/travis/.nvm/versions/io.js/v2.2.0/bin/npm" "install" npm ERR! node v2.2.0 npm ERR! npm v2.11.0 npm ERR! code ESSL npm ERR! SSL Error: https://registry.npmjs.org/hoek does not support SSL 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/hapijs/university/npm-debug.log The command "eval npm install " failed. Retrying, 2 of 3. npm ERR! Linux 3.13.0-40-generic npm ERR! argv "/home/travis/.nvm/versions/io.js/v2.2.0/bin/iojs" "/home/travis/.nvm/versions/io.js/v2.2.0/bin/npm" "install" npm ERR! node v2.2.0 npm ERR! npm v2.11.0 npm ERR! code ESSL npm ERR! SSL Error: https://registry.npmjs.org/hoek does not support SSL 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/hapijs/university/npm-debug.log The command "eval npm install " failed. Retrying, 3 of 3. npm ERR! Linux 3.13.0-40-generic npm ERR! argv "/home/travis/.nvm/versions/io.js/v2.2.0/bin/iojs" "/home/travis/.nvm/versions/io.js/v2.2.0/bin/npm" "install" npm ERR! node v2.2.0 npm ERR! npm v2.11.0 npm ERR! code ESSL npm ERR! SSL Error: https://registry.npmjs.org/glue does not support SSL 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/hapijs/university/npm-debug.log The command "eval npm install " failed 3 times. The command "npm install " failed and exited with 1 during . Your build has been stopped.

AdriVanHoudt commented 9 years ago

Io.js updated npm which has an SSL bug so that is breaking it, just wait on a patch from io.js and rerun the tests on io.js

AdriVanHoudt commented 9 years ago

to be more precise it was more of io.js's fault it seems see https://github.com/nodejs/io.js/issues/1850

zoe-1 commented 9 years ago

Thanks @AdriVanHoudt good to know.

AdriVanHoudt commented 9 years ago

looks like a new version is here, try rerunning the builds on travis

zoe-1 commented 9 years ago

travils fails on hapijs/university. And, I do not know why?


.............
Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1; 2014-12-14T17:29:23+00:00)
Maven home: /usr/local/maven
Java version: 1.7.0_76, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-7-oracle/jre
Default locale: en_US, platform encoding: ANSI_X3.4-1968
OS name: "linux", version: "3.13.0-29-generic", arch: "amd64", family: "unix"
0.09s$ git clone --depth=50 --branch=master git://github.com/hapijs/university.git hapijs/university
Cloning into 'hapijs/university'...
remote: Counting objects: 220, done.
remote: Total 220 (delta 0), reused 0 (delta 0), pack-reused 220
Receiving objects: 100% (220/220), 131.24 KiB | 0 bytes/s, done.
Resolving deltas: 100% (78/78), done.
Checking connectivity... done.
$ cd hapijs/university
$ git checkout -qf 99fed335520e9155e4a30c0c5cf5892174b652f3
fatal: reference is not a tree: 99fed335520e9155e4a30c0c5cf5892174b652f3
The command "git checkout -qf 99fed335520e9155e4a30c0c5cf5892174b652f3" failed and exited with 128 during .
Your build has been stopped.

It tried to: git checkout -qf 99fed335520e9155e4a30c0c5cf5892174b652f3 and fails. I search the repo and this commit id is not there. I am not quite sure what is happening. It could be a permssions issue because I pushed to the repo and I am not set up right with travis? I am not quite. sure.

But, I think this relates to @rutaihwa 's travis failing. Most likely, he synched up with the repo and now has the same issue.

Or another possibility may be, Travis does not like git commit --amend. This may be causing the issue. I amended a couple commits when working on them. Could this cause the problem?
Any advice would be appreciated.

A couple days ago iojs was failing now 0.10 and 0.12 fail too.

zoe-1 commented 9 years ago

Note: I did not amend any commits after pushing them to remote origin.

nlf commented 9 years ago

i restarted a different build for a commit that actually exists and this problem went away, you're all green again :+1: sometimes travis is just weird

zoe-1 commented 9 years ago

@nlf Thanks!