Closed Bug 746723 Opened 13 years ago Closed 12 years ago

Deploy python 2.7 to windows machines

Categories

(Infrastructure & Operations Graveyard :: CIDuty, task, P2)

x86_64
Linux

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: rail, Assigned: rail)

References

Details

(Whiteboard: [buildslaves][opsi][simple])

Attachments

(1 file, 1 obsolete file)

We need it to fix balrog submissions. I'm going to install Python 2.7.3 into d:\mozilla-build\python27 if there are no strong objections.
Attached patch Python 2.7 OPSI package (obsolete) — Splinter Review
* The package installs python 2.7.3 without any other modules (like pywin32) * The package is supposed to be used by build and test slaves * It uses network installation type (msiexec /a), so there is no registry entries (easier to uninstall) * The package hasn't been tested yet (but tested running "msiexec ...") Do we need anything else to be installed as a part of this package? I know, that buildbot requires pywin32, twisted, simplejson, etc, but probably having them as separate packages would be better (easier to upgrade). Concerns, comments?
Attachment #616572 - Flags: feedback?(coop)
Priority: -- → P2
Comment on attachment 616572 [details] [diff] [review] Python 2.7 OPSI package As an install, this looks fine. Are we planning to make this the default?
Attachment #616572 - Flags: feedback?(coop) → feedback+
I had to add ALLUSERS=1 to prevent the following error when installing the package as SYSTEM user (which probably doesn't have user directories and the corresponding registry entries): DEBUG: Error 2103: Could not resolve path for shell folder 26.
Not to many changes here. 1) I had to use /i instead of /a because it didn't work as expected on winxp 2) Added ALLUSERS=1 to prevent installation failures 3) unins script uses msiexec because of 1) I tested the OPSI package (installation and uninstallation) on a builder and an XP test machine.
Attachment #616572 - Attachment is obsolete: true
Attachment #619979 - Flags: review?(coop)
Attachment #619979 - Flags: review?(coop) → review+
The package is being deploying to the *build* slaves only. I'll check the status tomorrow.
Filed Bug 750889 - please take a snapshot of win32-ix-ref
deployment is going fine for builders. talos-r3-xp-* are in progress now. Win7 needs manual installation.
Summary: Deploy python 2.7 to windows build machines → Deploy python 2.7 to windows machines
Filed Bug 751109 - please take a snapshot of talos-r3-xp-ref
W7 machines will be updated manually by running these commands: wget http://dev-stage01.build.sjc1.mozilla.com/pub/mozilla.org/mozilla/libraries/win32/python-2.7.3.msi msiexec /i python-2.7.3.msi /quiet /norestart /log python27_install.log TARGETDIR=c:\mozilla-build\python27 ALLUSERS=1
For win7 talos slaves I had to drop ALLUSERS=1 and install as cltbld: wget http://dev-stage01.build.mozilla.org/pub/mozilla.org/mozilla/libraries/win32/python-2.7.3.msi msiexec /i python-2.7.3.msi /quiet /norestart /log python27_install.log TARGETDIR=c:\mozilla-build\python27
w64-ix: # ssh Administrator@slave c:\mozilla-build\wget\wget.exe http://dev-stage01.build.mozilla.org/pub/mozilla.org/mozilla/libraries/win32/python-2.7.3.msi msiexec /i python-2.7.3.msi /quiet /norestart /log python27_install.log TARGETDIR=c:\mozilla-build\python27 ALLUSERS=1
I just talked to Armen. It turns out that we need to deploy w64-ix files using GPO. @MaRu: What's the procedure to deploy this package? It sounds like we may need a transformation file to pass TARGETDIR.
Blocks: 755742
All done here. I filed bug 755742 to track GPO deployment of the package.
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Documented in here: https://wiki.mozilla.org/ReferencePlatforms/Test/WinXP#Python_2.7 rail, would you please mind reviewing the documentation? Thanks!
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
(In reply to Armen Zambrano G. [:armenzg] from comment #15) > Documented in here: > https://wiki.mozilla.org/ReferencePlatforms/Test/WinXP#Python_2.7 > > rail, would you please mind reviewing the documentation? > Thanks! It looks good. I added the link where the file was downloaded from.
Status: REOPENED → RESOLVED
Closed: 13 years ago12 years ago
Resolution: --- → FIXED
Product: mozilla.org → Release Engineering
Component: Platform Support → Buildduty
Product: Release Engineering → Infrastructure & Operations
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: