windows build machines loaners don't have the required libraries installed by default to build

RESOLVED WORKSFORME

Status

Infrastructure & Operations
CIDuty
RESOLVED WORKSFORME
2 years ago
2 months ago

People

(Reporter: kmoir, Unassigned)

Tracking

Details

(Reporter)

Description

2 years ago
I have been using b-2008-ec2-kmoir2 for testing some patches.

However, the default state of the machine doesn't have the correct libraries required to compile a build

Specifically, it's missing the current version of Mozilla Build an Visual Studio Community edition required to make mach build work

https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Build_Instructions/Windows_Prerequisites

Is there a reason the these packages aren't installed by default?

I installed them manually on my loaner to move forward with my work
I compared Mozilla Build version from a loaner and a production machine (the latter is usually created from the latest AMI, which gets puppetized during the process): C:\mozilla-build\VERSION shows v.1.9.0 for both of them.

Things are similar for the Visual Studio version: I'm only able to see Visual Studio 2013 in both cases. Taking a look at the logs for a random build running on such an instance, it appears that vs2015u3.zip is downloaded from tooltool if not present in a local cache.   

04:45:36     INFO -  INFO - File vs2015u3.zip not present in local cache folder c:/builds/tooltool_cache
04:45:36     INFO -  INFO - Attempting to fetch from 'https://api.pub.build.mozilla.org/tooltool/'...
04:45:46     INFO -  INFO - File vs2015u3.zip fetched from https://api.pub.build.mozilla.org/tooltool/ as c:\builds\moz2_slave\m-in-w64-000000000000000000000\build\src\tmppf4vgx

There is also work in bug 1307855 to apply puppet config to our b-2008 loaners.

@Kim: do you thing anything else is needed here?
Flags: needinfo?(kmoir)
(Reporter)

Comment 2

a year ago
I don't know if something changed since I received my loaner.  In any case, if the vs 2015 is installed on the loaner now, that is great.  That wasn't the case when I received my loaner.
Flags: needinfo?(kmoir)
I'll close this for now, please feel free to re-open if needed.
Status: NEW → RESOLVED
Last Resolved: a year ago
Resolution: --- → WORKSFORME

Updated

2 months ago
Product: Release Engineering → Infrastructure & Operations
You need to log in before you can comment on or make changes to this bug.