From 40b0b40fa2401297bd91420fa71ea1ee4ec63aef Mon Sep 17 00:00:00 2001 From: skudasov Date: Thu, 2 Apr 2026 09:50:00 +0200 Subject: [PATCH 1/2] try reach pyroscope internally --- .github/workflows/legacy-system-tests-nightly.yml | 8 ++++++++ core/scripts/cre/environment/README.md | 2 +- core/scripts/go.mod | 2 +- core/scripts/go.sum | 4 ++-- devenv/go.mod | 2 +- devenv/go.sum | 4 ++-- devenv/products/cl_config.go | 2 +- devenv/products/ocr2/configuration.go | 2 +- 8 files changed, 17 insertions(+), 9 deletions(-) diff --git a/.github/workflows/legacy-system-tests-nightly.yml b/.github/workflows/legacy-system-tests-nightly.yml index a48fb4c4037..7e9b85d80d3 100644 --- a/.github/workflows/legacy-system-tests-nightly.yml +++ b/.github/workflows/legacy-system-tests-nightly.yml @@ -353,3 +353,11 @@ jobs: name: container-logs-${{ matrix.logs_archive_name }} path: devenv/tests/${{ matrix.tests_dir }}/logs retention-days: 3 + + - name: Upload DF1 soak alloc.pprof + if: always() + uses: actions/upload-artifact@v7 + with: + name: alloc.pprof + path: devenv/tests/${{ matrix.tests_dir }}/alloc.pprof + retention-days: 7 diff --git a/core/scripts/cre/environment/README.md b/core/scripts/cre/environment/README.md index e1f4ab68f36..342892f492b 100644 --- a/core/scripts/cre/environment/README.md +++ b/core/scripts/cre/environment/README.md @@ -1762,7 +1762,7 @@ TraceSampleRatio = 1.0 # 100% sampling - adjust for production DebugMode = true # WARNING: Not suitable for production due to overhead [Pyroscope] -ServerAddress = 'http://host.docker.internal:4040' +ServerAddress = 'http://pyroscope:4040' LinkTracesToProfiles = true # Enables traces-to-profiles in Grafana ``` diff --git a/core/scripts/go.mod b/core/scripts/go.mod index d4383bb6274..8f3c0914764 100644 --- a/core/scripts/go.mod +++ b/core/scripts/go.mod @@ -53,7 +53,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.9-0.20260330164022-15e89dd1431f + github.com/smartcontractkit/chainlink-testing-framework/framework v0.15.12 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 diff --git a/core/scripts/go.sum b/core/scripts/go.sum index 576f3339ecd..35cacedb2ad 100644 --- a/core/scripts/go.sum +++ b/core/scripts/go.sum @@ -1702,8 +1702,8 @@ github.com/smartcontractkit/chainlink-sui v0.0.0-20260401201231-8b06d312c965 h1: github.com/smartcontractkit/chainlink-sui v0.0.0-20260401201231-8b06d312c965/go.mod h1:U3XStbEnbx/+L22n1/8aOIdgcGVxtsZB7p59xJGngAs= github.com/smartcontractkit/chainlink-sui/deployment v0.0.0-20260304150206-c64e48eb0cb0 h1:5NdsaclAfx+p8lZUZ3WIqMW3M9Cze1ZVPENOQhha1pk= github.com/smartcontractkit/chainlink-sui/deployment v0.0.0-20260304150206-c64e48eb0cb0/go.mod h1:IfeW6t5Yc5293H5ixuooAft+wYBMSFQWKjbBTwYiKr4= -github.com/smartcontractkit/chainlink-testing-framework/framework v0.15.9-0.20260330164022-15e89dd1431f h1:NSvEYsxvGxN0FfyL8uNYdePXHEvnSYLa1bdmLTHVDeU= -github.com/smartcontractkit/chainlink-testing-framework/framework v0.15.9-0.20260330164022-15e89dd1431f/go.mod h1:BALK9cj8sk12e15UF6uDhifHgIApa+6N11TcQfInEro= +github.com/smartcontractkit/chainlink-testing-framework/framework v0.15.12 h1:1SkcN0ABoqhiuPua5jfLPjMu2dcVN+RvsUB6/BBZtN0= +github.com/smartcontractkit/chainlink-testing-framework/framework v0.15.12/go.mod h1:BALK9cj8sk12e15UF6uDhifHgIApa+6N11TcQfInEro= github.com/smartcontractkit/chainlink-testing-framework/framework/components/dockercompose v0.1.20 h1:8D2DUnn7mLUZOLhPDGGFKKvBrgU6LQd00tq2VOprvfI= github.com/smartcontractkit/chainlink-testing-framework/framework/components/dockercompose v0.1.20/go.mod h1:98jNYBOPuKWJw9a8x0LgQuudp5enrHhQQP5Hq0YwRB8= github.com/smartcontractkit/chainlink-testing-framework/framework/components/fake v0.10.0 h1:PWAMYu0WaAMBfbpxCpFJGRIDHmcgmYin6a+UQC0OdtY= diff --git a/devenv/go.mod b/devenv/go.mod index 7507b500f4f..073a7a2836a 100644 --- a/devenv/go.mod +++ b/devenv/go.mod @@ -27,7 +27,7 @@ require ( github.com/smartcontractkit/chainlink-evm v0.3.4-0.20260318010722-59d4165024f1 github.com/smartcontractkit/chainlink-evm/gethwrappers v0.0.0-20251211123524-f0c4fe7cfc0a github.com/smartcontractkit/chainlink-protos/job-distributor v0.12.0 - github.com/smartcontractkit/chainlink-testing-framework/framework v0.15.8 + github.com/smartcontractkit/chainlink-testing-framework/framework v0.15.12 github.com/smartcontractkit/chainlink-testing-framework/framework/components/fake v0.14.9 github.com/smartcontractkit/chainlink-testing-framework/seth v1.51.5 github.com/smartcontractkit/chainlink-testing-framework/wasp v1.51.2 diff --git a/devenv/go.sum b/devenv/go.sum index 526e53899ab..7953ee964a3 100644 --- a/devenv/go.sum +++ b/devenv/go.sum @@ -1001,8 +1001,8 @@ github.com/smartcontractkit/chainlink-protos/job-distributor v0.12.0 h1:/bhoALRz github.com/smartcontractkit/chainlink-protos/job-distributor v0.12.0/go.mod h1:/dVVLXrsp+V0AbcYGJo3XMzKg3CkELsweA/TTopCsKE= github.com/smartcontractkit/chainlink-protos/linking-service/go v0.0.0-20251002192024-d2ad9222409b h1:QuI6SmQFK/zyUlVWEf0GMkiUYBPY4lssn26nKSd/bOM= github.com/smartcontractkit/chainlink-protos/linking-service/go v0.0.0-20251002192024-d2ad9222409b/go.mod h1:qSTSwX3cBP3FKQwQacdjArqv0g6QnukjV4XuzO6UyoY= -github.com/smartcontractkit/chainlink-testing-framework/framework v0.15.8 h1:n6HFv6izmbfai90FibRVy1cC/+sfeECKTtty8JuKQtU= -github.com/smartcontractkit/chainlink-testing-framework/framework v0.15.8/go.mod h1:BALK9cj8sk12e15UF6uDhifHgIApa+6N11TcQfInEro= +github.com/smartcontractkit/chainlink-testing-framework/framework v0.15.12 h1:1SkcN0ABoqhiuPua5jfLPjMu2dcVN+RvsUB6/BBZtN0= +github.com/smartcontractkit/chainlink-testing-framework/framework v0.15.12/go.mod h1:BALK9cj8sk12e15UF6uDhifHgIApa+6N11TcQfInEro= github.com/smartcontractkit/chainlink-testing-framework/framework/components/fake v0.14.9 h1:MVDx/Zl7qhikAx5vQgpTiyCkXw6sXgerUAU3WyJgWVY= github.com/smartcontractkit/chainlink-testing-framework/framework/components/fake v0.14.9/go.mod h1:1ZKcfw6mNKvM5GNy8AjeviL0tJVZoqhLZbmskcSG68k= github.com/smartcontractkit/chainlink-testing-framework/lib/grafana v1.50.0 h1:VIxK8u0Jd0Q/VuhmsNm6Bls6Tb31H/sA3A/rbc5hnhg= diff --git a/devenv/products/cl_config.go b/devenv/products/cl_config.go index dfb6dc8fb9c..33fd22a1a96 100644 --- a/devenv/products/cl_config.go +++ b/devenv/products/cl_config.go @@ -46,7 +46,7 @@ JSONConsole = true Level = 'debug' [Pyroscope] -ServerAddress = 'http://host.docker.internal:4040' +ServerAddress = 'http://pyroscope:4040' Environment = 'local' [WebServer] diff --git a/devenv/products/ocr2/configuration.go b/devenv/products/ocr2/configuration.go index 5c83b3b1a55..7458c79de47 100644 --- a/devenv/products/ocr2/configuration.go +++ b/devenv/products/ocr2/configuration.go @@ -203,7 +203,7 @@ JSONConsole = true Level = 'debug' [Pyroscope] -ServerAddress = 'http://host.docker.internal:4040' +ServerAddress = 'http://pyroscope:4040' Environment = 'local' [WebServer] From dd937b3253d6d98af87c5d183b6749986f4fba23 Mon Sep 17 00:00:00 2001 From: skudasov Date: Thu, 2 Apr 2026 12:38:12 +0200 Subject: [PATCH 2/2] fix path --- .github/workflows/cre-soak-memory-leak.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cre-soak-memory-leak.yml b/.github/workflows/cre-soak-memory-leak.yml index fc1573846c6..77e9d9081a8 100644 --- a/.github/workflows/cre-soak-memory-leak.yml +++ b/.github/workflows/cre-soak-memory-leak.yml @@ -134,7 +134,7 @@ jobs: uses: actions/upload-artifact@v7 with: name: alloc.pprof - path: alloc.pprof + path: system-tests/tests/soak/cre/alloc.pprof retention-days: 7 - name: Upload Docker logs