Skip to content

go 1.16: unexplained crash on go test or go run #45714

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

Closed
alexec opened this issue Apr 22, 2021 · 8 comments
Closed

go 1.16: unexplained crash on go test or go run #45714

alexec opened this issue Apr 22, 2021 · 8 comments
Labels
FrozenDueToAge WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.

Comments

@alexec
Copy link

alexec commented Apr 22, 2021

What version of Go are you using (go version)?

$ go version

go version go1.16.3 linux/amd64

Does this issue reproduce with the latest release?

What operating system and processor architecture are you using (go env)?

go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/runner/.cache/go-build"
GOENV="/home/runner/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/home/runner/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/runner/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/opt/hostedtoolcache/go/1.16.3/x64"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/opt/hostedtoolcache/go/1.16.3/x64/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="go1.16.3"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/home/runner/work/argo-dataflow/argo-dataflow/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build1118289414=/tmp/go-build -gno-record-gcc-switches"

What did you do?

What did you expect to see?

I should be able to run tests fine. Instead I get exit code 1 and no other diagnostics.

What did you see instead?

packagefile golang.org/x/crypto/ssh/terminal=/home/runner/.cache/go-build/bd/bd8d0ee6f6144960dad64fc39b13e9d3d060dcf919dc7d0c7377674c4e7cddd8-d
packagefile k8s.io/client-go/pkg/apis/clientauthentication=/home/runner/.cache/go-build/8c/8c1f8c0197e1fdd490c43368d308162bc2b7a62bfc94d2d66abada1f534802d7-d
packagefile k8s.io/client-go/pkg/apis/clientauthentication/v1alpha1=/home/runner/.cache/go-build/b7/b7046dd50da1497f1b2804aaa5174cebcfc88a782f8357dbd800638c04f25797-d
packagefile k8s.io/client-go/pkg/apis/clientauthentication/v1beta1=/home/runner/.cache/go-build/eb/ebaf9fce611fe31b62b473b3959d5604f521b02050f5948c7cd95bb85c27913c-d
packagefile k8s.io/client-go/util/connrotation=/home/runner/.cache/go-build/30/30b945468bc5017376372dcfaef926dab3a9e6f3fe3d90916cc508e4b5758742-d
packagefile k8s.io/apimachinery/pkg/util/wait=/home/runner/.cache/go-build/62/62aaccf68c911e5580aad4d9d27132707433d499fbeffb5e8640826bc05b7cb0-d
packagefile k8s.io/client-go/util/workqueue=/home/runner/.cache/go-build/41/41171becffb1d18ae33dd80960a4d472b12e81b0e0d2597a541014ba2d6aa484-d
packagefile crypto/x509/pkix=/opt/hostedtoolcache/go/1.16.3/x64/pkg/linux_amd64/crypto/x509/pkix.a
packagefile k8s.io/client-go/util/keyutil=/home/runner/.cache/go-build/20/2015910472604069fab00acf199438f291d58a5934d4bf14c8ab72147b63f3be-d
packagefile vendor/golang.org/x/net/dns/dnsmessage=/opt/hostedtoolcache/go/1.16.3/x64/pkg/linux_amd64/vendor/golang.org/x/net/dns/dnsmessage.a
packagefile internal/nettrace=/opt/hostedtoolcache/go/1.16.3/x64/pkg/linux_amd64/internal/nettrace.a
packagefile internal/singleflight=/opt/hostedtoolcache/go/1.16.3/x64/pkg/linux_amd64/internal/singleflight.a
packagefile runtime/cgo=/opt/hostedtoolcache/go/1.16.3/x64/pkg/linux_amd64/runtime/cgo.a
packagefile k8s.io/apimachinery/pkg/util/httpstream/spdy=/home/runner/.cache/go-build/22/2286dc3d03de0dff184161fcfc2d7e904b99214cb6a98554a3fd25af567c3602-d
packagefile k8s.io/apimachinery/pkg/util/mergepatch=/home/runner/.cache/go-build/ee/ee46a8b9d73864f8d2463a7631196d65a676212fb94307876d5d86991468a1ef-d
packagefile k8s.io/apimachinery/third_party/forked/golang/json=/home/runner/.cache/go-build/e5/e5d59c89dbe306f507773091965a88b52fbde2a0fc761fb0c645e5ac3e110567-d
packagefile k8s.io/kube-openapi/pkg/util/proto=/home/runner/.cache/go-build/2b/2be0c7a4778d5fdb850f5b907abb1a43e2baab6215d69afc07ab66a47c30ba63-d
packagefile github.com/pkg/errors=/home/runner/.cache/go-build/59/59fa41de248a1261948b7b7653682e0ae0a4d3075b9b086e065d006a529d641b-d
packagefile k8s.io/apimachinery/pkg/apis/meta/internalversion/scheme=/home/runner/.cache/go-build/d7/d778d9fe657706777246fca5ded392991b8e13c526d15748fc4e697146775efe-d
packagefile k8s.io/client-go/restmapper=/home/runner/.cache/go-build/f6/f64c2cdefb18edc86f759fa931f02e4414bdf844a114c5d3c21812d40483f606-d
packagefile text/template/parse=/opt/hostedtoolcache/go/1.16.3/x64/pkg/linux_amd64/text/template/parse.a
packagefile regexp/syntax=/opt/hostedtoolcache/go/1.16.3/x64/pkg/linux_amd64/regexp/syntax.a
packagefile github.com/modern-go/concurrent=/home/runner/.cache/go-build/e5/e59628bd8244db67b3cb6a05ddc7d0d5af4c3b261102d96712d59ea6eaf1ef4b-d
packagefile github.com/modern-go/reflect2=/home/runner/.cache/go-build/14/14abca5d568b96c568694ebb1a5936b9479067bea26c4495c5a0751e3873fce5-d
packagefile google.golang.org/protobuf/encoding/prototext=/home/runner/.cache/go-build/60/60cf8fabbdad26168b3b50f442ad2b187373e8659539b8c266a7142b54cbbbc9-d
packagefile google.golang.org/protobuf/encoding/protowire=/home/runner/.cache/go-build/23/2314d0017742816dd9f899d145d972db9dda575ab5e745ca6f8c43402dd6bf61-d
packagefile google.golang.org/protobuf/proto=/home/runner/.cache/go-build/96/969dad758d874203fdf26f2d2953a314f2adc03bf353de98b42a641d3105147a-d
packagefile google.golang.org/protobuf/reflect/protoreflect=/home/runner/.cache/go-build/e3/e309b263fb8c2f7a3417269a3136b175dbe3da842c06572991425e864ef542d0-d
packagefile google.golang.org/protobuf/reflect/protoregistry=/home/runner/.cache/go-build/8c/8c7b52a9fb48b7427ea63809ea8596526e6a45d352e8d304375a5309eee4a0b8-d
packagefile google.golang.org/protobuf/runtime/protoiface=/home/runner/.cache/go-build/fa/fa5291ccda99013526e7c9ddef16e7f7b2d460703cbb6c64d9111291c66f3b3c-d
packagefile google.golang.org/protobuf/runtime/protoimpl=/home/runner/.cache/go-build/5f/5f0725ba6a2cd6982d11140d72117964f1ac29ade6393182d021d41b875acd29-d
packagefile github.com/golang/protobuf/ptypes/any=/home/runner/.cache/go-build/b5/b50bb891fbb33e317cd10a22afc0576023eeda89636f8f367f305505d1f041e9-d
packagefile github.com/googleapis/gnostic/compiler=/home/runner/.cache/go-build/f4/f4880e90acf54a53e08b99a6d5822e32a18e10b65cbba67b9420a0fe7de5d3bb-d
packagefile gopkg.in/yaml.v3=/home/runner/.cache/go-build/22/22b3400d610c4de8b961b3f7c493369e28e92ae35011a9e2e43b9647bca64560-d
packagefile k8s.io/apimachinery/pkg/util/framer=/home/runner/.cache/go-build/98/98ec66224ff0367f411c82fda4f24a282c3e0c25f8a632dd8f4588e606a9c424-d
packagefile golang.org/x/net/context/ctxhttp=/home/runner/.cache/go-build/e9/e9e9dabd05f49d6558924a4b698d63b191e36fa3adb7a9e609aede59a5515bfd-d
packagefile crypto/internal/randutil=/opt/hostedtoolcache/go/1.16.3/x64/pkg/linux_amd64/crypto/internal/randutil.a
packagefile compress/flate=/opt/hostedtoolcache/go/1.16.3/x64/pkg/linux_amd64/compress/flate.a
packagefile hash/crc32=/opt/hostedtoolcache/go/1.16.3/x64/pkg/linux_amd64/hash/crc32.a
packagefile vendor/golang.org/x/text/secure/bidirule=/opt/hostedtoolcache/go/1.16.3/x64/pkg/linux_amd64/vendor/golang.org/x/text/secure/bidirule.a
packagefile vendor/golang.org/x/text/unicode/bidi=/opt/hostedtoolcache/go/1.16.3/x64/pkg/linux_amd64/vendor/golang.org/x/text/unicode/bidi.a
packagefile vendor/golang.org/x/text/unicode/norm=/opt/hostedtoolcache/go/1.16.3/x64/pkg/linux_amd64/vendor/golang.org/x/text/unicode/norm.a
packagefile mime/quotedprintable=/opt/hostedtoolcache/go/1.16.3/x64/pkg/linux_amd64/mime/quotedprintable.a
packagefile sigs.k8s.io/controller-runtime/pkg/internal/controller=/home/runner/.cache/go-build/41/41616ae369b7123a672f571c1d74db57929088cf0189382a5d84876e3d7f71ef-d
packagefile sigs.k8s.io/controller-runtime/pkg/ratelimiter=/home/runner/.cache/go-build/c0/c0c6a80212e96c98b73adb05685d3e355e070a30d6957f0c13e29e3123a0cf3b-d
packagefile sigs.k8s.io/controller-runtime/pkg/event=/home/runner/.cache/go-build/d1/d1d3e19cea15bc41a39c063881553aed616d639b21476f6ca8f916fbf902c906-d
packagefile sigs.k8s.io/controller-runtime/pkg/source/internal=/home/runner/.cache/go-build/ae/ae8bb658cf31f7f789a11c547315332591a7530ab1ec2256de0b459c8cc0d846-d
packagefile gomodules.xyz/jsonpatch/v2=/home/runner/.cache/go-build/f7/f7a3c423c7536d4f4265a9568f8b49457c86b3b95371279dabe8d8002886e7df-d
packagefile k8s.io/api/admission/v1=/home/runner/.cache/go-build/ec/ec5e27070597f3f2c063847fd7fbeff20ce185c0cf3602dd5926601dd697a71d-d
packagefile k8s.io/api/admission/v1beta1=/home/runner/.cache/go-build/42/424f4deb917ea3aee709b6aa8cdbea3c69e5a134cf38f43623f91bffe5859a77-d
packagefile k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1=/home/runner/.cache/go-build/91/914637086546b1288ec8abed43c472a9085764ed398cd239a18d3f93057d45a9-d
packagefile sigs.k8s.io/controller-runtime/pkg/conversion=/home/runner/.cache/go-build/e6/e6f7df94b94eeed11d5109374cf5a762c395bbcf7ea800ea4a981e179d04c271-d
packagefile github.com/imdario/mergo=/home/runner/.cache/go-build/23/23825ee80d0acf195ec8733e1bc0b758552e9613e235b8d2802e448e81e4a5a4-d
packagefile github.com/spf13/pflag=/home/runner/.cache/go-build/0a/0a4f820b1b1a9a65a4ccc920c08e27752995120fa946e11883de0a962635aa6f-d
packagefile k8s.io/client-go/tools/auth=/home/runner/.cache/go-build/48/48932cbef24aa8f76151a7ce8b07a41463d66d47230b195695a0b343c6892ce0-d
packagefile k8s.io/client-go/tools/clientcmd/api/latest=/home/runner/.cache/go-build/6f/6ffe8b822a35882c05645929a8686a95493181e00e3b61ec80ad601670fd52a6-d
packagefile k8s.io/client-go/util/homedir=/home/runner/.cache/go-build/b2/b2f7ebe06cc5a4e6f9c429de1f03f954f085a4ccdf8609f0a4690fe8c1c7b7da-d
packagefile k8s.io/component-base/config/v1alpha1=/home/runner/.cache/go-build/55/559bb06cbe6364abe4e475451b1dd34fa20583d7f89c71b501a589bbe1c0fa02-d
packagefile github.com/prometheus/client_golang/prometheus=/home/runner/.cache/go-build/f4/f40ccff22cddd6431c672821498da42fb3ed0aa1ce95c6a1ddc99977040a06d2-d
packagefile github.com/prometheus/client_model/go=/home/runner/.cache/go-build/5a/5a00def680e1741f2f420b349c4de30ade760566c7db25af2ba89a894dccff51-d
packagefile github.com/prometheus/common/expfmt=/home/runner/.cache/go-build/e3/e329a28c93dc1f48b4c3c3feeac8fd42874eff2b858366785d0ab2998422e933-d
packagefile k8s.io/client-go/tools/cache=/home/runner/.cache/go-build/c8/c8347b256c973a7431022762b4a409c3d741c05bcb6523def857bc91e2c8d1e2-d
packagefile sigs.k8s.io/controller-runtime/pkg/cache/internal=/home/runner/.cache/go-build/ae/aefcd130836bd3a56e68a46bc9206011db6cae80937d0dcf87b5a45f43bd735d-d
packagefile k8s.io/apimachinery/pkg/util/uuid=/home/runner/.cache/go-build/22/22dc9e147cb322cf30a921429281ff9fde9d337851f90b6337cb41343099d08d-d
packagefile sigs.k8s.io/controller-runtime/pkg/webhook/internal/certwatcher=/home/runner/.cache/go-build/e3/e3ca41e10fa336a06bf9550285c18d68f56d51697806c56a33010456b2dd065f-d
packagefile sigs.k8s.io/controller-runtime/pkg/webhook/internal/metrics=/home/runner/.cache/go-build/9d/9df7935d513cffc4e5a4448ed2401c52066a9a728bdfd093339b66201ff0346e-d
packagefile crypto/internal/subtle=/opt/hostedtoolcache/go/1.16.3/x64/pkg/linux_amd64/crypto/internal/subtle.a
packagefile vendor/golang.org/x/crypto/cryptobyte/asn1=/opt/hostedtoolcache/go/1.16.3/x64/pkg/linux_amd64/vendor/golang.org/x/crypto/cryptobyte/asn1.a
packagefile crypto/ed25519/internal/edwards25519=/opt/hostedtoolcache/go/1.16.3/x64/pkg/linux_amd64/crypto/ed25519/internal/edwards25519.a
packagefile crypto/dsa=/opt/hostedtoolcache/go/1.16.3/x64/pkg/linux_amd64/crypto/dsa.a
packagefile encoding/asn1=/opt/hostedtoolcache/go/1.16.3/x64/pkg/linux_amd64/encoding/asn1.a
packagefile vendor/golang.org/x/crypto/chacha20=/opt/hostedtoolcache/go/1.16.3/x64/pkg/linux_amd64/vendor/golang.org/x/crypto/chacha20.a
packagefile vendor/golang.org/x/crypto/internal/subtle=/opt/hostedtoolcache/go/1.16.3/x64/pkg/linux_amd64/vendor/golang.org/x/crypto/internal/subtle.a
packagefile vendor/golang.org/x/crypto/poly1305=/opt/hostedtoolcache/go/1.16.3/x64/pkg/linux_amd64/vendor/golang.org/x/crypto/poly1305.a
packagefile vendor/golang.org/x/sys/cpu=/opt/hostedtoolcache/go/1.16.3/x64/pkg/linux_amd64/vendor/golang.org/x/sys/cpu.a
packagefile golang.org/x/text/secure/bidirule=/home/runner/.cache/go-build/1c/1c3826d6bd9ae7a1927ad0c950099987f94014e459ee44842abe0f7a3f78627c-d
packagefile golang.org/x/text/unicode/bidi=/home/runner/.cache/go-build/02/0293e4e68690d6c122a4790416b981ec99a06ea13dc1272d737178e6590c9434-d
packagefile golang.org/x/text/unicode/norm=/home/runner/.cache/go-build/d4/d46f2a0f57db4ef6f263532019626bcc63e290e53a67a5ecd63c77d12049b780-d
packagefile golang.org/x/term=/home/runner/.cache/go-build/36/36d05623b66ada54e21a6f74043a4a96df105a4ffe9307a768898271c20b1ff6-d
packagefile container/heap=/opt/hostedtoolcache/go/1.16.3/x64/pkg/linux_amd64/container/heap.a
packagefile github.com/docker/spdystream=/home/runner/.cache/go-build/cb/cbc4c02d124a88262f67337ae3538556d36537c33864604e9b0e49083f18c44d-d
packagefile k8s.io/apimachinery/third_party/forked/golang/netutil=/home/runner/.cache/go-build/50/5013d27bff38e34a1610d613528b1788d4b8ab11a87a23f48a784d7273ffc90c-d
packagefile net/http/httputil=/opt/hostedtoolcache/go/1.16.3/x64/pkg/linux_amd64/net/http/httputil.a
packagefile k8s.io/apimachinery/pkg/apis/meta/internalversion=/home/runner/.cache/go-build/3e/3e32265f416e8c8f714ff54c39aea790e49bb92a1c6fb7c1b0867c4a333d7f9b-d
packagefile google.golang.org/protobuf/internal/encoding/messageset=/home/runner/.cache/go-build/ca/ca5b905c2aa439ba6f8efde4f704330ff09a0b00d0b9b1d9f9772d9ac3bbe5b8-d
packagefile google.golang.org/protobuf/internal/encoding/text=/home/runner/.cache/go-build/6e/6e6ad43c85d6ca9dfc1502596bd55568f7c495daf98b3409f2d9c1a12bda8d7d-d
packagefile google.golang.org/protobuf/internal/errors=/home/runner/.cache/go-build/84/84254008a3665f4b5ba76fbcb19edd21c9e92beef969a7f760f64251227620d1-d
packagefile google.golang.org/protobuf/internal/flags=/home/runner/.cache/go-build/d4/d46e1ca1fd91cd0b1511e862f6993527d94b15a8483838144b1ecba764b634b0-d
packagefile google.golang.org/protobuf/internal/genid=/home/runner/.cache/go-build/b3/b3e1448e3b0fbe610a9d6c54b6fc5ad93689d300ccfd9f03daf1e576405a37c6-d
packagefile google.golang.org/protobuf/internal/mapsort=/home/runner/.cache/go-build/8f/8fc72c8d9560036fcf5c039c8aff747715435d593a7a2786b68afc1846d5f355-d
packagefile google.golang.org/protobuf/internal/pragma=/home/runner/.cache/go-build/4f/4f6b957806e4c1e0cf2d175fd9c1e2fe7e926a04861d7e895f0984d82a6caba5-d
packagefile google.golang.org/protobuf/internal/set=/home/runner/.cache/go-build/d9/d918eb5d750f2f9b35f7013ca2be4712f7a583f821db90c9fe75b4e874b72fd2-d
packagefile google.golang.org/protobuf/internal/strs=/home/runner/.cache/go-build/10/10e6f951573b67a9699958178841b1fd059d94689caa79fac8d33f167a633879-d
packagefile google.golang.org/protobuf/internal/fieldsort=/home/runner/.cache/go-build/d8/d8d8881c13572588c55068058d7ed86a7a25c6602b4bd71d3565437f3f038062-d
packagefile google.golang.org/protobuf/internal/filedesc=/home/runner/.cache/go-build/10/10aca908c4ced10e246c3d0b18e2d61f599d31ec71fb76104583ed4cbdbbaa5a-d
packagefile google.golang.org/protobuf/internal/filetype=/home/runner/.cache/go-build/3d/3df644742e2334da0e26248892fdfe0f2c4dd864790d427339b8a658edddc7be-d
packagefile google.golang.org/protobuf/internal/impl=/home/runner/.cache/go-build/dd/dd48383214e2bd38243f9c94f736b34cd9db5730c9c8b811a00a200b7f5c97dd-d
packagefile google.golang.org/protobuf/internal/version=/home/runner/.cache/go-build/ad/ad97a84e90bfeebba679f024779872fe68bfd6a731d40995c22b211cc8e3e5e7-d
packagefile google.golang.org/protobuf/types/known/anypb=/home/runner/.cache/go-build/6d/6d91e6c78b003440c9d733c4913fdfe4c1aa4b0cad2baebf1df8531dbb09824b-d
packagefile github.com/googleapis/gnostic/extensions=/home/runner/.cache/go-build/b8/b8af37dc0811325bd496e78dfb3837d1f2066ee3a80a8ec013544d55ed05d0af-d
packagefile github.com/googleapis/gnostic/jsonschema=/home/runner/.cache/go-build/f4/f45c588a5d05658b43f916908009e1c5dbe18fd5524d6883ad69f28478e67110-d
packagefile vendor/golang.org/x/text/transform=/opt/hostedtoolcache/go/1.16.3/x64/pkg/linux_amd64/vendor/golang.org/x/text/transform.a
packagefile sigs.k8s.io/controller-runtime/pkg/internal/controller/metrics=/home/runner/.cache/go-build/1f/1f234eefd452ddf8bb772115ac78e29b4900d1f87a659064f3134e507ab4c47c-d
packagefile k8s.io/apiextensions-apiserver/pkg/apis/apiextensions=/home/runner/.cache/go-build/18/18561d637dfd6a95805a5a012515548929a9451316e5d8c6f0714a1ef360d3b5-d
packagefile encoding/csv=/opt/hostedtoolcache/go/1.16.3/x64/pkg/linux_amd64/encoding/csv.a
packagefile k8s.io/client-go/tools/clientcmd/api/v1=/home/runner/.cache/go-build/c6/c64c2f49db0943b6ea7149f8d34b789375cf56ed9251009b8f836b3fbf2839dc-d
packagefile k8s.io/component-base/config=/home/runner/.cache/go-build/10/1036cc4d3161f75e79d323bd059fceed7957698596101d4cd29ddd044118a8d1-d
packagefile expvar=/opt/hostedtoolcache/go/1.16.3/x64/pkg/linux_amd64/expvar.a
packagefile github.com/beorn7/perks/quantile=/home/runner/.cache/go-build/69/695010d804b7a4c1a2f60d1877af411befb3e1567e6f53384da2bc78c6fbc9ef-d
packagefile github.com/cespare/xxhash/v2=/home/runner/.cache/go-build/89/899814d04220b5a3a00068b42cfbc8ff9e127e418418d62c68d3707e19935aa8-d
packagefile github.com/golang/protobuf/ptypes=/home/runner/.cache/go-build/62/62f109a770c7b3ec022eb5ae4d516e115e84de339cabd58b108f5dea1baccf87-d
packagefile github.com/prometheus/client_golang/prometheus/internal=/home/runner/.cache/go-build/12/12f1a3f43552e3a187802c17c0028e292f015acb664b67f0353f07714347e0f7-d
packagefile github.com/prometheus/common/model=/home/runner/.cache/go-build/25/2567a76db5b9c9704c3b329c0bf5299a25c0834c357e5f366902f7a2c0744c35-d
packagefile github.com/prometheus/procfs=/home/runner/.cache/go-build/a6/a64a419553f8331bf52acb6b69211e362883b0d62d402f028a5cbac118dd90e1-d
packagefile github.com/golang/protobuf/ptypes/timestamp=/home/runner/.cache/go-build/82/82a858ecc06bed06301981a3a206742c768fcecbca2605581e659106eafc0954-d
packagefile github.com/matttproud/golang_protobuf_extensions/pbutil=/home/runner/.cache/go-build/a9/a9fb7ac17108b5fb7bd668c0cd2dad88d11ef2318f6d14358281b1afac400bb9-d
packagefile github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg=/home/runner/.cache/go-build/d7/d781f4bf1e8ce080dc640f6779d679bd96969f5e1e7a29b2781f32cb655d65c5-d
packagefile k8s.io/apimachinery/pkg/util/cache=/home/runner/.cache/go-build/b4/b44ae7f25fdc06d7e63f5aa529034e2b6ee4b707f46fa9d78bab1553ddc6a879-d
packagefile k8s.io/apimachinery/pkg/util/diff=/home/runner/.cache/go-build/4f/4f42b70c24bcfe15ce73f2c9c64224e83a558863de8f3b4438014d7239814b4c-d
packagefile k8s.io/client-go/tools/pager=/home/runner/.cache/go-build/e7/e74fafe062a24f5a47467fe394d5f9e7d14f16f4c33c2b8b4d27399b1d6c0335-d
packagefile k8s.io/utils/buffer=/home/runner/.cache/go-build/c8/c87d7c7ede12224c311bff4008831da0e47af30c68e0c95f4d0141c828ff05e0-d
packagefile k8s.io/utils/trace=/home/runner/.cache/go-build/db/dbb68b7604e092e4d6e4d5ea84852ef7395e85609986e0fb20adc5df7ac68b2d-d
packagefile github.com/google/uuid=/home/runner/.cache/go-build/6d/6de11ea53961223fc8ec97fff5d365980bddc056a3689384c5436318e7af0d4f-d
packagefile github.com/fsnotify/fsnotify=/home/runner/.cache/go-build/a8/a83f5df926458335e0f6edb8ba7403dcb10713ae125c9a98fef429c6f1ec3cfe-d
packagefile golang.org/x/text/transform=/home/runner/.cache/go-build/41/411830675b2aa7a4d0274778df9a80a4b8b48b4ca71fc71eba9d34c6763e5cdc-d
packagefile golang.org/x/sys/unix=/home/runner/.cache/go-build/92/92eb40e3e8699617b59b330701d34b4bf54fe82bb38accccd09967712ce19984-d
packagefile github.com/docker/spdystream/spdy=/home/runner/.cache/go-build/88/88c73794d4850f56d1b76669f7da4a21ccbeb3ad63c999585f8e0a1069709e68-d
packagefile k8s.io/apimachinery/pkg/apis/meta/v1beta1=/home/runner/.cache/go-build/19/19d0cba345d908c3d187fa661adf877b1f7a2e6cc22f6dc0ca9024b832dd8c5d-d
packagefile google.golang.org/protobuf/internal/detrand=/home/runner/.cache/go-build/07/075b6ee1d674e55bc50ca191ecc29ec494a877a1488e7938d557314e5876aac9-d
packagefile google.golang.org/protobuf/internal/descfmt=/home/runner/.cache/go-build/da/da0010c410a25a0d118212732a88471d92ac6cb1309c4aebff7d9adf48746a08-d
packagefile google.golang.org/protobuf/internal/descopts=/home/runner/.cache/go-build/e3/e3dfe54178f7b1e0bef8f4e6024bdb10af1f0e30f48525c80a21c82e088f09dd-d
packagefile google.golang.org/protobuf/internal/encoding/defval=/home/runner/.cache/go-build/26/261adaa83ff89fd33b064373259bcbbfc87ac860e0a57f1e78d140edf429bc97-d
packagefile google.golang.org/protobuf/internal/encoding/tag=/home/runner/.cache/go-build/32/322a185671bad7d3c3631954c982f76d62876cee49586fd80f241ff502ac4c0a-d
packagefile github.com/golang/protobuf/ptypes/duration=/home/runner/.cache/go-build/5c/5c6fbff2d480c797b46f209a21bd203beffbbadcfa134cfac1c27f2e9c7193da-d
packagefile github.com/prometheus/procfs/internal/fs=/home/runner/.cache/go-build/43/43235aa7aafca2839fb7613207ef5fab32f67c5754ce519c98807ef80cdf52e3-d
packagefile github.com/prometheus/procfs/internal/util=/home/runner/.cache/go-build/8e/8eda386f0f03dccd6549c271b8aa2b0f1eba26dd3cd6cf9f3c42f0233dcfce8d-d
packagefile google.golang.org/protobuf/types/known/timestamppb=/home/runner/.cache/go-build/b3/b390d563f0239b162aff96be559ae17e64eeef0ea3a834f754abf54e6f0ffcd9-d
packagefile github.com/hashicorp/golang-lru=/home/runner/.cache/go-build/12/124a06db1d288988eff7bbf719d075be98355558c5a5c5d27acee0b811f18320-d
packagefile github.com/google/go-cmp/cmp=/home/runner/.cache/go-build/96/96d91cdd0a63f704b58509903210f29485432522d890b19c0ca49ff8d1f323ff-d
packagefile text/tabwriter=/opt/hostedtoolcache/go/1.16.3/x64/pkg/linux_amd64/text/tabwriter.a
packagefile database/sql/driver=/opt/hostedtoolcache/go/1.16.3/x64/pkg/linux_amd64/database/sql/driver.a
packagefile golang.org/x/sys/internal/unsafeheader=/home/runner/.cache/go-build/33/333504cbbd6995cb6e78d1295ade0d302801620bc912b752e20ceccbeea1ee17-d
packagefile compress/zlib=/opt/hostedtoolcache/go/1.16.3/x64/pkg/linux_amd64/compress/zlib.a
packagefile hash/fnv=/opt/hostedtoolcache/go/1.16.3/x64/pkg/linux_amd64/hash/fnv.a
packagefile google.golang.org/protobuf/types/known/durationpb=/home/runner/.cache/go-build/8f/8fa36a7087269aa150c24a05eb6f2a9452e8d3a4ff987f8bb3162d141d823199-d
packagefile github.com/hashicorp/golang-lru/simplelru=/home/runner/.cache/go-build/ca/ca666c68bfbfe0e94ff6036a15c0df8c227ae3eef1d8fb60a29a90ee3daa6138-d
packagefile github.com/google/go-cmp/cmp/internal/diff=/home/runner/.cache/go-build/c1/c18d3d984fa6014751fda6dd8b164ce4a6c2958797d604c2b608babde7dd2b3d-d
packagefile github.com/google/go-cmp/cmp/internal/flags=/home/runner/.cache/go-build/a2/a24485e2395d7faa854dca3625e6a23fa8bfe96da12bb78658b9cb1b61c53b8d-d
packagefile github.com/google/go-cmp/cmp/internal/function=/home/runner/.cache/go-build/fc/fc68c2d354ab25d80fdbd9d1fded200347d5d030e5d4dcdf9440160a58925ecd-d
packagefile github.com/google/go-cmp/cmp/internal/value=/home/runner/.cache/go-build/d9/d9cb4289c4c79a856bc032aeab9617d2342a0a8c6866dcaea3e3f73d5605671c-d
packagefile hash/adler32=/opt/hostedtoolcache/go/1.16.3/x64/pkg/linux_amd64/hash/adler32.a
EOF
mkdir -p $WORK/b001/exe/
cd .
/opt/hostedtoolcache/go/1.16.3/x64/pkg/tool/linux_amd64/link -o $WORK/b001/exe/main -importcfg $WORK/b001/importcfg.link -s -w -buildmode=exe -buildid=3kL0umstU_GMvd2oq7T2/J5hGSU2pq2tBnFm68ZA4/-rlNe1ReeJedMgsvrt0C/3kL0umstU_GMvd2oq7T2 -extld=gcc $WORK/b001/_pkg_.a
$WORK/b001/exe/main
exit status 1
@AlexRouSg
Copy link
Contributor

Please clearify whether the output you showed came from go run or go test
The output seems to suggest go run and the last line before exit status is executeing your code.

What happens when you try go build followed by executeing your program manually?

@alexec
Copy link
Author

alexec commented Apr 23, 2021

go build ./... is successful. Both go test ./controllers and go run . fail, the output is as you said, from go run.

I believe there is something in the controllers package causing the problem, but I can't identify what. It makes me wonder if it is a Golang bug.

@alexec
Copy link
Author

alexec commented Apr 23, 2021

I realize I omitted the URL to the build that is failing:

https://github.com/argoproj-labs/argo-dataflow/actions/workflows/go.yml

@AlexRouSg
Copy link
Contributor

go build ./... is successful. Both go test ./controllers and go run . fail, the output is as you said, from go run.

I meant doing a

go build . 
./myprogram

You might get a more useful exit satus code that way.

@alexec
Copy link
Author

alexec commented Apr 23, 2021

Run ./bin/manager
  ./bin/manager
  shell: /usr/bin/bash -e {0}
  env:
    GOROOT: /opt/hostedtoolcache/go/1.16.3/x64
Error: Process completed with exit code 1.

I also omitted to mention - this only fails on Github Actions - not on Linux or Darwin.

@AlexRouSg
Copy link
Contributor

AlexRouSg commented Apr 23, 2021

Can you do a go test -v ./... it might help show which test is failing. EDIT: just saw you did one a while ago
Also have you confirmed that your error logging is working with github actions?
We need to rule out your program doing a os.Exit(1) but the log wasn't captured for some reason.

@mvdan mvdan added the WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. label Apr 23, 2021
@AlexRouSg
Copy link
Contributor

If nothing seems to make sense, you can try running rr on github actions to capture a trace file which you can then inspect with the dlv debugger locally.
https://github.com/rr-debugger/rr
https://github.com/go-delve/delve/blob/master/Documentation/usage/dlv_replay.md

@alexec
Copy link
Author

alexec commented Apr 24, 2021

Ok. I'm pretty sure I've tracked this to a call to ctrl.GetConfigOrDie() in init(). I'll close and re-open if I'm wrong.

@alexec alexec closed this as completed Apr 24, 2021
@golang golang locked and limited conversation to collaborators Apr 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Projects
None yet
Development

No branches or pull requests

4 participants