Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/mobile: cannot build docker image #9324

Closed
SamMorrowDrums opened this issue Dec 15, 2014 · 3 comments
Closed

x/mobile: cannot build docker image #9324

SamMorrowDrums opened this issue Dec 15, 2014 · 3 comments

Comments

@SamMorrowDrums
Copy link

My setup:

  • Year old Macbook Air, on Yosemite
  • Docker: version 1.3.2, build 39fa2fa
  • Boot2docker: Client version: v1.2.0
  • My local machine's go version: go1.4 darwin/amd64

Building the docker image, as per instructions fails for me. Also, rebuilt with no-cache flag just in case there had been an issue with another part of the build, and Docker had cached it.

I'd really appreciate it if anyone could shed some light on this issue. I am aware it's still in dev, but I would love to try it out.

##### Building packages and commands for linux/amd64.
##### Testing packages.
ok      cmd/addr2line   6.295s
?       cmd/cgo [no test files]
ok      cmd/fix 0.041s
ok      cmd/go  0.132s
ok      cmd/gofmt   0.173s
ok      cmd/link    0.149s
ok      cmd/nm  7.523s
ok      cmd/objdump 22.101s
ok      cmd/pack    15.766s
?       cmd/pprof   [no test files]
?       cmd/yacc    [no test files]
ok      archive/tar 0.055s
ok      archive/zip 1.581s
ok      bufio   0.419s
ok      bytes   0.174s
ok      cmd/internal/goobj  0.006s
?       cmd/internal/objfile    [no test files]
?       cmd/pprof/internal/commands [no test files]
?       cmd/pprof/internal/driver   [no test files]
?       cmd/pprof/internal/fetch    [no test files]
?       cmd/pprof/internal/plugin   [no test files]
?       cmd/pprof/internal/profile  [no test files]
?       cmd/pprof/internal/report   [no test files]
?       cmd/pprof/internal/svg  [no test files]
?       cmd/pprof/internal/symbolizer   [no test files]
?       cmd/pprof/internal/symbolz  [no test files]
?       cmd/pprof/internal/tempfile [no test files]
ok      compress/bzip2  0.108s
ok      compress/flate  1.655s
ok      compress/gzip   0.122s
ok      compress/lzw    0.318s
ok      compress/zlib   2.250s
ok      container/heap  0.006s
ok      container/list  0.009s
ok      container/ring  0.086s
?       crypto  [no test files]
ok      crypto/aes  0.075s
ok      crypto/cipher   0.015s
ok      crypto/des  0.034s
ok      crypto/dsa  0.019s
ok      crypto/ecdsa    0.049s
ok      crypto/elliptic 0.073s
ok      crypto/hmac 0.083s
ok      crypto/md5  0.013s
ok      crypto/rand 0.081s
ok      crypto/rc4  0.229s
ok      crypto/rsa  0.311s
ok      crypto/sha1 0.008s
ok      crypto/sha256   0.007s
ok      crypto/sha512   0.010s
ok      crypto/subtle   0.022s
ok      crypto/tls  4.096s
ok      crypto/x509 9.011s
?       crypto/x509/pkix    [no test files]
ok      database/sql    0.194s
ok      database/sql/driver 0.014s
ok      debug/dwarf 0.046s
ok      debug/elf   0.060s
ok      debug/gosym 1.097s
ok      debug/macho 0.028s
ok      debug/pe    0.089s
ok      debug/plan9obj  0.026s
?       encoding    [no test files]
ok      encoding/ascii85    0.062s
ok      encoding/asn1   0.011s
ok      encoding/base32 0.040s
ok      encoding/base64 0.039s
ok      encoding/binary 0.031s
ok      encoding/csv    0.054s
ok      encoding/gob    0.184s
ok      encoding/hex    0.007s
ok      encoding/json   0.393s
ok      encoding/pem    0.008s
ok      encoding/xml    0.036s
ok      errors  0.035s
ok      expvar  0.009s
ok      flag    0.008s
ok      fmt 0.087s
ok      go/ast  0.021s
ok      go/build    0.373s
ok      go/doc  0.222s
ok      go/format   0.029s
ok      go/parser   0.110s
ok      go/printer  0.760s
ok      go/scanner  0.023s
ok      go/token    0.084s
?       hash    [no test files]
ok      hash/adler32    0.023s
ok      hash/crc32  0.008s
ok      hash/crc64  0.033s
ok      hash/fnv    0.036s
ok      html    0.020s
ok      html/template   0.133s
ok      image   0.214s
ok      image/color 0.023s
?       image/color/palette [no test files]
ok      image/draw  0.218s
ok      image/gif   0.113s
ok      image/jpeg  0.464s
ok      image/png   0.132s
ok      index/suffixarray   0.042s
?       internal/syscall    [no test files]
ok      io  0.068s
ok      io/ioutil   0.024s
ok      log 0.026s
ok      log/syslog  2.097s
ok      math    0.007s
ok      math/big    0.624s
ok      math/cmplx  0.007s
ok      math/rand   0.384s
ok      mime    0.024s
ok      mime/multipart  0.522s
ok      net 2.804s
ok      net/http    5.565s
ok      net/http/cgi    0.440s
ok      net/http/cookiejar  0.016s
ok      net/http/fcgi   0.026s
ok      net/http/httptest   0.031s
ok      net/http/httputil   0.036s
ok      net/http/internal   0.011s
?       net/http/pprof  [no test files]
ok      net/mail    0.010s
ok      net/rpc 0.034s
ok      net/rpc/jsonrpc 0.057s
ok      net/smtp    0.043s
ok      net/textproto   0.014s
ok      net/url 0.035s
ok      os  0.873s
ok      os/exec 0.325s
ok      os/signal   2.830s
ok      os/user 0.017s
ok      path    0.013s
ok      path/filepath   0.060s
ok      reflect 0.191s
ok      regexp  0.371s
ok      regexp/syntax   0.754s
--- FAIL: TestCgoCrashHandler (0.07s)
    crash_test.go:88: Stale runtime.a. Run 'go install runtime'.
