Closed
Bug 1336514
Opened 7 years ago
Closed 7 years ago
Publish jsshell-*.zip as part of release
Categories
(Release Engineering :: Release Automation: Other, defect, P1)
Release Engineering
Release Automation: Other
Tracking
(firefox58 fixed, firefox59 fixed)
RESOLVED
FIXED
People
(Reporter: mathias, Assigned: rail)
References
(Blocks 1 open bug)
Details
(Keywords: good-first-bug)
Attachments
(2 files)
`jsshell-*.zip` files are generated as a part of release (candidates): https://archive.mozilla.org/pub/firefox/candidates/51.0.1-candidates/build3/ https://archive.mozilla.org/pub/firefox/tinderbox-builds/mozilla-release-macosx64/1486087028/ …and nightly builds: https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/ …but none of these are officially published. This means the above URLs can’t be fully relied on for build scripts, as they might be removed at any point, or the files overwritten (for nightly builds). Please publish them officially as versioned, static URLs as part of releases, i.e. add them to folders like: https://archive.mozilla.org/pub/firefox/releases/51.0.1/ This would make it easier for developers to test different SpiderMonkey versions: instead of having to build them all from source, they could just `wget` and extract a `.zip` file. (For example, projects such as Homebrew could then re-use the pre-built binaries instead of hardcoding the macOS-specific build steps. https://github.com/Homebrew/homebrew-core/pull/9607)
(In reply to Rail Aliiev [:rail] ⌚️ET from comment #1) > Ritu, what you say? I don't know if I fully understand the implications but in general it seems like a good idea if it helps reuse pre-built files and not needing to rebuild it. If there are any disadvantages of doing this, we should reconsider.
Flags: needinfo?(rkothari)
Assignee | ||
Updated•7 years ago
|
Priority: -- → P4
Reporter | ||
Comment 3•7 years ago
|
||
FWIW, Chakra now publishes pre-built binaries of tagged releases at predictable, stable URLs. homebrew-ecmascript uses those URLs to provide easy installers for macOS users: brew install mathiasbynens/ecmascript/chakra https://github.com/mathiasbynens/homebrew-ecmascript/blob/master/Formula/chakra.rb I can’t wait to do the same thing for SpiderMonkey!
Assignee | ||
Comment 4•7 years ago
|
||
Should be as easy as editing https://dxr.mozilla.org/mozilla-central/source/testing/mozharness/configs/beetmover/en_us_build.yml.tmpl and adding the files to the list.
Keywords: good-first-bug
Priority: P4 → P3
Comment 5•7 years ago
|
||
It would be good if you could also publish checksums and signatures for release versions of jsshell*.zip. For example, on old candidate builds I could verify the download of jsshell*.zip by downloading something like: https://archive.mozilla.org/pub/firefox/candidates/52.0esr-candidates/build4/linux-x86_64/en-US/firefox-52.0esr.checksums and https://archive.mozilla.org/pub/firefox/candidates/52.0esr-candidates/build4/linux-x86_64/en-US/firefox-52.0esr.checksums.asc Inside firefox-52.0esr.checksums there's the sha512 sum for jsshell-linux-x86_64.zip : 9c63a013a4936afd1721c7fa97b587319887d061247ffe7608b3b13e8003d0ab9d06a0a4eb954ecbddf73c8d8d0dfc650a637caf41f350dd1b7cbfc0e255e4ad sha512 9061568 jsshell-linux-x86_64.zip on later candidate builds the signed checksum files containing the checksums of jsshell are missing eg: https://archive.mozilla.org/pub/firefox/candidates/52.1.2esr-candidates/build1/linux-x86_64/en-US/ is missing those files. Or could the jsshell checksums be added to the root of each build? eg to: https://archive.mozilla.org/pub/firefox/candidates/52.1.2esr-candidates/build1/SHA256SUMS
Comment 6•7 years ago
|
||
(In reply to Rail Aliiev [:rail] ⌚️ET from comment #4) > Should be as easy as editing > https://dxr.mozilla.org/mozilla-central/source/testing/mozharness/configs/ > beetmover/en_us_build.yml.tmpl and adding the files to the list. I don't fully understand how this all works, but it looks like the jsshell.zip is already in the list in that file. Does it perhaps need to be added to https://dxr.mozilla.org/mozilla-central/source/testing/mozharness/configs/releases/bouncer_firefox_release.py in order to show up on archive.mozilla.org?
Flags: needinfo?(rail)
Assignee | ||
Comment 7•7 years ago
|
||
I think I was wrong in comment 4, that file controls the "candidates" directory only. We need to remove the corresponding pattern from https://dxr.mozilla.org/mozilla-central/rev/cd9c8c48e4b3ded47a776f757008f3dcf570c59c/testing/mozharness/scripts/release/push-candidate-to-releases.py#47 so we don't ignore those files when we copy the files to the "releases" directory. (In reply to Till Schneidereit [:till] from comment #6) > I don't fully understand how this all works, but it looks like the > jsshell.zip is already in the list in that file. Does it perhaps need to be > added to > https://dxr.mozilla.org/mozilla-central/source/testing/mozharness/configs/ > releases/bouncer_firefox_release.py in order to show up on > archive.mozilla.org? This would also add the to Bouncer (aka download.mozilla.org), but it's not required to have the files in the releases directory.
Flags: needinfo?(rail)
Comment hidden (mozreview-request) |
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → rail
Assignee | ||
Updated•7 years ago
|
Priority: P3 → P1
Comment 9•7 years ago
|
||
mozreview-review |
Comment on attachment 8913842 [details] Bug 1336514 - Publish jsshell-*.zip as part of release https://reviewboard.mozilla.org/r/185226/#review190406 I'd prefer them stashed in a jsshell/ dir rather than the top level but *shrug*. There must be another blacklist which is excluding https://archive.mozilla.org/pub/firefox/candidates/57.0b4-candidates/build1/beetmover-checksums/jsshell-linux-i686.zip.beet and smilar from SHA256SUMs etc.
Attachment #8913842 -
Flags: review?(nthomas) → review+
Comment hidden (mozreview-request) |
Assignee | ||
Comment 11•7 years ago
|
||
Comment on attachment 8913842 [details] Bug 1336514 - Publish jsshell-*.zip as part of release (In reply to Nick Thomas [:nthomas] from comment #9) > I'd prefer them stashed in a jsshell/ dir rather than the top level but > *shrug*. Good point. Shouldn't be hard. :) > There must be another blacklist which is excluding > https://archive.mozilla.org/pub/firefox/candidates/57.0b4-candidates/build1/ > beetmover-checksums/jsshell-linux-i686.zip.beet and smilar from SHA256SUMs > etc. Bah, forgot about it and AV. (In reply to Rail Aliiev [:rail] ⌚️ET from comment #10) > Comment on attachment 8913842 [details] > Bug 1336514 - Publish jsshell-*.zip as part of release > > Review request updated; see interdiff: > https://reviewboard.mozilla.org/r/185226/diff/1-2/ This one should just work.
Attachment #8913842 -
Flags: review+ → review?(nthomas)
Comment 12•7 years ago
|
||
mozreview-review |
Comment on attachment 8913842 [details] Bug 1336514 - Publish jsshell-*.zip as part of release https://reviewboard.mozilla.org/r/185226/#review190792 Need to update https://dxr.mozilla.org/mozilla-central/source/testing/mozharness/scripts/release/generate-checksums.py#129 to include them in the checksums files, r+ with that.
Attachment #8913842 -
Flags: review?(nthomas) → review+
Comment 13•7 years ago
|
||
Can we land this?
Comment 14•7 years ago
|
||
Oh can you list some full URLs where the shell is going to be available?
Assignee | ||
Comment 15•7 years ago
|
||
(In reply to Tom Schuster [:evilpie] from comment #13) > Can we land this? Sure! Sorry, I was a bit busy with other stuff. (In reply to Tom Schuster [:evilpie] from comment #14) > Oh can you list some full URLs where the shell is going to be available? http://archive.mozilla.org/pub/firefox/releases/58.0/jsshell/jsshell-linux-x86_64.zip (it's 404 now)
Comment hidden (mozreview-request) |
Comment 17•7 years ago
|
||
Pushed by raliiev@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/518b1b92bdae Publish jsshell-*.zip as part of release r=nthomas
Comment 18•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/518b1b92bdae
Reporter | ||
Comment 19•7 years ago
|
||
Thanks for doing this! \o/ (In reply to Rail Aliiev [:rail] ⌚️ET from comment #15) > (In reply to Tom Schuster [:evilpie] from comment #14) > > Oh can you list some full URLs where the shell is going to be available? > > http://archive.mozilla.org/pub/firefox/releases/58.0/jsshell/jsshell-linux- > x86_64.zip (it's 404 now) To see the results of this patch, do we have to wait until the Firefox 58 release in January? Or does it affect other directories as well?
Reporter | ||
Comment 20•7 years ago
|
||
> To see the results of this patch, do we have to wait until the Firefox 58
> release in January? Or does it affect other directories as well?
I realized too late that Firefox 57 hasn’t gone stable yet. Same question, but with s/January/November/ :)
Assignee | ||
Comment 21•7 years ago
|
||
I'll uplift it to beta next week.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 22•7 years ago
|
||
beta: https://hg.mozilla.org/releases/mozilla-beta/rev/26e5b4f6b584f7e88990577cf35edf5cd2007e46
Reporter | ||
Comment 23•7 years ago
|
||
(In reply to Rail Aliiev [:rail] ⌚️ET from comment #22) > beta: > https://hg.mozilla.org/releases/mozilla-beta/rev/ > 26e5b4f6b584f7e88990577cf35edf5cd2007e46 Thanks! Could you please list an example URL where this is available?
Assignee | ||
Comment 24•7 years ago
|
||
Will do when we get another beta build available (this Friday).
Reporter | ||
Comment 25•7 years ago
|
||
(In reply to Rail Aliiev [:rail] ⌚️ET from comment #24) > Will do when we get another beta build available (this Friday). Thanks.
Assignee | ||
Comment 26•7 years ago
|
||
Looks like https://dxr.mozilla.org/mozilla-central/rev/a31334a65a1c75638efae4452ecd271450df2ad0/testing/mozharness/scripts/release/push-candidate-to-releases.py#41 didn't let copy http://archive.mozilla.org/pub/firefox/candidates/57.0b8-candidates/build3/jsshell/ to https://archive.mozilla.org/pub/firefox/releases/57.0b8/
Assignee | ||
Comment 27•7 years ago
|
||
We can edit that line and remove the [^k] pattern because SDK is not a thing anymore: https://hg.mozilla.org/mozilla-central/rev/724aad1423e6
Assignee | ||
Comment 28•7 years ago
|
||
I gave this bug a break because we have been working on the in-tree release scheduling project where uploads will be handled a bit differently. It would be better to address both issues at once, so we don't forget to port the logic to the new system.
Comment 29•7 years ago
|
||
(In reply to Rail Aliiev [:rail] ⌚️ET from comment #28) > I gave this bug a break because we have been working on the in-tree release > scheduling project where uploads will be handled a bit differently. It would > be better to address both issues at once, so we don't forget to port the > logic to the new system. :( Any idea when the new system is going to be ready?
Updated•7 years ago
|
Blocks: sm-embedding
Assignee | ||
Comment 30•7 years ago
|
||
We target Firefox 59, so probably mid January for betas.
Assignee | ||
Comment 31•7 years ago
|
||
Actually I can look at this some time next week if we want this to be backported. The blocking part of the new system is almost done.
Comment 32•7 years ago
|
||
(In reply to Rail Aliiev [:rail] ⌚️ET from comment #31) > Actually I can look at this some time next week if we want this to be > backported. The blocking part of the new system is almost done. That'd be fantastic: the week after next is the next tc39 meetup, and members of that committee have been asking for these builds to be available to make cross-engine test automation easier. It'd be great to give a good update at the meeting.
Assignee | ||
Comment 33•7 years ago
|
||
This should address the push-to-cdns issue. The new super regexp :P should match zip and zip.asc files unless they contain "jshell-". [re.search(r"^(?!.*jsshell-).*\.zip(\.asc)?$", f) for f in ("candidates/xx/yy/jsshell/jsshell-win64.zip", "candidates/xx/yy/zz/jsshell-mac.zip", "candidates/xx/yy/zz/jsshell_linux.zip", "candidates/xx/yy/zz/firefox.zip")] [None, None, <_sre.SRE_Match at 0x7fb817d04dc8>, <_sre.SRE_Match at 0x7fb817d04d50>]
Attachment #8929146 -
Flags: review?(nthomas)
Comment 34•7 years ago
|
||
Comment on attachment 8929146 [details] [diff] [review] Regexes!!!! Review of attachment 8929146 [details] [diff] [review]: ----------------------------------------------------------------- lgtm. We could copy the jsshell files into firefox/releases/57.0/ too.
Attachment #8929146 -
Flags: review?(nthomas) → review+
Comment 35•7 years ago
|
||
Pushed by raliiev@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/bb9035ea4c09 Publish jsshell-*.zip as part of release r=nthomas DONTBUILD
Assignee | ||
Comment 36•7 years ago
|
||
Beta: https://hg.mozilla.org/releases/mozilla-beta/rev/f155e109bb419696beb422b5afbfd7299b2b2500
Assignee | ||
Comment 37•7 years ago
|
||
I hope to see the files published as a part of the beta build today.
Assignee | ||
Comment 38•7 years ago
|
||
https://archive.mozilla.org/pub/firefox/releases/58.0b5/jsshell/ \o/
Assignee | ||
Comment 39•7 years ago
|
||
Also merged https://github.com/mozilla-releng/beetmoverscript/pull/95
Comment 40•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/bb9035ea4c09
Status: REOPENED → RESOLVED
Closed: 7 years ago → 7 years ago
status-firefox59:
--- → fixed
Resolution: --- → FIXED
Comment 41•7 years ago
|
||
Published beetmoverscript 3.3.0 containing this change as well. As soon as the patch gets merged in puppet, later on today, we'll have the behavior enabled too.
You need to log in
before you can comment on or make changes to this bug.
Description
•