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

[Go][CI] Nightly verification tasks fail due to lack of permissions cleaning environment #38200

Closed
raulcd opened this issue Oct 11, 2023 · 3 comments · Fixed by #38222
Closed

Comments

@raulcd
Copy link
Member

raulcd commented Oct 11, 2023

Describe the bug, including details regarding any error messages, version, and platform.

Some verification nightly tasks are failing due to lack of permissions when cleaning up environment:

Release candidate HEAD-RC looks good!
rm: /var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/arrow-HEAD.XXXXX.bLZitapq/gopath/pkg/mod/golang.org/x/sys@v0.12.0/go.mod: Permission denied
rm: /var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/arrow-HEAD.XXXXX.bLZitapq/gopath/pkg/mod/golang.org/x/sys@v0.12.0/plan9/str.go: Permission denied
rm: /var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/arrow-HEAD.XXXXX.bLZitapq/gopath/pkg/mod/golang.org/x/sys@v0.12.0/plan9/syscall_plan9.go: Permission denied
rm: /var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/arrow-HEAD.XXXXX.bLZitapq/gopath/pkg/mod/golang.org/x/sys@v0.12.0/plan9/zsyscall_plan9_386.go: Permission denied
rm: /var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/arrow-HEAD.XXXXX.bLZitapq/gopath/pkg/mod/golang.org/x/sys@v0.12.0/plan9/zsysnum_plan9.go: Permission denied

Component(s)

Continuous Integration, Go

@raulcd
Copy link
Member Author

raulcd commented Oct 11, 2023

@kou @zeroshade a couple of those seem to have just started failing yesterday, but I can't see what could be the cause from the commits here: 293819c...0f7c569

@kou
Copy link
Member

kou commented Oct 11, 2023

kou added a commit that referenced this issue Oct 12, 2023
### Rationale for this change

Module caches don't have write permission by owner. So we can remove them by `rm -rf`.

### What changes are included in this PR?

Run `go clean -modcache` after all builds.

### Are these changes tested?

Yes.

### Are there any user-facing changes?

No.
* Closes: #38200

Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
@kou kou added this to the 14.0.0 milestone Oct 12, 2023
raulcd pushed a commit that referenced this issue Oct 12, 2023
### Rationale for this change

Module caches don't have write permission by owner. So we can remove them by `rm -rf`.

### What changes are included in this PR?

Run `go clean -modcache` after all builds.

### Are these changes tested?

Yes.

### Are there any user-facing changes?

No.
* Closes: #38200

Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
@zeroshade
Copy link
Member

Great find @kou! thanks for figuring that out

llama90 pushed a commit to llama90/arrow that referenced this issue Oct 12, 2023
…pache#38222)

### Rationale for this change

Module caches don't have write permission by owner. So we can remove them by `rm -rf`.

### What changes are included in this PR?

Run `go clean -modcache` after all builds.

### Are these changes tested?

Yes.

### Are there any user-facing changes?

No.
* Closes: apache#38200

Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
JerAguilon pushed a commit to JerAguilon/arrow that referenced this issue Oct 23, 2023
…pache#38222)

### Rationale for this change

Module caches don't have write permission by owner. So we can remove them by `rm -rf`.

### What changes are included in this PR?

Run `go clean -modcache` after all builds.

### Are these changes tested?

Yes.

### Are there any user-facing changes?

No.
* Closes: apache#38200

Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
loicalleyne pushed a commit to loicalleyne/arrow that referenced this issue Nov 13, 2023
…pache#38222)

### Rationale for this change

Module caches don't have write permission by owner. So we can remove them by `rm -rf`.

### What changes are included in this PR?

Run `go clean -modcache` after all builds.

### Are these changes tested?

Yes.

### Are there any user-facing changes?

No.
* Closes: apache#38200

Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
dgreiss pushed a commit to dgreiss/arrow that referenced this issue Feb 19, 2024
…pache#38222)

### Rationale for this change

Module caches don't have write permission by owner. So we can remove them by `rm -rf`.

### What changes are included in this PR?

Run `go clean -modcache` after all builds.

### Are these changes tested?

Yes.

### Are there any user-facing changes?

No.
* Closes: apache#38200

Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants