No tools found in i386 and ppc64el unit tests

Bug #1358768 reported by Curtis Hovey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
Critical
Andrew Wilkins

Bug Description

As of commit fba6ed8e, both i386 and ppc64 unit tests report the same error that tools cannot be found. The tests were run multiple times for each arch, and the errors are the same.

    http://juju-ci.vapour.ws:8080/job/run-unit-tests-precise-i386/532/console
    http://juju-ci.vapour.ws:8080/job/run-unit-tests-trusty-ppc64el/1062/console

These tests passed for commit a876bce9

Tags: ci regression
Revision history for this message
Curtis Hovey (sinzui) wrote :
Download full text (9.3 KiB)

This is en example of the error from one of the many test runs

FAIL: environ_whitebox_test.go:489: com_juju_juju_provider_maas.TestBootstrapSucceeds.pN47_github.com_juju_juju_provider_maas.environSuite

[LOG] 0:00.285 DEBUG juju.environs.tools reading v1.* tools
[LOG] 0:00.286 INFO juju.environs.testing uploading FAKE tools 1.21-alpha1-precise-ppc64el
[LOG] 0:00.288 INFO juju.environs.testing uploading FAKE tools 1.21-alpha1-trusty-ppc64el
[LOG] 0:00.290 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any
[LOG] 0:00.290 DEBUG juju.environs.tools no series specified when finding tools, looking for any
[LOG] 0:00.291 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.sjson": file 'dfb69555-0bc4-4d1f-85f2-4ee390974984-tools/streams/v1/index.sjson' not found not found
[LOG] 0:00.291 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found
[LOG] 0:00.293 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.json": file 'dfb69555-0bc4-4d1f-85f2-4ee390974984-tools/streams/v1/index.json' not found not found
[LOG] 0:00.293 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.json": invalid URL "tools/streams/v1/index.json" not found
[LOG] 0:00.294 INFO juju.environs.tools Writing tools/streams/v1/index.json
[LOG] 0:00.294 INFO juju.environs.tools Writing tools/streams/v1/com.ubuntu.juju:released:tools.json
[LOG] 0:00.564 INFO juju.network setting prefer-ipv6 to false
[LOG] 0:00.565 DEBUG juju.environs.bootstrap environment "test env" supports service/machine networks: true
[LOG] 0:00.565 INFO juju.environs.bootstrap bootstrapping environment "test env"
[LOG] 0:00.565 INFO juju.network setting prefer-ipv6 to false
[LOG] 0:00.565 DEBUG juju.environs.bootstrap looking for bootstrap tools: series="precise", arch=<nil>, version=<nil>
[LOG] 0:00.565 INFO juju.environs.tools reading tools with major.minor version 1.21
[LOG] 0:00.565 INFO juju.environs.tools filtering tools by series: precise
[LOG] 0:00.565 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any
[LOG] 0:00.567 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.sjson": file 'dfb69555-0bc4-4d1f-85f2-4ee390974984-tools/streams/v1/index.sjson' not found not found
[LOG] 0:00.567 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found
[LOG] 0:00.571 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/mirrors.json": file 'dfb69555-0bc4-4d1f-85f2-4ee390974984-tools/streams/v1/mirrors.json' not found not found
[LOG] 0:00.571 DEBUG juju.environs.simplestreams no mirror index file found
[LOG] 0:00.571 DEBUG juju.environs.simplestreams no mirror information available for { }: mirror data for "com.ubuntu.juju:released:tools" not found
[LOG] 0:00.571 DEBUG juju.environs.simplestreams read metadata index at "http://127.0.0.1:49666/maas/1.0/files/?op=get_by_key&key=dfb69555-0bc4-4d1f-85f2-4ee390974984-tools%2Fstreams%2Fv1%2Findex.json_key"
[LOG] 0:00.571 DEBUG juju.environs.sim...

Read more...

description: updated
Nate Finch (natefinch)
Changed in juju-core:
assignee: nobody → Nate Finch (natefinch)
status: Triaged → Fix Committed
Andrew Wilkins (axwalk)
Changed in juju-core:
status: Fix Committed → In Progress
Revision history for this message
Andrew Wilkins (axwalk) wrote :

I've got a fix that's running on the bot now.

Changed in juju-core:
assignee: Nate Finch (natefinch) → Andrew Wilkins (axwalk)
Ian Booth (wallyworld)
Changed in juju-core:
status: In Progress → 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.