Re: [integration-dev] running tempest tests

Luis Gomez

FYI I am already using a similar script to calculate latest Nexus artifact for a given integration branch (note if you do not want to download integration git, you can replace BUNDLEVERSION=0.3.0-SNAPSHOT in the script below):

    # Extract the BUNDLEVERSION from the pom.xml
    BUNDLEVERSION=`xpath pom.xml '/project/version/text()' 2> /dev/null`
    echo "Bundle version is $BUNDLEVERSION"
    # Acquire the timestamp information from maven-metadata.xml
    wget ${NEXUSPATH}/${BUNDLEVERSION}/maven-metadata.xml
    TIMESTAMP=`xpath maven-metadata.xml "//snapshotVersion[extension='zip'][1]/value/text()" 2>/dev/null`
    echo "Nexus timestamp is $TIMESTAMP"
    echo "Distribution bundle URL is ${BUNDLEURL}”
    echo "Distribution bundle is ${BUNDLE}”
    echo "Distribution folder is ${BUNDLEFOLDER}"

Then I do wget ${BUNDLEURL} to download the distribution, unzip ${BUNDLE}, cd ${BUNDLEFOLDER} to set some configuration and run karaf. All these scripts are available in releng/builder repo [1]


On Mar 24, 2015, at 3:14 PM, Andrew Grimberg <agrimberg@...> wrote:

On Tue, 2015-03-24 at 15:10 -0500, Colin Dixon wrote:
Right now we have tempest tests running against Helium-SR3 whenever there
are patches pushed in OpenStack as this job:

Flavio has created a new version that does the same thing but to use the
latest Helium:

These four lines:

# Use Lithium build


I have two questions:
1.) Can somebody (Andrew or Thanh) help Flavio to get a version of this
that runs using the (locally-built) karaf distribution in the ovsdb project
on every ovsdb-verify job?

2.) Can we figure out a way to run these tests against integration without
having to know the weird numbers after "distribution-karaf-0.3.0-" and
before ".zip"?

In answer to point 2 you can first pull and then run the following to get the "weird numbers" needed:

xpath maven-metadata.xml

so.. in script form:

SNAPSHOTVER=`xpath maven-metadata.xml
2> /dev/null`

Now you know the actual filename, it's

We used to do this sort of thingwith the old integration pipeline before
it was moved to releng. I'm not certain what they're doing now as I
haven't looked


Andrew J Grimberg
Systems Administrator
The Linux Foundation
integration-dev mailing list

Join to automatically receive all group messages.