X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fintegration%2Fintegration-macros.yaml;h=abbd7f6632612ca93c131b0b394d31f1d4735435;hb=d19d96b6d4dd96038fdf9a37d707de03cbe66db6;hp=51eeb993a432b3d2b403dba25ac708791988cc81;hpb=1a58a9be57461b5ebf990b59398738b454769226;p=releng%2Fbuilder.git diff --git a/jjb/integration/integration-macros.yaml b/jjb/integration/integration-macros.yaml index 51eeb993a..abbd7f663 100644 --- a/jjb/integration/integration-macros.yaml +++ b/jjb/integration/integration-macros.yaml @@ -79,6 +79,22 @@ default: '{stream}' description: 'Distribution stream string, for suites to know which behavior to expect' +- parameter: + name: integration-script-plan + parameters: + - string: + name: SCRIPTPLAN + default: '{script-plan}' + description: 'Script plan we will run before downloading and un-archiving am ODL distribution' + +- parameter: + name: integration-config-plan + parameters: + - string: + name: CONFIGPLAN + default: '{config-plan}' + description: 'Config plan we will run after un-archiving and starting an ODL distribution' + - parameter: name: integration-stream-test-plan parameters: @@ -104,8 +120,8 @@ description: | List of space-separated suites. Useful when running specific suites within a testplan. Do not include ${{WORKSPACE}}/test/csit/suites/ in the values: - (ex. openstack/connectivity/l2.robot openstack/tempest/tempest.robot - integration/test/csit/suites/netvirt/ElanService/). + (ex. openstack/connectivity/l2.robot openstack/clustering/ha_l2.robot + openstack/tempest/tempest.robot netvirt/elan/elan.robot). - parameter: name: integration-test-options @@ -194,7 +210,7 @@ exclude-no-code-change: false - draft-published-event - comment-added-contains-event: - comment-contains-value: 'recheck$' + comment-contains-value: '^Patch Set[ ]+[0-9]+:([ ]+|[\n]+)(recheck|reverify)$' override-votes: true gerrit-build-unstable-verified-value: +1 gerrit-build-unstable-codereview-value: 0 @@ -463,6 +479,12 @@ - shell: !include-raw: - integration-deploy-openstack-run-test.sh +- builder: + name: integration-apex-image-manager + builders: + - shell: !include-raw: + - ../opendaylight-infra-apex-image-management.sh + - builder: name: integration-compare-distributions # Operation: will compare an already created distribtion (probably last @@ -540,8 +562,17 @@ build-steps: - shell: | #!/bin/bash + echo "Archiving csit artifacts" cd $WORKSPACE mkdir -p ./archives + for i in `seq 1 ${NUM_ODL_SYSTEM}`; do + NODE_FOLDER="./archives/odl_${i}" + mkdir -p ${NODE_FOLDER} + mv odl${i}_* ${NODE_FOLDER} || true + mv karaf_${i}_*_threads* ${NODE_FOLDER} || true + mv *_${i}.png ${NODE_FOLDER} || true + mv /tmp/odl${i}_* ${NODE_FOLDER} || true + done curl --output robot-plugin.zip "$BUILD_URL/robot/report/*zip*/robot-plugin.zip" unzip -d ./archives robot-plugin.zip mv *.log *.log.gz *.csv *.png ./archives || true # Don't fail if file missing @@ -585,3 +616,24 @@ fi rm ${HOME}/.netrc mark-unstable-if-failed: true + +- publisher: + name: integration-csit-collect-netvirt-logs + publishers: + - postbuildscript: + builders: + - role: BOTH + build-on: + - ABORTED + - FAILURE + - NOT_BUILT + - SUCCESS + - UNSTABLE + build-steps: + - inject: + properties-file: 'slave_addresses.txt' + - shell: | + #!/bin/bash + source /tmp/common-functions.sh ${BUNDLEFOLDER} + collect_netvirt_logs + mark-unstable-if-failed: true