--- FAIL: TestCgoSignalDeadlock (0.09s)
    crash_test.go:88: Stale runtime.a. Run 'go install runtime'.
--- FAIL: TestCgoTraceback (0.08s)
    crash_test.go:88: Stale runtime.a. Run 'go install runtime'.
--- FAIL: TestCgoExternalThreadPanic (0.09s)
    crash_test.go:88: Stale runtime.a. Run 'go install runtime'.
--- FAIL: TestCrashHandler (0.08s)
    crash_test.go:88: Stale runtime.a. Run 'go install runtime'.
--- FAIL: TestSimpleDeadlock (0.06s)
    crash_test.go:88: Stale runtime.a. Run 'go install runtime'.
--- FAIL: TestInitDeadlock (0.06s)
    crash_test.go:88: Stale runtime.a. Run 'go install runtime'.
--- FAIL: TestLockedDeadlock (0.15s)
    crash_test.go:88: Stale runtime.a. Run 'go install runtime'.
--- FAIL: TestLockedDeadlock2 (0.08s)
    crash_test.go:88: Stale runtime.a. Run 'go install runtime'.
--- FAIL: TestGoexitDeadlock (0.09s)
    crash_test.go:88: Stale runtime.a. Run 'go install runtime'.
--- FAIL: TestStackOverflow (0.08s)
    crash_test.go:88: Stale runtime.a. Run 'go install runtime'.
--- FAIL: TestThreadExhaustion (0.09s)
    crash_test.go:88: Stale runtime.a. Run 'go install runtime'.
--- FAIL: TestRecursivePanic (0.08s)
    crash_test.go:88: Stale runtime.a. Run 'go install runtime'.
--- FAIL: TestGoexitCrash (0.09s)
    crash_test.go:88: Stale runtime.a. Run 'go install runtime'.
--- FAIL: TestGoNil (0.07s)
    crash_test.go:88: Stale runtime.a. Run 'go install runtime'.
--- FAIL: TestMainGoroutineId (0.07s)
    crash_test.go:88: Stale runtime.a. Run 'go install runtime'.
--- FAIL: TestBreakpoint (0.05s)
    crash_test.go:88: Stale runtime.a. Run 'go install runtime'.
--- FAIL: TestGoexitInPanic (0.10s)
    crash_test.go:88: Stale runtime.a. Run 'go install runtime'.
--- FAIL: TestPanicAfterGoexit (0.09s)
    crash_test.go:88: Stale runtime.a. Run 'go install runtime'.
--- FAIL: TestRecoveredPanicAfterGoexit (0.07s)
    crash_test.go:88: Stale runtime.a. Run 'go install runtime'.
--- FAIL: TestGcSys (0.06s)
    crash_test.go:88: Stale runtime.a. Run 'go install runtime'.
--- FAIL: TestGCFairness (0.08s)
    crash_test.go:88: Stale runtime.a. Run 'go install runtime'.
--- FAIL: TestLargeStringConcat (0.08s)
    crash_test.go:88: Stale runtime.a. Run 'go install runtime'.
FAIL
FAIL    runtime 13.732s
?       runtime/cgo [no test files]
ok      runtime/debug   0.020s
ok      runtime/pprof   8.211s
?       runtime/race    [no test files]
ok      sort    0.127s
ok      strconv 0.461s
ok      strings 0.178s
ok      sync    0.819s
ok      sync/atomic 0.278s
ok      syscall 0.014s
ok      testing 1.427s
?       testing/iotest  [no test files]
ok      testing/quick   0.059s
ok      text/scanner    0.011s
ok      text/tabwriter  0.013s
ok      text/template   0.079s
ok      text/template/parse 0.030s
ok      time    2.995s
ok      unicode 0.017s
ok      unicode/utf16   0.021s
ok      unicode/utf8    0.018s
?       unsafe  [no test files]
2014/12/15 12:51:56 The command [/bin/sh -c curl -L https://github.com/golang/go/archive/master.zip -o /tmp/go.zip &&   unzip /tmp/go.zip &&    rm /tmp/go.zip &&   mv /go-master $GOROOT &&    echo devel > $GOROOT/VERSION &&     cd $GOROOT/src &&   ./all.bash &&   CC_FOR_TARGET=$NDK_ROOT/bin/arm-linux-androideabi-gcc GOOS=android GOARCH=arm GOARM=7 ./make.bash] returned a non-zero code: 1
@crawshaw crawshaw changed the title Go Tests Failing on Mobile Docker Image mobile: cannot build docker image Dec 15, 2014
@crawshaw
Copy link
Member

I cannot reproduce this, but my version of boot2docker is 1.3.1. Could you try upgrading it?

@SamMorrowDrums
Copy link
Author

Just needed to upgrade my B2D image with the latest. Ran boot2docker upgrade and it downloaded the 1.4 image. The process succeeded.

Really, I should have tried this first, but I have a major production project on Docker, and I need to download a lot of images locally to continue to dev, when I update B2D. Thanks very much.

@SamMorrowDrums
Copy link
Author

@crawshaw also, I did have to upgrade B2D too... Even after a successful build, I had issues mounting the local volume with an earlier version. The latest boot2docker fixed that.

@mikioh mikioh changed the title mobile: cannot build docker image x/mobile: cannot build docker image Aug 5, 2015
@golang golang locked and limited conversation to collaborators Aug 5, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants