TestRunCommand fails on windows
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
Critical
|
Casey Marshall | ||
1.24 |
Fix Released
|
Critical
|
Tim Penhey |
Bug Description
UniterSuite.
<http://
Note the issue also has old failures, see bug 1463408 for that.
<http://
FAIL: util_windows_
...
test 4: run commands: async using rpc client
...
step 2:
uniter_
[LOG] 0:13.542 INFO juju.worker.uniter unit "u/0" shutting down: tomb: dying
[LOG] 0:13.542 DEBUG juju.worker.uniter juju-run listener stopping
[LOG] 0:13.542 DEBUG juju.worker.uniter RunCommands: {Commands:
...
util_windows_
s.runUniter
...
})
util_test.go:133:
c.Assert(err, jc.ErrorIsNil)
... value syscall.Errno = 0x490 ("Element not found.")
Looks to be the last windows test regression from the maltese-falcon branch landing.
Changed in juju-core: | |
assignee: | nobody → Casey Marshall (cmars) |
Changed in juju-core: | |
status: | Triaged → In Progress |
Changed in juju-core: | |
assignee: | nobody → Casey Marshall (cmars) |
status: | Triaged → In Progress |
Changed in juju-core: | |
milestone: | none → 1.26-alpha1 |
Changed in juju-core: | |
status: | In Progress → Fix Committed |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
I'm at eod and not getting anywhere. I did reproduce this on hyperv and found that the run listener seems to be restarting rather than executing the command:
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- test.go: 92: UniterSuite. TestRunCommand
FAIL: util_windows_
...
test 4: run commands: async using rpc client
step 0:
...
uniter_ test.waitHooks{ "install" , "leader-elected", "config-changed", "start"} test.verifyChar m{revision: 0, attemptedRevisi on:0, checkFiles: filetesting. Entries( nil)}
waiting for hooks: []string{"install", "leader-elected", "config-changed", "start"}
ctx.hooksCompleted: []string{"install", "leader-elected", "config-changed", "start"}
ctx.hooks: []string{"install", "leader-elected", "config-changed", "start"}
uniter_
step 1:
uniter_ test.asyncRunCo mmands{ "Set-Content C:\\Users\ \ADMINI~ 1\\AppData\ \Local\ \Temp\\ 2\\check- 557700679194777 9410\\8\ \run.output \"juju run $env:JUJU_U
NIT_NAME\""}
step 2:
uniter_ test.verifyFile {filename: "C:\\Users\ \ADMINI~ 1\\AppData\ \Local\ \Temp\\ 2\\check- 557700679194777 9410\\8\ \run.output" , content:"juju run u/0\r\n"}
[LOG] 0:09.432 INFO juju.worker.uniter unit "u/0" shutting down: tomb: dying
[LOG] 0:09.432 ERROR juju.worker.uniter juju-run listener got: [{invalid argument}]
[LOG] 0:09.432 DEBUG juju.worker.uniter juju-run listener stopping