[openstack-dev] [Congress]How to add tempest tests for testing murano drive

Wong, Hong hong.wong at hp.com
Tue Mar 10 17:31:05 UTC 2015

Hi Aaron,

I just want to confirm how CI is running the congress tempest tests in its environment as I am about to check in a tempest test for testing murano deployment.  If I check in the test script to congress/contrib/tempest/tempest/scenario/congress_datasources, the CI will take care of running the test by copying it to stack/tempest/tempest/scenario/congress_datasources ?  So, I don't need to worry about adding python-congerssclient and python-muranoclient in stack/tempest/requirements.txt right ?


From: Aaron Rosen [mailto:aaronorosen at gmail.com]
Sent: Monday, March 09, 2015 9:28 PM
To: OpenStack Development Mailing List (not for usage questions)
Subject: Re: [openstack-dev] [Congress]How to add tempest tests for testing murano drive

Hi Hong,

I you should be able to run the tempest tests with ./run_tempest.sh -N which by default uses site-packages so they should be installed by the devstack script. If you want to run tempest via tox and venv you'll need to do:

echo python-congressclient >> requirements.txt
echo python-muranoclient >> requirements.txt

Then have tox build the venv.



On Mon, Mar 9, 2015 at 8:28 PM, Wong, Hong <hong.wong at hp.com<mailto:hong.wong at hp.com>> wrote:
Hi Tim and Aaron,

I got the latest changes from r157166 and I see the thirdparty-requirements.txt file where you can define the murano client (it’s already there), so the unit tests for murano driver can run out from the box.  However, this change is only in congress, so the tempest tests (tempest/ directory where congress tempest tests need to copy to as described from readme file) required murano and congress clients will still have issue as it doesn’t have the thirdparty requirement file concept.  Will r157166 changes also going to be implemented in tempest package ?



Message: 10

Date: Mon, 2 Mar 2015 15:39:11 +0000

From: Tim Hinrichs <thinrichs at vmware.com<mailto:thinrichs at vmware.com>>

To: "OpenStack Development Mailing List (not for usage questions)"

      <openstack-dev at lists.openstack.org<mailto:openstack-dev at lists.openstack.org>>

Subject: Re: [openstack-dev] [Congress]How to add tempest tests for

      testing     murano driver

Message-ID: <D6DBF6ED-2207-4E19-9EEC-C270BCE2F57D at vmware.com<mailto:D6DBF6ED-2207-4E19-9EEC-C270BCE2F57D at vmware.com>>

Content-Type: text/plain; charset="utf-8"

Hi Hong,

Aaron started working on this, but we don?t have anything in place yet, as far as I know.  He?s a starting point.



On Feb 26, 2015, at 2:56 PM, Wong, Hong <hong.wong at hp.com<mailto:hong.wong at hp.com<mailto:hong.wong at hp.com%3cmailto:hong.wong at hp.com>>> wrote:

Hi Aaron,

I am new to congress and trying to write tempest tests for the newly added murano datasource driver.  Since the murano datasource tempest tests require both murano and python-congress clients as the dependencies.  I was told that I can't just simply add the requirements in the tempest/requirements.txt file as both packages are in not in the main branch, so CI will not be able to pick them up.  Do you know of any workaround ?



OpenStack Development Mailing List (not for usage questions)
Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe<http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150310/a481c6e2/attachment-0001.html>

More information about the OpenStack-dev mailing list