app link test crashes if no android-install-apk is provided
Categories
(Testing :: mozperftest, defect)
Tracking
(firefox80 fixed)
Tracking | Status | |
---|---|---|
firefox80 | --- | fixed |
People
(Reporter: acreskey, Assigned: sraturi)
Details
Attachments
(1 file, 1 obsolete file)
When running the applink
without providing an android-install-apk
path (for example, if the browser is already installed), it will crash looking up the first item in the empty android_install_apk
list.
File "/Users/acreskey/dev/src/mozilla-central/python/mozperftest/mozperftest/mach_commands.py", line 73, in run_perftest
run_tests(mach_cmd=self, **kwargs)
File "/Users/acreskey/dev/src/mozilla-central/python/mozperftest/mozperftest/runner.py", line 114, in run_tests
hooks.run("before_iterations", kwargs)
File "/Users/acreskey/dev/src/mozilla-central/python/mozperftest/mozperftest/hooks.py", line 58, in run
return getattr(self._hooks, name)(*args, **kw)
File "testing/performance/hooks_applink.py", line 31, in before_iterations
if "fenix_nightlysim_multicommit" not in kw.get("android_install_apk")[0]:
It should handle this gracefully.
Comment 1•5 years ago
|
||
The severity field is not set for this bug.
:tarek, could you have a look please?
For more information, please visit auto_nag documentation.
:acreskey, I'm wondering what the expected behavior is for the following case
-
The apk is not provided but the apk is already installed on the device.
use the existing apk? -
The apk is not provided and there is no apk installed on the device
Reporter | ||
Comment 4•5 years ago
|
||
(In reply to sraturi from comment #2)
:acreskey, I'm wondering what the expected behavior is for the following case
- The apk is not provided but the apk is already installed on the device.
use the existing apk?
That's right -- ./mach perftest should already do that.
- The apk is not provided and there is no apk installed on the device
I believe ./mach perftest already correctly reports this error. (If it doesn't please log it).
Updated•5 years ago
|
Reporter | ||
Updated•5 years ago
|
![]() |
||
Comment 7•5 years ago
|
||
bugherder |
Updated•5 years ago
|
Description
•