Open Bug 1732243 Opened 4 years ago Updated 4 years ago

test_adb.js fails when run locally

Categories

(DevTools :: about:debugging, task)

task

Tracking

(Not tracked)

People

(Reporter: jdescottes, Unassigned)

Details

While reviewing Bug 1729553, :bomsy spotted that devtools/client/shared/remote-debugging/adb/xpcshell/test_adb.js always fails locally.

Note that the test has 2 pre-requisites:

  • it must be run sequentially (--sequential)
  • adb process must not be running

But even with this, running

./mach xpcshell-test devtools/client/shared/remote-debugging/adb/xpcshell/test_adb.js --sequential 

still fails with:

devtools/client/shared/remote-debugging/adb/xpcshell/test_adb.js
  FAIL testStartAndStop - [testStartAndStop : 97] Extension left running at test shutdown - "running" == "unloaded"
resource://testing-common/ExtensionXPCShellUtils.jsm:ExtensionWrapper/<:97
/Users/jdescottes/Development/hg/fx-team-artifact/testing/xpcshell/head.js:_execute_test/<:661
/Users/jdescottes/Development/hg/fx-team-artifact/testing/xpcshell/head.js:_execute_test:670
-e:null:1
  FAIL devtools/client/shared/remote-debugging/adb/xpcshell/test_adb.js - xpcshell return code: 0
ERROR Unexpected exception Error: ADB Process didn't start at resource://devtools/client/shared/remote-debugging/adb/adb-process.js:124
start@resource://devtools/client/shared/remote-debugging/adb/adb-process.js:124:13
_do_main@/Users/jdescottes/Development/hg/fx-team-artifact/testing/xpcshell/head.js:240:6
_execute_test@/Users/jdescottes/Development/hg/fx-team-artifact/testing/xpcshell/head.js:597:5
@-e:1:1
You need to log in before you can comment on or make changes to this bug.