- 'ubuntu1804'
node-arch:
- '1n-skx'
+ - '1n-tx2':
+ executor: 'vpp-csit-arm-ubuntu18'
+ skip-vote: 'true'
jobs:
- 'csit-vpp-device-{stream}-{os}-{node-arch}'
- 'csit-vpp-device-{stream_timed}-{os}-{node-arch}-semiweekly'
- 'csit-vpp-device-{stream_timed}-{os}-{node-arch}-weekly'
+
project: 'csit'
+ executor: 'vpp-csit-device'
branch: 'master'
branch-id: 'oper'
stream_timed:
- '1904':
branch: 'rls1904'
branch-id: 'oper-rls1904'
+ exclude:
+ - stream: '1810'
+ os: 'ubuntu1804'
+ node-arch: '1n-tx2'
+ - stream: '1901'
+ os: 'ubuntu1804'
+ node-arch: '1n-tx2'
+ - stream: '1904'
+ os: 'ubuntu1804'
+ node-arch: '1n-tx2'
+ - stream_timed: '1904'
+ os: 'ubuntu1804'
+ node-arch: '1n-tx2'
- job-template:
name: 'csit-vpp-device-{stream}-{os}-{node-arch}'
</ul>
project-type: freestyle
- node: 'vpp-csit-device'
+ node: '{executor}'
concurrent: true
archive-artifacts: 'archive/*.*'
latest-only: false
branches:
- branch-compare-type: 'ANT'
branch-pattern: '**/{branch}'
+ skip-vote:
+ successful: '{skip-vote}'
+ failed: '{skip-vote}'
+ unstable: '{skip-vote}'
+ notbuilt: '{skip-vote}'
builders:
- shell:
</ul>
project-type: freestyle
- node: 'vpp-csit-device'
+ node: '{executor}'
concurrent: false
archive-artifacts: 'csit/archive/*.*'
latest-only: false
</ul>
project-type: freestyle
- node: 'vpp-csit-device'
+ node: '{executor}'
concurrent: false
archive-artifacts: 'archive/*.*'
latest-only: false
# fd.io branch defaults
branch: master
+
+ # voting
+ skip-vote: false
\ No newline at end of file
# for 4 cores:
# framework.VppTestCase.MIN_REQ_SHM + (num_cores * framework.VppTestCase.SHM_PER_PROCESS)
# 1073741824 == 1024M (1073741824 >> 20)
- sudo mount -o remount /dev/shm -o size=1024M || true
+ MEM=1024M
+ if [[ $(uname -m) == 'aarch64' ]]
+ then
+ # arm build are running with 16 cores, empirical evidence shows
+ # that 2048M is enough
+ MEM=2048M
+ fi
+ sudo mount -o remount /dev/shm -o size=${MEM} || true
echo "/dev/shm remounted"
fi
#!/bin/bash
CORES=4
-if [[ -z ${NODE_NAME+x} || -z ${NODE_LABELS+x} ]]
+if [[ $(uname -m) == 'aarch64' ]]
then
- echo "NODE_NAME or NODE_LABELS is not set, using defaults for parallel build/test"
-else
- for NODE_LABEL in $NODE_LABELS
- do
- # NODE_LABELS is jenkins-SOMEHEX and the label we're looking for
- # NODE_NAME is jenkins-SOMEHEX
- if [[ $NODE_NAME != $NODE_LABEL ]]
- then
- # Found label such as ubuntu1804arm-us
- break
- fi
- done
-
- if [[ $NODE_LABEL == ubuntu*arm-* ]]
- then
- CORES=16
- fi
+ CORES=16
fi
echo "Using MAKE_PARALLEL_FLAGS='-j $CORES' TEST_JOBS=$CORES for parallel build/test"
- branch-compare-type: 'ANT'
branch-pattern: '**/{branch}'
skip-vote:
- successful: true
- failed: true
- unstable: true
- notbuilt: true
+ successful: '{skip-vote}'
+ failed: '{skip-vote}'
+ unstable: '{skip-vote}'
+ notbuilt: '{skip-vote}'
- project:
name: vpp-perpatch
jobs:
- - 'vpp-csit-verify-device-{stream}-1n-skx'
+ - 'vpp-csit-verify-device-{stream}-{device-node-arch}'
- 'vpp-csit-verify-perf-{stream}-{node-arch}'
project: 'vpp'
+ executor: 'vpp-csit-device'
+ skip-vote: 'true'
stream:
- master:
branch: 'master'
branch: 'stable/1904'
repo-stream-part: 'stable.1904'
os: ubuntu1804
+ device-node-arch:
+ - 1n-skx
+ - 1n-tx2:
+ executor: 'vpp-csit-arm-ubuntu18'
node-arch:
- 2n-skx
- 3n-skx
- 3n-hsw
+ exclude:
+ - stream: '1904'
+ os: 'ubuntu1804'
+ device-node-arch: '1n-tx2'
- project:
name: vpp-master-only
fixed-delay: 90
- job-template:
- name: 'vpp-csit-verify-device-{stream}-1n-skx'
+ name: 'vpp-csit-verify-device-{stream}-{device-node-arch}'
project-type: freestyle
- node: 'vpp-csit-device'
+ node: '{executor}'
concurrent: true
archive-artifacts: '**/csit_current/**/*.*'
latest-only: false
- gerrit-trigger-csit-devicetest:
name: '{project}'
branch: '{branch}'
+ skip-vote: '{skip-vote}'
builders:
- shell:
- shell:
!include-raw-escape: ../scripts/setup_vpp_dpdk_dev_env.sh
- shell:
- !include-raw-escape: include-raw-vpp-csit-device.sh
+ !include-raw-escape:
+ - include-raw-vpp-parallel-vars.sh
+ - include-raw-vpp-csit-device.sh
publishers:
- robot-report: