Skip to content
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

Flaky system test #22622

Closed
Tracked by #21804
julienrbrt opened this issue Nov 22, 2024 · 3 comments
Closed
Tracked by #21804

Flaky system test #22622

julienrbrt opened this issue Nov 22, 2024 · 3 comments
Assignees
Labels

Comments

@julienrbrt
Copy link
Member

julienrbrt commented Nov 22, 2024

https://github.com/cosmos/cosmos-sdk/actions/runs/11972083233/job/33378233645?pr=22621
Happens in the release/v0.52.x branch.

cli.go:218: +++ ERROR output: cannot marshal response validators:{operator_address:"cosmosvaloper1zgla3lw2se4qvg8gdt6pt3sdtrl5wxehpkx4wy"  consensus_pubkey:{[/cosmos.crypto.ed25519.PubKey]:{key:"\xeeg\xeb\x01\x18\x91\x99@2\xcd\xc3u\xa1\xe9ԑ\xba.\x0b\xe9\xd1چ\x88ಂ\x8dS\xc9n\x03"}}  status:BOND_STATUS_BONDED  tokens:"100000000"  delegator_shares:"100000000000000000000000000"  description:{moniker:"node2"}  unbonding_time:{}  commission:{commission_rates:{rate:"1000000000000000000"  max_rate:"1000000000000000000"  max_change_rate:"1000000000000000000"}  update_time:{seconds:1732276678  nanos:911718599}}  min_self_delegation:"1"}  validators:{operator_address:"cosmosvaloper1ry46kqujsp2t9n820a7swcstf6qxh7j7qkeryv"  consensus_pubkey:{[/cosmos.crypto.ed25519.PubKey]:{key:"NG\xe0\xd7\x0c\x1d0\xbe\x13\xc1\x8c\xba\xbbuB\xbbv8\xfd8\xd5\x19y\xf6\x8e\x1e\x10i\x84\x07/m"}}  status:BOND_STATUS_BONDED  tokens:"100000000"  delegator_shares:"100000000000000000000000000"  description:{moniker:"node3"}  unbonding_time:{}  commission:{commission_rates:{rate:"1000000000000000000"  max_rate:"1000000000000000000"  max_change_rate:"1000000000000000000"}  update_time:{seconds:1732276678  nanos:911718599}}  min_self_delegation:"1"}  validators:{operator_address:"cosmosvaloper1sqlrpuedafqyau954scngwaput06x4ksy47tem"  consensus_pubkey:{[/cosmos.crypto.ed25519.PubKey]:{key:"L\x95\x10?\x83\x00$\x8d\x98\xceM\x02\xf5/\xaf\xb4\x8bʊ/\x82 \x05\x02s\x9e\xd7W\x0e\xf9p\xbf"}}  status:BOND_STATUS_BONDED  tokens:"100000000"  delegator_shares:"100000000000000000000000000"  description:{moniker:"node1"}  unbonding_time:{}  commission:{commission_rates:{rate:"1000000000000000000"  max_rate:"1000000000000000000"  max_change_rate:"1000000000000000000"}  update_time:{seconds:1732276678  nanos:911718599}}  min_self_delegation:"1"}  validators:{operator_address:"cosmosvaloper1e42qtep048jv0qp9ad99ztydcvqpvclzn4w6q8"  consensus_pubkey:{[/cosmos.crypto.ed25519.PubKey]:{key:"\xb51\xe5Ze\xdc*\xce\xd1\x11^\xb9\xec\\\x0b\xfe\xeaGP\x85\x932y>\xbam\x13\xf3\x1b\xd3\xffI"}}  status:BOND_STATUS_BONDED  tokens:"100000000"  delegator_shares:"100000000000000000000000000"  description:{moniker:"node0"}  unbonding_time:{}  commission:{commission_rates:{rate:"1000000000000000000"  max_rate:"1000000000000000000"  max_change_rate:"1000000000000000000"}  update_time:{seconds:1732276678  nanos:911718599}}  min_self_delegation:"1"}  validator_info:{consensus_address:"cosmosvalcons1sgpmauuquczpky2a6ut6u6tl3wn7hjc2ydqy0l"}  validator_info:{consensus_address:"cosmosvalcons15t68e7acxdacwxekmstgplh7qr45q5nfnt6tq5"}  validator_info:{consensus_address:"cosmosvalcons1zvrqqajxrejjgc4ylntjeuuu07scv65v8xdlws"}  validator_info:{consensus_address:"cosmosvalcons1fsc8m4cvxjh4rj5mjk759kzser7u7gyegcp6gd"}  pagination:{total:4}: not supported: dont_omit_empty=true on invalid (nil?) message field: metadata
         - exit status 1
    cli.go:218: 
        	Error Trace:	/home/runner/work/cosmos-sdk/cosmos-sdk/tests/systemtests/cli.go:253
        	            				/home/runner/work/cosmos-sdk/cosmos-sdk/tests/systemtests/cli.go:225
        	            				/home/runner/work/cosmos-sdk/cosmos-sdk/tests/systemtests/cli.go:218
        	            				/home/runner/work/cosmos-sdk/cosmos-sdk/tests/systemtests/authz_test.go:55
        	Error:      	Received unexpected error:
        	            	exit status 1
        	Test:       	TestAuthzGrantTxCmd
        	Messages:   	cannot marshal response validators:{operator_address:"cosmosvaloper1zgla3lw2se4qvg8gdt6pt3sdtrl5wxehpkx4wy"  consensus_pubkey:{[/cosmos.crypto.ed25519.PubKey]:{key:"\xeeg\xeb\x01\x18\x91\x99@2\xcd\xc3u\xa1\xe9ԑ\xba.\x0b\xe9\xd1چ\x88ಂ\x8dS\xc9n\x03"}}  status:BOND_STATUS_BONDED  tokens:"100000000"  delegator_shares:"100000000000000000000000000"  description:{moniker:"node2"}  unbonding_time:{}  commission:{commission_rates:{rate:"1000000000000000000"  max_rate:"1000000000000000000"  max_change_rate:"1000000000000000000"}  update_time:{seconds:1732276678  nanos:911718599}}  min_self_delegation:"1"}  validators:{operator_address:"cosmosvaloper1ry46kqujsp2t9n820a7swcstf6qxh7j7qkeryv"  consensus_pubkey:{[/cosmos.crypto.ed25519.PubKey]:{key:"NG\xe0\xd7\x0c\x1d0\xbe\x13\xc1\x8c\xba\xbbuB\xbbv8\xfd8\xd5\x19y\xf6\x8e\x1e\x10i\x84\x07/m"}}  status:BOND_STATUS_BONDED  tokens:"100000000"  delegator_shares:"100000000000000000000000000"  description:{moniker:"node3"}  unbonding_time:{}  commission:{commission_rates:{rate:"1000000000000000000"  max_rate:"1000000000000000000"  max_change_rate:"1000000000000000000"}  update_time:{seconds:1732276678  nanos:911718599}}  min_self_delegation:"1"}  validators:{operator_address:"cosmosvaloper1sqlrpuedafqyau954scngwaput06x4ksy47tem"  consensus_pubkey:{[/cosmos.crypto.ed25519.PubKey]:{key:"L\x95\x10?\x83\x00$\x8d\x98\xceM\x02\xf5/\xaf\xb4\x8bʊ/\x82 \x05\x02s\x9e\xd7W\x0e\xf9p\xbf"}}  status:BOND_STATUS_BONDED  tokens:"100000000"  delegator_shares:"100000000000000000000000000"  description:{moniker:"node1"}  unbonding_time:{}  commission:{commission_rates:{rate:"1000000000000000000"  max_rate:"1000000000000000000"  max_change_rate:"1000000000000000000"}  update_time:{seconds:1732276678  nanos:911718599}}  min_self_delegation:"1"}  validators:{operator_address:"cosmosvaloper1e42qtep048jv0qp9ad99ztydcvqpvclzn4w6q8"  consensus_pubkey:{[/cosmos.crypto.ed25519.PubKey]:{key:"\xb51\xe5Ze\xdc*\xce\xd1\x11^\xb9\xec\\\x0b\xfe\xeaGP\x85\x932y>\xbam\x13\xf3\x1b\xd3\xffI"}}  status:BOND_STATUS_BONDED  tokens:"100000000"  delegator_shares:"100000000000000000000000000"  description:{moniker:"node0"}  unbonding_time:{}  commission:{commission_rates:{rate:"1000000000000000000"  max_rate:"1000000000000000000"  max_change_rate:"1000000000000000000"}  update_time:{seconds:1732276678  nanos:911718599}}  min_self_delegation:"1"}  validator_info:{consensus_address:"cosmosvalcons1sgpmauuquczpky2a6ut6u6tl3wn7hjc2ydqy0l"}  validator_info:{consensus_address:"cosmosvalcons15t68e7acxdacwxekmstgplh7qr45q5nfnt6tq5"}  validator_info:{consensus_address:"cosmosvalcons1zvrqqajxrejjgc4ylntjeuuu07scv65v8xdlws"}  validator_info:{consensus_address:"cosmosvalcons1fsc8m4cvxjh4rj5mjk759kzser7u7gyegcp6gd"}  pagination:{total:4}: not supported: dont_omit_empty=true on invalid (nil?) message field: metadata
