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

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

Closed
bradfitz opened this issue Nov 8, 2018 · 2 comments

Comments

Projects
None yet
3 participants
@bradfitz
Copy link
Member

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
@FiloSottile

This comment has been minimized.

Copy link
Member

commented Jan 2, 2019

@bcmills It would be nice to have the OpenBSD builder greener for the release, if you can look into this flake.

@bcmills

This comment has been minimized.

Copy link
Member

commented Jan 9, 2019

Dup of #29514, I think.

@bcmills bcmills closed this Jan 9, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.