Closed Bug 980381 Opened 11 years ago Closed 11 years ago

Install node && npm on mountainlion test slaves

Categories

(Infrastructure & Operations :: RelOps: Puppet, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jgriffin, Assigned: dustin)

References

Details

Attachments

(1 file, 1 obsolete file)

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.
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.
Assignee: infra → relops
Component: Infrastructure: Puppet → RelOps: Puppet
QA Contact: jdow → dustin
Assignee: relops → dustin
Well, that was pretty easy: Notice: /Stage[main]/Packages::Nodejs/Packages::Pkgdmg[nodejs]/Package[nodejs-0.10.21.dmg]/ensure: created
Attached patch bug980381.patch (obsolete) — Splinter Review
Attachment #8386877 - Flags: review?(bugspam.Callek)
Comment on attachment 8386877 [details] [diff] [review] bug980381.patch Review of attachment 8386877 [details] [diff] [review]: ----------------------------------------------------------------- stamp
Attachment #8386877 - Flags: review?(bugspam.Callek) → review+
Comment on attachment 8386877 [details] [diff] [review] bug980381.patch merged to prod
Attachment #8386877 - Flags: checked-in+
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.
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.
Attachment #8386877 - Attachment is obsolete: true
Attachment #8389284 - Flags: review?(bugspam.Callek)
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+
Yes, we'd need to move this back to a per-OS category, but that's not hard.
Attachment #8389284 - Flags: checked-in+
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.

Attachment

General

Created:
Updated:
Size: