Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .circleci/continue/rust-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,11 @@ jobs:
cd rust/kona && just test-e2e-sysgo-run node node/reorgs "<<parameters.devnet_config>>"
- go-save-cache:
namespace: kona-ci
- store_test_results:
path: rust/kona/tests/tmp/test-results
- store_artifacts:
path: rust/kona/tests/tmp/testlogs
when: always

# Kona Node Restart Tests (from node_e2e_sysgo_tests.yaml)
rust-restart-sysgo-tests:
Expand All @@ -211,6 +216,11 @@ jobs:
cd rust/kona && just test-e2e-sysgo node node/restart
- go-save-cache:
namespace: kona-ci
- store_test_results:
path: rust/kona/tests/tmp/test-results
- store_artifacts:
path: rust/kona/tests/tmp/testlogs
when: always

# op-reth E2E Sysgo Tests
op-reth-e2e-sysgo-tests:
Expand All @@ -237,6 +247,11 @@ jobs:
just test-e2e-sysgo
- go-save-cache:
namespace: op-reth-e2e
- store_test_results:
path: rust/op-reth/tests/tmp/test-results
- store_artifacts:
path: rust/op-reth/tests/tmp/testlogs
when: always

# Kona Proof Action Tests (from proof.yaml)
kona-proof-action-tests:
Expand Down Expand Up @@ -268,6 +283,11 @@ jobs:
just action-tests-<<parameters.kind>>-run
- go-save-cache:
namespace: kona-ci
- store_test_results:
path: op-e2e/actions/proofs/tmp/test-results
- store_artifacts:
path: op-e2e/actions/proofs/tmp/testlogs
when: always

required-rust-e2e:
docker:
Expand Down
1 change: 1 addition & 0 deletions op-e2e/actions/proofs/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
tmp/
3 changes: 2 additions & 1 deletion rust/kona/tests/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ optimism-package
kona-test-logs
proofs
actions
builder_jwt.hex
builder_jwt.hex
tmp/
7 changes: 6 additions & 1 deletion rust/kona/tests/justfile
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,12 @@ test-e2e-sysgo-run BINARY="node" GO_PKG_NAME="node/common" DEVNET="simple-kona"
export SKIP_P2P_CONNECTION_CHECK=true

# Run the test with count=1 to avoid caching the test results.
cd {{SOURCE}} && go test -count=1 -timeout 40m -v ./$GO_PKG_NAME $FILTER
cd {{SOURCE}}
mkdir -p ./tmp/test-results ./tmp/testlogs
gotestsum --format=testname \
--junitfile=./tmp/test-results/results.xml \
--jsonfile=./tmp/testlogs/log.json \
-- -count=1 -timeout 40m ./$GO_PKG_NAME $FILTER

long-running-test FILTER="" OUTPUT_LOGS_DIR="":
#!/bin/bash
Expand Down
1 change: 1 addition & 0 deletions rust/op-reth/tests/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
tmp/
6 changes: 5 additions & 1 deletion rust/op-reth/tests/justfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,15 @@ test-e2e-sysgo: build-contracts
#!/usr/bin/env bash
set -euo pipefail
echo "Running E2E tests with Sysgo"
mkdir -p tmp/test-results tmp/testlogs
export DISABLE_OP_E2E_LEGACY=true
export DEVSTACK_ORCHESTRATOR=sysgo
export OP_RETH_ENABLE_PROOF_HISTORY=true
export SKIP_P2P_CONNECTION_CHECK=true
export OP_RETH_EXEC_PATH="{{SOURCE_DIR}}/../../target/release/op-reth"
export OP_DEVSTACK_PROOF_SEQUENCER_EL="{{OP_DEVSTACK_PROOF_SEQUENCER_EL}}"
export OP_DEVSTACK_PROOF_VALIDATOR_EL="{{OP_DEVSTACK_PROOF_VALIDATOR_EL}}"
go test -count=1 -timeout 40m -v ./{{GO_PKG_NAME}}
gotestsum --format=testname \
--junitfile=tmp/test-results/results.xml \
--jsonfile=tmp/testlogs/log.json \
-- -count=1 -timeout 40m ./{{GO_PKG_NAME}}