Closed
Bug 2079947
Opened 1 month ago
Closed 1 month ago
./mach perftest <alert> to reproduce a homeview startup test fails to run
Categories
(Testing :: Performance, defect, P1)
Tracking
(firefox160 fixed)
RESOLVED
FIXED
160 Branch
| Tracking | Status | |
|---|---|---|
| firefox160 | --- | fixed |
People
(Reporter: denispal, Assigned: aglavic)
References
Details
(Whiteboard: [fxp])
Attachments
(1 external file, 1 obsolete file)
In regression bug 2076664, there are instructions to reproduce the problem with ./mach perftest 53176. However, this fails to run with the following error:
Error running mach:
mach perftest 53176 --alert-exact
The error occurred in code that was called by the mach command. This is either
a bug in the called code itself or in the way that mach is calling it.
You can invoke ``./mach busted`` to check if this issue is already on file. If it
isn't, please use ``./mach busted file perftest`` to report it. If ``./mach busted`` is
misbehaving, you can also inspect the dependencies of bug 1543241.
If filing a bug, please include the full output of mach, including this error
message.
The details of the failure are as follows:
Traceback (most recent call last):
File "/Users/daabel/firefox/python/mach/mach/main.py", line 430, in _run
return Registrar._run_command_handler(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
handler,
^^^^^^^^
...<4 lines>...
**vars(args.command_args),
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/daabel/firefox/python/mach/mach/registrar.py", line 124, in _run_command_handler
result = fn(instance, **kwargs)
File "/Users/daabel/firefox/python/mozperftest/mozperftest/mach_commands.py", line 89, in run_perftest
run_tests(command_context, kwargs, original_parser.get_user_args(kwargs))
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/daabel/firefox/python/mozperftest/mozperftest/runner.py", line 190, in run_tests
e.run(metadata)
~~~~~^^^^^^^^^^
File "/Users/daabel/firefox/python/mozperftest/mozperftest/environment.py", line 92, in run
metadata = testlayer(syslayer(metadata))
File "/Users/daabel/firefox/python/mozperftest/mozperftest/layers.py", line 155, in __call__
metadata = layer(metadata)
File "/Users/daabel/firefox/python/mozperftest/mozperftest/layers.py", line 67, in __call__
metadata = self.run(metadata)
File "/Users/daabel/firefox/python/mozperftest/mozperftest/test/alert.py", line 448, in run
framework_commands = self._get_framework_commands(alert_info)
File "/Users/daabel/firefox/python/mozperftest/mozperftest/test/alert.py", line 389, in _get_framework_commands
alert["taskcluster_metadata"]["task_id"],
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
KeyError: 'task_id'
| Reporter | ||
Updated•1 month ago
|
Flags: needinfo?(aglavic)
| Assignee | ||
Updated•1 month ago
|
Assignee: nobody → aglavic
Flags: needinfo?(aglavic)
Updated•1 month ago
|
Whiteboard: [fxp]
Updated•1 month ago
|
| Assignee | ||
Comment 1•1 month ago
|
||
The alert command crashed with a KeyError when the alerting push has no task, which can happen when its backfills never ran. The solution was to fall back to the task of the previous push.
Running without --alert-exact could not work for mozperftest alerts, and ran desktop Firefox or dropped variant prefs for raptor alerts, so the CI task's options are now always used when available.
Android tests now start the test emulator when no device is connected. This is done in the alert layer because the child mach commands pipe their output, which would hide the emulator prompt.
| Assignee | ||
Updated•1 month ago
|
Severity: -- → S2
Priority: -- → P1
Updated•1 month ago
|
Status: NEW → ASSIGNED
| Assignee | ||
Comment 2•1 month ago
|
||
Updated•1 month ago
|
Attachment #9658747 -
Attachment is obsolete: true
Pushed by aglavic@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/90b211c2bff1
https://hg.mozilla.org/integration/autoland/rev/481015d9f5d2
Fall back to the previous push's task in mach perftest --alert-exact. r=mozperftest-reviewers,sparky
Comment 4•1 month ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
status-firefox160:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 160 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•