Skip to content
Draft
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
21 changes: 16 additions & 5 deletions .github/workflows/cre-soak-memory-leak.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ on:
description: "Chainlink image tag to use"
required: true
type: string
chainlink_version:
description: "Test / orchestration code reference to use (defaults to github.sha)"
required: false
type: string
workflow_call:
inputs:
ecr_name:
Expand All @@ -21,6 +25,10 @@ on:
chainlink_image_tag:
required: true
type: string
chainlink_version:
description: "Test / orchestration code reference to use (defaults to github.sha)"
required: false
type: string

jobs:
soak:
Expand Down Expand Up @@ -51,7 +59,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v6
with:
ref: ${{ github.sha }}
ref: ${{ inputs.chainlink_version || github.sha }}
persist-credentials: false

- name: Set up Go
Expand Down Expand Up @@ -129,12 +137,14 @@ jobs:
-count=1 \
github.com/smartcontractkit/chainlink/system-tests/tests/soak/cre

- name: Upload alloc.pprof
- name: Upload performance reports
if: always()
uses: actions/upload-artifact@v7
with:
name: alloc.pprof
path: system-tests/tests/soak/cre/alloc.pprof
name: pprof
path: |
system-tests/tests/soak/cre/*.pprof
system-tests/tests/soak/cre/admin-profiles
retention-days: 7

- name: Upload Docker logs
Expand All @@ -147,7 +157,8 @@ jobs:

notify-test-failure:
name: Notify about test Failure
if: failure()
if: false # TODO: Remove before merging
# if: failure()
needs: [soak]
environment:
name: integration
Expand Down
15 changes: 8 additions & 7 deletions core/scripts/cre/environment/configs/workflow-gateway-don.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@
[[nodesets.node_specs]]
roles = ["plugin"]
[nodesets.node_specs.node]
docker_ctx = "../../../.."
docker_file = "core/chainlink.Dockerfile"
docker_build_args = { "CL_IS_PROD_BUILD" = "false" }
# image = "chainlink-tmp:latest"
#docker_ctx = "../../../.."
#docker_file = "core/chainlink.Dockerfile"
#docker_build_args = { "CL_IS_PROD_BUILD" = "false" }
image = "chainlink-tmp:latest"
user_config_overrides = ""

[[nodesets]]
Expand All @@ -75,9 +75,10 @@
[[nodesets.node_specs]]
roles = ["bootstrap", "gateway"]
[nodesets.node_specs.node]
docker_ctx = "../../../.."
docker_file = "core/chainlink.Dockerfile"
docker_build_args = { "CL_IS_PROD_BUILD" = "false" }
#docker_ctx = "../../../.."
#docker_file = "core/chainlink.Dockerfile"
#docker_build_args = { "CL_IS_PROD_BUILD" = "false" }
image = "chainlink-tmp:latest"
# 5002 is the web API capabilities port for incoming requests
# 15002 is the vault port for incoming requests
custom_ports = ["5002:5002","15002:15002"]
Expand Down
2 changes: 1 addition & 1 deletion core/scripts/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ require (
github.com/smartcontractkit/chainlink-evm/gethwrappers v0.0.0-20260119171452-39c98c3b33cd
github.com/smartcontractkit/chainlink-protos/cre/go v0.0.0-20260326111235-8c09d1a4491f
github.com/smartcontractkit/chainlink-protos/job-distributor v0.18.0
github.com/smartcontractkit/chainlink-testing-framework/framework v0.15.15
github.com/smartcontractkit/chainlink-testing-framework/framework v0.15.16-0.20260413143810-8b60da49d290
github.com/smartcontractkit/chainlink-testing-framework/framework/components/dockercompose v0.1.20
github.com/smartcontractkit/chainlink-testing-framework/lib v1.54.5
github.com/smartcontractkit/chainlink-testing-framework/seth v1.51.5
Expand Down
4 changes: 2 additions & 2 deletions core/scripts/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion system-tests/lib/cre/don/secrets/secrets.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
type nodeSecret struct {
EthKeys nodeEthKeyWrapper `toml:"EVM"`
SolKeys nodeSolKeyWrapper `toml:"Solana"`
AptosKeys nodeAptosKeyWrapper `toml:"Aptos"`
AptosKeys nodeAptosKeyWrapper `toml:"-"` // TODO set back to `toml:"Aptos"` before merging
P2PKey nodeP2PKey `toml:"P2PKey"`
DKGRecipientKey nodeDKGRecipientKey `toml:"DKGRecipientKey"`

Expand Down
2 changes: 1 addition & 1 deletion system-tests/lib/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ require (
github.com/smartcontractkit/chainlink-protos/job-distributor v0.18.0
github.com/smartcontractkit/chainlink-protos/workflows/go v0.0.0-20260323124644-faea187e6997
github.com/smartcontractkit/chainlink-solana v1.1.2-0.20260407162454-407b2a207dcc
github.com/smartcontractkit/chainlink-testing-framework/framework v0.15.15
github.com/smartcontractkit/chainlink-testing-framework/framework v0.15.16-0.20260413143810-8b60da49d290
github.com/smartcontractkit/chainlink-testing-framework/framework/components/dockercompose v0.1.15
github.com/smartcontractkit/chainlink-testing-framework/framework/components/fake v0.10.0
github.com/smartcontractkit/chainlink-testing-framework/lib v1.54.5
Expand Down
4 changes: 2 additions & 2 deletions system-tests/lib/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion system-tests/tests/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ require (
github.com/smartcontractkit/chainlink-protos/job-distributor v0.18.0
github.com/smartcontractkit/chainlink-protos/ring/go v0.0.0-20260331131315-f08a616d8dcd
github.com/smartcontractkit/chainlink-protos/workflows/go v0.0.0-20260323124644-faea187e6997
github.com/smartcontractkit/chainlink-testing-framework/framework v0.15.15
github.com/smartcontractkit/chainlink-testing-framework/framework v0.15.16-0.20260413143810-8b60da49d290
github.com/smartcontractkit/chainlink-testing-framework/framework/components/fake v0.10.0
github.com/smartcontractkit/chainlink-testing-framework/havoc v1.50.7
github.com/smartcontractkit/chainlink-testing-framework/lib v1.54.5
Expand Down
4 changes: 2 additions & 2 deletions system-tests/tests/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion system-tests/tests/soak/cre/soak_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Environment variables:
- CTF_CONFIGS: path to the environment config TOML file.
*/
func Test_CRE_PoR_MemoryLeakSoak(t *testing.T) {
const numWorkflows = 20
const numWorkflows = 2

start := time.Now()

Expand Down
Loading