Closed
Bug 875272
Opened 12 years ago
Closed 12 years ago
Using trychooser to run tests on a subset of platforms does not work
Categories
(Release Engineering :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: ehsan.akhgari, Assigned: sfink)
References
Details
Attachments
(1 file)
5.56 KB,
patch
|
armenzg
:
review+
|
Details | Diff | Splinter Review |
I used this trychooser string "try: -b d -p win32 -u mochitest-1[5.1,Windows XP,6.1,Windows 7] -t none" for this try push: <https://tbpl.mozilla.org/?tree=Try&rev=ce15d56c1902> and as you can see no mochitest-1 runs were scheduled. This syntax is what http://trychooser.pub.build.mozilla.org/ produces.
Comment 1•12 years ago
|
||
sfink, perhaps this is fallout from moving from 'WINNT x.y' to "Windows Z' style names ?
Flags: needinfo?(sphink)
Updated•12 years ago
|
Assignee: nobody → armenzg
OS: Mac OS X → Windows 7
Comment 2•12 years ago
|
||
10:37 sfink: two main quick options:
10:37 sfink: (1) switch the trychooser UI to use the new strings
10:38 sfink: (2) add in the old strings to just the prettyNames values (instead of or in addition to the new ones)
10:39 sfink: "proper" option: rewrite the communication between misc.py and try_parser.py to be a little more sensible, so we don't get into these messes
10:40 sfink: specifically, prettyNames doesn't need to be a magic string. It could be a full builder description object, and allow flexible matching on all kinds of different things without string parsing hacks.
Assignee | ||
Comment 3•12 years ago
|
||
Sadly, that's all wrong. Somebody already made the necessary update to the trychooser UI. Unfortunately, the try syntax parser does not allow spaces inside the options, because it's using a command-line parser. So
try: -b d -p win32 -u mochitest-1[5.1,Windows XP,6.1,Windows 7] -t none
parses as:
'-b': 'd'
'-p': 'win32'
'-u': 'mochitest-1[5.1,Windows'
'-t': none
and some extra junk that it ignores. :(
Flags: needinfo?(sphink)
Assignee | ||
Comment 4•12 years ago
|
||
Attachment #753385 -
Flags: review?(armenzg)
Assignee | ||
Updated•12 years ago
|
Assignee: armenzg → sphink
Updated•12 years ago
|
Attachment #753385 -
Flags: review?(armenzg) → review+
Comment 5•12 years ago
|
||
https://tbpl.mozilla.org/?tree=Try&pusher=armenzg@mozilla.com
2013-05-23 12:12:53-0700 [-] Looking at changes: [<buildbot.changes.changes.Change instance at 0x24d98b48>]
2013-05-23 12:12:53-0700 [-] Found try message in the change comments, ignoring push comments
2013-05-23 12:12:53-0700 [-] TryChooser OPTIONS : MESSAGE Namespace(build=['opt'], talos=u'none', test=u'reftest[Windows 7]', user_platforms=set([u'win32'])) : try: -b o -p win32 -u reftest[Windows 7] -t none
2013-05-23 12:12:53-0700 [-] Adding request for {<buildbot.changes.changes.Change instance at 0x24d98b48>: ['WINNT 5.2 try build']}
2013-05-23 12:12:53-0700 [-] try-firefox: propfunc returned {'builduid': '66d70d383be446068a3ae06cb9edf0a6'}
Updated•12 years ago
|
Blocks: win7-ix-releng, winxp-ix-releng
Comment 6•12 years ago
|
||
It did fix it.
ehsan, please let us know if you run into similar issues.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 7•12 years ago
|
||
(In reply to comment #6)
> It did fix it.
> ehsan, please let us know if you run into similar issues.
Will do, but this was the first time I used this feature -- I don't expect to use it that often.
That being said, I have been known to file bugs for anything broken that I encounter. :-)
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
•