cmd/juju test failure under saucy

Bug #1228315 reported by Roger Peppe
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
High
Roger Peppe

Bug Description

As reported by sinzui on #golang-dev, who consistently sees this failure.

$ go test launchpad.net/juju-core/cmd/juju -gocheck.f TestAutoUploadAfterFailedSync

listing available tools

----------------------------------------------------------------------
FAIL: bootstrap_test.go:355: BootstrapSuite.TestAutoUploadAfterFailedSync

[LOG] 86.33560 INFO juju environs/dummy: reset environment
[LOG] 86.34506 INFO juju environs/testing: uploading FAKE tools 1.7.3-precise-amd64
clearing private storage
removing files: []
clearing public storage
removing files: [tools/juju-1.7.3-precise-amd64.tgz]
[LOG] 86.43558 DEBUG juju.cmd.juju looking for bootstrap tools
[LOG] 86.43561 INFO juju.environs.tools reading tools with major.minor version 1.7
[LOG] 86.43561 INFO juju.environs.tools filtering tools by series: raring
[LOG] 86.43563 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any
[LOG] 86.43568 DEBUG juju.environs.simplestreams cannot load index "http://127.0.0.1:44670/peckham/private/tools/streams/v1/index.sjson": invalid URL "http://127.0.0.1:44670/peckham/private/tools/streams/v1/index.sjson" not found
[LOG] 86.43572 DEBUG juju.environs.simplestreams cannot load index "http://127.0.0.1:44670/peckham/private/tools/streams/v1/index.json": invalid URL "http://127.0.0.1:44670/peckham/private/tools/streams/v1/index.json" not found
[LOG] 86.43572 WARNING juju.environs.tools no tools found using simplestreams metadata, using legacy fallback
[LOG] 86.43573 DEBUG juju.environs.tools reading v1.7 tools
[LOG] 86.43574 DEBUG juju.environs.tools reading v1.7 tools
[LOG] 86.43575 DEBUG juju.environs.tools reading v1.7 tools
[LOG] 86.43576 DEBUG juju.environs.tools reading v1.7 tools
[LOG] 86.43577 WARNING juju.cmd.juju no tools available, attempting to retrieve from http://127.0.0.1:40596/
[LOG] 86.43578 INFO juju.environs.sync listing available tools
[LOG] 86.43579 DEBUG juju.environs.tools reading v1.7 tools
[LOG] 86.45811 INFO juju.cmd.juju no tools found, so attempting to build and upload new tools
[LOG] 86.45821 INFO juju environs/testing: uploading FAKE tools 1.7.3.1-precise-amd64
[LOG] 86.45833 INFO juju environs/testing: uploading FAKE tools 1.7.3.1-raring-amd64
[LOG] 86.49408 INFO juju.environs.tools reading tools with major.minor version 1.7
[LOG] 86.49409 INFO juju.environs.tools filtering tools by series: raring
[LOG] 86.49410 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any
[LOG] 86.49415 DEBUG juju.environs.simplestreams cannot load index "http://127.0.0.1:44670/peckham/private/tools/streams/v1/index.sjson": invalid URL "http://127.0.0.1:44670/peckham/private/tools/streams/v1/index.sjson" not found
[LOG] 86.49418 DEBUG juju.environs.simplestreams cannot load index "http://127.0.0.1:44670/peckham/private/tools/streams/v1/index.json": invalid URL "http://127.0.0.1:44670/peckham/private/tools/streams/v1/index.json" not found
[LOG] 86.49419 WARNING juju.environs.tools no tools found using simplestreams metadata, using legacy fallback
[LOG] 86.49420 DEBUG juju.environs.tools reading v1.7 tools
[LOG] 86.49423 DEBUG juju.environs.tools found 1.7.3.1-precise-amd64
[LOG] 86.49425 DEBUG juju.environs.tools found 1.7.3.1-raring-amd64
[LOG] 86.49429 INFO juju.environs.boostrap bootstrapping environment "peckham"
[LOG] 86.49430 INFO juju.environs.tools reading tools with major.minor version 1.7
[LOG] 86.49431 INFO juju.environs.tools filtering tools by version: 1.7.3.1
[LOG] 86.49431 INFO juju.environs.tools filtering tools by series: raring
[LOG] 86.49434 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any
[LOG] 86.49437 DEBUG juju.environs.simplestreams cannot load index "http://127.0.0.1:44670/peckham/private/tools/streams/v1/index.sjson": invalid URL "http://127.0.0.1:44670/peckham/private/tools/streams/v1/index.sjson" not found
[LOG] 86.49439 DEBUG juju.environs.simplestreams cannot load index "http://127.0.0.1:44670/peckham/private/tools/streams/v1/index.json": invalid URL "http://127.0.0.1:44670/peckham/private/tools/streams/v1/index.json" not found
[LOG] 86.49440 WARNING juju.environs.tools no tools found using simplestreams metadata, using legacy fallback
[LOG] 86.49441 DEBUG juju.environs.tools reading v1.7 tools
[LOG] 86.49442 DEBUG juju.environs.tools found 1.7.3.1-precise-amd64
[LOG] 86.49444 DEBUG juju.environs.tools found 1.7.3.1-raring-amd64
[LOG] 86.49446 INFO juju environs/dummy: would pick tools from 1.7.3.1-raring-amd64
[LOG] 86.51738 INFO juju.environs.tools reading tools with major.minor version 1.7
[LOG] 86.51739 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any
[LOG] 86.51740 DEBUG juju.environs.tools no series specified when finding tools, looking for any
[LOG] 86.51750 DEBUG juju.environs.simplestreams cannot load index "http://127.0.0.1:44670/peckham/private/tools/streams/v1/index.sjson": invalid URL "http://127.0.0.1:44670/peckham/private/tools/streams/v1/index.sjson" not found
[LOG] 86.51752 DEBUG juju.environs.simplestreams cannot load index "http://127.0.0.1:44670/peckham/private/tools/streams/v1/index.json": invalid URL "http://127.0.0.1:44670/peckham/private/tools/streams/v1/index.json" not found
[LOG] 86.51754 WARNING juju.environs.tools no tools found using simplestreams metadata, using legacy fallback
[LOG] 86.51755 DEBUG juju.environs.tools reading v1.7 tools
[LOG] 86.51757 DEBUG juju.environs.tools found 1.7.3.1-precise-amd64
[LOG] 86.51758 DEBUG juju.environs.tools found 1.7.3.1-raring-amd64
found: 1.7.3.1-precise-amd64;1.7.3.1-raring-amd64
seeking: 1.7.3.1-precise-amd64
seeking: 1.7.3.1-saucy-amd64
bootstrap_test.go:377:
    c.Check(found, gc.Equals, true)
... obtained bool = false
... expected bool = true

[LOG] 86.54328 INFO juju environs/dummy: reset environment
OOPS: 0 passed, 1 FAILED
--- FAIL: TestPackage (0.76 seconds)
FAIL

Curtis Hovey (sinzui)
Changed in juju-core:
milestone: none → 1.15.0
assignee: nobody → Roger Peppe (rogpeppe)
importance: Undecided → High
status: New → Fix Committed
Curtis Hovey (sinzui)
Changed in juju-core:
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.