Closed Bug 1746378 Opened 3 years ago Closed 3 years ago

Intermittent mozdevice.adb.ADBTimeoutError: args: adb wait-for-device shell su -c 'am start -W -n org.mozilla.wrench/android.app.NativeActivity', exitcode: None, stdout: Starting: Intent { cmp=org.mozilla.wrench/android.app.NativeActivity }

Categories

(Core :: JavaScript Engine, defect, P5)

defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure)

Filed by: apavel [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=361481437&repo=mozilla-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/CWH3MtX_Rbi8iVDxGMt5_A/runs/0/artifacts/public/logs/live_backing.log
Reftest URL: https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/CWH3MtX_Rbi8iVDxGMt5_A/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1


task 2021-12-16T12:00:46.283Z] 11:55:25     INFO - Running optimized shader compilation tests...
[task 2021-12-16T12:00:46.283Z] Granting important runtime permissions to org.mozilla.wrench
[task 2021-12-16T12:00:46.283Z] Unable to grant runtime permission android.permission.WRITE_EXTERNAL_STORAGE to org.mozilla.wrench due to args: adb wait-for-device shell su -c 'pm grant org.mozilla.wrench android.permission.WRITE_EXTERNAL_STORAGE', exitcode: 1, stdout: Operation not allowed: java.lang.SecurityException: Package org.mozilla.wrench has not requested permission android.permission.WRITE_EXTERNAL_STORAGE
[task 2021-12-16T12:00:46.283Z] Unable to grant runtime permission android.permission.ACCESS_COARSE_LOCATION to org.mozilla.wrench due to args: adb wait-for-device shell su -c 'pm grant org.mozilla.wrench android.permission.ACCESS_COARSE_LOCATION', exitcode: 1, stdout: Operation not allowed: java.lang.SecurityException: Package org.mozilla.wrench has not requested permission android.permission.ACCESS_COARSE_LOCATION
[task 2021-12-16T12:00:46.283Z] Unable to grant runtime permission android.permission.ACCESS_FINE_LOCATION to org.mozilla.wrench due to args: adb wait-for-device shell su -c 'pm grant org.mozilla.wrench android.permission.ACCESS_FINE_LOCATION', exitcode: 1, stdout: Operation not allowed: java.lang.SecurityException: Package org.mozilla.wrench has not requested permission android.permission.ACCESS_FINE_LOCATION
[task 2021-12-16T12:00:46.283Z] Unable to grant runtime permission android.permission.CAMERA to org.mozilla.wrench due to args: adb wait-for-device shell su -c 'pm grant org.mozilla.wrench android.permission.CAMERA', exitcode: 1, stdout: Operation not allowed: java.lang.SecurityException: Package org.mozilla.wrench has not requested permission android.permission.CAMERA
[task 2021-12-16T12:00:46.283Z] Unable to grant runtime permission android.permission.RECORD_AUDIO to org.mozilla.wrench due to args: adb wait-for-device shell su -c 'pm grant org.mozilla.wrench android.permission.RECORD_AUDIO', exitcode: 1, stdout: Operation not allowed: java.lang.SecurityException: Package org.mozilla.wrench has not requested permission android.permission.RECORD_AUDIO
[task 2021-12-16T12:00:46.283Z] launch_application: am start -W -n org.mozilla.wrench/android.app.NativeActivity
[task 2021-12-16T12:00:46.283Z] 11:55:28     INFO - App launched
[task 2021-12-16T12:00:46.283Z] 11:55:34     INFO - Setting up SD card...
[task 2021-12-16T12:00:46.283Z] 11:55:37     INFO - Running unoptimized shader compilation tests...
[task 2021-12-16T12:00:46.283Z] Granting important runtime permissions to org.mozilla.wrench
[task 2021-12-16T12:00:46.283Z] Unable to grant runtime permission android.permission.WRITE_EXTERNAL_STORAGE to org.mozilla.wrench due to args: adb wait-for-device shell su -c 'pm grant org.mozilla.wrench android.permission.WRITE_EXTERNAL_STORAGE', exitcode: 1, stdout: Operation not allowed: java.lang.SecurityException: Package org.mozilla.wrench has not requested permission android.permission.WRITE_EXTERNAL_STORAGE
[task 2021-12-16T12:00:46.283Z] Unable to grant runtime permission android.permission.ACCESS_COARSE_LOCATION to org.mozilla.wrench due to args: adb wait-for-device shell su -c 'pm grant org.mozilla.wrench android.permission.ACCESS_COARSE_LOCATION', exitcode: 1, stdout: Operation not allowed: java.lang.SecurityException: Package org.mozilla.wrench has not requested permission android.permission.ACCESS_COARSE_LOCATION
[task 2021-12-16T12:00:46.283Z] Unable to grant runtime permission android.permission.ACCESS_FINE_LOCATION to org.mozilla.wrench due to args: adb wait-for-device shell su -c 'pm grant org.mozilla.wrench android.permission.ACCESS_FINE_LOCATION', exitcode: 1, stdout: Operation not allowed: java.lang.SecurityException: Package org.mozilla.wrench has not requested permission android.permission.ACCESS_FINE_LOCATION
[task 2021-12-16T12:00:46.283Z] Unable to grant runtime permission android.permission.CAMERA to org.mozilla.wrench due to args: adb wait-for-device shell su -c 'pm grant org.mozilla.wrench android.permission.CAMERA', exitcode: 1, stdout: Operation not allowed: java.lang.SecurityException: Package org.mozilla.wrench has not requested permission android.permission.CAMERA
[task 2021-12-16T12:00:46.283Z] Unable to grant runtime permission android.permission.RECORD_AUDIO to org.mozilla.wrench due to args: adb wait-for-device shell su -c 'pm grant org.mozilla.wrench android.permission.RECORD_AUDIO', exitcode: 1, stdout: Operation not allowed: java.lang.SecurityException: Package org.mozilla.wrench has not requested permission android.permission.RECORD_AUDIO
[task 2021-12-16T12:00:46.283Z] launch_application: am start -W -n org.mozilla.wrench/android.app.NativeActivity
[task 2021-12-16T12:00:46.283Z] Traceback (most recent call last):
[task 2021-12-16T12:00:46.283Z]   File "/builds/task_163965569326247/fetches/mozharness/scripts/android_wrench.py", line 304, in <module>
[task 2021-12-16T12:00:46.283Z]     test.do_test()
[task 2021-12-16T12:00:46.283Z]   File "/builds/task_163965569326247/fetches/mozharness/scripts/android_wrench.py", line 277, in do_test
[task 2021-12-16T12:00:46.283Z]     self.run_tests(60)
[task 2021-12-16T12:00:46.283Z]   File "/builds/task_163965569326247/fetches/mozharness/scripts/android_wrench.py", line 187, in run_tests
[task 2021-12-16T12:00:46.283Z]     intent=None,
[task 2021-12-16T12:00:46.283Z]   File "/builds/task_163965569326247/fetches/mozdevice/mozdevice/adb.py", line 4128, in launch_application
[task 2021-12-16T12:00:46.283Z]     cmd_output = self.shell_output(cmd, timeout=timeout)
[task 2021-12-16T12:00:46.283Z]   File "/builds/task_163965569326247/fetches/mozdevice/mozdevice/adb.py", line 2220, in shell_output
[task 2021-12-16T12:00:46.283Z]     raise ADBTimeoutError("%s" % adb_process)
[task 2021-12-16T12:00:46.283Z] mozdevice.adb.ADBTimeoutError: args: adb wait-for-device shell su -c 'am start -W -n org.mozilla.wrench/android.app.NativeActivity', exitcode: None, stdout: Starting: Intent { cmp=org.mozilla.wrench/android.app.NativeActivity }
[task 2021-12-16T12:00:46.283Z] script.py: command finished
[task 2021-12-16T12:00:46.283Z] script.py: enabling charging for device 'Pixel 2' ('HT85S1A02429')...
[task 2021-12-16T12:00:46.283Z] command_output: adb kill-server, timeout: None, timedout: None, exitcode: 0, output: 
[task 2021-12-16T12:00:46.479Z] 
[task 2021-12-16T12:00:46.479Z] netstat -aop
[task 2021-12-16T12:00:46.479Z] Active Internet connections (servers and established)

The Bugbug bot thinks this bug should belong to the 'Core::JavaScript Engine' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: General → JavaScript Engine
Product: Firefox → Core
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 3 years ago3 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 3 years ago3 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.