Intermittent gaia-integration make: *** [test-integration] Error 127 in npm install

RESOLVED WORKSFORME

Status

RESOLVED WORKSFORME
5 years ago
5 years ago

People

(Reporter: philor, Unassigned)

Tracking

({intermittent-failure})

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

5 years ago
+++ This bug was initially created as a clone of Bug #966156 +++

https://tbpl.mozilla.org/php/getParsedLog.php?id=33877093&tree=Mozilla-Inbound
b2g_ubuntu64_vm mozilla-inbound opt test gaia-integration on 2014-01-31 05:54:44 PST for push fe5449bbf9bc
slave: tst-linux64-spot-120

06:04:57     INFO -  npm http 304 http://npm-mirror.pub.build.mozilla.org/sigmund
06:09:57     INFO - mozprocess timed out
06:09:57    ERROR - timed out after 300 seconds of no output
06:09:57    ERROR - Return code: -9
06:09:57     INFO - retry: Failed, sleeping 60 seconds before retrying
...
06:12:47     INFO -  npm WARN package.json mocha-json-proxy@0.0.7 No repository field.
06:12:48     INFO -  ./bin/gaia-marionette: line 40: /builds/slave/test/gaia/bin/../node_modules/.bin/marionette-mocha: No such file or directory
06:12:48     INFO -  make: *** [test-integration] Error 127
06:12:48    ERROR - Return code: 2
06:12:48     INFO - TinderboxPrint: gaia-integration-tests: <em class="testfail">T-FAIL</em>
06:12:48    ERROR - Tests exited with return code 2: harness failures
06:12:48    ERROR - # TBPL FAILURE #
Blah.  It appears that if 'npm install' times out for whatever reason, a retry of that command will succeed without finishing to download whatever packages were skipped the first time.

I guess we'll need to modify the mozharness script to wipe the 'node_modules' dir between retries.
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
We've switched to using a cloned copy of the modules, so this error won't appear any longer.
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.