Re: running tempest tests


Andrew Grimberg <agrimberg@...>
 

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:
https://jenkins.opendaylight.org/releng/view/ovsdb/job/ovsdb-openstack-gerrit/configure

Flavio has created a new version that does the same thing but to use the
latest Helium:
https://jenkins.opendaylight.org/releng/view/ovsdb/job/ovsdb-openstack-gerrit/configure

These four lines:

# Use Lithium build
DEVSTACK_LOCAL_CONFIG+="ODL_NAME=distribution-karaf-0.3.0-SNAPSHOT;"

DEVSTACK_LOCAL_CONFIG+="ODL_PKG=distribution-karaf-0.3.0-20150323.224826-778.zip;"
DEVSTACK_LOCAL_CONFIG+="ODL_URL=
https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/distribution-karaf/0.3.0-SNAPSHOT
;"
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
https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/distribution-karaf/0.3.0-SNAPSHOT/maven-metadata.xml and then run the following to get the "weird numbers" needed:

xpath maven-metadata.xml
'/metadata/versioning/snapshotVersions/snapshotVersion[3]/value/text()'

so.. in script form:

--[cut]--
wget
https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/distribution-karaf/0.3.0-SNAPSHOT/maven-metadata.xml
SNAPSHOTVER=`xpath maven-metadata.xml
'/metadata/versioning/snapshotVersions/snapshotVersion[3]/value/text()'
2> /dev/null`
--[/cut]--

Now you know the actual filename, it's
distribution-karaf-${SNAPSHOTVER}.zip

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

-Andy-

--
Andrew J Grimberg
Systems Administrator
The Linux Foundation

Join z.archive.ovsdb-dev@lists.opendaylight.org to automatically receive all group messages.