BootstrapSuite.TestAutoUploadAfterFailedSync times out intermittently
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Triaged
|
Low
|
Unassigned |
Bug Description
FAIL github.
FAIL: bootstrap_
[LOG] 0:00.010 INFO juju.environs.tools Writing tools/streams/
[LOG] 0:00.011 INFO juju.environs.tools Writing tools/streams/
[LOG] 0:00.011 INFO juju.environs.tools Writing tools/streams/
[LOG] 0:00.019 INFO juju.environs.tools Writing tools/streams/
[LOG] 0:00.019 INFO juju.environs.tools Writing tools/streams/
[LOG] 0:00.019 INFO juju.environs.tools Writing tools/streams/
[LOG] 0:00.053 INFO cmd no credentials found, checking environment
[LOG] 0:00.053 DEBUG juju.cmd.
[LOG] 0:00.053 DEBUG juju.cmd.
[LOG] 0:07.549 INFO cmd Adding contents of "/tmp/juju-
[LOG] 0:07.550 DEBUG juju.cmd.
automatically-
[LOG] 0:07.551 INFO juju.cmd.
[LOG] 0:07.551 DEBUG juju.environs.
[LOG] 0:07.551 DEBUG juju.environs.
[LOG] 0:07.551 INFO cmd Loading image metadata
[LOG] 0:07.551 INFO juju.environs.
[LOG] 0:07.551 DEBUG juju.environs.tools finding agent binaries in stream: "devel, proposed, released"
[LOG] 0:07.551 DEBUG juju.environs.tools reading agent binaries with major.minor version 1.7
[LOG] 0:07.551 DEBUG juju.environs.tools filtering agent binaries by series: raring
[LOG] 0:07.551 DEBUG juju.environs.tools filtering agent binaries by architecture: amd64
[LOG] 0:07.551 DEBUG juju.environs.tools trying datasource "keystone catalog"
[LOG] 0:07.552 DEBUG juju.environs.
[LOG] 0:07.552 DEBUG juju.environs.
[LOG] 0:07.554 INFO juju.environs.
[LOG] 0:07.555 DEBUG juju.environs.sync Making agent binary tarball
[LOG] 0:07.555 INFO juju.environs.sync using agent binary 1.7.3-raring-amd64 aliased to 1.7.3.1-
[LOG] 0:07.555 INFO cmd Starting new instance for initial controller
[LOG] 0:07.555 INFO juju.provider.dummy would pick agent binaries from 1.7.3.1-
[LOG] 0:07.555 INFO juju.provider.dummy creating bootstrap instance
[LOG] 0:07.555 INFO juju.environs.
[LOG] 0:07.555 INFO juju.environs.
bootstrap_
c.Fatal("timed out")
... Error: timed out
[LOG] 0:10.098 INFO juju.provider.dummy reset model
[LOG] 0:10.098 DEBUG juju.provider.dummy resetting MgoServer
[LOG] 0:10.105 INFO juju.testing reset successfully reset admin password
[LOG] 0:10.125 INFO juju.testing reset successfully reset admin password
Something is going on there that is taking 7.5 seconds. This is perhaps a keygen, which we could look to simplify for the test to speed it up.
As far as I can tell, there is no keygen occurring between the indicative log lines - it's only file system access to read the key files.
This appears to be an issue with the tempfs that we create in an attempt to speed up the tests. I looks like this is also the source of the various time-outs when waiting for container addresses and such.