many window unit tests failures
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | juju-core |
Critical
|
Martin Packman | ||
| | 1.24 |
Critical
|
Andrew Wilkins | ||
Bug Description
As seen in
http://
or
http://
There are many unit test failures, and they look consistent across many runs.
| Martin Packman (gz) wrote : | #1 |
I don't think that https:/
| Curtis Hovey (sinzui) wrote : | #3 |
gotesttarfile.py is forcing "PATH" and "Path" into the env. We did this to see passed before Core merged their fixes.
| Curtis Hovey (sinzui) wrote : | #4 |
To be clean the CI work around in comment #1 is to ensure PATH and Path are identical when the tests are run so that anything that calls either gets set of executables.
| Martin Packman (gz) wrote : | #5 |
There are at least two breaking changes here. On master, the envvar casing change I mentioned, on 1.24 we've got a close/rename issue:
[LOG] 0:00.736 DEBUG juju.apiserver -> [98] user-dummy-
| Changed in juju-core: | |
| assignee: | nobody → Martin Packman (gz) |
| status: | Triaged → In Progress |
| Martin Packman (gz) wrote : | #6 |
Have proposed two reverts that will get the tests passing again.
<https:/
<https:/
The charm project on github needs sorting out, the head of the v5 branch changed and several revs are now only on v6-unstable.
| Changed in juju-core: | |
| status: | In Progress → Fix Committed |
Juju-CI verified that this issue is Fix Released in juju-core master:
http://
| Changed in juju-core: | |
| status: | Fix Committed → Fix Released |


This is likely caused (at least in part) by the attempted fix to bug 1446871:
<https:/ /github. com/juju/ juju/pull/ 2124>
The symptoms, missing hook tools in tests, are the same as before the workaround in CI was instated:
<http:// reports. vapour. ws/releases/ 2589/job/ run-unit- tests-win2012- amd64/attempt/ 317>
[LOG] 0:01.641 INFO unit.u/0.install c:\...\ agents\ unit-u- 0\charm> juju-log. exe deadbeef- 0bad-400d- 8000-4b1d0d06f0 0d install uniter. context handling reboot uniter. operation hook "install" failed: exit status 1
[LOG] 0:01.641 INFO unit.u/0.install 'juju-log.exe' is not recognized as an internal or external command,
[LOG] 0:01.641 INFO unit.u/0.install operable program or batch file.
want unit status "idle", got "executing"; still waiting
[LOG] 0:01.647 INFO juju.worker.
[LOG] 0:01.647 ERROR juju.worker.