From 532d64c417cfc4e42e1488f993a28d9ac3d17915 Mon Sep 17 00:00:00 2001 From: skudasov Date: Tue, 26 Nov 2024 19:31:08 +0100 Subject: [PATCH] long blocks, add logs --- .github/workflows/e2e.yml | 7 +++++++ e2e/go.mod | 2 +- e2e/go.sum | 7 +++---- e2e/tests/environment.toml | 2 +- e2e/tests/workflow_test.go | 2 +- 5 files changed, 13 insertions(+), 7 deletions(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index e95e6573a75..22e08b80862 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -31,3 +31,10 @@ jobs: - name: Run tests working-directory: e2e/tests run: go test -v -timeout 30m -run TestWorkflow + - name: Store lint report artifact + if: always() + uses: actions/upload-artifact@v4.4.3 + with: + name: docker-logs + path: logs + retention-days: 7 diff --git a/e2e/go.mod b/e2e/go.mod index 1c4f561cfb7..c96f9547066 100644 --- a/e2e/go.mod +++ b/e2e/go.mod @@ -6,7 +6,7 @@ go 1.22.8 require ( github.com/ethereum/go-ethereum v1.14.11 - github.com/smartcontractkit/chainlink-testing-framework/framework v0.2.11-0.20241126171245-2c437ce477f3 + github.com/smartcontractkit/chainlink-testing-framework/framework v0.2.11-0.20241126181929-ac835110e917 github.com/smartcontractkit/chainlink-testing-framework/seth v1.50.4 github.com/smartcontractkit/libocr v0.0.0-20241007185508-adbe57025f12 github.com/stretchr/testify v1.9.0 diff --git a/e2e/go.sum b/e2e/go.sum index 833066ba7b1..04df5e848bc 100644 --- a/e2e/go.sum +++ b/e2e/go.sum @@ -280,10 +280,9 @@ github.com/shoenig/test v0.6.4 h1:kVTaSd7WLz5WZ2IaoM0RSzRsUD+m8wRR+5qvntpn4LU= github.com/shoenig/test v0.6.4/go.mod h1:byHiCGXqrVaflBLAMq/srcZIHynQPQgeyvkvXnjqq0k= github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ= github.com/sirupsen/logrus v1.9.3/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ= -github.com/smartcontractkit/chainlink-testing-framework/framework v0.2.11-0.20241126163231-bff659256e53 h1:uCFotJhhhAhsZfqdgPzjF1+iQOJvpsOCkWk+QGuqHVY= -github.com/smartcontractkit/chainlink-testing-framework/framework v0.2.11-0.20241126163231-bff659256e53/go.mod h1:mMUqvS3BZfvN1OfK4OFTYf1+T0X6nwmSXJM2keaPsSM= -github.com/smartcontractkit/chainlink-testing-framework/framework v0.2.11-0.20241126171245-2c437ce477f3 h1:rrBFg7tdgcmPrm49X50PxJQbEe8gutDqdfEqJdBR8vU= -github.com/smartcontractkit/chainlink-testing-framework/framework v0.2.11-0.20241126171245-2c437ce477f3/go.mod h1:mMUqvS3BZfvN1OfK4OFTYf1+T0X6nwmSXJM2keaPsSM= +github.com/smartcontractkit/chainlink-testing-framework/framework v0.2.11-0.20241126180505-09966798170a/go.mod h1:mMUqvS3BZfvN1OfK4OFTYf1+T0X6nwmSXJM2keaPsSM= +github.com/smartcontractkit/chainlink-testing-framework/framework v0.2.11-0.20241126181929-ac835110e917 h1:NuYeFIKUNWS+ZG7xzAtNm8Oij3IK+wdTrtB8/F4Px58= +github.com/smartcontractkit/chainlink-testing-framework/framework v0.2.11-0.20241126181929-ac835110e917/go.mod h1:mMUqvS3BZfvN1OfK4OFTYf1+T0X6nwmSXJM2keaPsSM= github.com/smartcontractkit/chainlink-testing-framework/seth v1.50.4 h1:hPI9GhHE1RmIG1oyPeFjED0AhWnNb9JzD74Oq2bO+IQ= github.com/smartcontractkit/chainlink-testing-framework/seth v1.50.4/go.mod h1:afY3QmNgeR/VI1pRbGH8g3YXGy7C2RrFOwUzEFvL3L8= github.com/smartcontractkit/libocr v0.0.0-20241007185508-adbe57025f12 h1:NzZGjaqez21I3DU7objl3xExTH4fxYvzTqar8DC6360= diff --git a/e2e/tests/environment.toml b/e2e/tests/environment.toml index 1d74b58430f..5622b453ab5 100644 --- a/e2e/tests/environment.toml +++ b/e2e/tests/environment.toml @@ -4,7 +4,7 @@ image = "f4hrenh9it/foundry:latest" port = "8545" type = "anvil" - docker_cmd_params = ["-b", "3"] + docker_cmd_params = ["-b", "10"] [nodeset] nodes = 5 diff --git a/e2e/tests/workflow_test.go b/e2e/tests/workflow_test.go index 5e15d8ce3b4..5e84f50f3b7 100644 --- a/e2e/tests/workflow_test.go +++ b/e2e/tests/workflow_test.go @@ -617,7 +617,7 @@ targets: require.NoError(t, err) // It can take a while before the first report is produced, particularly on CI. - timeout := 15 * time.Minute + timeout := 8 * time.Minute ctx, cancel := context.WithTimeout(context.Background(), timeout) defer cancel()