many window unit tests failures

Bug #1450919 reported by Curtis Hovey on 2015-05-01
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
juju-core
Critical
Martin Packman
1.24
Critical
Andrew Wilkins

Bug Description

Martin Packman (gz) wrote :

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-4b1d0d06f00d install
[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.uniter.context handling reboot
[LOG] 0:01.647 ERROR juju.worker.uniter.operation hook "install" failed: exit status 1

I don't think that https://github.com/juju/juju/pull/2124 is causing the failures for 1.24 since this was landed in master. This actually looks like it may be a dupe of bug 1446871. What differentiates the two?

Curtis Hovey (sinzui) wrote :

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 :

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 :

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-admin@local 33.0041ms {"RequestId":7,"Error":"cannot move the charm archive: replace c:\\...\\charm-download085281031 c:\\...\\cs_3a_precise_2f_wordpress-3.charm: The process cannot access the file because it is being used by another process.","Response":"'body redacted'"} Client[""].AddCharm

Martin Packman (gz) on 2015-05-04
Changed in juju-core:
assignee: nobody → Martin Packman (gz)
status: Triaged → In Progress
Martin Packman (gz) wrote :

Have proposed two reverts that will get the tests passing again.

<https://github.com/juju/juju/pull/2207> fixes master by backing out pr2124, and reopened bug 1446871.

<https://github.com/juju/juju/pull/2209> fixes 1.24 by backing out pr2169.

The charm project on github needs sorting out, the head of the v5 branch changed and several revs are now only on v6-unstable.

Martin Packman (gz) on 2015-05-05
Changed in juju-core:
status: In Progress → Fix Committed

Juju-CI verified that this issue is Fix Released in juju-core master:
    http://reports.vapour.ws/releases/2606

Changed in juju-core:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers