Closed
Bug 980381
Opened 11 years ago
Closed 11 years ago
Install node && npm on mountainlion test slaves
Categories
(Infrastructure & Operations :: RelOps: Puppet, task)
Infrastructure & Operations
RelOps: Puppet
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jgriffin, Assigned: dustin)
References
Details
Attachments
(1 file, 1 obsolete file)
3.14 KB,
patch
|
Callek
:
review+
dustin
:
checked-in+
|
Details | Diff | Splinter Review |
We need to run gaia-integration tests on OSX test slaves, but apparently they don't have npm (and so I guess they don't have node either):
20:03:43 INFO - Running command: ['npm', 'cache', 'clean']
20:03:43 INFO - Copy/paste: npm cache clean
20:03:43 ERROR - caught OS error 2: No such file or directory while running ['npm', 'cache', 'clean']
https://tbpl.mozilla.org/php/getParsedLog.php?id=35699217&tree=Cedar&full=1#error0
This is relatively high urgency, as some people would like to end our dependency on Travis, but we can't as long as Gi tests aren't running in TBPL.
Reporter | ||
Comment 1•11 years ago
|
||
This bug is an analog to https://bugzilla.mozilla.org/show_bug.cgi?id=931875, where the same thing was done for Ubuntu VM slaves.
Updated•11 years ago
|
Assignee: infra → relops
Component: Infrastructure: Puppet → RelOps: Puppet
QA Contact: jdow → dustin
Assignee | ||
Updated•11 years ago
|
Assignee: relops → dustin
Assignee | ||
Comment 2•11 years ago
|
||
Well, that was pretty easy:
Notice: /Stage[main]/Packages::Nodejs/Packages::Pkgdmg[nodejs]/Package[nodejs-0.10.21.dmg]/ensure: created
Assignee | ||
Comment 3•11 years ago
|
||
Attachment #8386877 -
Flags: review?(bugspam.Callek)
Comment 4•11 years ago
|
||
Comment on attachment 8386877 [details] [diff] [review]
bug980381.patch
Review of attachment 8386877 [details] [diff] [review]:
-----------------------------------------------------------------
stamp
Attachment #8386877 -
Flags: review?(bugspam.Callek) → review+
Assignee | ||
Comment 5•11 years ago
|
||
Attachment #8386877 -
Flags: checked-in+
Assignee | ||
Comment 6•11 years ago
|
||
Huh, on mountain lion:
Error: Execution of '/usr/sbin/installer -pkg /private/tmp/dmg.fWjjc1/nodejs-0.10.21.pkg -target /' returned 1: installer: Package name is Node
installer: Certificate used to sign package is not trusted. Use -allowUntrusted to override.
backed out.
Assignee | ||
Comment 7•11 years ago
|
||
Works fine on snow leopard, too. This is an Apple bug on Mountain Lion, fixed in 10.8.3.
However, using pkgutil to expand and re-flatten the package seems to help.
Assignee | ||
Comment 8•11 years ago
|
||
Attachment #8386877 -
Attachment is obsolete: true
Attachment #8389284 -
Flags: review?(bugspam.Callek)
Comment 9•11 years ago
|
||
Comment on attachment 8389284 [details] [diff] [review]
bug980381-p1.patch
Review of attachment 8389284 [details] [diff] [review]:
-----------------------------------------------------------------
just to mention nodejs install will fail on a talos instantiated windows host with this patch (though I don't think thats the only windows problem we'd have here)
Attachment #8389284 -
Flags: review?(bugspam.Callek) → review+
Assignee | ||
Comment 10•11 years ago
|
||
Yes, we'd need to move this back to a per-OS category, but that's not hard.
Assignee | ||
Updated•11 years ago
|
Attachment #8389284 -
Flags: checked-in+
Assignee | ||
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•