Cannot compile/exec win client

Bug #1334493 reported by Curtis Hovey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
Critical
Dave Cheney

Bug Description

The job that builds the windows client failed from rev 1821bc43
    http://juju-ci.vapour.ws:8080/job/win-client-build-installer/498/console

It last passed at 35d38cae The revisions that landed after this are
1d57f52 Merge pull request #160 from bz2/revert_pr153
d775dce Merge pull request #154 from gabriel-samfira/powershell-helpers
be7a4f2 Merge pull request #161 from bz2/restore_pr153
1821bc4 Merge pull request #95 from gabriel-samfira/os-speciffic-vars

I visited the machine to verify the issue
PS C:\Users\Administrator\ci\gogo\src\github.com\juju\juju> \go\bin\go version
go version go1.2.2 windows/386

PS C:\Users\Administrator\ci\gogo\src\github.com\juju\juju> \go\bin\go build ./...
# github.com/juju/juju/version
version\osversion_windows.go:6: osVersion redeclared in this block
        previous declaration at version\osversion_unknown.go:8

PS C:\Users\Administrator\ci\gogo\src\github.com\juju\juju> \go\bin\go env
set GOARCH=386
set GOBIN=
set GOCHAR=8
set GOEXE=.exe
set GOHOSTARCH=386
set GOHOSTOS=windows
set GOOS=windows
set GOPATH=C:\Users\Administrator\ci\gogo
set GORACE=
set GOROOT=C:\Go
set GOTOOLDIR=C:\Go\pkg\tool\windows_386
set TERM=dumb
set CC=gcc
set GOGCCFLAGS=-g -O2 -m32 -mthreads
set CXX=g++
set CGO_ENABLED=1

Curtis Hovey (sinzui)
description: updated
Ian Booth (wallyworld)
Changed in juju-core:
assignee: nobody → Ian Booth (wallyworld)
status: Triaged → In Progress
Ian Booth (wallyworld)
Changed in juju-core:
status: In Progress → Fix Committed
Revision history for this message
Curtis Hovey (sinzui) wrote :

The change just mutated the error, It compiles, but juju will not execute

http://juju-ci.vapour.ws:8080/job/win-client-build-installer/501/console

Installed Juju
Command '('\\Progra~2\\Juju\\juju.exe', 'version')' returned non-zero exit status 2
<class 'subprocess.CalledProcessError'>
panic: invalid series "unknown"

goroutine 1 [running]:
runtime.panic(0xa958e0, 0x12780568)
 C:/Users/ADMINI~1/AppData/Local/Temp/2/makerelease106211947/go/src/pkg/runtime/panic.c:266 +0xa6
github.com/juju/juju/juju/paths.MustSucceed(0xb669c8, 0x0, 0x24c740, 0x12780568, 0x24c740, ...)
 C:/Users/Administrator/ci/gogo/src/github.com/juju/juju/juju/paths/paths.go:76 +0x48
github.com/juju/juju/agent.init()
 C:/Users/Administrator/ci/gogo/src/github.com/juju/juju/agent/agent.go:35 +0x123
github.com/juju/juju/environs.init()
 C:/Users/Administrator/ci/gogo/src/github.com/juju/juju/environs/utils.go:22 +0x93
github.com/juju/juju/environs/tools.init()
 C:/Users/Administrator/ci/gogo/src/github.com/juju/juju/environs/tools/validation.go:74 +0x52
github.com/juju/juju/environs/sync.init()
 C:/Users/Administrator/ci/gogo/src/github.com/juju/juju/environs/sync/sync.go:354 +0x4d
main.init()
 C:/Users/Administrator/ci/gogo/src/github.com/juju/juju/cmd/juju/user_info.go:124 +0x52

goroutine 3 [syscall]:
os/signal.loop()
 C:/Users/ADMINI~1/AppData/Local/Temp/2/makerelease106211947/go/src/pkg/os/signal/signal_unix.go:21 +0x20
created by os/signal.init��1
 C:/Users/ADMINI~1/AppData/Local/Temp/2/makerelease106211947/go/src/pkg/os/signal/signal_unix.go:27 +0x33
+ '[' 3 -ne 0 ']'
+ exit 1
Build step '

Changed in juju-core:
status: Fix Committed → Triaged
Revision history for this message
Curtis Hovey (sinzui) wrote :

Given that the series is consider invalid, I suspect that OSX is also broken.

summary: - Cannot compile win client
+ Cannot compile/exec win client
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 1.19.4 → 1.19.5
assignee: Ian Booth (wallyworld) → nobody
Changed in juju-core:
status: Triaged → Fix Committed
assignee: nobody → Dave Cheney (dave-cheney)
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 1.20.0 → none
milestone: none → 1.20-alpha1
Revision history for this message
Curtis Hovey (sinzui) wrote :

I'll try cherry-picking daves fix to 1.20.

Curtis Hovey (sinzui)
no longer affects: juju-core/1.20
Curtis Hovey (sinzui)
Changed in juju-core:
status: Fix Committed → Fix Released
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.