Closed
Bug 751455
Opened 12 years ago
Closed 12 years ago
Adjust virus scanning for new stage servers
Categories
(Release Engineering :: Release Automation: Other, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: nthomas, Assigned: nthomas)
References
Details
Attachments
(1 file)
2.44 KB,
patch
|
bhearsum
:
review+
nthomas
:
checked-in+
|
Details | Diff | Splinter Review |
Both post_upload.py and extract_and_run_command.py (from tools/stage) are living in sysadmins repo on the new upload servers (at opsec's request). The extract script needs to import mar.py, which it does by looking at the right relative-path in a tools checkout: sys.path.append(path.join(path.dirname(path.realpath(__file__)), "../buildfarm/utils")) ... from mar import BZ2MarFile Since we no longer have a tools checkout I propose we get puppet to manage mar.py too, putting it in /usr/lib64/python2.6/site-packages (on sys.path), and then drop the sys.path modification.
Assignee | ||
Comment 1•12 years ago
|
||
The files I mentioned live at: http://hg.mozilla.org/build/tools/file/default/stage/extract_and_run_command.py http://hg.mozilla.org/build/tools/file/default/buildfarm/utils/mar.py
Assignee | ||
Comment 2•12 years ago
|
||
I committed rev 36509 to add mar.py to /usr/lib64/python2.6/site-packages/, but it hasn't appeared on upload1 in the 50 minutes since. If puppet is erroring then this is a good thing to check on.
Assignee | ||
Comment 3•12 years ago
|
||
A virus scan works with the change in comment #2, plus installing p7zip (to provide 7za, also in puppet). 1h 18 minutes elapsed on upload1, compared to 3hrs 14 to do the virus scan + dummy rsync for 13.0b2 (ie more work, but not many minutes worth).
Assignee: nobody → nrthomas
Priority: -- → P2
Assignee | ||
Comment 4•12 years ago
|
||
The idea with these comment blocks is to help us remember that builds/tools is the canonical location for these scripts, but that they're managed by puppet on stage.m.o. I put this after the docstrings because that seemed vaguely better, but means it doesn't always go right at the very top of the file. Looks like you can do the other way around if that's seems better to you.
Attachment #623624 -
Flags: review?(bhearsum)
Comment 5•12 years ago
|
||
Comment on attachment 623624 [details] [diff] [review] [tools] Add header block to help people with deployment Review of attachment 623624 [details] [diff] [review]: ----------------------------------------------------------------- This seems good enough to me.
Attachment #623624 -
Flags: review?(bhearsum) → review+
Assignee | ||
Comment 6•12 years ago
|
||
Comment on attachment 623624 [details] [diff] [review] [tools] Add header block to help people with deployment http://hg.mozilla.org/build/tools/rev/2fd823c26d35 Sending bin/extract_and_run_command.py Sending bin/mar.py Sending bin/post_upload.py Transmitting file data ... Committed revision 37822.
Attachment #623624 -
Flags: checked-in+
Assignee | ||
Comment 7•12 years ago
|
||
All done here.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Product: mozilla.org → Release Engineering
You need to log in
before you can comment on or make changes to this bug.
Description
•