In recent versions of Juju (i.e. post 1.20) the "agent-state-info" field for each machine agent in the status output will say "upgrading to <version>" while the upgrade is in progress. This is could be used by tests to know when the upgrade is finished.
On 6 August 2014 05:40, Horacio Duran <[email protected]> wrote: > Hey, I have been running several CI tests lately and find very often the > following error: > 2014-08-04 22:27:42 ERROR juju.cmd supercommand.go:323 upgrade in progress > - > At least when my machine is not under heavy load and I am at decent > network reach of amazon. > I wonder, is there a way to poll juju to know if its upgrading? > > I think it is a bit drastic having CI tests fail for this (unless the test > checks is related to upgrade in some form) I believe that being able to do > the check and have the CI test check with a timeout before proceeding with > the rest of the tests would yield much cleaner results when we need to > review CI runs that failed. > > Cheers. > -- > Horacio. > > -- > Juju-dev mailing list > [email protected] > Modify settings or unsubscribe at: > https://lists.ubuntu.com/mailman/listinfo/juju-dev > >
-- Juju-dev mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju-dev
