updating openstack+odl tempest tests job 25/28625/2
authorJamo Luhrsen <jluhrsen@redhat.com>
Tue, 20 Oct 2015 21:39:49 +0000 (14:39 -0700)
committerJamo Luhrsen <jluhrsen@redhat.com>
Tue, 20 Oct 2015 21:43:01 +0000 (14:43 -0700)
Change-Id: I1a5fc1a302a644a218a9846e7190c5237d39ecc9
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
jjb/neutron/include-raw-openstack-ci.sh
jjb/ovsdb/include-raw-openstack-ci.sh
jjb/ovsdb/ovsdb-daily-openstack-beryllium.yaml
jjb/ovsdb/ovsdb-openstack.yaml
jjb/releng-macros.yaml

index a1dff89133f31212718820af64b5aff686f5207b..24afa0cb3873e5444c978305328bdce82e6d4ae9 100644 (file)
@@ -104,14 +104,14 @@ fi
 # Because we are testing a non standard project, add
 # our project repository. This makes zuul do the right
 # reference magic for testing changes.
-export PROJECTS="stackforge/networking-odl $PROJECTS"
+export PROJECTS="openstack/networking-odl $PROJECTS"
 # Note the actual url here is somewhat irrelevant because it
 # caches in nodepool, however make it a valid url for
 # documentation purposes.
-if [ "$GERRIT_PROJECT" == "stackforge/networking-odl" ]; then
+if [ "$GERRIT_PROJECT" == "openstack/networking-odl" ]; then
     export DEVSTACK_LOCAL_CONFIG+="enable_plugin networking-odl https://$GERRIT_HOST/$GERRIT_PROJECT $GERRIT_REFSPEC"
 else
-    export DEVSTACK_LOCAL_CONFIG+="enable_plugin networking-odl https://git.openstack.org/stackforge/networking-odl"
+    export DEVSTACK_LOCAL_CONFIG+="enable_plugin networking-odl https://git.openstack.org/openstack/networking-odl"
 fi
 
 
index 1b4277baa426dae1893f159e4134b3be67b57fd6..feabea0b2fc6d20315e88e4eb82eb622e8923bba 100644 (file)
@@ -16,13 +16,13 @@ sudo mkdir -p /opt/stack/new
 sudo chown -R jenkins:jenkins /opt/stack/new
 sudo bash -c 'echo "stack ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers'
 
-# We need to install some scripts from openstack-infra/project-config
+# We need to install some scripts from openstack/os-testr project
 cd ~
 echo "Setting up infra scripts"
 sudo mkdir -p /usr/local/jenkins/slave_scripts
-git clone https://git.openstack.org/openstack-infra/project-config
-cd project-config
-sudo cp jenkins/scripts/subunit2html.py /usr/local/jenkins/slave_scripts
+git clone https://github.com/openstack/os-testr.git
+cd os-testr/os_testr
+sudo cp subunit2html.py /usr/local/jenkins/slave_scripts
 
 # Save existing WORKSPACE
 SAVED_WORKSPACE=$WORKSPACE
@@ -81,8 +81,10 @@ fi
 ## export ODL_BOOT_WAIT=30
 
 # Use specific build, if asked to do so
-if [ "${ODL_VERSION}" == "lithium-latest" ] ; then
-    DEVSTACK_LOCAL_CONFIG+="ODL_RELEASE=lithium-snapshot;"
+if [ "${ODL_VERSION}" == "beryllium" ] ; then
+    DEVSTACK_LOCAL_CONFIG+="ODL_RELEASE=beryllium-snapshot-0.4.0;"
+elif [ "${ODL_VERSION}" == "lithium" ] ; then
+    DEVSTACK_LOCAL_CONFIG+="ODL_RELEASE=lithium-snapshot-0.3.1;"
 elif [ "${ODL_VERSION}" == "helium" ] ; then
     DEVSTACK_LOCAL_CONFIG+="ODL_RELEASE=helium;"
 fi
@@ -99,14 +101,14 @@ fi
 # Because we are testing a non standard project, add
 # our project repository. This makes zuul do the right
 # reference magic for testing changes.
-export PROJECTS="stackforge/networking-odl $PROJECTS"
+export PROJECTS="openstack/networking-odl $PROJECTS"
 # Note the actual url here is somewhat irrelevant because it
 # caches in nodepool, however make it a valid url for
 # documentation purposes.
-if [ "$GERRIT_PROJECT" == "stackforge/networking-odl" ]; then
+if [ "$GERRIT_PROJECT" == "openstack/networking-odl" ]; then
     export DEVSTACK_LOCAL_CONFIG+="enable_plugin networking-odl https://$GERRIT_HOST/$GERRIT_PROJECT $GERRIT_REFSPEC"
 else
-    export DEVSTACK_LOCAL_CONFIG+="enable_plugin networking-odl https://git.openstack.org/stackforge/networking-odl"
+    export DEVSTACK_LOCAL_CONFIG+="enable_plugin networking-odl https://git.openstack.org/openstack/networking-odl"
 fi
 
 
@@ -133,9 +135,11 @@ DGRET=$?
 OS_WORKSPACE=$WORKSPACE
 export WORKSPACE=$SAVED_WORKSPACE
 
-# Copy all the logs
+# Copy and display all the logs
+cat /opt/stack/new/devstacklog*
+ls /opt/stack/; ls /opt/stack/new; ls /opt/stack/new/opendaylight;
 cp -r $OS_WORKSPACE/logs $WORKSPACE
-cp -a /opt/stack/new/logs/q-odl-karaf* $WORKSPACE/logs
+cp -a /opt/stack/new/logs/screen-odl-karaf* $WORKSPACE/logs
 mkdir -p $WORKSPACE/logs/opendaylight
 cp -a /opt/stack/new/opendaylight/distribution*/etc $WORKSPACE/logs/opendaylight
 # Unzip the logs to make them easier to view
index 7d3f2cd221e698daa4855b425a4eaa9314c1451c..30af62028b4ca7bb320b261ed9738079ae69b6cd 100644 (file)
@@ -4,6 +4,7 @@
         - 'ovsdb-daily-openstack-beryllium'
 
     project: 'ovsdb'
+    odl_version: beryllium
 
 - job-template:
     name: 'ovsdb-daily-openstack-beryllium'
@@ -19,6 +20,8 @@
     parameters:
         - project-parameter:
             project: '{project}'
+        - controller-version-parameter:
+            odl_version: '{odl_version}'
 
     wrappers:
         - timeout:
@@ -38,7 +41,7 @@
     builders:
         - inject:
             properties-content: |
-              ODL_VERSION=lithium-latest
+              ODL_VERSION='{odl_version}'
               TEMPEST_REGEX=tempest.api.network
         - shell:
             !include-raw-escape include-raw-openstack-ci.sh
index b381f145170b39ade5daa435c8c2b801af7fc506..2c29418626b5aa6f78ccd4b7aeca6e0411016192 100644 (file)
@@ -57,7 +57,7 @@
                   - compare-type: 'ANT'
                     pattern: 'neutron/db/**'
               - project-compare-type: 'ANT'
-                project-pattern: 'stackforge/networking-odl'
+                project-pattern: 'openstack/networking-odl'
                 branches:
                   - branch-compare-type: 'ANT'
                     branch-pattern: 'master'
index 401944a851e128cff8d47dfb6bc60617d9fa6a2a..11f02f15daf390ddc7cdba0779c785a3a45322bb 100644 (file)
             default: '{refspec}'
             description: "GERRIT_REFSPEC parameter if not given by trigger"
 
+- parameter:
+    name: controller-version-parameter
+    parameters:
+        - string:
+            name: ODL_VERSION
+            default: '{odl_version}'
+            description: 'Controller version (for use with openstacks networking_odl project)'
+
 - scm:
     name: git-scm
     scm: