featuretests: failure on windows due to ill informed symlink

Bug #1521446 reported by Dave Cheney
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
Medium
Menno Finlay-Smits

Bug Description

upgrade_test.go:109:
    go func() { c.Check(a.Run(nil), jc.ErrorIsNil) }()
... value *errors.Err = &errors.Err{message:"failed to create C:/Juju/bin/juju-run.exe symlink", cause:(*os.LinkError)(0xc084427f00), previous:(*os.LinkError)(0xc084427f00), file:"github.com/juju/juju/cmd/jujud/agent/machine.go", line:1775} ("failed to create C:/Juju/bin/juju-run.exe symlink: symlink c:\\users\\admini~1\\appdata\\local\\temp\\tmpivnvca\\gogo\\tmp-juju-testtxo382\\check-5796262061010820532\\7\\var\\lib\\juju\\tools\\machine-0\\jujud.exe c:\\users\\admini~1\\appdata\\local\\temp\\tmpivnvca\\gogo\\tmp-juju-testtxo382\\check-5796262061010820532\\13\\Juju\\bin\\juju-run.exe: GetFileAttributesEx c:\\users\\admini~1\\appdata\\local\\temp\\tmpivnvca\\gogo\\tmp-juju-testtxo382\\check-5796262061010820532\\7\\var\\lib\\juju\\tools\\machine-0\\jujud.exe: The system cannot find the path specified.")
... error stack:
 symlink c:\users\admini~1\appdata\local\temp\tmpivnvca\gogo\tmp-juju-testtxo382\check-5796262061010820532\7\var\lib\juju\tools\machine-0\jujud.exe c:\users\admini~1\appdata\local\temp\tmpivnvca\gogo\tmp-juju-testtxo382\check-5796262061010820532\13\Juju\bin\juju-run.exe: GetFileAttributesEx c:\users\admini~1\appdata\local\temp\tmpivnvca\gogo\tmp-juju-testtxo382\check-5796262061010820532\7\var\lib\juju\tools\machine-0\jujud.exe: The system cannot find the path specified.
 github.com/juju/juju/cmd/jujud/agent/machine.go:1775: failed to create C:/Juju/bin/juju-run.exe symlink

upgrade_test.go:112:
    c.Assert(waitForUpgradeToStart(upgradeCh), jc.IsTrue)
... obtained bool = false

[LOG] 0:10.663 DEBUG juju.worker killing runner 0xc084e90d80
[LOG] 0:10.663 INFO juju.worker runner is dying
[LOG] 0:10.664 INFO juju.apiserver [CD] user-dummy-admin@local API connection terminated after 10.2040066s
[LOG] 0:10.664 DEBUG juju.state closed state without error
[LOG] 0:10.664 INFO juju.provider.dummy reset environment
[LOG] 0:10.664 DEBUG juju.state closed state without error
[LOG] 0:10.670 INFO juju.testing reset successfully reset admin password
[LOG] 0:10.682 INFO juju.testing reset successfully reset admin password
[LOG] 0:10.685 INFO juju.testing reset successfully reset admin password
OOPS: 106 passed, 1 skipped, 1 FAILED
--- FAIL: TestPackage (127.83 seconds)
FAIL
FAIL github.com/juju/juju/featuretests 128.625s

http://juju-ci.vapour.ws:8080/job/run-unit-tests-win2012-amd64/1659/console

Tags: 2.0-count
Changed in juju-core:
status: New → In Progress
importance: Undecided → High
importance: High → Medium
assignee: nobody → Menno Smits (menno.smits)
Tim Penhey (thumper)
Changed in juju-core:
status: In Progress → Fix Committed
milestone: none → 1.26-beta1
Revision history for this message
Menno Finlay-Smits (menno.smits) wrote :
Changed in juju-core:
milestone: 1.26-beta1 → 2.0-alpha1
Changed in juju-core:
milestone: 2.0-alpha1 → 1.26-alpha3
Curtis Hovey (sinzui)
Changed in juju-core:
status: Fix Committed → Fix Released
tags: added: 2.0-count
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.