Skip to content

[Bug]: panic in systemtest with v2 binary #23021

@technicallyty

Description

@technicallyty

Is there an existing issue for this?

  • I have searched the existing issues

What happened?

running COSMOS_BUILD_OPTIONS=v2 make test-system yields a panic here:

SetValue(doc, fmt.Sprintf("%s:%d", node.IP, DefaultTelemetryPort+nodeNumber), "telemetry", "address")

looks like telemetry.address is not found in the config.toml.

panic: not found: [telemetry address] [recovered]
        panic: not found: [telemetry address]
goroutine 27565982 [running]:
testing.tRunner.func1.2({0x10194e460, 0x1400247a950})
        /usr/local/go/src/testing/testing.go:1632 +0x1bc
testing.tRunner.func1()
        /usr/local/go/src/testing/testing.go:1635 +0x334
panic({0x10194e460?, 0x1400247a950?})
        /usr/local/go/src/runtime/panic.go:785 +0x124
cosmossdk.io/systemtests.SetValue(0x101524b30?, {0x14001e38780, 0xe}, {0x14002669f00, 0x2, 0x2})
        /Users/tyler/go/pkg/mod/cosmossdk.io/systemtests@v1.0.0/testnet_init.go:198 +0x160
cosmossdk.io/systemtests.(*SystemUnderTest).AddFullnode.func1(0x14002669260)
        /Users/tyler/go/pkg/mod/cosmossdk.io/systemtests@v1.0.0/system.go:741 +0x270
cosmossdk.io/systemtests.EditToml({0x1400209a780?, 0xc?}, 0x140012cda80)
        /Users/tyler/go/pkg/mod/cosmossdk.io/systemtests@v1.0.0/testnet_init.go:181 +0x98
cosmossdk.io/systemtests.(*SystemUnderTest).AddFullnode(0x140000019e0, 0x140022ad380, {0x140012cdf10, 0x1, 0x0?})
        /Users/tyler/go/pkg/mod/cosmossdk.io/systemtests@v1.0.0/system.go:738 +0x7e0
github.com/cosmos/cosmos-sdk/tests/systemtests.TestValidatorDoubleSign(0x140022ad380)
        /Users/tyler/Dev/cosmos/cosmos-sdk/tests/systemtests/fraud_test.go:37 +0x260
testing.tRunner(0x140022ad380, 0x101c73800)
        /usr/local/go/src/testing/testing.go:1690 +0xe4
created by testing.(*T).Run in goroutine 1
        /usr/local/go/src/testing/testing.go:1743 +0x314
FAIL    github.com/cosmos/cosmos-sdk/tests/systemtests  399.508s
FAIL

Cosmos SDK Version

main

How to reproduce?

COSMOS_BUILD_OPTIONS=v2 make test-system

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions