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

Flaky test: Somethingwentwrong in migration tests #3441

Closed
1 task done
Anviking opened this issue Aug 16, 2022 · 1 comment
Closed
1 task done

Flaky test: Somethingwentwrong in migration tests #3441

Anviking opened this issue Aug 16, 2022 · 1 comment
Labels
Test failure A flaky test or nightly CI failure

Comments

@Anviking
Copy link
Member

Please ensure:

  • This is actually a flaky test already present in the code and not caused by your PR.

Context

  • Migration tests use Hspec.it rather than the default retrying it
  • This might be a very real problem (occasional err500) which despite not being related to migrations shows up here

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

#3437 (comment)

@Anviking
Copy link
Member Author

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

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

1 participant