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

cmd/go: TestScript fails or flakes on OpenBSD #28677

Open
bradfitz opened this Issue Nov 8, 2018 · 0 comments

Comments

Projects
None yet
2 participants
@bradfitz
Member

bradfitz commented Nov 8, 2018

https://storage.googleapis.com/go-build-log/86cc44d0/openbsd-amd64-62_fc4d9ca1.log

go test proxy starting
go test proxy running at GOPROXY=http://127.0.0.1:38576/mod
go proxy: no archive example.com/split/subpkg v1.0.0
go proxy: no archive golang.org/x/text/language 14c0d48
go proxy: no archive golang.org/x/text/language 14c0d48
go proxy: no archive golang.org/x/text/language 14c0d48
go proxy: no archive golang.org/x/text/foo 14c0d48
go proxy: no archive golang.org/x 14c0d48
go proxy: no archive golang.org 14c0d48
go proxy: no archive rsc.io v1.5.0
--- FAIL: TestScript (0.01s)
    --- FAIL: TestScript/gcflags_patterns (0.16s)
        script_test.go:182: 
            # -gcflags=-e applies to named packages, not dependencies (0.157s)
            > go build -n -v -gcflags=-e z1 z2
            [stderr]
            
            #
            # y
            #
            
            y
            mkdir -p $WORK/b002/
            cat >$WORK/b002/importcfg << 'EOF' # internal
            # import config
            EOF
            cd $WORK/gopath/src/y
            /tmp/workdir/go/pkg/tool/openbsd_amd64/compile -o $WORK/b002/_pkg_.a -trimpath $WORK/b002 -p y -complete -buildid UCdN8DzJbtm8FUY7a0yr/UCdN8DzJbtm8FUY7a0yr -D "" -importcfg $WORK/b002/importcfg -pack -c=4 ./y.go
            /tmp/workdir/go/pkg/tool/openbsd_amd64/buildid -w $WORK/b002/_pkg_.a # internal
            
            #
            # z2
            #
            
            z2
            mkdir -p $WORK/b003/
            cat >$WORK/b003/importcfg << 'EOF' # internal
            # import config
            EOF
            cd $WORK/gopath/src/z2
            /tmp/workdir/go/pkg/tool/openbsd_amd64/compile -o $WORK/b003/_pkg_.a -trimpath $WORK/b003 -e -p z2 -complete -buildid Oph1nzz-jps0OE2vos-p/Oph1nzz-jps0OE2vos-p -D "" -importcfg $WORK/b003/importcfg -pack ./z.go
            /tmp/workdir/go/pkg/tool/openbsd_amd64/buildid -w $WORK/b003/_pkg_.a # internal
            
            #
            # z1
            #
            
            z1
            mkdir -p $WORK/b001/
            cat >$WORK/b001/importcfg << 'EOF' # internal
            # import config
            packagefile y=$WORK/b002/_pkg_.a
            packagefile z2=$WORK/b003/_pkg_.a
            EOF
            cd $WORK/gopath/src/z1
            /tmp/workdir/go/pkg/tool/openbsd_amd64/compile -o $WORK/b001/_pkg_.a -trimpath $WORK/b001 -e -p z1 -complete -buildid 9x4ebsnQl3gMAhnxFFls/9x4ebsnQl3gMAhnxFFls -D "" -importcfg $WORK/b001/importcfg -pack ./z.go
            /tmp/workdir/go/pkg/tool/openbsd_amd64/buildid -w $WORK/b001/_pkg_.a # internal
            > stderr 'compile.* -e .*-p z1'
            > stderr 'compile.* -e .*-p z2'
            > stderr 'compile.* -p y'
            > ! stderr 'compile.* -e .*-p [^z]'
            FAIL: testdata/script/gcflags_patterns.txt:8: unexpected match for `compile.* -e .*-p [^z]` found in stderr: compile -o $WORK/b003/_pkg_.a -trimpath $WORK/b003 -e -p z2 -complete -buildid Oph1nzz-jps0OE2vos-p/Oph1nzz-jps0OE2vos-p -
            
FAIL
FAIL	cmd/go	101.074s

@bradfitz bradfitz added this to the Go1.12 milestone Nov 8, 2018

@bcmills bcmills added the GoCommand label Nov 19, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment