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

(Instance of #2855) Flaky test: SHELLEY_CLI_WALLETS, WALLETS_CREATE_04 - fd:146: hFlush: resource vanished (Broken pipe) #2753

Closed
piotr-iohk opened this issue Jul 7, 2021 · 2 comments
Labels
Test failure A flaky test or nightly CI failure

Comments

@piotr-iohk
Copy link
Contributor

Context

https://buildkite.com/input-output-hk/cardano-wallet/builds/15401#6bd555ea-a279-464a-9097-7c57af05b7fc

Test Case

SHELLEY_CLI_WALLETS, WALLETS_CREATE_04 - Wallet names invalid, name is too short: expected at least 1 character

Failure / Counter-example

cardano-wallet                 > Failures:
--
  | cardano-wallet                 >
  | cardano-wallet                 >   src/Test/Integration/Scenario/CLI/Shelley/Wallets.hs:285:56:
  | cardano-wallet                 >   1) CLI Specifications, SHELLEY_CLI_WALLETS, WALLETS_CREATE_04 - Wallet names invalid, name is too short: expected at least 1 character
  | cardano-wallet                 >        uncaught exception: IOException of type ResourceVanished
  | cardano-wallet                 >        fd:146: hFlush: resource vanished (Broken pipe)
  | cardano-wallet                 >
  | cardano-wallet                 >   To rerun use: --match "/CLI Specifications/SHELLEY_CLI_WALLETS/WALLETS_CREATE_04 - Wallet names invalid/name is too short: expected at least 1 character/"
  | cardano-wallet                 >
  | cardano-wallet                 > Randomized with seed 1377329000
  | cardano-wallet                 >
  | cardano-wallet                 > Finished in 907.3185 seconds, used 996.7970 seconds of CPU time
  | cardano-wallet                 > 836 examples, 1 failure, 21 pending

Resolution


QA

@Anviking
Copy link
Member

From https://stackoverflow.com/questions/34002720/why-am-i-getting-hputchar-resource-vanished-errors-from-simple-haskell-networ:

This basically means that your server closes the connection without completing the exchange; this should not be intended behavior. The wiki page you linked to says about this code: «Relies on the runtime scheduler to wake up the main thread in a timely fashion». Maybe this is not always happening

So sounds like the load is too high, just like in #2428, and #2854 should hopefully help.

@Anviking Anviking changed the title Flaky test: SHELLEY_CLI_WALLETS, WALLETS_CREATE_04 - fd:146: hFlush: resource vanished (Broken pipe) (Instance of #2855) Flaky test: SHELLEY_CLI_WALLETS, WALLETS_CREATE_04 - fd:146: hFlush: resource vanished (Broken pipe) Aug 26, 2021
@Anviking
Copy link
Member

Tracking as #2855

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Test failure A flaky test or nightly CI failure
Projects
None yet
Development

No branches or pull requests

2 participants