Closed
Bug 1220641
Opened 8 years ago
Closed 8 years ago
Push to mirrors prefix is too greedy
Categories
(Release Engineering :: Release Automation: Other, defect)
Release Engineering
Release Automation: Other
Tracking
(firefox43 fixed, firefox44 fixed, firefox45 fixed, firefox-esr38 fixed, b2g-v2.5 fixed, b2g-master fixed)
People
(Reporter: rail, Assigned: rail)
References
Details
Attachments
(2 files, 1 obsolete file)
2.11 KB,
patch
|
Callek
:
review+
ritu
:
approval-mozilla-aurora+
ritu
:
approval-mozilla-beta+
ritu
:
approval-mozilla-esr38+
rail
:
checked-in+
|
Details | Diff | Splinter Review |
1.17 KB,
patch
|
rail
:
review+
lizzard
:
approval-mozilla-aurora+
lizzard
:
approval-mozilla-beta+
lizzard
:
approval-mozilla-release+
lizzard
:
approval-mozilla-esr38+
rail
:
checked-in+
|
Details | Diff | Splinter Review |
05:37:30 INFO - ##### Running push-to-releases step. 05:37:30 INFO - ##### 05:37:30 INFO - Running main action method: push_to_releases 05:37:30 INFO - Connecting to S3 05:37:30 INFO - Getting bucket net-mozaws-prod-delivery-firefox 05:37:30 INFO - Checking destination pub/firefox/releases/42.0 is empty 05:37:41 FATAL - Destination already exists with 26331 keys, aborting 05:37:41 FATAL - Running post_fatal callback... 05:37:41 FATAL - Exiting -1 program finished with exit code 255 pub/firefox/releases/42.0 matches pub/firefox/releases/42.0b1, pub/firefox/releases/42.0b2, etc, etc Adding a trailing slash resolves the issue. The batch should also address a possible build2 vs build29 issue. :P
Attachment #8681947 -
Flags: review?(nthomas)
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → rail
Assignee | ||
Updated•8 years ago
|
Summary: Push to mirrors prefix is too gready → Push to mirrors prefix is too greedy
Comment 1•8 years ago
|
||
Comment on attachment 8681947 [details] [diff] [review] slash.diff Review of attachment 8681947 [details] [diff] [review]: ----------------------------------------------------------------- Please also patch antivirus: https://dxr.mozilla.org/mozilla-central/search?q=_get_candidates_prefix&redirect=false&case=true (I'm stealing from nick to avoid the timezone delay in this patch)
Attachment #8681947 -
Flags: review?(nthomas) → review+
Assignee | ||
Comment 2•8 years ago
|
||
I tested this patch by running it twice to push 42.0.
Assignee | ||
Comment 3•8 years ago
|
||
(In reply to Justin Wood (:Callek) from comment #1) > Comment on attachment 8681947 [details] [diff] [review] > slash.diff > > Review of attachment 8681947 [details] [diff] [review]: > ----------------------------------------------------------------- > > Please also patch antivirus: > https://dxr.mozilla.org/mozilla-central/ > search?q=_get_candidates_prefix&redirect=false&case=true > > (I'm stealing from nick to avoid the timezone delay in this patch) ooooh, good point. Let me combine the patches.
Assignee | ||
Comment 4•8 years ago
|
||
Attachment #8681947 -
Attachment is obsolete: true
Attachment #8681960 -
Flags: review?(bugspam.Callek)
Updated•8 years ago
|
Attachment #8681960 -
Flags: review?(bugspam.Callek) → review+
Assignee | ||
Comment 5•8 years ago
|
||
Comment on attachment 8681960 [details] [diff] [review] slash2.diff https://hg.mozilla.org/integration/mozilla-inbound/rev/f7c9752aeaf6
Attachment #8681960 -
Flags: checked-in+
Comment 6•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/f7c9752aeaf6
Assignee | ||
Comment 7•8 years ago
|
||
Comment on attachment 8681960 [details] [diff] [review] slash2.diff This change is a part of release automation and doesn't affect the product.
Attachment #8681960 -
Flags: approval-mozilla-release?
Attachment #8681960 -
Flags: approval-mozilla-esr38?
Attachment #8681960 -
Flags: approval-mozilla-beta?
Attachment #8681960 -
Flags: approval-mozilla-aurora?
Assignee | ||
Comment 8•8 years ago
|
||
reopening to keep it on my radar
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 9•8 years ago
|
||
bugherder uplift |
https://hg.mozilla.org/releases/mozilla-b2g44_v2_5/rev/f7c9752aeaf6
status-b2g-v2.5:
--- → fixed
Comment on attachment 8681960 [details] [diff] [review] slash2.diff Since this is a releng fix, approving for uplift to all branches.
Attachment #8681960 -
Flags: approval-mozilla-release?
Attachment #8681960 -
Flags: approval-mozilla-esr38?
Attachment #8681960 -
Flags: approval-mozilla-esr38+
Attachment #8681960 -
Flags: approval-mozilla-beta?
Attachment #8681960 -
Flags: approval-mozilla-beta+
Attachment #8681960 -
Flags: approval-mozilla-aurora?
Attachment #8681960 -
Flags: approval-mozilla-aurora+
Tomcat, Wes: I wasn't sure if this one would show up in your to-uplift queries as status-ffXX is not set. N-I'ing you just in case it does not.
Flags: needinfo?(wkocher)
Flags: needinfo?(cbook)
Assignee | ||
Comment 12•8 years ago
|
||
I was going to land the fixes myself.
Comment 13•8 years ago
|
||
(In reply to Rail Aliiev [:rail] from comment #12) > I was going to land the fixes myself. Rail, feel free to ping us when we should land this, otherwise you can push this :)
Flags: needinfo?(wkocher)
Flags: needinfo?(cbook)
Assignee | ||
Comment 14•8 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/06971b5f1f6e https://hg.mozilla.org/releases/mozilla-beta/rev/6a65996ee241 https://hg.mozilla.org/releases/mozilla-release/rev/e6da4b830557 https://hg.mozilla.org/releases/mozilla-esr38/rev/86c033f50d0f
Status: REOPENED → RESOLVED
Closed: 8 years ago → 8 years ago
Resolution: --- → FIXED
Comment 15•8 years ago
|
||
rail, could you also land on the thunderbird verbranch in esr38. Unfortunately it's a kind of fork so we have to double land for automation fixes.
Assignee | ||
Comment 16•8 years ago
|
||
Sure, https://hg.mozilla.org/releases/mozilla-esr38/rev/bea414cb5af0
Comment 17•8 years ago
|
||
bugherder uplift |
https://hg.mozilla.org/releases/mozilla-b2g44_v2_5/rev/06971b5f1f6e
Comment 18•8 years ago
|
||
Reopening for followup fix for antivirus, which broke for 43.0b2 build1 like so: 22:05:50 INFO - ##### 22:05:50 INFO - ##### Running get-files step. 22:05:50 INFO - ##### 22:05:50 INFO - Running main action method: get_files 22:05:50 INFO - Connecting to S3 22:05:50 INFO - Getting bucket net-mozaws-prod-delivery-firefox 22:05:51 INFO - Getting key names from candidates 22:05:52 FATAL - Uncaught exception: Traceback (most recent call last): 22:05:52 FATAL - File "/builds/slave/rel-m-beta-av-0000000000000000/scripts/mozharness/base/script.py", line 1698, in run 22:05:52 FATAL - self.run_action(action) 22:05:52 FATAL - File "/builds/slave/rel-m-beta-av-0000000000000000/scripts/mozharness/base/script.py", line 1640, in run_action 22:05:52 FATAL - self._possibly_run_method(method_name, error_if_missing=True) 22:05:52 FATAL - File "/builds/slave/rel-m-beta-av-0000000000000000/scripts/mozharness/base/script.py", line 1581, in _possibly_run_method 22:05:52 FATAL - return getattr(self, method_name)() 22:05:52 FATAL - File "scripts/scripts/release/antivirus.py", line 177, in get_files 22:05:52 FATAL - pool.map(worker, find_release_files()) 22:05:52 FATAL - File "/tools/python27/lib/python2.7/multiprocessing/pool.py", line 227, in map 22:05:52 FATAL - return self.map_async(func, iterable, chunksize).get() 22:05:52 FATAL - File "/tools/python27/lib/python2.7/multiprocessing/pool.py", line 280, in map_async 22:05:52 FATAL - iterable = list(iterable) 22:05:52 FATAL - File "scripts/scripts/release/antivirus.py", line 173, in find_release_files 22:05:52 FATAL - os.makedirs(dest_dir) 22:05:52 FATAL - File "/tools/python27/lib/python2.7/os.py", line 157, in makedirs 22:05:52 FATAL - mkdir(name, mode) 22:05:52 FATAL - OSError: [Errno 2] No such file or directory: ''
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 19•8 years ago
|
||
Maybe this will teach me to use os.path.join() for everything (except urls).
Attachment #8685305 -
Flags: review?(jlund)
Assignee | ||
Comment 20•8 years ago
|
||
Comment on attachment 8685305 [details] [diff] [review] [gecko] Use os.path.join Stealing this
Attachment #8685305 -
Flags: review?(jlund) → review+
Assignee | ||
Updated•8 years ago
|
Keywords: leave-open
Assignee | ||
Comment 22•8 years ago
|
||
Comment on attachment 8685305 [details] [diff] [review] [gecko] Use os.path.join https://hg.mozilla.org/integration/mozilla-inbound/rev/fbaf2ce77cf4
Attachment #8685305 -
Flags: checked-in+
Assignee | ||
Comment 23•8 years ago
|
||
Comment on attachment 8685305 [details] [diff] [review] [gecko] Use os.path.join This change is a part of release automation and doesn't affect the product.
Attachment #8685305 -
Flags: approval-mozilla-release?
Attachment #8685305 -
Flags: approval-mozilla-esr38?
Attachment #8685305 -
Flags: approval-mozilla-beta?
Attachment #8685305 -
Flags: approval-mozilla-aurora?
Comment 24•8 years ago
|
||
in addition to(In reply to Nick Thomas [:nthomas] from comment #18) > Reopening for followup fix for antivirus, which broke for 43.0b2 build1 like in addition to rail reviewing this, he also got a loaner and manually ran av.
Comment on attachment 8685305 [details] [diff] [review] [gecko] Use os.path.join Doesn't affect the product, you can land without approval.
Attachment #8685305 -
Flags: approval-mozilla-release?
Attachment #8685305 -
Flags: approval-mozilla-release+
Attachment #8685305 -
Flags: approval-mozilla-esr38?
Attachment #8685305 -
Flags: approval-mozilla-esr38+
Attachment #8685305 -
Flags: approval-mozilla-beta?
Attachment #8685305 -
Flags: approval-mozilla-beta+
Attachment #8685305 -
Flags: approval-mozilla-aurora?
Attachment #8685305 -
Flags: approval-mozilla-aurora+
Comment 26•8 years ago
|
||
(In reply to Liz Henry (:lizzard) (needinfo? me) from comment #25) > Comment on attachment 8685305 [details] [diff] [review] > [gecko] Use os.path.join > > Doesn't affect the product, you can land without approval. rail: do you want to push fix or do you need sheriff assistance ?
Comment 27•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/fbaf2ce77cf4
Assignee | ||
Comment 28•8 years ago
|
||
I'll land them, don't worry.
Assignee | ||
Comment 29•8 years ago
|
||
Comment on attachment 8685305 [details] [diff] [review] [gecko] Use os.path.join https://hg.mozilla.org/releases/mozilla-aurora/rev/d5b408ced8ce https://hg.mozilla.org/releases/mozilla-beta/rev/9669bc030ba7 https://hg.mozilla.org/releases/mozilla-esr38/rev/4f43f0626dd8
Assignee | ||
Comment 30•8 years ago
|
||
and release: https://hg.mozilla.org/releases/mozilla-release/rev/fa829a9c6898
Status: REOPENED → RESOLVED
Closed: 8 years ago → 8 years ago
Resolution: --- → FIXED
Comment 31•8 years ago
|
||
bugherder uplift |
https://hg.mozilla.org/releases/mozilla-b2g44_v2_5/rev/d5b408ced8ce
Comment 32•8 years ago
|
||
Landed on THUNDERBIRD_38_VERBRANCH because Thunderbird 38.4.0 build3 a/v failed: https://hg.mozilla.org/releases/mozilla-esr38/rev/c19844a38295
Updated•8 years ago
|
status-firefox-esr38:
--- → fixed
Comment 33•6 years ago
|
||
Removing leave-open keyword from resolved bugs, per :sylvestre.
Keywords: leave-open
You need to log in
before you can comment on or make changes to this bug.
Description
•