panic: runtime error: index out of range [0] with length 0 [recovered]
	panic: runtime error: index out of range [0] with length 0

goroutine 1443657 [running]:
testing.tRunner.func1.2({0x258fbc0, 0xc001a86f60})
	/opt/hostedtoolcache/go/1.23.3/x64/src/testing/testing.go:1632 +0x230
testing.tRunner.func1()
	/opt/hostedtoolcache/go/1.23.3/x64/src/testing/testing.go:1635 +0x35e
panic({0x258fbc0?, 0xc001a86f60?})
	/opt/hostedtoolcache/go/1.23.3/x64/src/runtime/panic.go:785 +0x132
cosmossdk.io/tests/systemtests.TestAuthzGrantTxCmd(0xc0000ee340)
	/home/runner/work/cosmos-sdk/cosmos-sdk/tests/systemtests/authz_test.go:56 +0x15b8
testing.tRunner(0xc0000ee340, 0x28570e0)
	/opt/hostedtoolcache/go/1.23.3/x64/src/testing/testing.go:1690 +0xf4
created by testing.(*T).Run in goroutine 1
	/opt/hostedtoolcache/go/1.23.3/x64/src/testing/testing.go:1743 +0x[390](https://github.com/cosmos/cosmos-sdk/actions/runs/11972083233/job/33378233645?pr=22621#step:6:391)
FAIL	cosmossdk.io/tests/systemtests	94.312s
FAIL
make[1]: *** [Makefile:8: test] Error 1
make[1]: Leaving directory '/home/runner/work/cosmos-sdk/cosmos-sdk/tests/systemtests'
make: *** [scripts/build/testing.mk:27: test-system] Error 2
@github-project-automation github-project-automation bot moved this to 📋 Backlog in Cosmos-SDK Nov 22, 2024
@akhilkumarpilli akhilkumarpilli self-assigned this Nov 27, 2024
@akhilkumarpilli akhilkumarpilli moved this from 📋 Backlog to 🤸‍♂️ In Progress in Cosmos-SDK Nov 27, 2024
@julienrbrt
Copy link
Member Author

@akhilkumarpilli have you been able to debug this?

@julienrbrt julienrbrt mentioned this issue Dec 3, 2024
3 tasks
@akhilkumarpilli
Copy link
Contributor

akhilkumarpilli commented Dec 5, 2024

@akhilkumarpilli have you been able to debug this?

This issue got fixed with 3c34ded#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6R189

Actual issue was with metadata, which got solved with #22556

@julienrbrt
Copy link
Member Author

Right! That's this one lol, yeah I remember. Thanks for confirming. Let's close.

@github-project-automation github-project-automation bot moved this from 🤸‍♂️ In Progress to 🥳 Done in Cosmos-SDK Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 🥳 Done
Development

No branches or pull requests

2 participants