x/build: git http-backend
on linux-loong64-3a5000
fails with GIT_PROJECT_ROOT is set but PATH_INFO is not
#59984
Labels
arch-loong64
Issues solely affecting the loongson architecture.
Builders
x/build issues (builders, bots, dashboards)
FrozenDueToAge
NeedsFix
The path to resolution is known, but the work has not been done.
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
Milestone
The
linux-loong64-3a5000
builder started failing as of https://go.dev/cl/491659.https://build.golang.org/log/2c3437d386796f3252381ab1d3ed9051681bf513:
The HTTP handler is run using a
net/http/cgi.Handler
viacmd/go/internal/vcweb
:https://cs.opensource.google/go/go/+/master:src/cmd/go/internal/vcweb/git.go;l=40-49;drc=57f9ed5f12ba395fa55880305bc11e1db840f36c
The
cgi.Handler
unconditionally setsPATH_INFO
:https://cs.opensource.google/go/go/+/master:src/net/http/cgi/host.go;l=118-147;drc=ffa663c9b3c942cbde590bb792179dcca52224b7
So this looks like a bug on
loong64
where either that environment variable is not being passed to thegit
command correctly, or thegit
command is not reading it correctly.(attn @golang/loong64)
The text was updated successfully, but these errors were encountered: