test runner fails to reach the test bed

Bug #1295324 reported by Vincent Ladeuil
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu CI Engine
Fix Released
High
Vincent Ladeuil

Bug Description

Reported by Urshina on IRC:

INFO:tstrun.testbed:Got IP 10.0.0.109 for dec8d2e9-00de-40d5-9c5e-530110ca34d4
INFO:tstrun.testbed:cloud-init completed for dec8d2e9-00de-40d5-9c5e-530110ca34d4
INFO:image_test:Saving testbed console
INFO:image_test:The test bed is ready
INFO:image_test:Testing hello
ssh: connect to host 10.0.0.109 port 22: No route to host
ssh: connect to host 10.0.0.109 port 22: No route to host
INFO:image_test:Saving subunit results for hello
ssh: connect to host 10.0.0.109 port 22: No route to host
INFO:image_test:Saving adt-run log for hello
ssh: connect to host 10.0.0.109 port 22: No route to host
INFO:image_test:Saving adt-run summary for hello
INFO:image_test:Test completed for ticket 3

This appears to be caused by some glitch on hp cloud but may also be a race around the ssh server in the tesbed starting *after* cloud-init has completed.

In any case, the test runner should report a better error than empty summary, subunit and log files.

If the ssh server is slow to start, the tr worker should retry to connect before reporting an error.

Tags: airline

Related branches

Ursula Junque (ursinha)
Changed in uci-engine:
assignee: nobody → Vincent Ladeuil (vila)
importance: Undecided → High
milestone: none → phase-0.5
status: New → Confirmed
Evan (ev)
no longer affects: ubuntu-ci-services-itself
Vincent Ladeuil (vila)
Changed in uci-engine:
status: Confirmed → In Progress
Revision history for this message
Vincent Ladeuil (vila) wrote :

FTR, I'm ruling out the race between cloud-init and the ssh server. I was able to connect to a testbed long before cloud-init finished apt-get update/install. Given the other network related issues in the past with hp, I think it's safe to blame that instead.

Changed in uci-engine:
status: In Progress → Fix Committed
Vincent Ladeuil (vila)
Changed in uci-engine:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.