Skip to content

Tests are timing out on the hello-world-example. #94

@containerman17

Description

@containerman17

Running inside a container to limit the scope of issues:
docker run -it -v $PWD:/app --rm golang:1.23.6 bash

Full logs:

root@39f5ec28ea62:/app# ./scripts/run_ginkgo.sh 
building precompile.test
go: downloading github.com/ava-labs/subnet-evm v0.7.3
go: downloading github.com/ava-labs/avalanchego v1.13.0
go: downloading github.com/ethereum/go-ethereum v1.13.14
go: downloading github.com/go-cmd/cmd v1.4.1
go: downloading github.com/ava-labs/coreth v0.15.0-rc.0
go: downloading github.com/holiman/uint256 v1.2.4
go: downloading golang.org/x/crypto v0.35.0
go: downloading github.com/gorilla/rpc v1.2.0
go: downloading github.com/prometheus/client_golang v1.16.0
go: downloading golang.org/x/exp v0.0.0-20241215155358-4a5509556b9e
go: downloading github.com/spf13/pflag v1.0.5
go: downloading github.com/spf13/viper v1.12.0
go: downloading go.uber.org/zap v1.26.0
go: downloading github.com/google/uuid v1.6.0
go: downloading github.com/prometheus/common v0.42.0
go: downloading github.com/spf13/cast v1.5.0
go: downloading k8s.io/api v0.29.0
go: downloading k8s.io/apimachinery v0.29.0
go: downloading k8s.io/client-go v0.29.0
go: downloading k8s.io/utils v0.0.0-20230726121419-3b25d923346b
go: downloading github.com/crate-crypto/go-ipa v0.0.0-20231025140028-3c0104f4b233
go: downloading github.com/olekukonko/tablewriter v0.0.5
go: downloading github.com/holiman/bloomfilter/v2 v2.0.3
go: downloading github.com/shirou/gopsutil v3.21.11+incompatible
go: downloading go.uber.org/mock v0.5.0
go: downloading github.com/gballet/go-verkle v0.1.1-0.20231031103413-a67434b50f46
go: downloading github.com/VictoriaMetrics/fastcache v1.12.1
go: downloading github.com/deckarep/golang-set/v2 v2.1.0
go: downloading github.com/gorilla/websocket v1.5.0
go: downloading golang.org/x/time v0.3.0
go: downloading go.opentelemetry.io/otel v1.22.0
go: downloading go.opentelemetry.io/otel/trace v1.22.0
go: downloading google.golang.org/protobuf v1.35.2
go: downloading github.com/StephenButtolph/canoto v0.15.0
go: downloading golang.org/x/term v0.29.0
go: downloading gopkg.in/natefinch/lumberjack.v2 v2.0.0
go: downloading github.com/google/renameio/v2 v2.0.0
go: downloading golang.org/x/sync v0.11.0
go: downloading github.com/dop251/goja v0.0.0-20230806174421-c933cf95e127
go: downloading github.com/prometheus/client_model v0.3.0
go: downloading github.com/NYTimes/gziphandler v1.1.1
go: downloading github.com/gorilla/mux v1.8.0
go: downloading github.com/rs/cors v1.7.0
go: downloading github.com/syndtr/goleveldb v1.0.1-0.20220614013038-64ee5596c38a
go: downloading github.com/cockroachdb/pebble v0.0.0-20230928194634-aa077af62593
go: downloading github.com/pires/go-proxyproto v0.6.2
go: downloading go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.22.0
go: downloading go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.22.0
go: downloading go.opentelemetry.io/otel/sdk v1.22.0
go: downloading go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.22.0
go: downloading github.com/DataDog/zstd v1.5.2
go: downloading github.com/supranational/blst v0.3.14
go: downloading github.com/crate-crypto/go-kzg-4844 v0.7.0
go: downloading github.com/mr-tron/base58 v1.2.0
go: downloading github.com/btcsuite/btcd/btcutil v1.1.3
go: downloading github.com/decred/dcrd/dcrec/secp256k1/v4 v4.1.0
go: downloading gonum.org/v1/gonum v0.11.0
go: downloading go.uber.org/multierr v1.11.0
go: downloading github.com/fsnotify/fsnotify v1.6.0
go: downloading github.com/mitchellh/mapstructure v1.5.0
go: downloading github.com/spf13/afero v1.8.2
go: downloading github.com/spf13/jwalterweatherman v1.1.0
go: downloading github.com/json-iterator/go v1.1.12
go: downloading github.com/beorn7/perks v1.0.1
go: downloading github.com/cespare/xxhash/v2 v2.3.0
go: downloading github.com/prometheus/procfs v0.10.1
go: downloading github.com/gogo/protobuf v1.3.2
go: downloading gopkg.in/inf.v0 v0.9.1
go: downloading github.com/google/gofuzz v1.2.0
go: downloading k8s.io/klog/v2 v2.110.1
go: downloading github.com/google/btree v1.1.2
go: downloading github.com/mattn/go-runewidth v0.0.13
go: downloading github.com/imdario/mergo v0.3.16
go: downloading github.com/tklauser/go-sysconf v0.3.12
go: downloading github.com/golang/snappy v0.0.5-0.20220116011046-fa5810519dcb
go: downloading github.com/hashicorp/golang-lru v0.5.5-0.20210104140557-80c98217689d
go: downloading github.com/tyler-smith/go-bip39 v1.1.0
go: downloading github.com/holiman/billy v0.0.0-20240216141850-2abb0c79d3c4
go: downloading github.com/hashicorp/go-bexpr v0.1.10
go: downloading github.com/mattn/go-colorable v0.1.13
go: downloading github.com/mattn/go-isatty v0.0.17
go: downloading github.com/urfave/cli/v2 v2.25.7
go: downloading github.com/golang/protobuf v1.5.4
go: downloading github.com/dlclark/regexp2 v1.7.0
go: downloading go.opentelemetry.io/proto/otlp v1.0.0
go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20240827150818-7e3bb234dfed
go: downloading google.golang.org/grpc v1.66.0
go: downloading github.com/cockroachdb/errors v1.9.1
go: downloading github.com/cockroachdb/redact v1.1.3
go: downloading github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06
go: downloading github.com/subosito/gotenv v1.3.0
go: downloading github.com/hashicorp/hcl v1.0.0
go: downloading gopkg.in/ini.v1 v1.67.0
go: downloading github.com/magiconair/properties v1.8.6
go: downloading github.com/pelletier/go-toml/v2 v2.0.5
go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.4
go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
go: downloading github.com/modern-go/reflect2 v1.0.2
go: downloading sigs.k8s.io/structured-merge-diff/v4 v4.4.1
go: downloading github.com/consensys/gnark-crypto v0.12.1
go: downloading github.com/google/gnostic-models v0.6.8
go: downloading golang.org/x/oauth2 v0.21.0
go: downloading github.com/moby/spdystream v0.2.0
go: downloading github.com/rivo/uniseg v0.2.0
go: downloading github.com/pelletier/go-toml v1.9.5
go: downloading github.com/tklauser/numcpus v0.6.1
go: downloading github.com/gballet/go-libpcsclite v0.0.0-20191108122812-4678299bea08
go: downloading github.com/status-im/keycard-go v0.2.0
go: downloading github.com/mitchellh/pointerstructure v1.2.0
go: downloading github.com/go-sourcemap/sourcemap v2.1.3+incompatible
go: downloading go.opentelemetry.io/otel/metric v1.22.0
go: downloading github.com/cenkalti/backoff/v4 v4.2.1
go: downloading github.com/grpc-ecosystem/grpc-gateway/v2 v2.16.0
go: downloading github.com/go-logr/stdr v1.2.2
go: downloading github.com/cpuguy83/go-md2man/v2 v2.0.4
go: downloading github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673
go: downloading github.com/pkg/errors v0.9.1
go: downloading github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b
go: downloading github.com/getsentry/sentry-go v0.18.0
go: downloading sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd
go: downloading k8s.io/kube-openapi v0.0.0-20231010175941-2dd684a91f00
go: downloading sigs.k8s.io/yaml v1.3.0
go: downloading github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f
go: downloading gopkg.in/yaml.v2 v2.4.0
go: downloading github.com/bits-and-blooms/bitset v1.10.0
go: downloading github.com/kr/pretty v0.3.1
go: downloading google.golang.org/genproto/googleapis/api v0.0.0-20240604185151-ef581f913117
go: downloading github.com/russross/blackfriday/v2 v2.1.0
go: downloading github.com/kr/text v0.2.0
go: downloading github.com/rogpeppe/go-internal v1.12.0
go: downloading github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822
go: downloading github.com/go-openapi/swag v0.22.3
go: downloading github.com/consensys/bavard v0.1.13
go: downloading github.com/go-openapi/jsonreference v0.20.2
go: downloading github.com/emicklei/go-restful/v3 v3.11.0
go: downloading github.com/mmcloughlin/addchain v0.4.0
go: downloading github.com/go-openapi/jsonpointer v0.19.6
go: downloading rsc.io/tmplfunc v0.0.3
go: downloading github.com/mailru/easyjson v0.7.7
go: downloading github.com/josharian/intern v1.0.0

