Closed
Bug 834892
Opened 12 years ago
Closed 12 years ago
uploaded manifests in latest directory should have static filename
Categories
(Release Engineering :: General, defect)
Release Engineering
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: catlee, Assigned: mozilla)
References
Details
(Whiteboard: [b2g])
Attachments
(2 files, 1 obsolete file)
2.58 KB,
patch
|
catlee
:
review+
mozilla
:
checked-in+
|
Details | Diff | Splinter Review |
5.99 KB,
patch
|
catlee
:
review+
mozilla
:
checked-in+
|
Details | Diff | Splinter Review |
The manifests in http://stage.mozilla.org/pub/mozilla.org/b2g/manifests/latest/
currently have filenames like source_unagi-stable_2013-01-25-11.xml
they should have static filenames instead/also so it's easier for automation to consume them.
Assignee | ||
Comment 1•12 years ago
|
||
organize.py could strip out the date and softlink ?
I was thinking we should have branch names in the manifests/ directory tree so we can upload more than one set.
Comment 2•12 years ago
|
||
Yes, branch names would definitely be desired.
It also might be nice to have a source manifest for each branch that is not device specific. For example not everybody uses unagi/otoro for v1.0.0 development. Those folks really just need the source manifest for the bits in g.m.o that are common between all the devices.
Eg:
http://stage.mozilla.org/pub/mozilla.org/b2g/manifests/v1.0.0/source_generic.xml
http://stage.mozilla.org/pub/mozilla.org/b2g/manifests/v1.0.0/source_generic-stable.xml
http://stage.mozilla.org/pub/mozilla.org/b2g/manifests/v1.0.1/source_generic.xml
http://stage.mozilla.org/pub/mozilla.org/b2g/manifests/v1.0.1/source_generic-stable.xml
http://stage.mozilla.org/pub/mozilla.org/b2g/manifests/v1.1.0/source_generic.xml
http://stage.mozilla.org/pub/mozilla.org/b2g/manifests/v1.1.0/source_generic-stable.xml
Although now that we've stripped out the actual build ID from the filename, we would probably want that information either in the file name or derive somehow else. The build "GUID" will become important when looking up test results for a given build, and matching with downstream partner builds.
Comment 3•12 years ago
|
||
from irc, the work in this bug is also needed to support posting manifests from multiple/different branches to ftp.m.o.
Blocks: 832503
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → aki
Assignee | ||
Comment 4•12 years ago
|
||
Assignee | ||
Comment 5•12 years ago
|
||
(In reply to Michael Vines [:m1] [:evilmachines] from comment #2)
> It also might be nice to have a source manifest for each branch that is not
> device specific.
This is problematic in that:
* we should, in general, get the same gecko revision for all nightlies on a certain branch. The exceptions would be if a specific nightly is kicked off by hand without others, or without a revision specified.
* however, gaia and l10n revisions are then pulled during the build according to branch, not specified revision. If one build happens later than the others, and a checkin happens in the meantime, then the revisions there will differ.
We can call one of the nightly device types as the authoritative one per branch as a way around this if wanted.
Assignee | ||
Comment 7•12 years ago
|
||
Currently this specifies mozilla-b2g18: 1.0.1, mozilla-b2g18_v1_0_0: 1.0.0
I can put the 'v' in there pretty easily.
Not sure if I should have made mozilla-b2g18 1.0.x, but that can be modified pretty easily too.
This should be sufficient for testing.
Assignee | ||
Comment 8•12 years ago
|
||
That works:
http://dev-stage01.srv.releng.scl3.mozilla.com/pub/mozilla.org/b2g/manifests/1.0.0/latest/
Index of /pub/mozilla.org/b2g/manifests/1.0.0/latest
[ICO] Name Last modified Size Description
[DIR] Parent Directory -
[ ] socorro_unagi.json 29-Jan-2013 14:54 77
[ ] socorro_unagi_2013-01-29-17.json 29-Jan-2013 14:54 77
[TXT] source_unagi.xml 29-Jan-2013 14:54 20K
[TXT] source_unagi_2013-01-29-17.xml 29-Jan-2013 14:54 20K
:evilmachines - does this work for you?
We upload a
b2g/manifests/1.0.0/YEAR/DATE/
with
source_DEVICE_DATE.xml
source_DEVICE.xml softlink to dated xml
socorro_DEVICE_DATE.json
socorro_DEVICE.json softlink to dated json
and softlink the entire directory to 1.0.0/latest ?
Bikeshedding on the version (1.0.0 vs v1.0.0 vs. mozilla-b2g18_v1_0_0) should happen now if we want to avoid changing it again in the future, but again it's not hard to change.
Also, not sure if mozilla-b2g18 should be 1.0.1, 1.0.x, v1-train, 1.1, or what.
Assignee | ||
Comment 9•12 years ago
|
||
Comment on attachment 707751 [details] [diff] [review]
(tools) short_symlink support in organize.py
dev-stage01 already has this.
http://dev-stage01.srv.releng.scl3.mozilla.com/pub/mozilla.org/b2g/manifests/1.0.0/latest/
Attachment #707751 -
Attachment description: (tools) [needs testing] short_symlink support in organize.py → (tools) short_symlink support in organize.py
Attachment #707751 -
Flags: review?(catlee)
Assignee | ||
Comment 10•12 years ago
|
||
Comment on attachment 707756 [details] [diff] [review]
(mozharness) upload manifests to a versioned directory
With the knowledge that the branches manifest "version" naming will probably change.
If we have to do even more stuff in here we might make these nested dicts, e.g.
"branches": {
"mozilla-b2g18": {
"upload_version": "v1-train",
"generic_platform": "otoro",
},
},
Attachment #707756 -
Attachment description: (mozharness) [needs testing] upload manifests to a versioned directory → (mozharness) upload manifests to a versioned directory
Attachment #707756 -
Flags: review?(catlee)
Reporter | ||
Updated•12 years ago
|
Attachment #707751 -
Flags: review?(catlee) → review+
Reporter | ||
Comment 11•12 years ago
|
||
Comment on attachment 707756 [details] [diff] [review]
(mozharness) upload manifests to a versioned directory
Review of attachment 707756 [details] [diff] [review]:
-----------------------------------------------------------------
r+ once we figure out what the correct version #'s should be.
::: configs/b2g/releng-beta-stable.py
@@ +52,5 @@
> "ssh_user": "b2gbld",
> "target_suffix": "-stable",
> + "branches": {
> + 'mozilla-b2g18_v1_0_0': '1.0.0',
> + 'mozilla-b2g18': '1.0.1',
I think mozilla-b2g18_v1_0_1 is 1.0.1.
Not sure what mozilla-b2g18 should be called...It's for leo now I think?
Attachment #707756 -
Flags: review?(catlee)
Attachment #707756 -
Flags: review?
Attachment #707756 -
Flags: review+
Reporter | ||
Updated•12 years ago
|
Attachment #707756 -
Flags: review?
Assignee | ||
Comment 12•12 years ago
|
||
Comment on attachment 707751 [details] [diff] [review]
(tools) short_symlink support in organize.py
http://hg.mozilla.org/build/tools/rev/e20897708cd7
Attachment #707751 -
Flags: checked-in+
Assignee | ||
Comment 14•12 years ago
|
||
Updated organize.py on stage.m.o. We should now be getting short [non-dated] symlinks in the current directory structure.
Once we get a decision on naming I can land the mozharness portion, and the manifests will have a 1.0.0 or 1.0.1 (or v1.0.0 or v1.0.1 or ...) in the directory tree. And bug 835556 should be fixed.
Assignee | ||
Comment 15•12 years ago
|
||
[11:17] <joduinn-mtg> aki yes, b2g18 being 1.0.1 until 15th feb.
Assignee | ||
Comment 16•12 years ago
|
||
Comment on attachment 707756 [details] [diff] [review]
(mozharness) upload manifests to a versioned directory
Since mozilla-b2g18 is, in fact, 1.0.1, I'm going to land as-is.
default: http://hg.mozilla.org/build/mozharness/rev/abc7e3482d7f
production: http://hg.mozilla.org/build/mozharness/rev/ce8901b71fed
Kicking off b2g18 and b2g18_v1_0_0 nightlies.
Attachment #707756 -
Flags: checked-in+
Comment 17•12 years ago
|
||
New manifests on f.m.o look good.
However the hole in the moz manifests is now very apparent -- the SHA1 used for the http://git.mozilla.org/?p=b2g/B2G.git project is not recorded. This is an artifact of how this project in the Mozilla builds is magical and exists outside of repo.
Moz builds are bootstrapped by a |git clone|, while CAF builds are bootstrapped with |repo init| precisely to avoid this issue.
Fixing this properly is surely out of scope for v1.0.0 but maybe v1.0.1 and is a separate bug.
For now I'll just set up our builds to float at the top of b2g/B2G.git and cross my fingers. As short-term damage control might just want to output the SHA1 in a .txt file on f.m.o or something.
The b2g repo isn't required for bootstrapping anymore.
Where do you put the checked-out b2g repo? We can just add it to our manifests and put it at that location, and start the (post-v1) process of deprecating the old setup.
Comment 19•12 years ago
|
||
device/qcom/b2g_common/mozilla-b2g/ right now but that can be easily moved.
Only reason why we even have it around still is because run-gdb.sh and flash.sh are nice.
It has quite a few tools that everyone should be using, like scripts to interact with the profiler, get memory reports, build update packages, ... Naughty me for letting things get this bad but there are only so many battles that can be fought.
I guess all we need to do on our side is ensure it gets tagged along with other repos.
Assignee | ||
Comment 21•12 years ago
|
||
Moved the historical manifests, and the new ones are uploading and linking correctly.
I think we're done here; please reopen (or file a new bug for new issues) if there's work left to be done.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment 22•12 years ago
|
||
Bug 834098 is for the rest.
Updated•12 years ago
|
Product: mozilla.org → Release Engineering
Updated•7 years ago
|
Component: General Automation → General
You need to log in
before you can comment on or make changes to this bug.
Description
•