-
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
Flaky test: Various CLI tests failing due to high load #2855
Labels
Test failure
A flaky test or nightly CI failure
Comments
Anviking
changed the title
Flaky test: Various CLI tests failing from high load
Flaky test: Various CLI tests failing due to high load
Aug 26, 2021
This was referenced Aug 26, 2021
Good analysis, thanks @Anviking. 👍 |
This was referenced Aug 27, 2021
iohk-bors bot
added a commit
that referenced
this issue
Aug 29, 2021
2857: Fix leaks of ≈21 more wallets in integration tests r=rvl a=Anviking - [x] Replace 3 manual calls to `Link.postWallets` with the `ResourceT` `postByronWallet` - [x] Also make `createWalletFromPublicKeyViaCLI` run in `ResourceT` ### Comments - 21 wallets is a pretty significant number, so will be good to fix. Although the leaks were at the end of the tests, which lessens the impact. - There seem to be _some_ concurrency related leaks. #### Before second fix - --match "WALLET" -j 1 ->18 leaks, all at the end #### After fixes - --match "WALLET" -j 1, no leaks - --match "WALLET" -j 8, 10 leaks (3 BUSY, 6 others) ``` SQLITE_BUSY in logs: ica.14828b804a1ebe804caddd1abb5d314d2be0a62a.sqlite ica.25341683360a040721f587d069b95762b302f608.sqlite rnd.5fc0960622bc4d3a5d366a0920dfd9b5ef578ced.sqlite rnd.81273c47add77e98b3993e01cab8b2a836cd48b7.sqlite she.95cff5e68f07b759c72d4da4f1aa96e0b101bba2.sqlite she.a99218ce4bbc77f05617d642c0595246621b67b6.sqlite Remaining DBs: ica.14828b804a1ebe804caddd1abb5d314d2be0a62a.sqlite ica.25341683360a040721f587d069b95762b302f608.sqlite rnd.5fc0960622bc4d3a5d366a0920dfd9b5ef578ced.sqlite ica.ed49f6e7723fa2c15575c147566981beab6aba3e.sqlite rnd.693940686b48985ab6ec8035a56575e0473e96de.sqlite rnd.81273c47add77e98b3993e01cab8b2a836cd48b7.sqlite sha.9316fc445533f9e58becf0d367d3a9404585ea86.sqlite she.3464b427c15341dab8aaf6d89c8f79e5f24f9eae.sqlite she.a0bd7c6accac92d54fb667bf32bcba4db4cd552f.sqlite stake-pools.sqlite ``` <!-- Additional comments, links, or screenshots to attach, if any. --> ### Issue Number ADP-1090 2858: Add (Instance of #ISSUE) re-write rule for bors comments r=rvl a=Anviking - [x] Add simple re-write rules for bors-failure tags using annotations in Github issue titles ### Comments This gives us a fairly easy way to close specific tickets in favor of a more general one, without having to edit the corresponding bors-comments. This is done by writing e.g. "(Instance of #2)" for issue #1, if you want re-annotate failures from #1 as really being from #2. **Example:** #2855 <!-- Additional comments, links, or screenshots to attach, if any. --> ### Issue Number <!-- Reference the Jira/GitHub issue that this PR relates to, and which requirements it tackles. Note: Jira issues of the form ADP- will be auto-linked. --> Co-authored-by: Johannes Lund <[email protected]>
This was referenced Sep 1, 2021
Merged
There has been a recent uptick of similar-looking failures:
|
Closed
1 task
This was referenced Feb 10, 2022
I don't think there's any current problem specific to CLI tests. Closing. There was an issue of leaking wallets which was fixed some year ago. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please ensure:
Context
From #2854:
Group of:
SHELLEY_CLI_WALLETS, WALLETS_CREATE_04
- fd:146: hFlush: resource vanished (Broken pipe) #2753https://github.com/input-output-hk/cardano-wallet/blob/de41cdeb78d8057b22db1689887dc3a9092b590e/lib/shelley/test/integration/Main.hs#L218-L221
Job name
Integration
Test case name(s)
No response
Error message
Build link
#2721 (comment)
The text was updated successfully, but these errors were encountered: