cmd/go: TestScript/get_brace: path "$WORK/tmp/ssh-wwIxCtBYvdEE/agent.13077" too long for Unix domain socket #43635
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Testing
An issue that has been verified to require only test changes, not just a test failure.
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Pulled latest version of go and built using
./all.bash
on an Apple Silicon Mac miniWhat did you expect to see?
What did you see instead?
The path being used is 138 bytes long:
From the UNIX(4) manual page on MacOS says:
UNIX-domain addresses are variable-length filesystem pathnames of at most 104 characters.
On Linux the same manual page says:
The sun_family field always contains AF_UNIX. On Linux sun_path is 108 bytes in size; see also NOTES, below.
The value of TMPDIR is
/var/folders/nv/mw87lzt57nbbmpnpv5rvchj40000gn/T
. The part that Go is adding is 90 bytes long.Building using the following:
Does work.
This test's multiple levels of unique temporary directories seems a bit excessive.
The text was updated successfully, but these errors were encountered: