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

govulncheck-action: tar errors "Cannot open: File exists" #66888

Open
seanhagen opened this issue Apr 18, 2024 · 1 comment
Open

govulncheck-action: tar errors "Cannot open: File exists" #66888

seanhagen opened this issue Apr 18, 2024 · 1 comment
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. vulncheck or vulndb Issues for the x/vuln or x/vulndb repo WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.

Comments

@seanhagen
Copy link

Go version

1.22.2

Output of go env in your module/workspace:

GO111MODULE='on'
GOARCH='amd64'
GOBIN='/home/sean/.local/share/mise/installs/go/1.22.2/bin'
GOCACHE='/home/sean/.cache/go-build'
GOENV='/home/sean/.config/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS=''
GOHOSTARCH='amd64'
GOHOSTOS='linux'
GOINSECURE=''
GOMODCACHE='/home/sean/Code/Go/pkg/mod'
GONOPROXY='github.com/fclimited/*,github.com/Z2hMedia/*'
GONOSUMDB='github.com/fclimited/*,github.com/Z2hMedia/*'
GOOS='linux'
GOPATH='/home/sean/Code/Go'
GOPRIVATE='github.com/fclimited/*,github.com/Z2hMedia/*'
GOPROXY='https://proxy.golang.org,direct'
GOROOT='/home/sean/.local/share/mise/installs/go/1.22.2'
GOSUMDB='sum.golang.org'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/home/sean/.local/share/mise/installs/go/1.22.2/pkg/tool/linux_amd64'
GOVCS=''
GOVERSION='go1.22.2'
GCCGO='gccgo'
GOAMD64='v1'
AR='ar'
CC='gcc'
CXX='g++'
CGO_ENABLED='1'
GOMOD='/home/sean/Code/Go/src/github.com/seanhagen/endless_stream/go.mod'
GOWORK=''
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
PKG_CONFIG='pkg-config'
GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build2295829755=/tmp/go-build -gno-record-gcc-switches'

What did you do?

Run govulncheck in a GitHub Action.

What did you see happen?

Lots of lines saying "Cannot open: file exists", but some are errors:

