near-sdk-contract-tools icon indicating copy to clipboard operation
near-sdk-contract-tools copied to clipboard

Sporadic workspaces test failure on GH Actions: `upgrade_jsonbase64`

Open encody opened this issue 1 year ago • 1 comments

The upgrade_jsonbase64 workspaces test fails intermittently, apparently randomly? I am unable to reproduce it locally; it only happens during GitHub Actions runs.

Error output:

thread 'upgrade_jsonbase64' panicked at 'called `Result::unwrap()` on an `Err` value: ExecutionResult { total_gas_burnt: 183383972577669, transaction: ExecutionOutcome { block_hash: `DqYqCVNUxsCDwRWR7MhVVWAra8BGNzbqhc7r3X78gSMa`, logs: [], receipt_ids: [`2Maihqw8AeUJ6aY92z5b4ekZ67QPVP2ovhi2kPvLbtMa`], gas_burnt: 7961066129364, tokens_burnt: 796106612936400000000, executor_id: AccountId("dev-20230627080506-39159402395063"), status: SuccessReceiptId(2Maihqw8AeUJ6aY92z5b4ekZ67QPVP2ovhi2kPvLbtMa) }, receipts: [ExecutionOutcome { block_hash: `DqYqCVNUxsCDwRWR7MhVVWAra8BGNzbqhc7r3X78gSMa`, logs: [], receipt_ids: [`BvgRTy9SEwG5JTSR8DaqqWYqt8ukACNdyKLY9x83SVHc`], gas_burnt: 175199723885805, tokens_burnt: 17519972388580500000000, executor_id: AccountId("dev-20230627080506-39159402395063"), status: Failure(ActionError(ActionError { index: Some(0), kind: FunctionCallError(ExecutionError("Exceeded the prepaid gas.")) })) }, ExecutionOutcome { block_hash: `8aDUmmCYaD5AM2FfkD5Vwph5YmRqvMebbTYFTqZf9y1F`, logs: [], receipt_ids: [], gas_burnt: 223182562500, tokens_burnt: 0, executor_id: AccountId("dev-20230627080506-39159402395063"), status: SuccessValue(``) }], value: ActionError(ActionError { index: Some(0), kind: FunctionCallError(ExecutionError("Exceeded the prepaid gas.")) }) }', /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/workspaces-0.7.0/src/result.rs:222:28

Succeeding run and subsequent failing run which changed very little (should not have affected test results).

encody avatar Jun 27 '23 08:06 encody