Closed h4ck3rk3y closed 1 year ago
0.78.4
There was an error executing Starlark code An error occurred executing instruction (number 5) at github.com/kurtosis-tech/avalanche-package/src/builder.star[46:14]: exec(service_name="builder", recipe=ExecRecipe(command=["/bin/sh", "-c", "cd /tmp/genesis && go run main.go 1337 3 testNet"])) Caused by: Exec returned exit code '1' that is not part of the acceptable status codes '[0]', with output: "go: downloading github.com/ava-labs/avalanchego v1.10.2\ngo: downloading github.com/ava-labs/avalanche-network-runner v1.6.0\ngo: downloading github.com/grpc-ecosystem/grpc-gateway/v2 v2.15.2\ngo: downloading google.golang.org/genproto v0.0.0-20230306155012-7f2fa6fef1f4\ngo: downloading google.golang.org/grpc v1.56.0-dev\ngo: downloading google.golang.org/protobuf v1.30.0\ngo: downloading github.com/stretchr/testify v1.8.3\ngo: downloading github.com/golang/mock v1.6.0\ngo: downloading go.uber.org/zap v1.24.0\ngo: downloading golang.org/x/exp v0.0.0-20220426173459-3bcf042a4bf5\ngo: downloading golang.org/x/term v0.7.0\ngo: downloading gopkg.in/natefinch/lumberjack.v2 v2.0.0\ngo: downloading golang.org/x/net v0.8.0\ngo: downloading github.com/mr-tron/base58 v1.2.0\ngo: downloading golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d\ngo: downloading github.com/decred/dcrd/dcrec/secp256k1/v4 v4.1.0\ngo: downloading github.com/gorilla/rpc v1.2.0\ngo: downloading github.com/btcsuite/btcd/btcutil v1.1.3\ngo: downloading gonum.org/v1/gonum v0.11.0\ngo: downloading github.com/prometheus/client_golang v1.15.1\ngo: downloading go.uber.org/atomic v1.10.0\ngo: downloading go.uber.org/multierr v1.11.0\ngo: downloading golang.org/x/sys v0.7.0\ngo: downloading github.com/golang/protobuf v1.5.3\ngo: downloading github.com/davecgh/go-spew v1.1.1\ngo: downloading github.com/pmezard/go-difflib v1.0.0\ngo: downloading gopkg.in/yaml.v3 v3.0.1\ngo: downloading github.com/DataDog/zstd v1.5.2\ngo: downloading go.opentelemetry.io/otel v1.11.0\ngo: downloading go.opentelemetry.io/otel/trace v1.11.0\ngo: downloading golang.org/x/sync v0.2.0\ngo: downloading github.com/gorilla/websocket v1.4.2\ngo: downloading github.com/supranational/blst v0.3.11-0.20220920110316-f72618070295\ngo: downloading github.com/beorn7/perks v1.0.1\ngo: downloading github.com/cespare/xxhash/v2 v2.2.0\ngo: downloading github.com/prometheus/client_model v0.3.0\ngo: downloading github.com/prometheus/common v0.42.0\ngo: downloading github.com/prometheus/procfs v0.9.0\ngo: downloading go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.11.0\ngo: downloading go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.11.0\ngo: downloading go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.11.0\ngo: downloading go.opentelemetry.io/otel/sdk v1.11.0\ngo: downloading github.com/syndtr/goleveldb v1.0.1-0.20220614013038-64ee5596c38a\ngo: downloading github.com/holiman/bloomfilter/v2 v2.0.3\ngo: downloading github.com/spaolacci/murmur3 v1.1.0\ngo: downloading github.com/matttproud/golang_protobuf_extensions v1.0.4\ngo: downloading golang.org/x/text v0.8.0\ngo: downloading go.opentelemetry.io/proto/otlp v0.19.0\ngo: downloading go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.11.0\ngo: downloading github.com/nbutton23/zxcvbn-go v0.0.0-20180912185939-ae427f1e4c1d\ngo: downloading github.com/go-logr/logr v1.2.3\ngo: downloading github.com/cenkalti/backoff/v4 v4.1.3\ngo: downloading github.com/go-logr/stdr v1.2.2\ngo: downloading github.com/golang/snappy v0.0.4\nHave a total of '3' nodes to generate and network id '1337'\nGnerated key and cert for node '2' at '/tmp/data/node-2/staking/staker.key', '/tmp/data/node-2/staking/staker.crt\nnode '2' has node id 'NodeID-A75moNEaU2gMoBzJq79dxdASRgCpiCybf'\nGnerated key and cert for node '0' at '/tmp/data/node-0/staking/staker.key', '/tmp/data/node-0/staking/staker.crt\nnode '0' has node id 'NodeID-AQdZjBKLtam5yZtx13mSEhCTyYvAjiNSL'\nGnerated key and cert for node '1' at '/tmp/data/node-1/staking/staker.key', '/tmp/data/node-1/staking/staker.crt\nnode '1' has node id 'NodeID-6e3nbHB1MmuGeYNV1s9yk9JsvWc8SxaRm'\ngenerated '3' nodes\ngenerated genesis data at '/tmp/data/genesis.json'\nthis is a line with a new line\nthis doesnt have a new linethis is also a line with a new line\napples and oranges\nexit status 1\n"
Run the https://github.com/kurtosis-tech/avalanche-package package on the gyani/error branch
gyani/error
New lines should be rendered properly instead of being escaped
Papercut; this bug is frustrating, but I have a workaround.
Looks very related to #848
What's your CLI version?
0.78.4
Description & steps to reproduce
Run the https://github.com/kurtosis-tech/avalanche-package package on the
gyani/error
branchDesired behavior
New lines should be rendered properly instead of being escaped
What is the severity of this bug?
Papercut; this bug is frustrating, but I have a workaround.