Skip to content

Commit 28c8a2d

Browse files
committed
Merge branch 'develop' into cre-1714-ring-test-real-workflows
2 parents 2977c58 + a869421 commit 28c8a2d

784 files changed

Lines changed: 13651 additions & 14194 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#internal
2+
13
---
24
"chainlink": minor
35
---

.github/e2e-tests.yml

Lines changed: 7 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1242,6 +1242,7 @@ runner-test-matrix:
12421242
-- -v -run "^(TestVRFv2Plus|TestVRFv2PlusMultipleSendingKeys|TestVRFv2PlusMigration|TestVRFv2PlusReplayAfterTimeout|TestVRFv2PlusPendingBlockSimulationAndZeroConfirmationDelays|TestVRFv2PlusNodeReorg|TestVRFv2PlusBatchFulfillmentEnabledDisabled|TestVRFv2PlusWithBHS|TestVRFv2PlusWithBHF)$" -timeout 30m -count=1 -parallel=9 github.com/smartcontractkit/chainlink/integration-tests/smoke
12431243
pyroscope_env: ci-smoke-vrf2plus-evm-simulated
12441244
test_go_project_path: integration-tests
1245+
free_disk_space: true
12451246
# VRFv2Plus tests on any live testnet (test_config_override_path required)
12461247
# Tests have to run in sequence because of a single private key used
12471248

@@ -1318,26 +1319,6 @@ runner-test-matrix:
13181319
pyroscope_env: ci-smoke-log_poller-evm-simulated
13191320
test_go_project_path: integration-tests
13201321

1321-
- id: smoke/log_poller_test.go:^TestLogPollerWithChaosFixedDepth$
1322-
path: integration-tests/smoke/log_poller_test.go
1323-
test_env_type: docker
1324-
runs_on: ubuntu-latest
1325-
triggers:
1326-
- PR E2E Core Tests
1327-
- Merge Queue E2E Core Tests
1328-
- Nightly E2E Tests
1329-
- Push E2E Core Tests
1330-
- Workflow Dispatch E2E Core Tests
1331-
test_cmd: |
1332-
cd smoke && \
1333-
gotestsum \
1334-
--junitfile=/tmp/junit.xml \
1335-
--jsonfile=/tmp/gotest.log \
1336-
--format=github-actions \
1337-
-- -v -run "^TestLogPollerWithChaosFixedDepth$" -parallel=1 -timeout 30m -count=1
1338-
pyroscope_env: ci-smoke-log_poller-evm-simulated
1339-
test_go_project_path: integration-tests
1340-
13411322
- id: smoke/log_poller_test.go:^TestLogPollerWithChaosFinalityTag$
13421323
path: integration-tests/smoke/log_poller_test.go
13431324
test_env_type: docker
@@ -1378,26 +1359,6 @@ runner-test-matrix:
13781359
pyroscope_env: ci-smoke-log_poller-evm-simulated
13791360
test_go_project_path: integration-tests
13801361

1381-
- id: smoke/log_poller_test.go:^TestLogPollerWithChaosPostgresFixedDepth$
1382-
path: integration-tests/smoke/log_poller_test.go
1383-
test_env_type: docker
1384-
runs_on: ubuntu-latest
1385-
triggers:
1386-
- PR E2E Core Tests
1387-
- Merge Queue E2E Core Tests
1388-
- Nightly E2E Tests
1389-
- Push E2E Core Tests
1390-
- Workflow Dispatch E2E Core Tests
1391-
test_cmd: |
1392-
cd smoke && \
1393-
gotestsum \
1394-
--junitfile=/tmp/junit.xml \
1395-
--jsonfile=/tmp/gotest.log \
1396-
--format=github-actions \
1397-
-- -v -run "^TestLogPollerWithChaosPostgresFixedDepth$" -parallel=1 -timeout 30m -count=1
1398-
pyroscope_env: ci-smoke-log_poller-evm-simulated
1399-
test_go_project_path: integration-tests
1400-
14011362
- id: smoke/log_poller_test.go:^TestLogPollerReplayFixedDepth$
14021363
path: integration-tests/smoke/log_poller_test.go
14031364
test_env_type: docker
@@ -1621,6 +1582,7 @@ runner-test-matrix:
16211582
E2E_JD_VERSION: 0.9.0
16221583
CCIP_V16_TEST_ENV: docker
16231584
test_go_project_path: integration-tests
1585+
free_disk_space: true
16241586

16251587
- id: smoke/ccip/ccip_gas_price_updates_test.go:^Test_CCIPGasPriceUpdatesWriteFrequency$
16261588
path: integration-tests/smoke/ccip/ccip_gas_price_updates_test.go
@@ -2021,6 +1983,7 @@ runner-test-matrix:
20211983
E2E_JD_VERSION: 0.9.0
20221984
CCIP_V16_TEST_ENV: docker
20231985
test_go_project_path: integration-tests
1986+
free_disk_space: true
20241987

20251988
- id: smoke/ccip/ccip_jobspec_test.go.go:TestRevokeJobs
20261989
path: integration-tests/smoke/ccip/ccip_jobspec_test.go
@@ -2070,6 +2033,7 @@ runner-test-matrix:
20702033
E2E_TEST_SELECTED_NETWORK: SIMULATED_1,SIMULATED_2
20712034
CHAINLINK_USER_TEAM: CCIP
20722035
test_go_project_path: integration-tests
2036+
free_disk_space: true
20732037

20742038
- id: ccip-smoke-usdc
20752039
path: integration-tests/ccip-tests/smoke/ccip_test.go
@@ -2185,6 +2149,7 @@ runner-test-matrix:
21852149
CHAINLINK_USER_TEAM: CCIP
21862150
test_config_override_path: integration-tests/ccip-tests/testconfig/tomls/db-compatibility.toml
21872151
test_go_project_path: integration-tests
2152+
free_disk_space: true
21882153

21892154
- id: ccip-smoke-leader-lane
21902155
path: integration-tests/ccip-tests/smoke/ccip_test.go
@@ -2250,6 +2215,7 @@ runner-test-matrix:
22502215
E2E_TEST_SELECTED_NETWORK: SIMULATED_1,SIMULATED_2
22512216
CHAINLINK_USER_TEAM: CCIP
22522217
test_go_project_path: integration-tests
2218+
free_disk_space: true
22532219

22542220
- id: ccip-tests/smoke/ccip_test.go:^TestSmokeCCIPManuallyExecuteAfterExecutionFailingDueToInsufficientGas$
22552221
path: integration-tests/ccip-tests/smoke/ccip_test.go
@@ -2357,6 +2323,7 @@ runner-test-matrix:
23572323
CHAINLINK_USER_TEAM: CCIP
23582324
test_config_override_path: integration-tests/ccip-tests/testconfig/tomls/ccip-reorg.toml
23592325
test_go_project_path: integration-tests
2326+
free_disk_space: true
23602327

23612328
- id: ccip-tests/smoke/ccip_test.go:^TestSmokeCCIPReorgAboveFinalityAtDestination$
23622329
path: integration-tests/ccip-tests/smoke/ccip_test.go

.github/workflows/automation-benchmark-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ on:
2828
jobs:
2929
run-e2e-tests-workflow:
3030
name: Run E2E Tests
31-
uses: smartcontractkit/.github/.github/workflows/run-e2e-tests.yml@a1273177bb5fc9577ec88364df09e95e102e87d1
31+
uses: smartcontractkit/.github/.github/workflows/run-e2e-tests.yml@9874c1f4ab4a4c70433df6d8f862044ca18456df # 2025-11-26
3232
with:
3333
test_path: .github/e2e-tests.yml
34-
test_ids: '${{ inputs.testType }}/automation_test.go:TestAutomationBenchmark'
34+
test_ids: "${{ inputs.testType }}/automation_test.go:TestAutomationBenchmark"
3535
test_config_override_path: ${{ inputs.test_config_override_path }}
3636
SLACK_USER: ${{ inputs.slackMemberID }}
3737
SLACK_CHANNEL: C03KJ5S7KEK

.github/workflows/automation-load-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
required: false
88
type: string
99
test_secrets_override_key:
10-
description: 'Key to run tests with custom test secrets'
10+
description: "Key to run tests with custom test secrets"
1111
required: false
1212
type: string
1313
slackMemberID:
@@ -23,10 +23,10 @@ on:
2323
jobs:
2424
run-e2e-tests-workflow:
2525
name: Run E2E Tests
26-
uses: smartcontractkit/.github/.github/workflows/run-e2e-tests.yml@a1273177bb5fc9577ec88364df09e95e102e87d1
26+
uses: smartcontractkit/.github/.github/workflows/run-e2e-tests.yml@9874c1f4ab4a4c70433df6d8f862044ca18456df # 2025-11-26
2727
with:
2828
test_path: .github/e2e-tests.yml
29-
test_ids: 'load/automationv2_1/automationv2_1_test.go:TestLogTrigger'
29+
test_ids: "load/automationv2_1/automationv2_1_test.go:TestLogTrigger"
3030
test_config_override_path: ${{ inputs.test_config_override_path }}
3131
SLACK_USER: ${{ inputs.slackMemberID }}
3232
SLACK_CHANNEL: C03KJ5S7KEK

.github/workflows/automation-nightly-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
jobs:
1111
run-e2e-tests-workflow:
1212
name: Run E2E Tests
13-
uses: smartcontractkit/.github/.github/workflows/run-e2e-tests.yml@a1273177bb5fc9577ec88364df09e95e102e87d1
13+
uses: smartcontractkit/.github/.github/workflows/run-e2e-tests.yml@9874c1f4ab4a4c70433df6d8f862044ca18456df # 2025-11-26
1414
with:
1515
test_path: .github/e2e-tests.yml
1616
test_trigger: Automation Nightly Tests

.github/workflows/cre-regression-system-tests.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -162,11 +162,11 @@ jobs:
162162
163163
# Start CRE with the appropriate contracts version (i.e. Workflow/CapabilityRegistry)
164164
if [[ "${CRE_VERSION}" == "v1" ]]; then
165-
echo "Starting CRE with v1 contracts for test: '${TEST_NAME}' and configs: '${CTF_CONFIGS}'"
166-
go run . env start --with-plugins-docker-image "${CTF_CHAINLINK_IMAGE}"
165+
echo "Starting CRE with explicit v1 contracts for test: '${TEST_NAME}' and configs: '${CTF_CONFIGS}'"
166+
go run . env start --with-plugins-docker-image "${CTF_CHAINLINK_IMAGE}" --with-contracts-version v1
167167
else
168-
echo "Starting CRE with v2 contracts for test: '${TEST_NAME}' and configs: '${CTF_CONFIGS}'"
169-
go run . env start --with-plugins-docker-image "${CTF_CHAINLINK_IMAGE}" --with-contracts-version v2
168+
echo "Starting CRE with default v2 contracts for test: '${TEST_NAME}' and configs: '${CTF_CONFIGS}'"
169+
go run . env start --with-plugins-docker-image "${CTF_CHAINLINK_IMAGE}"
170170
fi
171171
172172
exit_code=$?

.github/workflows/cre-system-tests.yaml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ jobs:
7070
# - Otherwise tests are auto-discovered and run on all topologies.
7171
PER_TEST_MODE='replace'
7272
TOPOLOGIES_JSON='[
73-
{"topology":"workflow-gateway","configs":"configs/workflow-gateway-don.toml"},
7473
{"topology":"workflow-gateway-capabilities","configs":"configs/workflow-gateway-capabilities-don.toml"}
7574
]'
7675
@@ -119,8 +118,8 @@ jobs:
119118
test_id: .key,
120119
# Add CRE version based on test name pattern
121120
cre_version: (
122-
if (.value.test_name | test("V2")) then "v2"
123-
else "v1"
121+
if (.value.test_name | test("V1")) then "v1"
122+
else "v2"
124123
end
125124
)
126125
}
@@ -131,7 +130,7 @@ jobs:
131130
# - legacy vault plugin
132131
extra_tests='[
133132
{
134-
"test_name": "Test_CRE_V2_Suite/[v2]_Vault_DON_-_workflow-gateway-legacy-vault-don",
133+
"test_name": "Test_CRE_V2_Suite_Bucket_B/[v2]_Vault_DON_-_workflow-gateway-legacy-vault-don",
135134
"topology": "workflow-gateway-legacy-vault-don",
136135
"configs": "configs/workflow-gateway-legacy-vault-don.toml",
137136
"test_id": null,
@@ -282,11 +281,11 @@ jobs:
282281
# Start CRE with the appropriate contracts version (i.e. Workflow/CapabilityRegistry)
283282
# Do not remove Docker containers on error to allow log collection
284283
if [[ "${CRE_VERSION}" == "v1" ]]; then
285-
echo "Starting CRE with v1 contracts for test: '${TEST_NAME}'"
286-
go run . env start --with-plugins-docker-image "${CTF_CHAINLINK_IMAGE}" --cleanup-on-error=false
284+
echo "Starting CRE with explicit v1 contracts for test: '${TEST_NAME}'"
285+
go run . env start --with-plugins-docker-image "${CTF_CHAINLINK_IMAGE}" --with-contracts-version v1 --cleanup-on-error=false
287286
else
288-
echo "Starting CRE with v2 contracts for test: '${TEST_NAME}'"
289-
go run . env start --with-plugins-docker-image "${CTF_CHAINLINK_IMAGE}" --with-contracts-version v2 --cleanup-on-error=false
287+
echo "Starting CRE with default v2 contracts for test: '${TEST_NAME}'"
288+
go run . env start --with-plugins-docker-image "${CTF_CHAINLINK_IMAGE}" --cleanup-on-error=false
290289
fi
291290
292291
exit_code=$?

.github/workflows/devenv-cron.yml

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
name: Cron Smoke Test
2+
3+
on:
4+
schedule:
5+
- cron: "0 6 * * *" # Run daily at 6 AM
6+
workflow_dispatch:
7+
8+
defaults:
9+
run:
10+
working-directory: devenv
11+
12+
concurrency:
13+
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.sha }}
14+
cancel-in-progress: true
15+
16+
jobs:
17+
smoke:
18+
permissions:
19+
id-token: write
20+
contents: read
21+
pull-requests: write
22+
runs-on: ubuntu24.04-16cores-64GB # ghv-ignore!
23+
steps:
24+
- name: Checkout code
25+
uses: actions/checkout@v5
26+
with:
27+
fetch-depth: 0
28+
29+
- name: Set up Docker Buildx
30+
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
31+
32+
- name: Install Just
33+
uses: extractions/setup-just@e33e0265a09d6d736e2ee1e0eb685ef1de4669ff # v3
34+
with:
35+
just-version: "1.40.0"
36+
37+
- name: Configure AWS credentials using OIDC
38+
uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2
39+
with:
40+
role-to-assume: ${{ secrets.AWS_OIDC_IAM_ROLE_SDLC_ECR_READONLY_ARN }}
41+
aws-region: us-west-2
42+
43+
- name: Authenticate to ECR
44+
id: login-ecr
45+
uses: aws-actions/amazon-ecr-login@062b18b96a7aff071d4dc91bc00c4c1a7945b076 # v2.0.1
46+
47+
- name: Set up Go
48+
uses: actions/setup-go@v6 # v6
49+
with:
50+
cache: true
51+
go-version-file: devenv/go.mod
52+
cache-dependency-path: devenv/go.sum
53+
54+
- name: Download Go dependencies
55+
run: |
56+
go mod download
57+
58+
- name: Set environment variables
59+
id: set-env
60+
run: |
61+
echo "CHAINLINK_IMAGE=${{ secrets.REGISTRY_SDLC }}/chainlink:nightly-$(date +%Y%m%d)" >> $GITHUB_ENV
62+
63+
- name: Run Cron environment
64+
env:
65+
FAKE_SERVER_IMAGE: ${{ secrets.FAKE_SERVER_IMAGE }}
66+
run: |
67+
cd cmd/cl && go install . && cd -
68+
cl u env.toml,products/cron/basic.toml
69+
70+
- name: Run tests
71+
working-directory: devenv/tests/cron
72+
run: |
73+
echo "Running tests for: $CHAINLINK_IMAGE, product: Cron"
74+
go test -v -run TestSmoke
75+
76+
- name: Upload Logs
77+
if: always()
78+
uses: actions/upload-artifact@v4
79+
with:
80+
name: container-logs-smoke
81+
path: devenv/tests/cron/logs
82+
retention-days: 3
Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
name: Direct Request Smoke Test
2+
3+
on:
4+
schedule:
5+
- cron: "0 6 * * *" # Run daily at 6 AM
6+
workflow_dispatch:
7+
8+
defaults:
9+
run:
10+
working-directory: devenv
11+
12+
concurrency:
13+
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.sha }}
14+
cancel-in-progress: true
15+
16+
jobs:
17+
smoke:
18+
permissions:
19+
id-token: write
20+
contents: read
21+
pull-requests: write
22+
runs-on: ubuntu24.04-16cores-64GB # ghv-ignore!
23+
steps:
24+
- name: Checkout code
25+
uses: actions/checkout@v5
26+
with:
27+
fetch-depth: 0
28+
29+
- name: Set up Docker Buildx
30+
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
31+
32+
- name: Install Just
33+
uses: extractions/setup-just@e33e0265a09d6d736e2ee1e0eb685ef1de4669ff # v3
34+
with:
35+
just-version: "1.40.0"
36+
37+
- name: Configure AWS credentials using OIDC
38+
uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2
39+
with:
40+
role-to-assume: ${{ secrets.AWS_OIDC_IAM_ROLE_SDLC_ECR_READONLY_ARN }}
41+
aws-region: us-west-2
42+
43+
- name: Authenticate to ECR
44+
id: login-ecr
45+
uses: aws-actions/amazon-ecr-login@062b18b96a7aff071d4dc91bc00c4c1a7945b076 # v2.0.1
46+
47+
- name: Set up Go
48+
uses: actions/setup-go@v6 # v6
49+
with:
50+
cache: true
51+
go-version-file: devenv/go.mod
52+
cache-dependency-path: devenv/go.sum
53+
54+
- name: Download Go dependencies
55+
run: |
56+
go mod download
57+
58+
- name: Set environment variables
59+
id: set-env
60+
run: |
61+
echo "CHAINLINK_IMAGE=${{ secrets.REGISTRY_SDLC }}/chainlink:nightly-$(date +%Y%m%d)" >> $GITHUB_ENV
62+
63+
- name: Run Direct Request environment
64+
env:
65+
FAKE_SERVER_IMAGE: ${{ secrets.FAKE_SERVER_IMAGE }}
66+
run: |
67+
cd cmd/cl && go install . && cd -
68+
cl u env.toml,products/directrequest/basic.toml
69+
70+
- name: Run tests
71+
working-directory: devenv/tests/directrequest
72+
run: |
73+
echo "Running tests for: $CHAINLINK_IMAGE, product: Direct Request"
74+
go test -v -run TestSmoke
75+
76+
- name: Upload Logs
77+
if: always()
78+
uses: actions/upload-artifact@v4
79+
with:
80+
name: container-logs-smoke
81+
path: devenv/tests/directrequest/logs
82+
retention-days: 3

0 commit comments

Comments
 (0)