/usr/bin/tar: ../../../go/pkg/mod/agones.dev/agones@v1.38.0/examples/cpp-simple/gameserver.yaml: Cannot open: File exists
/usr/bin/tar: ../../../go/pkg/mod/agones.dev/agones@v1.38.0/examples/cpp-simple/fleet.yaml: Cannot open: File exists
/usr/bin/tar: ../../../go/pkg/mod/agones.dev/agones@v1.38.0/examples/allocator-client/README.md: Cannot open: File exists
Error: /usr/bin/tar: ../../../go/pkg/mod/agones.dev/agones@v1.38.0/examples/allocator-client/main.go: Cannot open: File exists
/usr/bin/tar: ../../../go/pkg/mod/agones.dev/agones@v1.38.0/examples/webhookfleetautoscaler.yaml: Cannot open: File exists
/usr/bin/tar: ../../../go/pkg/mod/agones.dev/agones@v1.38.0/cloudbuild.yaml: Cannot open: File exists
/usr/bin/tar: ../../../go/pkg/mod/agones.dev/agones@v1.38.0/README.md: Cannot open: File exists
/usr/bin/tar: ../../../go/pkg/mod/agones.dev/agones@v1.38.0/ci/e2e-test-cloudbuild.yaml: Cannot open: File exists
/usr/bin/tar: ../../../go/pkg/mod/agones.dev/agones@v1.38.0/ci/cancelot.sh: Cannot open: File exists
/usr/bin/tar: ../../../go/pkg/mod/agones.dev/agones@v1.38.0/ci/perf-test-cloudbuild.yaml: Cannot open: File exists
Error: /usr/bin/tar: ../../../go/pkg/mod/agones.dev/agones@v1.38.0/cmd/ping/udp_test.go: Cannot open: File exists
/usr/bin/tar: ../../../go/pkg/mod/agones.dev/agones@v1.38.0/cmd/ping/Dockerfile: Cannot open: File exists
Error: /usr/bin/tar: ../../../go/pkg/mod/agones.dev/agones@v1.38.0/cmd/ping/main.go: Cannot open: File exists
Error: /usr/bin/tar: ../../../go/pkg/mod/agones.dev/agones@v1.38.0/cmd/ping/udp.go: Cannot open: File exists
Error: /usr/bin/tar: ../../../go/pkg/mod/agones.dev/agones@v1.38.0/cmd/extensions/pprof.go: Cannot open: File exists
/usr/bin/tar: ../../../go/pkg/mod/agones.dev/agones@v1.38.0/cmd/extensions/Dockerfile: Cannot open: File exists
Error: /usr/bin/tar: ../../../go/pkg/mod/agones.dev/agones@v1.38.0/cmd/extensions/main.go: Cannot open: File exists
/usr/bin/tar: ../../../go/pkg/mod/agones.dev/agones@v1.38.0/cmd/sdk-server/Dockerfile.windows: Cannot open: File exists
Error: /usr/bin/tar: ../../../go/pkg/mod/agones.dev/agones@v1.38.0/cmd/sdk-server/main_test.go: Cannot open: File exists
/usr/bin/tar: ../../../go/pkg/mod/agones.dev/agones@v1.38.0/cmd/sdk-server/Dockerfile: Cannot open: File exists
Error: /usr/bin/tar: ../../../go/pkg/mod/agones.dev/agones@v1.38.0/cmd/sdk-server/main.go: Cannot open: File exists
Error: /usr/bin/tar: ../../../go/pkg/mod/agones.dev/agones@v1.38.0/cmd/allocator/metrics.go: Cannot open: File exists
Error: /usr/bin/tar: ../../../go/pkg/mod/agones.dev/agones@v1.38.0/cmd/allocator/main_test.go: Cannot open: File exists
/usr/bin/tar: ../../../go/pkg/mod/agones.dev/agones@v1.38.0/cmd/allocator/Dockerfile: Cannot open: File exists
Error: /usr/bin/tar: ../../../go/pkg/mod/agones.dev/agones@v1.38.0/cmd/allocator/main.go: Cannot open: File exists
Error: /usr/bin/tar: ../../../go/pkg/mod/agones.dev/agones@v1.38.0/cmd/controller/pprof.go: Cannot open: File exists
Error: /usr/bin/tar: ../../../go/pkg/mod/agones.dev/agones@v1.38.0/cmd/controller/main_test.go: Cannot open: File exists
/usr/bin/tar: ../../../go/pkg/mod/agones.dev/agones@v1.38.0/cmd/controller/Dockerfile: Cannot open: File exists
Error: /usr/bin/tar: ../../../go/pkg/mod/agones.dev/agones@v1.38.0/cmd/controller/main.go: Cannot open: File exists
/usr/bin/tar: ../../../go/pkg/mod/agones.dev/agones@v1.38.0/OWNERS: Cannot open: File exists
/usr/bin/tar: ../../../go/pkg/mod/agones.dev/agones@v1.38.0/.dockerignore: Cannot open: File exists
Error: /usr/bin/tar: ../../../go/pkg/mod/agones.dev/agones@v1.38.0/doc.go: Cannot open: File exists
/usr/bin/tar: ../../../go/pkg/mod/agones.dev/agones@v1.38.0/build/Makefile: Cannot open: File exists
/usr/bin/tar: ../../../go/pkg/mod/agones.dev/agones@v1.38.0/build/terraform/e2e/module.tf: Cannot open: File exists

image

What did you expect to see?

If some of the "Cannot open: file exists" aren't errors, none of them should be.

@cherrymui cherrymui added vulncheck or vulndb Issues for the x/vuln or x/vulndb repo NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. labels Apr 19, 2024
@cherrymui
Copy link
Member

What repo are you running on? Could you share your configuration? Thanks.

@cherrymui cherrymui added the WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. label Apr 19, 2024
@cherrymui cherrymui added this to the vuln/unplanned milestone Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. vulncheck or vulndb Issues for the x/vuln or x/vulndb repo WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Projects
None yet
Development

No branches or pull requests

2 participants