TestSortingAndFilteringBeforeCachingRespectsPreferIPv6

Bug #1490649 reported by Aaron Bentley
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Unassigned

Bug Description

As seen here:
http://reports.vapour.ws/releases/3019/job/xx-run-unit-tests-lxc-wily-amd64/attempt/2006

This looks like a real assertion failure, where the obtained string has an unexpected [::1] line.

It may be a consistent failure. The wily unit tests have not passed on master for some time.

... obtained string = "" +
... "[::1]:57636\n" +
... "[2001:db8::1]:57636\n" +
... "0.1.2.3:57636\n" +
... "192.0.0.0:57636\n" +
... "8.8.8.8:57636\n" +
... "localhost:57636\n" +
... "[fc00::1]:57636\n" +
... "[fd00::1]:57636\n" +
... "10.0.0.1:57636\n"
... expected string = "" +
... "127.0.0.1:57636\n" +
... "[2001:db8::1]:57636\n" +
... "0.1.2.3:57636\n" +
... "192.0.0.0:57636\n" +
... "8.8.8.8:57636\n" +
... "localhost:57636\n" +
... "[fc00::1]:57636\n" +
... "[fd00::1]:57636\n" +
... "10.0.0.1:57636\n"

Other examples here:
http://reports.vapour.ws/releases/issue/55e48c17749a562deed133b5

Revision history for this message
Dimiter Naydenov (dimitern) wrote :

I've investigated this a bit, as I remember the original test wasn't written to assum 127.0.0.1 is expected on top, but localhost.

The culprit commit which changed the behavior was: https://github.com/davecheney/juju/commit/83c01c46dcf712a78ea94b2999f33597e0b4495c, part of the following PR by Dave: https://github.com/juju/juju/pull/2590

However, I can't reproduce this using go 1.2.1, or go 1.5 using master tip. Putting on hold for now (as intermittent and likely lower priority).

tags: added: intermittent-failure
Revision history for this message
Aaron Bentley (abentley) wrote :

This does not look intermittent to me.

The last 5 of these did not have a success after their failure:
http://reports.vapour.ws/releasaes/3030/job/run-unit-tests-wily-amd64/attempt/330
http://reports.vapour.ws/releases/3030/job/xx-run-unit-tests-lxc-wily-amd64/attempt/2027
http://reports.vapour.ws/releases/3028/job/xx-run-unit-tests-lxc-wily-amd64/attempt/2020
http://reports.vapour.ws/releases/3021/job/run-unit-tests-wily-amd64/attempt/319
http://reports.vapour.ws/releases/3019/job/xx-run-unit-tests-lxc-wily-amd64/attempt/2006

In many cases, it appears the test is not being run, but for cases where it is, the run-unit-tests-wily-amd64 and xx-run-unit-tests-lxc-wily-amd64 seem to always have failures.

tags: removed: intermittent-failure
tags: added: bug-squad
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 1.26-alpha1 → 1.26-alpha2
Changed in juju-core:
milestone: 1.26-alpha2 → 1.26-beta1
Changed in juju-core:
milestone: 1.26-beta1 → 2.0-alpha2
Changed in juju-core:
milestone: 2.0-alpha2 → 2.0-alpha3
Changed in juju-core:
milestone: 2.0-alpha3 → 2.0-beta4
Revision history for this message
Cheryl Jennings (cherylj) wrote :

This test no longer exists.

Changed in juju-core:
status: Triaged → Fix Released
affects: juju-core → juju
Changed in juju:
milestone: 2.0-beta4 → none
milestone: none → 2.0-beta4
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.