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

Fix simulation tests #437

Closed
4 tasks done
jaybxyz opened this issue Aug 24, 2021 · 0 comments · Fixed by #438
Closed
4 tasks done

Fix simulation tests #437

jaybxyz opened this issue Aug 24, 2021 · 0 comments · Fixed by #438
Assignees
Labels
test and simulation test and simulation

Comments

@jaybxyz
Copy link
Contributor

jaybxyz commented Aug 24, 2021

Summary of Bug

Some simulation tests throw panic when running.

Version

latest version of develop branch

Steps to Reproduce

make test-sim-import-export
>
Running application import/export simulation. This may take several minutes...
Allocating 1 workers...
[W0] Worker is up and running
[W0] Spawned simulation with pid 54812 [seed=1 stdout=/var/folders/wn/zwc2mf1n61z7sghz9g_1wl8h0000gn/T/sim-logs-145905718/app-simulation-seed-1-date-08-24-2021_124400.stdout stderr=/var/folders/wn/zwc2mf1n61z7sghz9g_1wl8h0000gn/T/sim-logs-145905718/app-simulation-seed-1-date-08-24-2021_124400.stderr]
^[[1;6A.
.
exit status 1
[W0] Seed 1: FAILED
To reproduce run: go test ./app -run TestAppImportExport -Enabled=true -NumBlocks=50 -Genesis= -Verbose=true -Commit=true -Seed=1 -Period=5 -ExportParamsPath /var/folders/wn/zwc2mf1n61z7sghz9g_1wl8h0000gn/T/sim-logs-145905718/sim_params-1.json -ExportStatePath /var/folders/wn/zwc2mf1n61z7sghz9g_1wl8h0000gn/T/sim-logs-145905718/sim_state-1.json -v -timeout 24h
ERROR OUTPUT 

exit status 1
panic: halting simulations

goroutine 20 [running]:
main.worker(0x0, 0xc00007ca20, 0xc0000a6000)
        /Users/jayb/go/pkg/mod/github.com/cosmos/tools/cmd/[email protected]/main.go:216 +0x7a5
main.main.func2(0xc0000b2010, 0xc00007ca20, 0xc0000a6000, 0x0)
        /Users/jayb/go/pkg/mod/github.com/cosmos/tools/cmd/[email protected]/main.go:160 +0x6b
created by main.main
        /Users/jayb/go/pkg/mod/github.com/cosmos/tools/cmd/[email protected]/main.go:158 +0xc1a
make: *** [test-sim-import-export] Error 2

For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test and simulation test and simulation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant