Sporadic ISO build failures due to npm errors

Bug #1417986 reported by Alexei Sheplyakov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
Medium
Alexei Sheplyakov

Bug Description

Sometimes building the ISO fails with the following error message:

npm ERR! System Linux 3.13.0-43-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! cwd /home/jenkins/workspace/tmp/custom_trusty_6.1_iso/build/repos/nailgun/nailgun
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.10
npm ERR! path ../esprima/bin/esparse.js
npm ERR! code EEXIST
npm ERR! errno 47

Changed in fuel:
assignee: nobody → Alexei Sheplyakov (asheplyakov)
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-main (master)

Fix proposed to branch: master
Review: https://review.openstack.org/152860

Changed in fuel:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-main (master)

Reviewed: https://review.openstack.org/152860
Committed: https://git.openstack.org/cgit/stackforge/fuel-main/commit/?id=11aaf20cf28470f7e28e747f2b77ad9885f29402
Submitter: Jenkins
Branch: master

commit 11aaf20cf28470f7e28e747f2b77ad9885f29402
Author: Alexei Sheplyakov <email address hidden>
Date: Wed Feb 4 09:18:10 2015 +0300

    Fix sporadic build failures due to npm errors

    By default npm uses $HOME/.npm as a cache directory. Thus several ISO
    builds running on the same machine can step each others feet and cause
    the failure. Use a per build cache directory when installing software
    with npm to avoid collisions.

    Change-Id: If37ffe963e5fae233292d947a5859114afb11242
    Closes-Bug: #1417986

Changed in fuel:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.