TestLeadership fails on windows test slave
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
High
|
Bogdan Teleaga |
Bug Description
TestLeadership consistenly fails on during unit tests runs on windows.
<http://
<http://
FAIL: uniter_
...
[LOG] 0:04.491 DEBUG juju.worker.uniter [AGENT-STATUS] idle
[LOG] 0:04.491 DEBUG juju.apiserver <- [23] unit-u-0 {"RequestId"
[LOG] 0:04.494 DEBUG juju.apiserver -> [23] unit-u-0 3.0052ms {"RequestId"
[LOG] 0:05.499 INFO juju.util.exec run result: exit status 1
[LOG] 0:05.499 INFO juju.worker.
[LOG] 0:05.503 INFO juju.worker.
uniter_
s.runUniter
...
})
util_test.go:1357:
c.Check(
... obtained int = 1
... expected int = 0
uniter_
s.runUniter
...
})
util_test.go:1359:
c.Check(
... obtained string = "" +
... "try{$input|iex; exit $LastExitCode}
... "1} : At line:1 char:3\r\n" +
... "+ if [ $(is-leader) != \"False\" ]; then exit -1; fi\r\n" +
... "+ ~\r\n" +
... "Missing '(' after 'if' in if statement.\r\n" +
... "At line:1 char:5\r\n" +
... "+ if [ $(is-leader) != \"False\" ]; then exit -1; fi\r\n" +
... "+ ~\r\n" +
... "Missing type name after '['.\r\n" +
... " + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorExcep \r\n" +
... " tion\r\n" +
... " + FullyQualifiedE
... " n\r\n" +
... " \r\n"
... expected string = ""
This turned up after a workaround for bug 1446871 was added, which may or may not be relevent.
Changed in juju-core: | |
milestone: | none → 1.24-alpha1 |
milestone: | 1.24-alpha1 → 1.24.0 |
Changed in juju-core: | |
assignee: | nobody → Bogdan Teleaga (bteleaga) |
Changed in juju-core: | |
status: | Triaged → Fix Committed |
Changed in juju-core: | |
milestone: | 1.24.0 → 1.24-alpha1 |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |