Skip to content

cmd/go: TestBuildCache failing on Plan 9 #22572

@0intro

Description

@0intro

CL 75473 added TestBuildCache. This test is failing on Plan 9.

--- FAIL: TestBuildCache (2.73s)
	go_test.go:4719: running testgo [build -x complex/w]
	go_test.go:4719: standard error:
	go_test.go:4719: WORK=/tmp/go-build120783117
		mkdir -p $WORK/b001/
		cat >$WORK/b001/importcfg << 'EOF' # internal
		packagefile runtime=/tmp/workdir/go/pkg/plan9_386/runtime.a
		EOF
		cd /tmp/workdir/go/src/cmd/go/testdata/src/complex/w
		/tmp/workdir/go/pkg/tool/plan9_386/compile -o $WORK/b001/_pkg_.a -trimpath $WORK/b001 -p complex/w -complete -buildid jrm1srpTyde9pGMsjSZX/jrm1srpTyde9pGMsjSZX -dwarf=false -D "" -importcfg $WORK/b001/importcfg -pack ./w.go
		/tmp/workdir/go/pkg/tool/plan9_386/buildid -w $WORK/b001/_pkg_.a # internal
		
	go_test.go:4722: running testgo [build -x complex/w]
	go_test.go:4722: standard error:
	go_test.go:4722: WORK=/tmp/go-build972466103
		
	go_test.go:4727: running testgo [build -o /dev/null -x complex]
	go_test.go:4727: standard error:
	go_test.go:4727: WORK=/tmp/go-build104673264
		mkdir -p $WORK/b003/
		cat >$WORK/b003/importcfg << 'EOF' # internal
		packagefile runtime=/tmp/workdir/go/pkg/plan9_386/runtime.a
		EOF
		cd /tmp/workdir/go/src/cmd/go/testdata/src/complex/nest/vendor/v1
		/tmp/workdir/go/pkg/tool/plan9_386/compile -o $WORK/b003/_pkg_.a -trimpath $WORK/b003 -p complex/nest/vendor/v1 -complete -buildid jaGFPcmwwMb5cp00t5X1/jaGFPcmwwMb5cp00t5X1 -dwarf=false -D "" -importcfg $WORK/b003/importcfg -pack ./v1.go
		/tmp/workdir/go/pkg/tool/plan9_386/buildid -w $WORK/b003/_pkg_.a # internal
		mkdir -p $WORK/b008/
		cat >$WORK/b008/importcfg << 'EOF' # internal
		packagefile runtime=/tmp/workdir/go/pkg/plan9_386/runtime.a
		EOF
		cd /tmp/workdir/go/src/cmd/go/testdata/src/complex/nest/sub/vendor/v2
		/tmp/workdir/go/pkg/tool/plan9_386/compile -o $WORK/b008/_pkg_.a -trimpath $WORK/b008 -p complex/nest/sub/vendor/v2 -complete -buildid PSBsUvtTsfbxL1w4FjPP/PSBsUvtTsfbxL1w4FjPP -dwarf=false -D "" -importcfg $WORK/b008/importcfg -pack ./v2.go
		/tmp/workdir/go/pkg/tool/plan9_386/buildid -w $WORK/b008/_pkg_.a # internal
		mkdir -p $WORK/b002/
		cat >$WORK/b002/importcfg << 'EOF' # internal
		importmap v1=complex/nest/vendor/v1
		importmap v2=complex/nest/sub/vendor/v2
		packagefile complex/nest/vendor/v1=$WORK/b003/_pkg_.a
		packagefile complex/nest/sub/vendor/v2=$WORK/b008/_pkg_.a
		packagefile runtime=/tmp/workdir/go/pkg/plan9_386/runtime.a
		EOF
		cd /tmp/workdir/go/src/cmd/go/testdata/src/complex/nest/sub/test12
		/tmp/workdir/go/pkg/tool/plan9_386/compile -o $WORK/b002/_pkg_.a -trimpath $WORK/b002 -p complex/nest/sub/test12 -complete -buildid gXe9Y0IrN2jwtoaajcub/gXe9Y0IrN2jwtoaajcub -dwarf=false -D "" -importcfg $WORK/b002/importcfg -pack ./p.go
		/tmp/workdir/go/pkg/tool/plan9_386/buildid -w $WORK/b002/_pkg_.a # internal
		mkdir -p $WORK/b010/
		cat >$WORK/b010/importcfg << 'EOF' # internal
		packagefile runtime=/tmp/workdir/go/pkg/plan9_386/runtime.a
		EOF
		cd /tmp/workdir/go/src/cmd/go/testdata/src/complex/nest/vendor/v3
		/tmp/workdir/go/pkg/tool/plan9_386/compile -o $WORK/b010/_pkg_.a -trimpath $WORK/b010 -p complex/nest/vendor/v3 -complete -buildid b1tnFJErFPgHdg_tMtzI/b1tnFJErFPgHdg_tMtzI -dwarf=false -D "" -importcfg $WORK/b010/importcfg -pack ./v3.go
		/tmp/workdir/go/pkg/tool/plan9_386/buildid -w $WORK/b010/_pkg_.a # internal
		mkdir -p $WORK/b009/
		cat >$WORK/b009/importcfg << 'EOF' # internal
		importmap v2=complex/nest/sub/vendor/v2
		importmap v3=complex/nest/vendor/v3
		packagefile complex/nest/sub/vendor/v2=$WORK/b008/_pkg_.a
		packagefile complex/nest/vendor/v3=$WORK/b010/_pkg_.a
		packagefile runtime=/tmp/workdir/go/pkg/plan9_386/runtime.a
		EOF
		cd /tmp/workdir/go/src/cmd/go/testdata/src/complex/nest/sub/test23
		/tmp/workdir/go/pkg/tool/plan9_386/compile -o $WORK/b009/_pkg_.a -trimpath $WORK/b009 -p complex/nest/sub/test23 -complete -buildid ckj1RVv_AzUCz6RFyA0R/ckj1RVv_AzUCz6RFyA0R -dwarf=false -D "" -importcfg $WORK/b009/importcfg -pack ./p.go
		/tmp/workdir/go/pkg/tool/plan9_386/buildid -w $WORK/b009/_pkg_.a # internal
		mkdir -p $WORK/b012/
		cat >$WORK/b012/importcfg << 'EOF' # internal
		packagefile runtime=/tmp/workdir/go/pkg/plan9_386/runtime.a
		EOF
		cd /tmp/workdir/go/src/cmd/go/testdata/src/complex/vendor/v
		/tmp/workdir/go/pkg/tool/plan9_386/compile -o $WORK/b012/_pkg_.a -trimpath $WORK/b012 -p complex/vendor/v -complete -buildid nq61HlFmn2FmkvzXMXCu/nq61HlFmn2FmkvzXMXCu -dwarf=false -D "" -importcfg $WORK/b012/importcfg -pack ./v.go
		/tmp/workdir/go/pkg/tool/plan9_386/buildid -w $WORK/b012/_pkg_.a # internal
		mkdir -p $WORK/b001/
		cat >$WORK/b001/importcfg << 'EOF' # internal
		importmap v=complex/vendor/v
		packagefile complex/nest/sub/test12=$WORK/b002/_pkg_.a
		packagefile complex/nest/sub/test23=$WORK/b009/_pkg_.a
		packagefile complex/w=/tmp/gotest243486064/b4/b45c6bf5f2ca094df80c6946b0da8c248f8b74746c128f43949443a2961a134c-d
		packagefile complex/vendor/v=$WORK/b012/_pkg_.a
		packagefile runtime=/tmp/workdir/go/pkg/plan9_386/runtime.a
		EOF
		cd /tmp/workdir/go/src/cmd/go/testdata/src/complex
		/tmp/workdir/go/pkg/tool/plan9_386/compile -o $WORK/b001/_pkg_.a -trimpath $WORK/b001 -p main -complete -buildid 53v12b2i83wlo8skxF2N/53v12b2i83wlo8skxF2N -dwarf=false -D "" -importcfg $WORK/b001/importcfg -pack ./main.go
		/tmp/workdir/go/pkg/tool/plan9_386/buildid -w $WORK/b001/_pkg_.a # internal
		cat >$WORK/b001/importcfg.link << 'EOF' # internal
		packagefile complex=$WORK/b001/_pkg_.a
		packagefile complex/nest/sub/test12=$WORK/b002/_pkg_.a
		packagefile complex/nest/sub/test23=$WORK/b009/_pkg_.a
		packagefile complex/w=/tmp/gotest243486064/b4/b45c6bf5f2ca094df80c6946b0da8c248f8b74746c128f43949443a2961a134c-d
		packagefile complex/vendor/v=$WORK/b012/_pkg_.a
		packagefile runtime=/tmp/workdir/go/pkg/plan9_386/runtime.a
		packagefile complex/nest/vendor/v1=$WORK/b003/_pkg_.a
		packagefile complex/nest/sub/vendor/v2=$WORK/b008/_pkg_.a
		packagefile complex/nest/vendor/v3=$WORK/b010/_pkg_.a
		packagefile runtime/internal/atomic=/tmp/workdir/go/pkg/plan9_386/runtime/internal/atomic.a
		packagefile runtime/internal/sys=/tmp/workdir/go/pkg/plan9_386/runtime/internal/sys.a
		EOF
		mkdir -p $WORK/b001/exe/
		cd .
		/tmp/workdir/go/pkg/tool/plan9_386/link -o $WORK/b001/exe/a.out -importcfg $WORK/b001/importcfg.link -buildmode=exe -buildid=_pS5NLbUfx3IVQFFOTA-/53v12b2i83wlo8skxF2N/wfagzuhH-MMc7fRNMExt/_pS5NLbUfx3IVQFFOTA- -extld=8c $WORK/b001/_pkg_.a
		/tmp/workdir/go/pkg/tool/plan9_386/buildid -w $WORK/b001/exe/a.out # internal
		
	go_test.go:4730: running testgo [build -o /dev/null -x complex]
	go_test.go:4730: standard error:
	go_test.go:4730: WORK=/tmp/go-build555282900
		mkdir -p $WORK/b001/
		cat >$WORK/b001/importcfg.link << 'EOF' # internal
		packagefile complex=/tmp/gotest243486064/1c/1c8c3414aafb228a08ed53d79082d81fc4f67231cbc29883f56ef9a1e86efa21-d
		packagefile complex/nest/sub/test12=/tmp/gotest243486064/e4/e4bbe4d8d88ed120426b0b2ba0f7c0e002baf6af77527e0fd96f8a486e5b033d-d
		packagefile complex/nest/sub/test23=/tmp/gotest243486064/cc/ccf8e65d86c08c10fdb4ab6fee3ce87c23fd859ceaad43ca82072fbe882b6d38-d
		packagefile complex/w=/tmp/gotest243486064/b4/b45c6bf5f2ca094df80c6946b0da8c248f8b74746c128f43949443a2961a134c-d
		packagefile complex/vendor/v=/tmp/gotest243486064/57/57f0cecba8471d893e0e4b69117e909afe0c93235198e1c6f2acb6776eb3d231-d
		packagefile runtime=/tmp/workdir/go/pkg/plan9_386/runtime.a
		packagefile complex/nest/vendor/v1=/tmp/gotest243486064/de/ded9f3f2e2c5411c29117e9a63d6b4abc6a243a5fb728dd6974f4570d8ff03f5-d
		packagefile complex/nest/sub/vendor/v2=/tmp/gotest243486064/38/38e1170ac8c4d21ee935d8f6f95ad57f39b2e43d3caac4319fdc45e2cc9a7969-d
		packagefile complex/nest/vendor/v3=/tmp/gotest243486064/c8/c81f77e1791c122e24b283b9cef87731eda491dbd3a9a76b8076ebd5abd63765-d
		packagefile runtime/internal/atomic=/tmp/workdir/go/pkg/plan9_386/runtime/internal/atomic.a
		packagefile runtime/internal/sys=/tmp/workdir/go/pkg/plan9_386/runtime/internal/sys.a
		EOF
		mkdir -p $WORK/b001/exe/
		cd .
		/tmp/workdir/go/pkg/tool/plan9_386/link -o $WORK/b001/exe/a.out -importcfg $WORK/b001/importcfg.link -buildmode=exe -buildid=_pS5NLbUfx3IVQFFOTA-/53v12b2i83wlo8skxF2N/wfagzuhH-MMc7fRNMExt/_pS5NLbUfx3IVQFFOTA- -extld=8c /tmp/gotest243486064/1c/1c8c3414aafb228a08ed53d79082d81fc4f67231cbc29883f56ef9a1e86efa21-d
		/tmp/workdir/go/pkg/tool/plan9_386/buildid -w $WORK/b001/exe/a.out # internal
		
	go_test.go:4733: remove /tmp/gotest243486064: directory not empty
FAIL
FAIL	cmd/go	213.356s

See https://build.golang.org/log/5d60306dba3a6090b2f1f630f562ebf1ae872645

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions