Skip to content

Commit

Permalink
Minor fixes and improvements in operational tests (#98)
Browse files Browse the repository at this point in the history
* Fix P01 path to carmen pipeline

* Upgrade P03 agent

* Remove "legacy" from P02 comment

Co-authored-by: ws <[email protected]>

* Remove "legacy" from P03 comment

Co-authored-by: ws <[email protected]>

---------

Co-authored-by: ws <[email protected]>
  • Loading branch information
Lubomir-Jahn and wsodsong authored Jun 14, 2024
1 parent 96bce05 commit 83e3ef7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions release_testing/operational_tests/P01.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ pipeline {
stages {
stage('Redirect to SyncToolchain') {
steps {
build job: '/ReleaseTesting/Carmen/SyncToolchain', parameters: [
string(name: 'nodeLabel', value: "aida-statedb"),
build job: '/Carmen/Validate-State-Toolchain-Archive+Live', parameters: [
string(name: 'nodeLabel', value: "db-small-nvme"),
string(name: 'tmpDb', value: "${TmpDb}"),
string(name: 'aidaDb', value: "${AidaDb}"),
string(name: 'firstBlockHeight', value: "5000000"),
Expand Down
4 changes: 2 additions & 2 deletions release_testing/operational_tests/P02.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ pipeline {
}
}

stage('Create DB from legacy genesis') {
stage('Create DB from genesis') {
steps {
// create db from a legacy genesis file
// create db from a genesis file
sh "./build/sonictool --datadir ${DATADIRPATH} genesis --experimental ${GENESISPATH}/${GENESIS}"
sh "./build/sonictool --datadir ${DATADIRPATH} check live"
// copy db for import events
Expand Down
8 changes: 4 additions & 4 deletions release_testing/operational_tests/P03.jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// P03 performs end-to-end test synchronizing from the first opera block to the current head

pipeline {
agent { node "db-small-ssd" }
agent { node "db-small-nvme" }

options {
timestamps ()
Expand All @@ -12,7 +12,7 @@ pipeline {
environment {
GOROOT = '/usr/lib/go-1.21/'
GOGC = '50'
GOMEMLIMIT = '60GiB'
GOMEMLIMIT = '120GiB'
DATAROOTPATH="/mnt/tmp-disk/tooltmp"
DATADIRPATH="${DATAROOTPATH}/sonic"
GENESISPATH="/mnt/tmp-disk/genesis"
Expand Down Expand Up @@ -74,9 +74,9 @@ pipeline {
}
}

stage('Create DB from legacy genesis') {
stage('Create DB from genesis') {
steps {
// create db from a legacy genesis file
// create db from a genesis file
sh "./build/sonictool --datadir ${DATADIRPATH} genesis --experimental ${GENESISPATH}/${Genesis} "
sh "./build/sonictool --datadir ${DATADIRPATH} check live"
}
Expand Down

0 comments on commit 83e3ef7

Please sign in to comment.