Skip to content

cmd/go: TestScript/get_issue53955 failing on builders with git < 2.32.0 #64603

Closed
@bcmills

Description

@bcmills

Go version

5e724cc

What operating system and processor architecture are you using (go env)?

linux-386-longtest at 5e724ccb2b092a6bc294b63c4e33ed1da317ca87

:: Running /workdir/go/src/make.bash with args ["/workdir/go/src/make.bash" "-force"] and env ["HOSTNAME=buildlet-linux-amd64-bullseye-rnf881bdb" "HOME=/root" "SHLVL=0" "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" "DEBIAN_FRONTEND=noninteractive" "USER=root" "GO_STAGE0_NET_DELAY=0s" "GO_STAGE0_DL_DELAY=200ms" "WORKDIR=/workdir" "GOROOT_BOOTSTRAP=/workdir/go1.4" "GO_BUILDER_NAME=linux-386-longtest" "GO_TEST_SHORT=0" "GOARCH=386" "GOHOSTARCH=386" "GO_TEST_TIMEOUT_SCALE=5" "GOBIN=" "TMPDIR=/workdir/tmp" "GOCACHE=/workdir/gocache" "GOPLSCACHE=/workdir/goplscache" "PWD=/workdir/go/src"] in dir /workdir/go/src

What did you do?

https://build.golang.org/log/e630401a8d4e84078c48ea93d992d990e1f04868

What did you expect to see?

Passing tests.

What did you see instead?

--- FAIL: TestScript (0.06s)
    --- FAIL: TestScript/get_issue53955 (0.00s)
        script_test.go:132: 2023-12-07T01:41:22Z
        script_test.go:134: $WORK=/workdir/tmp/cmd-go-test-4072317620/tmpdir4236981540/get_issue539551246582874
        script_test.go:156: 
            # Regression test for https://go.dev/issue/53955.
            # New remote tags were erroneously added to the local clone of a repo
            # only *after* extracting version information for a locally-cached commit,
            # causing the version information to have incomplete Tags and Version fields. (0.002s)
            > [short] skip 'constructs a local git repo'
            [condition not met]
            > [!git] skip
            [condition not met]
            > [!net:github.com] skip 'does not actually use github.com because of insteadOf, but silence network check just in case'
            [condition not met]
            > env GIT_CONFIG_GLOBAL=$WORK/.gitconfig
            > env GIT_ALLOW_PROTOCOL=file
            > env GOPRIVATE=github.com/golang/issue53955
            > [!GOOS:windows] exec git config --global 'url.file://'$WORK'/repo.insteadOf' 'https://github.com/golang/issue53955'
            [stderr]
            error: could not lock config file /no-home/.gitconfig: No such file or directory
        script_test.go:156: FAIL: testdata/script/get_issue53955.txt:14: exec git config --global url.file:///workdir/tmp/cmd-go-test-4072317620/tmpdir4236981540/get_issue539551246582874/repo.insteadOf https://github.com/golang/issue53955: exit status 255
FAIL
FAIL	cmd/go	238.095s

Metadata

Metadata

Assignees

Labels

FixPendingIssues that have a fix which has not yet been reviewed or submitted.FrozenDueToAgeGoCommandcmd/goNeedsFixThe path to resolution is known, but the work has not been done.SoonThis needs action soon. (recent regressions, service outages, unusual time-sensitive situations)TestingAn issue that has been verified to require only test changes, not just a test failure.release-blocker

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions