Closed
Bug 705040
Opened 13 years ago
Closed 9 years ago
buildbot copy-mozconfig logic needs to be in a WithProperties
Categories
(Release Engineering :: General, defect, P5)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: jmaher, Unassigned)
References
Details
(Whiteboard: [automation][try])
Attachments
(2 files, 1 obsolete file)
1.61 KB,
patch
|
bhearsum
:
review+
mozilla
:
checked-in+
|
Details | Diff | Splinter Review |
1.52 KB,
patch
|
Details | Diff | Splinter Review |
we recently split android into android-xul and android (native). I want to push a patch from birch to try and get test results. I have options in try chooser for 'android' and 'android-xul', but I cannot build opt for 'android', only 'debug'.
debug tests don't seem to be an option on android.
Here is a link to my most recent push.
https://tbpl.mozilla.org/?tree=Try&rev=29cafe2279e2&pusher=jmaher@mozilla.com&noignore=1
Please let me know what I need to do in order to get a patch pushed so I can run the tests which are run on Birch.
Comment 1•13 years ago
|
||
I usually pick the wrong place in buildbot's tangle, but I think what you would need to do - obviously, not in a push to try ;) - is stick a
'platforms': {
'android': {},
},
into http://hg.mozilla.org/build/buildbot-configs/file/4e3386c90964/mozilla/config.py#l1105 because bug 704200 killed it for everything which doesn't explicitly set that platform, which is everything-including-try, other than birch.
Blocks: 704200
Reporter | ||
Comment 2•13 years ago
|
||
So I have been trying since Wednesday morning to test my patch on try server and I have had no luck. Can we make this a higher priority?
Comment 3•13 years ago
|
||
This won't work until we patch this (bug 704200 killed try 'android' support) and reconfig, so you can stop trying.
Sorry about that.
Aiui, we're planning on merging birch to m-c on Tuesday, so it'll start working then if nothing else happens here.
A workaround is to do this:
https://hg.mozilla.org/try/rev/471ca5570cfe
(which is the result of copying mobile/android/config/mozconfigs/nightly to mobile/xul/config/mozconfigs/nightly).
(I wonder whether all the differences between those files were intentional, though.)
Comment 6•13 years ago
|
||
Attachment #577324 -
Flags: review?(bhearsum)
Updated•13 years ago
|
Attachment #577324 -
Flags: review?(bhearsum) → review+
Comment 7•13 years ago
|
||
Comment on attachment 577324 [details] [diff] [review]
turn try android platform back on
http://hg.mozilla.org/build/buildbot-configs/rev/ea0abf7f4144
Should hopefully go live today.
Attachment #577324 -
Flags: checked-in+
Comment 8•13 years ago
|
||
This should be fixed now.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 9•13 years ago
|
||
I am unable to get tests to run via a standard push to try. I use this try syntax:
try: -b do -p android,android-xul -u reftest-1,reftest-2,reftest-3,jsreftest-1,jsreftest-2,jsreftest-3,crashtest-1,crashtest-2,crashtest-3 -t none
and get this result:
https://tbpl.mozilla.org/?tree=Try&rev=0ff7b4909bb5
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Reporter | ||
Comment 10•13 years ago
|
||
can we get some resolution on this issue?
Comment 11•13 years ago
|
||
Two issues:
1. it didn't find the existing in-tree mozconfig. https://hg.mozilla.org/try/file/0ff7b4909bb5/mobile/android/config/mozconfigs/android/nightly
2. it hit a syntax error trying to wget the mozconfig (not replacing %(branch)s I think)
python /builds/slave/try-andrd/tools/buildfarm/utils/retry.py -s 1 -r 5 -t 1260 bash -c 'if [ -f "mobile/android/config/mozconfigs/android/nightly" ]; then echo Using in-tree mozconfig; cp mobile/android/config/mozconfigs/android/nightly .mozconfig; else echo Downloading mozconfig; wget -O .mozconfig http://hg.mozilla.org/build/buildbot-configs/raw-file/production/mozilla2/android/%(branch)s/nightly/mozconfig; fi'
in dir /builds/slave/try-andrd/build (timeout 1320 secs)
Calling <function run_with_timeout at 0xb7c7502c> with args: (['bash', '-c', 'if [ -f "mobile/android/config/mozconfigs/android/nightly" ]; then echo Using in-tree mozconfig; cp mobile/android/config/mozconfigs/android/nightly .mozconfig; else echo Downloading mozconfig; wget -O .mozconfig http://hg.mozilla.org/build/buildbot-configs/raw-file/production/mozilla2/android/%(branch)s/nightly/mozconfig; fi'], 1260, None, None, False, True), kwargs: {}, attempt #1
Executing: ['bash', '-c', 'if [ -f "mobile/android/config/mozconfigs/android/nightly" ]; then echo Using in-tree mozconfig; cp mobile/android/config/mozconfigs/android/nightly .mozconfig; else echo Downloading mozconfig; wget -O .mozconfig http://hg.mozilla.org/build/buildbot-configs/raw-file/production/mozilla2/android/%(branch)s/nightly/mozconfig; fi']
bash: -c: line 0: syntax error near unexpected token `('
Comment 12•13 years ago
|
||
Attachment #579540 -
Flags: review?(catlee)
Comment 13•13 years ago
|
||
Comment on attachment 579540 [details] [diff] [review]
WithProperties fix ?
Review of attachment 579540 [details] [diff] [review]:
-----------------------------------------------------------------
::: process/factory.py
@@ +1092,5 @@
> assert self.mozconfig is not None
>
> configRepo = self.getRepository(self.configRepoPath)
> + hg_mozconfig = WithProperties('%s/raw-file/%s/%s/%s/mozconfig' % (
> + configRepo, self.mozconfigBranch, self.configSubDir, self.mozconfig))
I don't think this will work. You'll end up with
"bash -c .... wget -O .mozconfig <WithProperties instance at 0x123456>" as your command.
Wrapping the last part of bash command in WithProperties should work, but you need to be careful about which %'s get expanded.
Attachment #579540 -
Flags: review?(catlee) → review-
Comment 14•13 years ago
|
||
Attachment #579540 -
Attachment is obsolete: true
Comment 15•13 years ago
|
||
https://tbpl.mozilla.org/?tree=Try&usebuildbot=1&jobname=Android&noignore=1&pusher=dholbert@mozilla.com
Now that native has landed on m-c, is this better?
The above tbpl link seems to show that android native works on try now.
Comment 17•13 years ago
|
||
Joel is now able to get android builds and tests on Try.
Attachment 579833 [details] [diff] can still fix the underlying issue with the bash command, but we shouldn't hit it in this instance anymore, so I'm lowering priority.
Keeping open for when someone has spare time to test+land it, or if this resurfaces.
Priority: -- → P5
Summary: unable to get native fennec builds and tests on try server → buildbot copy-mozconfig logic needs to be in a WithProperties
Whiteboard: [automation][try]
Assignee | ||
Updated•11 years ago
|
Product: mozilla.org → Release Engineering
Comment 19•9 years ago
|
||
Probably never going to fix this since we're moving to Taskcluster.
Status: REOPENED → RESOLVED
Closed: 13 years ago → 9 years ago
QA Contact: catlee
Resolution: --- → WONTFIX
Assignee | ||
Updated•6 years ago
|
Component: General Automation → General
You need to log in
before you can comment on or make changes to this bug.
Description
•