network/debinterfaces: failure in BridgeSuite.TestActivateEth0

Bug #1713758 reported by Roger Peppe
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Witold Krecicki

Bug Description

As seen here: http://ci.jujucharms.com/job/github-merge-juju/192/console
It looks like the 1504010014 name is the difference.

[xenial] FAIL: activate_test.go:48: BridgeSuite.TestActivateEth0
[xenial]
[xenial] activate_test.go:73:
[xenial] c.Check(string(result.Stdout), gc.Equals, expected[1:])
[xenial] ... obtained string = "" +
[xenial] ... "write_backup testdata/TestInputSourceStanza/interfaces.backup-1504010014\n" +
[xenial] ... "write_content testdata/TestInputSourceStanza/interfaces.new\n" +
[xenial] ... "ifdown --interfaces=testdata/TestInputSourceStanza/interfaces eth0 eth1\n" +
[xenial] ... "sleep 10\n" +
[xenial] ... "cp testdata/TestInputSourceStanza/interfaces.new testdata/TestInputSourceStanza/interfaces\n" +
[xenial] ... "ifup --interfaces=testdata/TestInputSourceStanza/interfaces -a\n"
[xenial] ... expected string = "" +
[xenial] ... "write_backup testdata/TestInputSourceStanza/interfaces.backup-1504010015\n" +
[xenial] ... "write_content testdata/TestInputSourceStanza/interfaces.new\n" +
[xenial] ... "ifdown --interfaces=testdata/TestInputSourceStanza/interfaces eth0 eth1\n" +
[xenial] ... "sleep 10\n" +
[xenial] ... "cp testdata/TestInputSourceStanza/interfaces.new testdata/TestInputSourceStanza/interfaces\n" +
[xenial] ... "ifup --interfaces=testdata/TestInputSourceStanza/interfaces -a\n"

Revision history for this message
John A Meinel (jameinel) wrote :

Seems like a counter that got incremented 2x, we might have a race condition in the test setup.

Changed in juju:
assignee: nobody → Witold Krecicki (wpk)
importance: Undecided → High
status: New → Triaged
Revision history for this message
Witold Krecicki (wpk) wrote :
Changed in juju:
status: Triaged → Fix Committed
status: Fix Committed → In Progress
Revision history for this message
Anastasia (anastasia-macmood) wrote :

PR above has been merged into code base since Nov 2017. So the fix has been released with 2.3.x.

Changed in juju:
status: In Progress → Fix Released
milestone: none → 2.3-beta2
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.