Desktop smoke installation jobs do not complete due to possible comms loss between utah server and client

Bug #1256380 reported by Para Siva
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
UTAH
Invalid
Undecided
Unassigned

Bug Description

The desktop smoke installation jobs do not complete with desktop images of 20131129 due to, possibly, utah server losing comms with the client.

Though the installation on the VM continues fine, the server side console logging stops at:
...
...
WARNING: jobtimeout was already set by /etc/utah/config
WARNING: xml was already set by /etc/utah/config
WARNING: logpath was already set by /etc/utah/config

This means that the server does not know that the installation on the client is complete, Hence the following bits of server debug messages:
...
...
2013-11-29 09:58:13,809 rsyslog INFO: Waiting 8999s for: system started
2013-11-29 12:28:14,083 rsyslog ERROR: Timeout (9000) occurred for system started message.
Remaining messages: install started, install complete

The impacted jobs are:
http://ci.ubuntu.com/smokeng/trusty/desktop/amd64/20131129/5180/
and
http://ci.ubuntu.com/smokeng/trusty/desktop/i386/20131129/5181/

rsyslog version on trusty *appear to have changed on this image from 5.8.11-2ubuntu4 to 7.4.4-1ubuntu1 and I am wondering if that's any reason for this issue.

Para Siva (psivaa)
affects: ubuntu-ci-services-itself → utah
Revision history for this message
Para Siva (psivaa) wrote :

The issue appears to be due to installer syslog being not copied to /var/log/installer/ after the latest rsyslog upgrade. I've reported bug 1256695 for this.

Revision history for this message
Paul Larson (pwlars) wrote :

7.4.4-1ubuntu2 should fix this in the next image after 20121204. Closing this since the real issue was with rsyslog, not utah itself.

Changed in utah:
status: New → Invalid
Revision history for this message
Andy Doan (doanac) wrote :

I just tried a desktop image from today that does have rsyslog 7.4.4-1ubuntu2 and things are still broke. Let me fill in the details.

We configure our VM via libvirt to have a serial device(/dev/ttyS0) that writes to a file on the host. During the desktop install we have some early preseed logic that adds an /etc/rsyslog.d config file that directs syslog messages to /dev/ttyS0. Under recent images, nothing is showing up in the file on the host end. For a quick sanity check I ran the following command in the VM:

 echo ANDY > /dev/ttyS0

This resulted in content showing up in the file on the host. So I think this means rsyslog is still not working.

Revision history for this message
Andy Doan (doanac) wrote :

More debugging courtesy of jibel's suggestion:

rsyslogd runs as syslog (which is in the syslog and adm groups). ttyS0 is writeable to root and dialout

Revision history for this message
Andy Doan (doanac) wrote :
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.