Open Bug 1336606 Opened 7 years ago Updated 2 years ago

in try commit messages, using "--tag <tag>" results in "android_emulator_unittest.py: error: no such option: --tag" errors

Categories

(Developer Infrastructure :: Try, defect)

defect

Tracking

(Not tracked)

REOPENED

People

(Reporter: keeler, Unassigned)

References

Details

(Keywords: regression)

https://treeherder.mozilla.org/#/jobs?repo=try&revision=337821d7d925&selectedJob=74425689
has the try commit message "try: -b do -p macosx64,android-api-15 -u xpcshell,mochitests -t none --tag psm"
this resulted in many failures like:

[task 2017-02-03T22:11:37.611689Z] Running: python2.7 /home/worker/workspace/mozharness/scripts/android_emulator_unittest.py  --config-file /home/worker/workspace/mozharness/configs/android/androidarm_4_3.py --config-file /home/worker/workspace/mozharness/configs/remove_executables.py --config-file /home/worker/workspace/mozharness/configs/android/androidarm_4_3-tc.py --no-read-buildbot-config --installer-url=https://queue.taskcluster.net/v1/task/WXBHWVkoQgyfJCboPgkU3A/artifacts/public/build/target.apk --test-packages-url=https://queue.taskcluster.net/v1/task/WXBHWVkoQgyfJCboPgkU3A/artifacts/public/build/target.test_packages.json --test-suite=mochitest --tag psm --total-chunk=20 --this-chunk=1 --download-symbols=ondemand 
[task 2017-02-03T22:11:37.763410Z] Usage: android_emulator_unittest.py [options]
[task 2017-02-03T22:11:37.763473Z] 
[task 2017-02-03T22:11:37.763504Z] android_emulator_unittest.py: error: no such option: --tag
Component: Tools → General
Product: Release Engineering → Testing
This isn't just android, this is desktop as well:

https://treeherder.mozilla.org/#/jobs?repo=try&revision=93424d2c4844f9dfec9edb1e88b2c0a807e7951b&selectedJob=106974925

desktop_unittest.py: error: no such option: --tag

It looks like this used to work at some stage, xref bug 1183144.
Summary: in try commit messages, using "--tag <tag>" results in "android_emulator_unittest.py: error: no such option: --tag" errors on android → in try commit messages, using "--tag <tag>" results in "android_emulator_unittest.py: error: no such option: --tag" errors
Severity: normal → major
Keywords: regression
This is issue with the implementation of this for Taskcluster. "--tag" is one of the arguments that should be passed to the test harness where applicable, but Taskcluster is passing it to the mozharness script.
Blocks: 1333167
Component: General → Try
Product: Testing → Firefox Build System
Product: Firefox Build System → Developer Infrastructure

In the process of migrating remaining bugs to the new severity system, the severity for this bug cannot be automatically determined. Please retriage this bug using the new severity system.

Severity: major → --

Please reopen if this is still happening.

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → WORKSFORME

STR: ./mach try syntax -b d -p all -u mochitests --tag=openwindow

https://treeherder.mozilla.org/logviewer?job_id=393383901&repo=try&lineNumber=625

[task 2022-10-17T14:20:54.616Z] Running: python3 /builds/worker/workspace/mozharness/scripts/android_emulator_unittest.py  --config-file /builds/worker/workspace/mozharness/configs/android/android_common.py --config-file /builds/worker/workspace/mozharness/configs/android/android-x86_64.py  --test-suite=mochitest-plain --disable-fission --setpref=media.peerconnection.mtransport_process=false --setpref=network.process.enabled=false --setpref=layers.d3d11.enable-blacklist=false --tag openwindow --download-symbols=true 
[task 2022-10-17T14:20:54.823Z] Usage: android_emulator_unittest.py [options]
[task 2022-10-17T14:20:54.823Z] 
[task 2022-10-17T14:20:54.823Z] android_emulator_unittest.py: error: no such option: --tag
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Severity: -- → S3
You need to log in before you can comment on or make changes to this bug.