Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests tests tests #1598

Draft
wants to merge 3 commits into
base: ccip-develop
Choose a base branch
from
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
5 changes: 2 additions & 3 deletions integration-tests/ccip-tests/actions/ccip_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -4016,7 +4016,7 @@
lggr.Info().Msgf("Creating CCIP-Commit job on OCR node %d job name %s", index+1, ocr2SpecCommit.Name)
_, err = node.Node.MustCreateJob(&ocr2SpecCommit)
if err != nil {
return fmt.Errorf("shouldn't fail creating CCIP-Commit job on OCR node %d job name %s - %w", index+1, ocr2SpecCommit.Name, err)
lggr.Error().Err(err).Msgf("shouldn't fail creating CCIP-Commit job on OCR node %d job name %s - %w", index+1, ocr2SpecCommit.Name, err)

Check failure on line 4019 in integration-tests/ccip-tests/actions/ccip_helpers.go

View workflow job for this annotation

GitHub Actions / Lint integration-tests

printf: (*github.com/rs/zerolog.Event).Msgf does not support error-wrapping directive %w (govet)
}
return nil
}
Expand Down Expand Up @@ -4055,8 +4055,7 @@
lggr.Info().Msgf("Creating CCIP-Exec job on OCR node %d job name %s", index+1, ocr2SpecExec.Name)
_, err = node.Node.MustCreateJob(&ocr2SpecExec)
if err != nil {
return fmt.Errorf("shouldn't fail creating CCIP-Exec job on OCR node %d job name %s - %w", index+1,
ocr2SpecExec.Name, err)
lggr.Error().Err(err).Msgf("shouldn't fail creating CCIP-Exec job on OCR node %d job name %s", index+1, ocr2SpecExec.Name)
}
return nil
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
## Baseline performance test on simulated environment (with chaos)
## 30 chains / 300 lanes
## 50 chains / 300 lanes
## historyDepth 200 / finalityDepth 200
## block_time = 1s
## throughput 1msg / 5s
## 20% Token, 60% DataWithToken, 15% Regular size msgs, 5% Large msgs
##
## make test_load_ccip testimage=<aws account number>.dkr.ecr.<aws region>.amazonaws.com/chainlink-ccip-tests:ccip-develop \
## make test_load_ccip testimage=<aws account number>.dkr.ecr.<aws region>.amazonaws.com/chainlink-ccip-tests:bd48750f7072c2a40454483f2e36bad7efaaeba5 \
## testname=TestLoadCCIPStableRequestTriggeringWithNetworkChaos \
## override_toml=./testconfig/tomls/ccip-1.4-stress/baseline.toml
## override_toml=./testconfig/tomls/ccip1.4-stress/baseline.toml

## Adjust this value depending on what you want to test.
# Using releases and git tag requires changing the image name to the correct one in `~/.testsecrets`, e.g.
# E2E_TEST_CHAINLINK_IMAGE="public.ecr.aws/w0i8p0z9/chainlink-ccip"
# E2E_TEST_CHAINLINK_IMAGE="public.ecr.aws/chainlink/ccip"
# If you want to use a specific commit or a branch you need to switch to the internal ECR in `~/.testsecrets`
# E2E_TEST_CHAINLINK_IMAGE="<aws account number>.dkr.ecr.<aws region>.amazonaws.com/chainlink-ccip"
[CCIP.Env.NewCLCluster.Common.ChainlinkImage]
version = "2.14.0-ccip1.5.0"
version = "2.21.0-ccip1.5.19-beta.0"

[CCIP]
[CCIP.ContractVersions]
Expand All @@ -26,7 +26,7 @@ TokenPool = '1.4.0'
CommitStore = '1.2.0'

[CCIP.Env]
TTL = '10h'
TTL = '12h'

[CCIP.Env.Network]
selected_networks = ['PRIVATE-CHAIN-1', 'PRIVATE-CHAIN-2']
Expand Down Expand Up @@ -72,15 +72,15 @@ block_time = 1

[CCIP.Env.NewCLCluster]
NoOfNodes = 17
NodeMemory = '10Gi'
NodeMemory = '16Gi'
NodeCPU = '4'
DBMemory = '16Gi'
DBCPU = '4'
DBMemory = '32Gi'
DBCPU = '8'
DBStorageClass = 'gp3'
PromPgExporter = true
DBCapacity = '50Gi'
DBCapacity = '70Gi'
IsStateful = true
DBArgs = ['shared_buffers=4096MB', 'effective_cache_size=8192MB', 'work_mem=128MB']
DBArgs = ['shared_buffers=8192MB', 'effective_cache_size=16384MB', 'work_mem=128MB']

[CCIP.Env.NewCLCluster.Common]
BaseConfigTOML = """
Expand Down Expand Up @@ -110,7 +110,7 @@ HTTPSPort = 0

[Database]
MaxIdleConns = 20
MaxOpenConns = 30
MaxOpenConns = 40
MigrateOnStartup = true

[OCR2]
Expand Down Expand Up @@ -149,7 +149,7 @@ NoOfCommitNodes = 16
PhaseTimeout = '40m'
NodeFunding = 1000.0
NoOfRoutersPerPair = 1
NoOfNetworks = 30
NoOfNetworks = 50
MaxNoOfLanes = 300

[CCIP.Groups.load.OffRampConfig]
Expand All @@ -163,7 +163,7 @@ DynamicPriceUpdateInterval = '15s'
CCIPOwnerTokens = true

[CCIP.Groups.load.LoadProfile]
TestDuration = '6h'
TestDuration = '10h'
TimeUnit = '5s'
RequestPerUnitTime = [1]
OptimizeSpace = true
Expand Down
Loading