Running Suite: precompile-evm precompile ginkgo test suite - /app
=================================================================
Random Seed: 1748088343

Will run 2 of 2 specs
Running in parallel across 5 processes
[streaming output] Executing command: /go/src/github.com/ava-labs/avalanchego/build/avalanchego --data-dir=/tmp/subnet-evm-precompile-start-node/2025-05-24%:12:07:19/node1 --config-file=/tmp/subnet-evm-precompile-start-node/2025-05-24%:12:07:19/node1/config.json
------------------------------
[SynchronizedBeforeSuite] [FAILED] [300.046 seconds]
[SynchronizedBeforeSuite] 
/go/pkg/mod/github.com/ava-labs/subnet-evm@v0.7.3/tests/utils/subnet.go:67

  Captured StdOut/StdErr Output >>
  [streaming output] Executing command: /go/src/github.com/ava-labs/avalanchego/build/avalanchego --data-dir=/tmp/subnet-evm-precompile-start-node/2025-05-24%:12:07:19/node1 --config-file=/tmp/subnet-evm-precompile-start-node/2025-05-24%:12:07:19/node1/config.json
  << Captured StdOut/StdErr Output

  [FAILED] 
        Error Trace:    /go/pkg/mod/github.com/ava-labs/subnet-evm@v0.7.3/tests/utils/subnet.go:81
                                                /usr/local/go/src/reflect/value.go:581
                                                /usr/local/go/src/reflect/value.go:365
                                                /go/pkg/mod/github.com/onsi/ginkgo/v2@v2.13.1/internal/node.go:486
                                                /go/pkg/mod/github.com/onsi/ginkgo/v2@v2.13.1/internal/suite.go:642
                                                /go/pkg/mod/github.com/onsi/ginkgo/v2@v2.13.1/internal/suite.go:889
                                                /usr/local/go/src/runtime/asm_arm64.s:1223
        Error:          Received unexpected error:
                        context deadline exceeded
        Test:       
  
  In [SynchronizedBeforeSuite] at: /go/pkg/mod/github.com/ava-labs/subnet-evm@v0.7.3/tests/utils/subnet.go:81 @ 05/24/25 12:12:19.46
------------------------------
[SynchronizedBeforeSuite] [FAILED] [300.063 seconds]
[SynchronizedBeforeSuite] 
/go/pkg/mod/github.com/ava-labs/subnet-evm@v0.7.3/tests/utils/subnet.go:67

  [FAILED] SynchronizedBeforeSuite failed on Ginkgo parallel process #1
    The first SynchronizedBeforeSuite function running on Ginkgo parallel process
    #1 failed.  This suite will now abort.

  
  In [SynchronizedBeforeSuite] at: /go/pkg/mod/github.com/ava-labs/subnet-evm@v0.7.3/tests/utils/subnet.go:67 @ 05/24/25 12:12:19.499
------------------------------
[SynchronizedBeforeSuite] [FAILED] [300.054 seconds]
[SynchronizedBeforeSuite] 
/go/pkg/mod/github.com/ava-labs/subnet-evm@v0.7.3/tests/utils/subnet.go:67

  [FAILED] SynchronizedBeforeSuite failed on Ginkgo parallel process #1
    The first SynchronizedBeforeSuite function running on Ginkgo parallel process
    #1 failed.  This suite will now abort.

  
  In [SynchronizedBeforeSuite] at: /go/pkg/mod/github.com/ava-labs/subnet-evm@v0.7.3/tests/utils/subnet.go:67 @ 05/24/25 12:12:19.499
------------------------------
[SynchronizedBeforeSuite] [FAILED] [300.064 seconds]
[SynchronizedBeforeSuite] 
/go/pkg/mod/github.com/ava-labs/subnet-evm@v0.7.3/tests/utils/subnet.go:67

  [FAILED] SynchronizedBeforeSuite failed on Ginkgo parallel process #1
    The first SynchronizedBeforeSuite function running on Ginkgo parallel process
    #1 failed.  This suite will now abort.

  
  In [SynchronizedBeforeSuite] at: /go/pkg/mod/github.com/ava-labs/subnet-evm@v0.7.3/tests/utils/subnet.go:67 @ 05/24/25 12:12:19.499
------------------------------
[SynchronizedBeforeSuite] [FAILED] [300.058 seconds]
[SynchronizedBeforeSuite] 
/go/pkg/mod/github.com/ava-labs/subnet-evm@v0.7.3/tests/utils/subnet.go:67

  [FAILED] SynchronizedBeforeSuite failed on Ginkgo parallel process #1
    The first SynchronizedBeforeSuite function running on Ginkgo parallel process
    #1 failed.  This suite will now abort.

  
  In [SynchronizedBeforeSuite] at: /go/pkg/mod/github.com/ava-labs/subnet-evm@v0.7.3/tests/utils/subnet.go:67 @ 05/24/25 12:12:19.501
------------------------------

Summarizing 5 Failures:
  [FAIL] [SynchronizedBeforeSuite] 
  /go/pkg/mod/github.com/ava-labs/subnet-evm@v0.7.3/tests/utils/subnet.go:67
  [FAIL] [SynchronizedBeforeSuite] 
  /go/pkg/mod/github.com/ava-labs/subnet-evm@v0.7.3/tests/utils/subnet.go:67
  [FAIL] [SynchronizedBeforeSuite] 
  /go/pkg/mod/github.com/ava-labs/subnet-evm@v0.7.3/tests/utils/subnet.go:67
  [FAIL] [SynchronizedBeforeSuite] 
  /go/pkg/mod/github.com/ava-labs/subnet-evm@v0.7.3/tests/utils/subnet.go:67
  [FAIL] [SynchronizedBeforeSuite] 
  /go/pkg/mod/github.com/ava-labs/subnet-evm@v0.7.3/tests/utils/subnet.go:81

Ran 0 of 2 Specs in 300.106 seconds
FAIL! -- A BeforeSuite node failed so all tests were skipped.


Ginkgo ran 1 suite in 6m36.234386356s

Test Suite Failed
exit status 1
root@39f5ec28ea62:/app# 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions