cardano-foundation / cardano-wallet

HTTP server & command-line for managing UTxOs and HD wallets in Cardano.
Apache License 2.0
765 stars 214 forks source link

Flaky test: Somethingwentwrong in migration tests #3441

Closed Anviking closed 1 year ago

Anviking commented 2 years ago

Please ensure:

Context

Job name

cardano-wallet:integration

Test case name(s)

MIGRATE

Error message

src/Test/Integration/Scenario/API/Shelley/Migrations.hs:889:19:
  1) API Specifications, SHELLEY_MIGRATIONS, SHELLEY_MIGRATE_08 - It's possible to migrate a wallet with many small ada quantities, provided that the total balance is significantly greater than the minimum ada quantity for an output.
       From the following response: Left
           ( DecodeFailure "Something went wrong" "Error in $: Failed reading: not a valid json value at 'Somethingwentwrong'" )
       While verifying value:
         ( Status
             { statusCode = 500
             , statusMessage = "Internal Server Error"
             }
         , Left
             ( DecodeFailure "Something went wrong" "Error in $: Failed reading: not a valid json value at 'Somethingwentwrong'" )
         )
       expected: Status {
                   statusCode = 202,
                   statusMessage = "Accepted"
                 }
        but got: Status {
                   statusCode = 500,
                   statusMessage = "Internal Server Error"
                 }

  To rerun use: --match "/API Specifications/SHELLEY_MIGRATIONS/SHELLEY_MIGRATE_08 - It's possible to migrate a wallet with many small ada quantities, provided that the total balance is significantly greater than the minimum ada quantity for an output./"

  src/Test/Integration/Framework/DSL.hs:1206:21:
  2) API Specifications, SHELLEY_MIGRATIONS, SHELLEY_MIGRATE_09 - Can migrate a wallet that has rewards.
       Waited longer than 90s to resolve action: "waitForNextEpoch: goes to next epoch". Error condition: Just getFromResponse failed to get item
       CallStack (from HasCallStack):
         error, called at src/Test/Integration/Framework/DSL.hs:2114:16 in cardano-wallet-core-integration-2022.8.16-6kea9TG0O42J3u3MTFlmNy:Test.Integration.Framework.DSL
         getFromResponse, called at src/Test/Integration/Framework/DSL.hs:1051:14 in cardano-wallet-core-integration-2022.8.16-6kea9TG0O42J3u3MTFlmNy:Test.Integration.Framework.DSL

  To rerun use: --match "/API Specifications/SHELLEY_MIGRATIONS/SHELLEY_MIGRATE_09 - Can migrate a wallet that has rewards./"

Build link

https://github.com/input-output-hk/cardano-wallet/pull/3437#issuecomment-1216399830

Anviking commented 1 year ago

Sounds potentially interesting, but we haven't seen it for a while. Closing in the meantime.