You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: psmSwap tx send failed: {"exitCode":2}
at psmSwap (file:///usr/src/proposals/z:acceptance/test-lib/psm-lib.js:552:11)
at async file:///usr/src/proposals/z:acceptance/psm.test.js:195:3
7:00PM ERR Error on broadcastTxCommit err="timed out waiting for tx to be included in a block" module=rpc
psmSwap tx send failed {
command: 'agoric wallet --keyring-backend=test send --offer /tmp/agops.OlQ --from agoric1zlesuj60a3f59slushj65xx5asmzd8s7mn59qm --verbose',
durationMs: 11091.834717,
shortMessage: "Command failed with exit code 2: agoric wallet '--keyring-backend=test' send --offer /tmp/agops.OlQ --from agoric1zlesuj60a3f59slushj65xx5asmzd8s7mn59qm --verbose",
cause: undefined,
exitCode: 2,
…
'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\n' +
Cause
This issue seems to be related to -bblock flag that is used, used in;
I went over all tests under z:acceptance and observed that all tests other than psm.test.js use executeOffer which uses agops.perf that doesn't specify a broadcast option (sync, async, block).
The reason why we didn't use executeOffer in psm.test.js is; in order to test auto provisioning we needed to agoric wallet send as agops.perf needs a provisioned account to function.
Solution
Start using sendOfferAgd and remove -bblock option from it.
The text was updated successfully, but these errors were encountered:
Problem Definition
In CI we observed some flakiness with
psm.test.js
.https://github.com/Agoric/agoric-sdk/actions/runs/12363738833/job/34505666038?pr=10692#step:10:8349
https://github.com/Agoric/agoric-sdk/actions/runs/12363738833/job/34505666038?pr=10692#step:10:7692
The error message being;
Cause
This issue seems to be related to
-bblock
flag that is used, used in;agoric-sdk/a3p-integration/proposals/z:acceptance/test-lib/psm-lib.js
Line 447 in 7b7ceb9
agoric-sdk/a3p-integration/proposals/z:acceptance/test-lib/psm-lib.js
Line 470 in 7b7ceb9
Looking at
cosmos-sdk
repo, we can see that-bblock
is deprecated as of v0.47. Here are some issues talking about this;block
. cosmos/cosmos-sdk#12167Here's the PR that deprecated
-bblock
: cosmos/cosmos-sdk#12659This issue describes a possible reproducing scenario: cosmos/cosmos-sdk#8510
Why do we only see this error in
psm.test.js
?I went over all tests under
z:acceptance
and observed that all tests other thanpsm.test.js
use executeOffer which usesagops.perf
that doesn't specify a broadcast option (sync, async, block).The reason why we didn't use
executeOffer
inpsm.test.js
is; in order to test auto provisioning we needed toagoric wallet send
asagops.perf
needs a provisioned account to function.Solution
Start using
sendOfferAgd
and remove-bblock
option from it.The text was updated successfully, but these errors were encountered: