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

boot liquidation-concurrent-1 flakes sometimes #10124

Open
0xpatrickdev opened this issue Sep 20, 2024 · 0 comments
Open

boot liquidation-concurrent-1 flakes sometimes #10124

0xpatrickdev opened this issue Sep 20, 2024 · 0 comments
Labels
flake flakey test

Comments

@0xpatrickdev
Copy link
Member

What is the Problem Being Solved?

Example failure: https://github.com/Agoric/agoric-sdk/actions/runs/10425304981/job/28875999346#step:5:18

Test File: https://github.com/Agoric/agoric-sdk/blob/c8b3f2fbc55385b6c9ecd70a4d2a26f4fb0cadf7/packages/boot/test/bootstrapTests/liquidation-concurrent-1.test.ts

logs
yarn run v1.22.22
$ SWINGSET_WORKER_TYPE=xs-worker ava test/bootstrapTests test/upgrading
TAP version 13
failed to load bundles/decentral-itest-vaults-config.json
not ok 1 - liquidation-concurrent-1 › before hook %ava-dur=69ms
#   REJECTED from ava test.before(): (SyntaxError#1)
#   SyntaxError#1: Unexpected end of JSON input
#       at JSON.parse (<anonymous>)
#       at loadSwingsetConfigFile (/home/runner/work/agoric-sdk/agoric-sdk/packages/SwingSet/src/controller/initializeSwingset.js:239:25)
#       at async ensureSwingsetInitialized (file:///home/runner/work/agoric-sdk/agoric-sdk/packages/cosmic-swingset/src/launch-chain.js:[14](https://github.com/Agoric/agoric-sdk/actions/runs/10425304981/job/28875999346#step:5:15)5:18)
#       at async buildSwingset (file:///home/runner/work/agoric-sdk/agoric-sdk/packages/cosmic-swingset/src/launch-chain.js:217:25)
#       at makeSwingsetTestKit (/home/runner/work/agoric-sdk/agoric-sdk/packages/boot/tools/supports.ts:501:48)
#       at makeLiquidationTestContext (/home/runner/work/agoric-sdk/agoric-sdk/packages/boot/tools/liquidation.ts:308:27)
#       at <anonymous> (/home/runner/work/agoric-sdk/agoric-sdk/packages/boot/test/bootstrapTests/liquidation-concurrent-1.test.ts:228:[15](https://github.com/Agoric/agoric-sdk/actions/runs/10425304981/job/28875999346#step:5:16))

  ---
    name: AssertionError
    message: Rejected promise returned by test
    values:
      'Rejected promise returned by test. Reason:': |-
        SyntaxError {
          message: 'Unexpected end of JSON input',
        }
    at: >-
      JSON.parse (<anonymous>)

      loadSwingsetConfigFile
      (/home/runner/work/agoric-sdk/agoric-sdk/packages/SwingSet/src/controller/initializeSwingset.js:239:25)

      async ensureSwingsetInitialized
      (file:///home/runner/work/agoric-sdk/agoric-sdk/packages/cosmic-swingset/src/launch-chain.js:145:18)

      async buildSwingset
      (file:///home/runner/work/agoric-sdk/agoric-sdk/packages/cosmic-swingset/src/launch-chain.js:2[17](https://github.com/Agoric/agoric-sdk/actions/runs/10425304981/job/28875999346#step:5:18):25)

      makeSwingsetTestKit (tools/supports.ts:501:48)

      makeLiquidationTestContext (tools/liquidation.ts:308:27)

      <anonymous> (test/bootstrapTests/liquidation-concurrent-1.test.ts:228:15)
  ...
# liquidation-concurrent-1 › after.always hook

Description of the Design

Security Considerations

Scaling Considerations

Test Plan

Upgrade Considerations

@0xpatrickdev 0xpatrickdev added the flake flakey test label Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flake flakey test
Projects
None yet
Development

No branches or pull requests

1 participant