Skip to content

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

Not planned
@seanhagen

Description

@seanhagen

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.

Activity

added
vulncheck or vulndbIssues for the x/vuln or x/vulndb repo
NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.
on Apr 19, 2024
cherrymui

cherrymui commented on Apr 19, 2024

@cherrymui
Member

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

added
WaitingForInfoIssue is not actionable because of missing required information, which needs to be provided.
on Apr 19, 2024
added this to the vuln/unplanned milestone on Apr 19, 2024
gopherbot

gopherbot commented on May 19, 2024

@gopherbot
Contributor

Timed out in state WaitingForInfo. Closing.

(I am just a bot, though. Please speak up if this is a mistake or you have the requested information.)

locked and limited conversation to collaborators on May 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.WaitingForInfoIssue is not actionable because of missing required information, which needs to be provided.vulncheck or vulndbIssues for the x/vuln or x/vulndb repo

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @seanhagen@gopherbot@cherrymui

        Issue actions

          govulncheck-action: tar errors "Cannot open: File exists" · Issue #66888 · golang/go