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

x/build: os.TestUserConfigDir failing on freebsd-arm-paulzhol #62223

Closed
bcmills opened this issue Aug 22, 2023 · 2 comments
Closed

x/build: os.TestUserConfigDir failing on freebsd-arm-paulzhol #62223

bcmills opened this issue Aug 22, 2023 · 2 comments
Labels
arch-arm Issues solely affecting the 32-bit arm architecture. Builders x/build issues (builders, bots, dashboards) NeedsFix The path to resolution is known, but the work has not been done. OS-FreeBSD
Milestone

Comments

@bcmills
Copy link
Member

bcmills commented Aug 22, 2023

For #57638, https://go.dev/cl/520262 added tests for a couple of previously-untested functions in the os package.

TestUserConfigDir is currently failing on the freebsd-arm-paulzhol builder with EROFS:
https://build.golang.org/log/b036bd49870c10c9b4ec9806283065b48eb5e04d

I see from the log that that builder has an explicit entry in its environment for XDG_CACHE_HOME. I think the builder could be fixed by also setting XDG_CONFIG_HOME in the builder's environment.

(attn @paulzhol)

@bcmills bcmills added OS-FreeBSD Builders x/build issues (builders, bots, dashboards) NeedsFix The path to resolution is known, but the work has not been done. arch-arm Issues solely affecting the 32-bit arm architecture. labels Aug 22, 2023
@gopherbot gopherbot added this to the Unreleased milestone Aug 22, 2023
@paulzhol
Copy link
Member

I've set XDG_DATA_HOME=/tmp/home_data XDG_CONFIG_HOME=/tmp/home_config in addition to XDG_CACHE_HOME=/tmp/cache. Lets see how it goes.

@bcmills bcmills added the WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. label Aug 23, 2023
@bcmills
Copy link
Member Author

bcmills commented Aug 23, 2023

The most recent test run is still in progress, but so far it has made it past the os package, so this appears to be fixed. Thanks!

@bcmills bcmills closed this as completed Aug 23, 2023
@bcmills bcmills removed the WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. label Aug 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch-arm Issues solely affecting the 32-bit arm architecture. Builders x/build issues (builders, bots, dashboards) NeedsFix The path to resolution is known, but the work has not been done. OS-FreeBSD
Projects
None yet
Development

No branches or pull requests

3 participants