test: add readonly e2e test #4852
Annotations
3 errors and 1 warning
Run stateless.js tests:
js/stateless.js/src/utils/send-and-confirm.ts#L57
Error: Simulation failed.
Message: Transaction simulation failed: Error processing Instruction 1: Program failed to complete.
Logs:
[
"Program ComputeBudget111111111111111111111111111111 success",
"Program SySTEM1eSU2p4BGQfQpimFEWWSC1XDFeun3Nqzz3rT7 invoke [1]",
"Program log: Instruction: Invoke",
"Program compr6CUsB5m2jS4Y3831ztGSTnDpnKJTKS95d64XVq invoke [2]",
"Program log: Instruction: InsertAddresses",
"Program log: panicked at programs/account-compression/src/instructions/insert_into_queues.rs:78:44:\ncalled `Option::unwrap()` on a `None` value",
"Program compr6CUsB5m2jS4Y3831ztGSTnDpnKJTKS95d64XVq consumed 5083 of 968557 compute units",
"Program compr6CUsB5m2jS4Y3831ztGSTnDpnKJTKS95d64XVq failed: SBF program panicked",
"Program SySTEM1eSU2p4BGQfQpimFEWWSC1XDFeun3Nqzz3rT7 consumed 36376 of 999850 compute units",
"Program SySTEM1eSU2p4BGQfQpimFEWWSC1XDFeun3Nqzz3rT7 failed: Program failed to complete"
].
Catch the `SendTransactionError` and call `getLogs()` on it for full details.
❯ TestRpc.sendEncodedTransaction ../../node_modules/.pnpm/@Solana[email protected][email protected][email protected]/node_modules/@solana/web3.js/src/connection.ts:6047:13
❯ TestRpc.sendRawTransaction ../../node_modules/.pnpm/@Solana[email protected][email protected][email protected]/node_modules/@solana/web3.js/src/connection.ts:6003:20
❯ TestRpc.sendTransaction ../../node_modules/.pnpm/@Solana[email protected][email protected][email protected]/node_modules/@solana/web3.js/src/connection.ts:5952:14
❯ Module.sendAndConfirmTx src/utils/send-and-confirm.ts:57:18
❯ Module.createAccount src/actions/create-account.ts:96:18
❯ tests/e2e/compress.test.ts:78:9
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { signature: '', transactionMessage: 'Transaction simulation failed: Error processing Instruction 1: Program failed to complete', transactionLogs: [ 'Program ComputeBudget111111111111111111111111111111 invoke [1]', 'Program ComputeBudget111111111111111111111111111111 success', 'Program SySTEM1eSU2p4BGQfQpimFEWWSC1XDFeun3Nqzz3rT7 invoke [1]', 'Program log: Instruction: Invoke', 'Program compr6CUsB5m2jS4Y3831ztGSTnDpnKJTKS95d64XVq invoke [2]', 'Program log: Instruction: InsertAddresses', 'Program log: panicked at programs/account-compression/src/instructions/insert_into_queues.rs:78:44:\ncalled `Option::unwrap()` on a `None` value', 'Program compr6CUsB5m2jS4Y3831ztGSTnDpnKJTKS95d64XVq consumed 5083 of 968557 compute units', 'Program compr6CUsB5m2jS4Y3831ztGSTnDpnKJTKS95d64XVq failed: SBF program panicked', 'Program SySTEM1eSU2p4BGQfQpimFEWWSC1XDFeun3Nqzz3rT7 consumed 36376 of 999850 compute units', 'Program SySTEM1eSU2p4BGQfQpimFEWWSC1XDFeun3Nqzz3rT7 failed: Program failed to complete' ], transactionError: { message: 'Transaction simulation failed: Error processing Instruction 1: Program failed to complete', logs: [ 'Program ComputeBudget111111111111111111111111111111 invoke [1]', 'Program ComputeBudget111111111111111111111111111111 success', 'Program SySTEM1eSU2p4BGQfQpimFEWWSC1XDFeun3Nqzz3rT7 invoke [1]', 'Program log: Instruction: Invoke', 'Program compr6CUsB5m2jS4Y3831ztGSTnDpnKJTKS95d64XVq invoke [2]', 'Program log: Instruction: InsertAddresses', 'Program log: panicked at programs/account-compression/src/instructions/insert_into_queues.rs:78:44:\ncalled `Option::unwrap()` on a `None` value', 'Program compr6CUsB5m2jS4Y3831ztGSTnDpnKJTKS95d64XVq consumed 5083 of 968557 compute units', 'Program compr6CUsB5m2jS4Y3831ztGSTnDpnKJTKS95d64XVq failed: SBF program panicked', 'Program SySTEM1eSU2p4BGQfQpimFEWWSC1XDFeun3Nqzz3rT7 consumed 36376 of 999850 compute units', 'Program SySTEM1eSU2p4BGQfQpimFEWWSC1XDFeun3Nqzz3rT7 failed: Program failed to complete' ] }, logs: [ 'Program ComputeBudget111111111111111111111111111111 invoke [1]', 'Program ComputeBudget111111111111111111111111111111 success', 'Program SySTEM1eSU2p4BGQfQpimFEWWSC1XDFeun3Nqzz3rT7 invoke [1]', 'Program log: Instruction: Invoke', 'Program compr6CUsB5m2jS4Y3831ztGSTnDpnKJTKS95d64XVq invoke [2]', 'Program log: Instruction: InsertAddresses', 'Program lo
|
Run stateless.js tests:
js/stateless.js/src/utils/send-and-confirm.ts#L57
Error: Simulation failed.
Message: Transaction simulation failed: Error processing Instruction 1: Program failed to complete.
Logs:
[
"Program ComputeBudget111111111111111111111111111111 success",
"Program SySTEM1eSU2p4BGQfQpimFEWWSC1XDFeun3Nqzz3rT7 invoke [1]",
"Program log: Instruction: Invoke",
"Program compr6CUsB5m2jS4Y3831ztGSTnDpnKJTKS95d64XVq invoke [2]",
"Program log: Instruction: InsertAddresses",
"Program log: panicked at programs/account-compression/src/instructions/insert_into_queues.rs:78:44:\ncalled `Option::unwrap()` on a `None` value",
"Program compr6CUsB5m2jS4Y3831ztGSTnDpnKJTKS95d64XVq consumed 5083 of 960506 compute units",
"Program compr6CUsB5m2jS4Y3831ztGSTnDpnKJTKS95d64XVq failed: SBF program panicked",
"Program SySTEM1eSU2p4BGQfQpimFEWWSC1XDFeun3Nqzz3rT7 consumed 44427 of 999850 compute units",
"Program SySTEM1eSU2p4BGQfQpimFEWWSC1XDFeun3Nqzz3rT7 failed: Program failed to complete"
].
Catch the `SendTransactionError` and call `getLogs()` on it for full details.
❯ TestRpc.sendEncodedTransaction ../../node_modules/.pnpm/@Solana[email protected][email protected][email protected]/node_modules/@solana/web3.js/src/connection.ts:6047:13
❯ TestRpc.sendRawTransaction ../../node_modules/.pnpm/@Solana[email protected][email protected][email protected]/node_modules/@solana/web3.js/src/connection.ts:6003:20
❯ TestRpc.sendTransaction ../../node_modules/.pnpm/@Solana[email protected][email protected][email protected]/node_modules/@solana/web3.js/src/connection.ts:5952:14
❯ Module.sendAndConfirmTx src/utils/send-and-confirm.ts:57:18
❯ Module.createAccountWithLamports src/actions/create-account.ts:193:18
❯ tests/e2e/compress.test.ts:201:9
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { signature: '', transactionMessage: 'Transaction simulation failed: Error processing Instruction 1: Program failed to complete', transactionLogs: [ 'Program ComputeBudget111111111111111111111111111111 invoke [1]', 'Program ComputeBudget111111111111111111111111111111 success', 'Program SySTEM1eSU2p4BGQfQpimFEWWSC1XDFeun3Nqzz3rT7 invoke [1]', 'Program log: Instruction: Invoke', 'Program compr6CUsB5m2jS4Y3831ztGSTnDpnKJTKS95d64XVq invoke [2]', 'Program log: Instruction: InsertAddresses', 'Program log: panicked at programs/account-compression/src/instructions/insert_into_queues.rs:78:44:\ncalled `Option::unwrap()` on a `None` value', 'Program compr6CUsB5m2jS4Y3831ztGSTnDpnKJTKS95d64XVq consumed 5083 of 960506 compute units', 'Program compr6CUsB5m2jS4Y3831ztGSTnDpnKJTKS95d64XVq failed: SBF program panicked', 'Program SySTEM1eSU2p4BGQfQpimFEWWSC1XDFeun3Nqzz3rT7 consumed 44427 of 999850 compute units', 'Program SySTEM1eSU2p4BGQfQpimFEWWSC1XDFeun3Nqzz3rT7 failed: Program failed to complete' ], transactionError: { message: 'Transaction simulation failed: Error processing Instruction 1: Program failed to complete', logs: [ 'Program ComputeBudget111111111111111111111111111111 invoke [1]', 'Program ComputeBudget111111111111111111111111111111 success', 'Program SySTEM1eSU2p4BGQfQpimFEWWSC1XDFeun3Nqzz3rT7 invoke [1]', 'Program log: Instruction: Invoke', 'Program compr6CUsB5m2jS4Y3831ztGSTnDpnKJTKS95d64XVq invoke [2]', 'Program log: Instruction: InsertAddresses', 'Program log: panicked at programs/account-compression/src/instructions/insert_into_queues.rs:78:44:\ncalled `Option::unwrap()` on a `None` value', 'Program compr6CUsB5m2jS4Y3831ztGSTnDpnKJTKS95d64XVq consumed 5083 of 960506 compute units', 'Program compr6CUsB5m2jS4Y3831ztGSTnDpnKJTKS95d64XVq failed: SBF program panicked', 'Program SySTEM1eSU2p4BGQfQpimFEWWSC1XDFeun3Nqzz3rT7 consumed 44427 of 999850 compute units', 'Program SySTEM1eSU2p4BGQfQpimFEWWSC1XDFeun3Nqzz3rT7 failed: Program failed to complete' ] }, logs: [ 'Program ComputeBudget111111111111111111111111111111 invoke [1]', 'Program ComputeBudget111111111111111111111111111111 success', 'Program SySTEM1eSU2p4BGQfQpimFEWWSC1XDFeun3Nqzz3rT7 invoke [1]', 'Program log: Instruction: Invoke', 'Program compr6CUsB5m2jS4Y3831ztGSTnDpnKJTKS95d64XVq invoke [2]', 'Program log: Instruction: InsertAddresses
|
Run stateless.js tests
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading