← Back to team overview

yellow team mailing list archive

Re: What I did on my swap day

 


On Feb 13, 2012, at 5:56 AM, Graham Binns <graham@xxxxxxxxxxxxx> wrote:

> Hi folks,
> 
> A quick update for you all, since I'll likely miss the standup today
> due to a dentist appointment.
> 
> I spent yesterday trying to get the master tests to pass (as far as I
> can tell this was in the same state yesterday as when I left on
> Friday; I had context so I continued to run with it).
> 
> The merge proposal for Friday and yesterday's work is here:
> 
> https://code.launchpad.net/~gmb/charms/oneiric/buildbot-master/master-smart-timeouts/+merge/92733

Cool, thank you. A quick glance looked good. 

> 
> There's still a problem with test_port_opened(), which, as far as I
> can tell at the moment, is because the unit never transitions out of
> the 'installed' state into 'started'. This appears to be because
> switching to the buildbot user to run `buildbot start` never actually
> returns - either the su() context manager or the buildbot process is
> blocking for some reason.

We saw this hang before, and we thought we fixed it Friday. Francesco had a fix for the su contextmanager (a try/finally) and I landed it. 

The workaround I had before was to do a ps aux | grep python, and then look for a process that was trying to do a juju log as a buildbot user. That hangs, for some reason. Kill the process, and the parent script process will terminate, actually telling you what went wrong (in stdout or the logs) in a traceback. 

It's also worth noting that I had a successful unattended charm deployment this weekend on ec2 for the lpbuildbot setup. I still need to fix the actual steps, but with only firing off four juju commands I (eventually) got a connected slave and master configured for testing. 

> 
> If no-one else has looked at this by the time I get back from the
> toothiologist then I'll happily pick it up again.
> 
> Cheers,
> 
> Graham
> 
> 
> -- 
> Graham Binns | PGP Key: EC66FA7D
> http://launchpad.net/~gmb
> 
> -- 
> Mailing list: https://launchpad.net/~yellow
> Post to     : yellow@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yellow
> More help   : https://help.launchpad.net/ListHelp


Follow ups

References