ssh: "/tmp/adt-run-wrapper: command not found" error if testbed setup fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
autopkgtest (Ubuntu) |
Confirmed
|
Low
|
Unassigned |
Bug Description
http://
This is the expected behavior.
The output may be clearer if the following wasn't shown:
08:24:55 E: ERROR: timed out waiting for Unity greeter
08:24:56 E: sudo: /tmp/adt-
08:24:56 E: sudo: /tmp/adt-
08:24:56 E: <VirtSubproc>: failure: (down) ['rm', '-rf', '/tmp/sudo_
08:24:56 E: while cleaning up because of another error:
08:24:56 E: <VirtSubproc>: failure: setup script reboot failed with code 1
08:24:56 E: adt-run: DBG: bomb unexpected eof from the testbed
08:24:56 E: adt-run: DBG: testbed stop
08:24:56 E: adt-run: DBG: testbed close, scratch=
08:24:56 E: adt-run: DBG: sending command to testbed: close
08:24:56 E: adt-run: DBG: bomb cannot send to testbed: ['BrokenPipeError: [Errno 32] Broken pipe\n']
08:24:56 E: adt-run: DBG: testbed stop
08:24:56 E: adt-run [08:24:56]: ERROR: testbed failed: cannot send to testbed: ['BrokenPipeError: [Errno 32] Broken pipe\n']
08:24:56 E: adt-run: DBG: testbed stop
08:24:56 E: adt-run: DBG: / tests-tree rmtree results/tests-tree
08:25:56 E: + RET=16
Especially:
08:24:56 E: sudo: /tmp/adt-
08:24:56 E: <VirtSubproc>: failure: (down) ['rm', '-rf', '/tmp/sudo_
08:24:56 E: while cleaning up because of another error:
On the other hand, I can understand the desire to expose adt-run error handling for debug purposes.
Changed in autopkgtest (Ubuntu): | |
importance: | Undecided → Low |
This is how it looks like for me with 3.9.6:
$ adt-run -B ~/ubuntu/ tmp/testpkg/ / --- ssh -s adb
adt-run [12:29:47]: git checkout: c97d402 Include "Package-Type: deb" marked packages for testing
Waiting for device ADB to appear...
Configuring Ubuntu phone for testing...
Preparing Ubuntu phone for running tests...
Waiting for desktop to boot
ERROR: timed out waiting for Unity greeter
<VirtSubproc>: failure: setup script failed with code 1: ssh-setup/adb open
adt-run [12:29:48]: ERROR: testbed failed: cannot send to testbed: ['BrokenPipeError: [Errno 32] Broken pipe\n']
which is quite reasonable. Which autopkgtest version do you have?