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/tools/go/loader: broken tests #11920

Closed
bradfitz opened this issue Jul 29, 2015 · 2 comments
Closed

x/tools/go/loader: broken tests #11920

bradfitz opened this issue Jul 29, 2015 · 2 comments
Milestone

Comments

@bradfitz
Copy link
Contributor

@griesemer, one for you. (or @alandonovan can steal) Part of #11811 (subrepos needing to be green), the x/tools/go/loader tests are failing at tip, on multiple GOOS/GOARCH. This is darwin-amd64:

cannot find package "nosuchpkg" in any of:
    /var/folders/8z/xcmymdqs1g35gw7z_k5fq4pr0000gp/T/workdir/go/src/nosuchpkg (from $GOROOT)
    /var/folders/8z/xcmymdqs1g35gw7z_k5fq4pr0000gp/T/workdir/gopath/src/nosuchpkg (from $GOPATH)
cannot find package "nosuchpkg" in any of:
    /var/folders/8z/xcmymdqs1g35gw7z_k5fq4pr0000gp/T/workdir/go/src/nosuchpkg (from $GOROOT)
    /var/folders/8z/xcmymdqs1g35gw7z_k5fq4pr0000gp/T/workdir/gopath/src/nosuchpkg (from $GOPATH)
open missing.go: no such file or directory
open missing.go: no such file or directory
testdata/badpkgdecl.go:1:34: expected 'package', found 'EOF'
testdata/badpkgdecl.go:1:34: expected 'package', found 'EOF'
/go/src/b/x.go:1:21: could not import c (cannot find package "c" in any of:
    /go/src/c (from $GOROOT)
    ($GOPATH not set))
/go/src/b/x.go:1:21: could not import c (cannot find package "c" in any of:
    /go/src/c (from $GOROOT)
    ($GOPATH not set))
/go/src/b/x.go:1:21: could not import c (/go/src/c/x.go:1:8: expected 'IDENT', found 'EOF')
/go/src/c/x.go:1:20: expected operand, found 'EOF'
cannot find package "two/three" in any of:
    /go/src/two/three (from $GOROOT)
    ($GOPATH not set)
/go/src/c/x.go:1:31: cannot convert false (untyped bool constant) to int
--- FAIL: ExampleConfig_CreateFromFiles (1.19s)
got:
created: [hello]
imported: []
initial: [hello]
all: [errors fmt hello io math os reflect runtime strconv sync sync/atomic syscall time unicode/utf8]
strconv.Files: [atob.go atof.go atoi.go decimal.go doc.go extfloat.go ftoa.go isprint.go itoa.go quote.go]
want:
created: [hello]
imported: []
initial: [hello]
all: [errors fmt hello io math os reflect runtime strconv sync sync/atomic syscall time unicode/utf8]
strconv.Files: [atob.go atof.go atoi.go decimal.go extfloat.go ftoa.go isprint.go itoa.go quote.go]
--- FAIL: ExampleConfig_Import (1.17s)
got:
created: [strconv_test]
imported: [errors strconv unicode/utf8]
initial: [errors strconv strconv_test unicode/utf8]
all: [bufio bytes errors flag fmt io log math math/rand os reflect runtime runtime/pprof runtime/trace sort strconv strconv_test strings sync sync/atomic syscall testing text/tabwriter time unicode unicode/utf8]
strconv.Files: [atob.go atof.go atoi.go decimal.go doc.go extfloat.go ftoa.go isprint.go itoa.go quote.go internal_test.go]
strconv_test.Files: [atob_test.go atof_test.go atoi_test.go decimal_test.go example_test.go fp_test.go ftoa_test.go itoa_test.go quote_test.go strconv_test.go]
want:
created: [strconv_test]
imported: [errors strconv unicode/utf8]
initial: [errors strconv strconv_test unicode/utf8]
all: [bufio bytes errors flag fmt io math math/rand os reflect runtime runtime/pprof sort strconv strconv_test strings sync sync/atomic syscall testing text/tabwriter time unicode unicode/utf8]
strconv.Files: [atob.go atof.go atoi.go decimal.go extfloat.go ftoa.go isprint.go itoa.go quote.go internal_test.go]
strconv_test.Files: [atob_test.go atof_test.go atoi_test.go decimal_test.go fp_test.go ftoa_test.go itoa_test.go quote_example_test.go quote_test.go strconv_test.go]
FAIL
FAIL    golang.org/x/tools/go/loader    20.529s
@bradfitz bradfitz added this to the Go1.5 milestone Jul 29, 2015
@mwhudson
Copy link
Contributor

I filed this already! #11902

@alexbrainman
Copy link
Member

@griesemer griesemer assigned alandonovan and unassigned griesemer Jul 29, 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

6 participants