ToolsMetadataSuite fails with 2.0-alpha1 version

Bug #1524906 reported by Cheryl Jennings
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
Critical
Cheryl Jennings

Bug Description

FAIL: toolsmetadata_test.go:122: ToolsMetadataSuite.TestGenerateLegacyRelease

[LOG] 0:00.087 INFO juju.environs.tools Writing tools/streams/v1/index2.json
[LOG] 0:00.088 INFO juju.environs.tools Writing tools/streams/v1/com.ubuntu.juju-releases-tools.json
[LOG] 0:00.089 INFO juju.environs.tools Fetching tools from dir "releases" to generate hash: 2.0-alpha1-quantal-amd64
[LOG] 0:00.089 INFO juju.environs.tools Fetching tools from dir "releases" to generate hash: 2.0-alpha1-quantal-armhf
[LOG] 0:00.089 INFO juju.environs.tools Fetching tools from dir "releases" to generate hash: 2.0-alpha1-quantal-i386
[LOG] 0:00.090 INFO juju.environs.tools Writing tools/streams/v1/index2.json
[LOG] 0:00.090 INFO juju.environs.tools Writing tools/streams/v1/index.json
[LOG] 0:00.090 INFO juju.environs.tools Writing tools/streams/v1/com.ubuntu.juju-released-tools.json
toolsmetadata_test.go:129:
    c.Assert(output, gc.Matches, expectedOutputDirectoryLegacyReleased)
... value string = "" +
... "No stream specified, defaulting to released tools in the releases directory.\n" +
... "Finding tools in /tmp/check-894385949183117216/6/.juju for stream released.\n" +
... "Fetching tools from dir \"releases\" to generate hash: 2.0-alpha1-quantal-amd64\n" +
... "Fetching tools from dir \"releases\" to generate hash: 2.0-alpha1-quantal-armhf\n" +
... "Fetching tools from dir \"releases\" to generate hash: 2.0-alpha1-quantal-i386\n" +
... "Writing tools/streams/v1/index2.json\n" +
... "Writing tools/streams/v1/index.json\n" +
... "Writing tools/streams/v1/com.ubuntu.juju-released-tools.json\n"
... regex string = "" +
... "No stream specified, defaulting to released tools in the releases directory.\n" +
... "Finding tools in .*\n" +
... ".*Fetching tools from dir \"releases\" to generate hash: 1\\.12\\.0-precise-amd64\n" +
... ".*Fetching tools from dir \"releases\" to generate hash: 1\\.12\\.0-precise-i386\n" +
... ".*Fetching tools from dir \"releases\" to generate hash: 1\\.12\\.0-raring-amd64\n" +
... ".*Fetching tools from dir \"releases\" to generate hash: 1\\.12\\.0-raring-i386\n" +
... ".*Fetching tools from dir \"releases\" to generate hash: 1\\.13\\.0-precise-amd64\n" +
... ".*Fetching tools from dir \"releases\" to generate hash: 2\\.0-alpha1-quantal-amd64\n" +
... ".*Fetching tools from dir \"releases\" to generate hash: 2\\.0-alpha1-quantal-armhf\n" +
... ".*Fetching tools from dir \"releases\" to generate hash: 2\\.0-alpha1-quantal-i386\n" +
... ".*Writing tools/streams/v1/index2\\.json\n" +
... ".*Writing tools/streams/v1/index\\.json\n" +
... ".*Writing tools/streams/v1/com\\.ubuntu\\.juju-released-tools\\.json\n"

FAIL: toolsmetadata_test.go:140: ToolsMetadataSuite.TestGenerateToDirectory

[LOG] 0:00.090 INFO juju.environs.tools Writing tools/streams/v1/index2.json
[LOG] 0:00.090 INFO juju.environs.tools Writing tools/streams/v1/com.ubuntu.juju-releases-tools.json
[LOG] 0:00.092 INFO juju.environs.tools Fetching tools from dir "releases" to generate hash: 2.0-alpha1-quantal-amd64
[LOG] 0:00.092 INFO juju.environs.tools Fetching tools from dir "releases" to generate hash: 2.0-alpha1-quantal-armhf
[LOG] 0:00.092 INFO juju.environs.tools Fetching tools from dir "releases" to generate hash: 2.0-alpha1-quantal-i386
[LOG] 0:00.092 INFO juju.environs.tools Writing tools/streams/v1/index2.json
[LOG] 0:00.092 INFO juju.environs.tools Writing tools/streams/v1/index.json
[LOG] 0:00.092 INFO juju.environs.tools Writing tools/streams/v1/com.ubuntu.juju-released-tools.json
toolsmetadata_test.go:147:
    c.Assert(output, gc.Matches, expectedOutputDirectoryLegacyReleased)
... value string = "" +
... "No stream specified, defaulting to released tools in the releases directory.\n" +
... "Finding tools in /tmp/check-894385949183117216/23 for stream released.\n" +
... "Fetching tools from dir \"releases\" to generate hash: 2.0-alpha1-quantal-amd64\n" +
... "Fetching tools from dir \"releases\" to generate hash: 2.0-alpha1-quantal-armhf\n" +
... "Fetching tools from dir \"releases\" to generate hash: 2.0-alpha1-quantal-i386\n" +
... "Writing tools/streams/v1/index2.json\n" +
... "Writing tools/streams/v1/index.json\n" +
... "Writing tools/streams/v1/com.ubuntu.juju-released-tools.json\n"
... regex string = "" +
... "No stream specified, defaulting to released tools in the releases directory.\n" +
... "Finding tools in .*\n" +
... ".*Fetching tools from dir \"releases\" to generate hash: 1\\.12\\.0-precise-amd64\n" +
... ".*Fetching tools from dir \"releases\" to generate hash: 1\\.12\\.0-precise-i386\n" +
... ".*Fetching tools from dir \"releases\" to generate hash: 1\\.12\\.0-raring-amd64\n" +
... ".*Fetching tools from dir \"releases\" to generate hash: 1\\.12\\.0-raring-i386\n" +
... ".*Fetching tools from dir \"releases\" to generate hash: 1\\.13\\.0-precise-amd64\n" +
... ".*Fetching tools from dir \"releases\" to generate hash: 2\\.0-alpha1-quantal-amd64\n" +
... ".*Fetching tools from dir \"releases\" to generate hash: 2\\.0-alpha1-quantal-armhf\n" +
... ".*Fetching tools from dir \"releases\" to generate hash: 2\\.0-alpha1-quantal-i386\n" +
... ".*Writing tools/streams/v1/index2\\.json\n" +
... ".*Writing tools/streams/v1/index\\.json\n" +
... ".*Writing tools/streams/v1/com\\.ubuntu\\.juju-released-tools\\.json\n"

FAIL: toolsmetadata_test.go:257: ToolsMetadataSuite.TestGenerateWithPublicFallback

[LOG] 0:00.091 INFO juju.environs.tools Writing tools/streams/v1/index2.json
[LOG] 0:00.091 INFO juju.environs.tools Writing tools/streams/v1/index.json
[LOG] 0:00.091 INFO juju.environs.tools Writing tools/streams/v1/com.ubuntu.juju-released-tools.json
[LOG] 0:00.099 INFO juju.environs.tools Writing tools/streams/v1/index2.json
[LOG] 0:00.099 INFO juju.environs.tools Writing tools/streams/v1/index.json
[LOG] 0:00.099 INFO juju.environs.tools Writing tools/streams/v1/com.ubuntu.juju-released-tools.json
toolsmetadata_test.go:267:
    c.Assert(metadata, gc.HasLen, len(versionStrings))
... obtained []*tools.ToolsMetadata = []*tools.ToolsMetadata{(*tools.ToolsMetadata)(0xc20819fb00), (*tools.ToolsMetadata)(0xc20819fb80), (*tools.ToolsMetadata)(0xc20819e080)}
... n int = 8

Changed in juju-core:
status: New → Triaged
importance: Undecided → Critical
milestone: none → 2.0-alpha1
tags: added: 2.0-readiness
description: updated
summary: - ToolsMetadataSuite.TestGenerateWithPublicFallback fails with 2.0-alpha1
- version
+ ToolsMetadataSuite fails with 2.0-alpha1 version
Changed in juju-core:
assignee: nobody → Cheryl Jennings (cherylj)
Revision history for this message
Cheryl Jennings (cherylj) wrote :
Changed in juju-core:
status: Triaged → Fix Committed
Changed in juju-core:
milestone: 2.0-alpha1 → 1.26-alpha3
Curtis Hovey (sinzui)
Changed in juju-core:
status: Fix Committed → Fix Released
tags: added: 2.0-count
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.