TestWaitSSHRefreshAddresses can fail on windows

Bug #1604961 reported by Martin Packman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Won't Fix
Low
Unassigned
juju-core
Won't Fix
Undecided
Unassigned
1.25
Won't Fix
Undecided
Unassigned

Bug Description

The CI windows unit test run sometimes hits a failure on TestWaitSSHRefreshAddresses where it's expecting 0.1.2.4 but gets 0.1.2.3 instead.

<http://reports.vapour.ws/releases/issue/559ca56f749a5659ed091eba>
<http://reports.vapour.ws/releases/4155/job/run-unit-tests-win2012-amd64/attempt/2613>

----------------------------------------------------------------------
FAIL: bootstrap_test.go:350: BootstrapSuite.TestWaitSSHRefreshAddresses

[LOG] 0:00.124 DEBUG juju.provider.common connection attempt for 0.1.2.3 failed: mock connection failure to 0.1.2.3
bootstrap_test.go:369:
    c.Check(stderr, gc.Matches,
        "Waiting for address\n"+
            "(.|\n)*(Attempting to connect to 0.1.2.4:22\n)+(.|\n)*")
... value string = "" +
... "Waiting for address\n" +
... "Attempting to connect to 0.1.2.3:22\n"
... regex string = "" +
... "Waiting for address\n" +
... "(.|\n" +
... ")*(Attempting to connect to 0.1.2.4:22\n" +
... ")+(.|\n" +
... ")*"

WARNING: Error cleaning up temporaries: remove c:\users\admini~1\appdata\local\temp\tmpunubjh\gogo\tmp-juju-testopn4pk\check-2696223601554009790\9\provider-state: The process cannot access the file because it is being used by another process.OOPS: 42 passed, 1 FAILED
--- FAIL: TestPackage (2.54s)
FAIL
FAIL github.com/juju/juju/provider/common 2.870s

Curtis Hovey (sinzui)
Changed in juju-core:
importance: High → Critical
tags: added: blocker
Changed in juju-core:
milestone: none → 2.0-beta14
Curtis Hovey (sinzui)
tags: removed: blocker
Changed in juju-core:
importance: Critical → High
assignee: nobody → Richard Harding (rharding)
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 2.0-beta14 → 2.0-beta15
Changed in juju-core:
milestone: 2.0-beta15 → 2.0-beta16
affects: juju-core → juju
Changed in juju:
milestone: 2.0-beta16 → none
milestone: none → 2.0-beta16
Curtis Hovey (sinzui)
Changed in juju:
milestone: 2.0-beta16 → 2.0-beta17
Curtis Hovey (sinzui)
Changed in juju:
milestone: 2.0-beta17 → 2.0-beta18
Curtis Hovey (sinzui)
Changed in juju:
milestone: 2.0-beta18 → 2.0-beta19
Changed in juju:
milestone: 2.0-beta19 → 2.0-rc1
Changed in juju:
milestone: 2.0-rc1 → 2.0.1
assignee: Richard Harding (rharding) → nobody
Curtis Hovey (sinzui)
Changed in juju:
milestone: 2.0.1 → none
Changed in juju-core:
status: New → Won't Fix
Mick Gregg (macgreagoir)
Changed in juju:
assignee: nobody → Mick Gregg (macgreagoir)
Changed in juju:
status: Triaged → In Progress
Revision history for this message
Mick Gregg (macgreagoir) wrote :

I can reproduce by adjusting the timeout, so looks like a reliance on the clock.

Mick Gregg (macgreagoir)
Changed in juju:
assignee: Mick Gregg (macgreagoir) → nobody
status: In Progress → Triaged
Curtis Hovey (sinzui)
Changed in juju:
milestone: none → 2.2.0-alpha1
John A Meinel (jameinel)
Changed in juju:
milestone: 2.2-rc1 → none
Revision history for this message
Curtis Hovey (sinzui) wrote :

This test is skipped on windows. It has not been seen in testing since 2016-02-09

Changed in juju:
importance: High → Low
Revision history for this message
Tim Penhey (thumper) wrote :

Only ubuntu is supported as a controller OS, so don't run these tests on other OS.

Changed in juju:
status: Triaged → Won't Fix
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.