-
Notifications
You must be signed in to change notification settings - Fork 53
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 Hanging CI #3697
Merged
Merged
Fix Hanging CI #3697
Changes from all commits
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
b581608
shutdown completion task last
bfish713 4ee6bca
fix shutdown order
bfish713 c93c222
Merge branch 'main' into bf/test-hang-fix
bfish713 6c88880
fmt
bfish713 b261433
log everything at info when test fails
bfish713 4bfa83d
clear failed, logging
bfish713 67a2f42
fix build
bfish713 77e5ab1
different log level
bfish713 c1f2b7f
no capture again
bfish713 78d7b3d
typo
bfish713 803273d
move logging + do startups in parallel
bfish713 a11ff20
fmt
bfish713 e347c39
change initial timeout
bfish713 82175e4
remove nocapture
bfish713 2b60753
nocapture again
bfish713 40569d6
Merge branch 'main' into bf/test-hang-fix
bfish713 a81ad8f
fix
bfish713 70c994b
only log nodes started when there are nodes starting
bfish713 11c403b
log exit
bfish713 ca9e508
log when timeout starts
bfish713 c90ef6a
log id and view
bfish713 827aeb4
only shutdown from 1 place
bfish713 b9e4c28
fix build, remove handles from completetion task
bfish713 ca2a0d2
leave one up in cdn test
bfish713 07b54b0
more logs, less threads, maybe fix?
bfish713 74f0e27
actual fix
bfish713 b2ca805
lint fmt
bfish713 05794c4
Merge remote-tracking branch 'origin/main' into bf/test-hang-fix
bfish713 4cca1d0
allow more than 1 thread, tweaks
bfish713 6319aa0
remove nocapture
bfish713 f9af84f
move byzantine tests to ci-3
bfish713 a3ec2bb
rebalance tests more
bfish713 aafdc32
one more test to 4
bfish713 5f305bc
only spawn first timeout when starting consensus
bfish713 9df4ad2
cleanup
bfish713 609ceca
fix justfile lint tokio
bfish713 7e8fb31
fix justfil
bfish713 99ef939
sleep longer, nocapture to debug
bfish713 43343bd
info
bfish713 44fd242
fix another hot loop maybe
bfish713 a69f68c
don't spawn r/r tasks for cdn that do nothing
bfish713 369ab05
lint no sleep
bfish713 99b3f94
lower log level in libp2p
bfish713 d7e21b6
Merge branch 'main' into bf/test-hang-fix
bfish713 13fd192
lower builder test threshold
bfish713 d7290bd
remove nocapture for the last time, hopefully
bfish713 068bd02
remove cleanup_previous_timeouts_on_view
bfish713 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -519,6 +519,7 @@ impl< | |
.await; | ||
None | ||
} | ||
|
||
_ => None, | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How do we cancel the task spawned here? Probably I'm missing something.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't, but it can only run for the timeout duration then it'll just send an event into a closed stream (and error) if the node is shutdown before timeout. The timeout itself will be ignored if progress is made. I think cleaning this up so we can cancel on view change is a good idea though.