Merge "BUG-8266: Add apidocs feature to netconf test"
authorDaniel Farrell <dfarrell@redhat.com>
Mon, 24 Apr 2017 14:23:52 +0000 (14:23 +0000)
committerGerrit Code Review <gerrit@opendaylight.org>
Mon, 24 Apr 2017 14:23:52 +0000 (14:23 +0000)
jjb/autorelease/autorelease-macros.yaml
jjb/autorelease/autorelease-templates.yaml
jjb/integration/integration-templates.yaml
jjb/integration/integration-test-jobs.yaml
jjb/integration/integration-upload-distribution.sh
jjb/netconf/netconf-cluster-stress.yaml

index f128bd4d323fcb34571f51ee1a6f20597456fbd4..ffde68726a0d7fde0ce824e1ea70cfa4741aa738 100644 (file)
       - 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
index e3398db4ac9a36ed37c426f8a43f0dbcb9b9cd06..bba7d4f0b0361fd3dac1a66d2b16be6ecac0cd4e 100644 (file)
       - 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
index 6468a011762f8dfe212a831f72b91ba53fed0cf8..878b59eddf14dda81bab95f2b16d8f0faa598f4c 100644 (file)
       - 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:
index 12baba1dee06c5d5396fd1fd60db48815f857f39..58f5091dd7d11cbb31a3a56dec098e7c246dfa20 100644 (file)
       - 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
 
index 7da49a3482b3f9cd6df882dca99a494d60f38e58..e9e2bdf828c28cf9075947fde2c66a9a83e2e17d 100644 (file)
@@ -22,8 +22,10 @@ echo "Uploading distribution to Nexus..."
 
 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
index 07bf090903b0cee97d54d857c1591161aadd9973..3214911a406e420783b7c1a3a931647273badd4a 100644 (file)
@@ -1,45 +1,4 @@
 ---
-- 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