-
Notifications
You must be signed in to change notification settings - Fork 217
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
Add logging and tracing to shelley integration tests #1754
Conversation
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.
LGTM modulo redundant imports
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.
👍
Not finished yet! |
337c299
to
5803d9b
Compare
Now it's ready for review... bors try |
tryBuild failed |
8849f8c
to
2901e16
Compare
bors r+ |
1754: Add logging and tracing to shelley integration tests r=rvl a=rvl ### Overview To help debug integration tests cluster issues. - [x] Add debug tracing around cluster startup and shutdown. - [x] Allow increasing the minimum log severity for integration tests with an environment variable. - [x] Make sure all cluster nodes have exactly the same start time. This prevents these errors: ``` [blue:cardano.node.IpSubscription:Error:46] [2020-06-15 15:34:20.86 UTC] [String "Failed to start all required subscriptions",String "[127.0.0.1:3263,127.0.0.1:32865]",String "WithIPList SubscriptionTrace",String "LocalAddresses {laIpv4 = Just 0.0.0.0:0, laIpv6 = Just [::]:0, laUnix = Nothing}"] ``` - [x] Re-enable stake pools in test cluster. # Comments To do later: - Output debug log files for each cardano-node process to the temporary directory — requires [CAD-1247](https://jira.iohk.io/browse/CAD-1247) - Different hostnames in cardano-node logs — requires IntersectMBO/cardano-node#1278 Co-authored-by: Rodney Lorrimar <[email protected]>
Build failed |
The integration tests are flaky at the moment, due to the problem which #1768 will fix. |
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.
LGTM
afcff17
to
6f31485
Compare
bors r+ |
1754: Add logging and tracing to shelley integration tests r=rvl a=rvl ### Overview To help debug integration tests cluster issues. - [x] Add debug tracing around cluster startup and shutdown. - [x] Allow increasing the minimum log severity for integration tests with an environment variable. - [x] Make sure all cluster nodes have exactly the same start time. This prevents these errors: ``` [blue:cardano.node.IpSubscription:Error:46] [2020-06-15 15:34:20.86 UTC] [String "Failed to start all required subscriptions",String "[127.0.0.1:3263,127.0.0.1:32865]",String "WithIPList SubscriptionTrace",String "LocalAddresses {laIpv4 = Just 0.0.0.0:0, laIpv6 = Just [::]:0, laUnix = Nothing}"] ``` - [x] Re-enable stake pools in test cluster. # Comments To do later: - Output debug log files for each cardano-node process to the temporary directory — requires [CAD-1247](https://jira.iohk.io/browse/CAD-1247) - Different hostnames in cardano-node logs — requires IntersectMBO/cardano-node#1278 Co-authored-by: Rodney Lorrimar <[email protected]>
Build failed |
bors r+ |
Build succeeded |
Overview
To help debug integration tests cluster issues.
Comments
To do later: