testbed ensure_ssh_key_is_available() fails with File exists: '/root/.ssh'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu CI Engine |
Fix Released
|
Critical
|
Vincent Ladeuil |
Bug Description
Reported by Ursula after the fix for bug #133323 landed:
I think the fix (for bug #133323) caused another problem, I got the failure below in testbed.setup() twice (deployed r612):
ERROR:image_
Traceback (most recent call last):
File "./test_
test_
File "/srv/ci-
self.
File "/srv/ci-
os.
File "/usr/lib/
mkdir(name, mode)
OSError: [Errno 17] File exists: '/root/.ssh'
Related branches
- Ursula Junque (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 103 lines (+32/-13)4 files modifiedtest_runner/tstrun/run_worker.py (+5/-0)
test_runner/tstrun/testbed.py (+4/-6)
test_runner/tstrun/tests/test_testbed.py (+14/-0)
tests/test_test_runner.py (+9/-7)
Changed in uci-engine: | |
status: | In Progress → Fix Committed |
Changed in uci-engine: | |
status: | Fix Committed → Fix Released |
The fix for bug #133323 doesn't change the working dir, something is going on.
The fix for bug #1331989 was about the worker running without HOME being set and now we have '~root' coming into play, pretty weird.