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

TestLegacyUpgrade race detected #3095

Closed
rootulp opened this issue Feb 8, 2024 · 0 comments · Fixed by #3111
Closed

TestLegacyUpgrade race detected #3095

rootulp opened this issue Feb 8, 2024 · 0 comments · Fixed by #3111
Assignees
Labels
flake A test flake that occurred on Github CI

Comments

@rootulp
Copy link
Collaborator

rootulp commented Feb 8, 2024

Problem

--- FAIL: TestLegacyUpgrade (9.40s)
    --- PASS: TestLegacyUpgrade/TestIBCUpgradeFailure (3.04s)
    --- PASS: TestLegacyUpgrade/TestLegacyGovUpgradeFailure (0.03s)
    --- PASS: TestLegacyUpgrade/TestNewGovUpgradeFailure (0.02s)
=== RUN   TestRemoval
--- PASS: TestRemoval (0.06s)
=== RUN   TestSignalVersion
--- PASS: TestSignalVersion (0.00s)
=== RUN   TestTallyingLogic
--- PASS: TestTallyingLogic (0.00s)
=== RUN   TestEmptyStore
--- PASS: TestEmptyStore (0.00s)
=== RUN   TestThresholdVotingPower
--- PASS: TestThresholdVotingPower (0.00s)
=== NAME  
    testing.go:1465: race detected during execution of test
FAIL
FAIL	github.com/celestiaorg/celestia-app/x/upgrade	9.806s
testing: warning: no tests to run
PASS
ok  	github.com/celestiaorg/celestia-app/x/upgrade/cli	1.113s [no tests to run]
FAIL
make: *** [Makefile:136: test-race] Error 1
Error: Process completed with exit code 2.

Occurrences

Proposal

  1. Short term: skip TestLegacyUpgrade when running tests in upgrade mode
  2. Long term: Investigate the tests race conditions #1369
@rootulp rootulp added the flake A test flake that occurred on Github CI label Feb 8, 2024
@rootulp rootulp self-assigned this Feb 14, 2024
rootulp added a commit that referenced this issue Feb 14, 2024
0xchainlover pushed a commit to celestia-org/celestia-app that referenced this issue Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flake A test flake that occurred on Github CI
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant