Agoric / agoric-sdk

monorepo for the Agoric Javascript smart contract platform
Apache License 2.0
327 stars 207 forks source link

"exitOffer tool reclaims stuck payment" timed out waiting for tx to be included in a block #10565

Open dckc opened 23 hours ago

dckc commented 23 hours ago

Describe the bug

I'm struggling to land #10530 (for #10391). It's in code that shouldn't be affecting acceptance testing yet.

At step:10:4370, we see:

    Error: error in json rpc client, with http response metadata: (Status: 200 OK, Protocol HTTP/1.1). RPC error -32603 - Internal error: timed out waiting for tx to be included in a block

Then at step:10:4372:

 Error {
    message: 'tryExitOffer failed to reclaim stuck payment  condition failed after 15 retries.',

And finally, at step:10:4329:

  ✘ [fail]: exitOffer tool reclaims stuck payment Rejected promise returned by test

To Reproduce

run CI on #10530 (intermittently?)

Expected behavior

no error

Platform Environment

CI: git checkout --progress --force refs/remotes/pull/10530/merge -> 8e51eff9cea49e8c2605724efbe66e53865ec795

Additional context

10530 (for #10391)

dckc commented 23 hours ago

It passed on the 17th, at step:10:3981 for #10483.

2024-11-17T18:31:22.034Z block-manager: block 1619 commit
Object <[Object: null prototype] {}> {
  maxRetries: 15,
  retryIntervalMs: 5000,
  reusePromise: false,
  message: 'tryExitOffer failed to reclaim stuck payment '
}
  ✔ exitOffer tool reclaims stuck payment (3.2s)
dckc commented 2 hours ago

@mfig notes ExecaError ... hardcoded 10 second durationMs: 10142.694018, which is just over a hard-coded 10 second -bblock timeout and a related in-progress PR:

0xpatrickdev commented 2 hours ago

This started to pass in CI so skipping until this ticket is prioritized: https://github.com/Agoric/agoric-sdk/pull/10329/commits/118bc6a304bdf3e084885653c8d049f446bd2b5a