Closed Bug 1011542 Opened 10 years ago Closed 10 years ago

Add native rm.exe to rev2 builder image

Categories

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

x86_64
Windows Server 2008
task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: coop, Assigned: q)

References

Details

Attachments

(1 obsolete file)

Vlad wrote a replacement for the msys version of rm.exe that uses Windows-native calls that substantially increases the performance of recursive file/dir removals. The replacement is drop-in, has been tested over in bug 692715, and in the interest of speed I've already deployed it to all the Windows builders by hand using the following stanza:

 cd /bin 
 if [ ! -e rm-msys.exe ]; then cp rm.exe rm-msys.exe; fi
 if [ -e winrm.exe ]; then rm winrm.exe; fi
 wget http://people.mozilla.com/~vladimir/misc/winrm.exe
 cp winrm.exe rm.exe

Can we please get this new version of rm.exe added to the rev2 image for the Windows builders (w64-ix, b-2008-ix, and b02008-sm)? We'd like to keep the old version of rm.exe (preserved as rm-msys.exe, as above) in case we need to rollback.

rm.exe lives in C:\mozilla-build\msys\bin

Thanks!
This bit us on move train A -- comment 0 needs to be manually applied to any freshly imaged builders until this bug is r/f.
Blocks: 1013035, 981124
Attached file rebuild_windows_builders.txt (obsolete) —
List of move train A hosts that need to have comment 0 applied, and then be re-enabled in slavealloc.
Comment on attachment 8427422 [details]
rebuild_windows_builders.txt

(In reply to Hal Wine [:hwine] (use needinfo) from comment #1)
> This bit us on move train A -- comment 0 needs to be manually applied to any
> freshly imaged builders until this bug is r/f.

This has been applied to move train A windows builders & hosts re-enabled.

Still a blocker for future move trains.
Attachment #8427422 - Attachment is obsolete: true
Working on getting this into gpo and the build image. Is this going to be part of mozbuild 1.9 or will it continue to need to be replaced after 1.9 deploys?
Assignee: relops → q
I(In reply to Q from comment #4)
> Working on getting this into gpo and the build image. Is this going to be
> part of mozbuild 1.9 or will it continue to need to be replaced after 1.9
> deploys?

It is not part of MozillaBuild 1.9.
Files are set in GPO for current and future deploys
Is there anything left to do here then, or can we close this out?
Flags: needinfo?(q)
I think we can close this out.
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: needinfo?(q)
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: