- shell: |
uname -a
df -h
+ # generate accounting summary
+ sudo LC_ALL=C /usr/lib64/sa/sa2 -A
+ sar -r
- builder:
name: autorelease-get-integration-test-variables
- autorelease-sys-stats
- shell: |
mkdir -p archives/
- cp *.log *.prop $_
+ cp /var/log/sa/* *.log *.prop $_
publishers:
- opendaylight-infra-notify-status
# in their builds.
# TODO stop archiving **/*.zip once we figure out why artifacts are
# not deploying to Nexus
- artifacts: 'dependencies.log, **/*.zip'
+ artifacts: 'dependencies.log, **/*.zip, /var/log/sa/*'
- trigger-parameterized-builds:
- project: 'integration-distribution-test-{integration-test}'
condition: UNSTABLE_OR_BETTER
- integration-distribution-branch:
branch: '{branch}'
- distribution-karaf-version:
- karaf-version: '{karaf-version}'
+ karaf-version: 'karaf3'
- integration-distribution-git-url:
git-url: '{git-url}'
- string:
- trigger-builds:
- project: '{csit-list}'
block: true
- predefined-parameters:
+ predefined-parameters: |
BUNDLE_URL=$BUNDLE_URL
- KARAF_VERSION=karaf3
+ KARAF_VERSION=$KARAF_VERSION
publishers:
- email-notification:
- trigger-builds:
- project: '{csit-list}'
block: true
- predefined-parameters:
+ predefined-parameters: |
BUNDLE_URL=$BUNDLE_URL
KARAF_VERSION=$KARAF_VERSION
- trigger-builds:
- project: '{csit-list}'
block: true
- predefined-parameters:
+ predefined-parameters: |
BUNDLE_URL=$BUNDLE_URL
KARAF_VERSION=$KARAF_VERSION
cat "${LOG_FILE}"
-BUNDLE_URL=$(grep "Uploaded.*${KARAF_ARTIFACT}/${BUNDLE_VERSION}.*.zip" ${LOG_FILE} || true | awk '{print $3}')
+BUNDLE_URL=$(grep "Uploaded.*${KARAF_ARTIFACT}/${BUNDLE_VERSION}.*.zip" ${LOG_FILE} | awk '{print $3}') || true
echo "Bundle uploaded to ${BUNDLE_URL}"
# Re-inject the new BUNDLE_URL for downstream jobs to pull from Nexus
-env | grep BUNDLE_ | sort | tee integration-upload-distribution.env
+cat > "${WORKSPACE}/integration-upload-distribution.env" <<EOF
+BUNDLE_URL=${BUNDLE_URL}
+EOF
---
-- project:
- name: netconf-csit-cluster-stress
- jobs:
- - '{project}-csit-3node-{functionality}-{install}-{stream}'
- # The project name
- project: 'netconf'
-
- # The functionality under test
- functionality: 'cluster-stress'
-
- # Project branches
- stream:
- - nitrogen:
- branch: 'master'
- jre: 'openjdk8'
- - carbon:
- branch: 'stable/carbon'
- jre: 'openjdk8'
- karaf-version: karaf3
- - boron:
- branch: 'stable/boron'
- jre: 'openjdk8'
- karaf-version: karaf3
- - beryllium:
- branch: 'stable/beryllium'
- jre: 'openjdk7'
- karaf-version: karaf3
-
- install:
- - only:
- scope: 'only'
- - all:
- scope: 'all'
-
- # Features to install
- # odl-jolokia is added automatically just because this is a 3node job.
- # Netconf clustered feature is installed at runtime.
- install-features: >
- odl-restconf,
- odl-netconf-ssh
-
- # Robot custom options
- robot-options: '-v USE_NETCONF_CONNECTOR:False'
+# Fix this [0] before git-reverting this job.
+# [0] https://trello.com/c/SbOodkUt/490-int-nest-repair-netconf-cluster-stress-suite