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

2015-03-10 Thread Aaron Rosen
The ci runs: `cp -r contrib/tempest/tempest /opt/stack/tempest`  so all you
need to do is add you're file and it will get copied into tempest.

Aaron

On Tue, Mar 10, 2015 at 10:31 AM, Wong, Hong  wrote:

>  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 ?
>
>
>
> Thanks,
>
> Hong
>
>
>
>
>
>
>
> *From:* Aaron Rosen [mailto:aaronoro...@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.
>
>
>
> Best,
>
>
>
> Aaron
>
>
>
> On Mon, Mar 9, 2015 at 8:28 PM, Wong, Hong  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 ?
>
>
>
> Thanks,
>
> Hong
>
>
>
> --
>
>
>
> Message: 10
>
> Date: Mon, 2 Mar 2015 15:39:11 +
>
> From: Tim Hinrichs 
>
> To: "OpenStack Development Mailing List (not for usage questions)"
>
>   
>
> Subject: Re: [openstack-dev] [Congress]How to add tempest tests for
>
>   testing murano driver
>
> Message-ID: 
>
> 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.
>
>
>
> https://review.openstack.org/#/c/157166/
>
>
>
> Tim
>
>
>
> On Feb 26, 2015, at 2:56 PM, Wong, Hong <
> hong.w...@hp.com<mailto:hong.w...@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 ?
>
>
>
> Thanks,
>
> Hong
>
>
>
>
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
>
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


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

2015-03-10 Thread Wong, Hong
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 ?

Thanks,
Hong



From: Aaron Rosen [mailto:aaronoro...@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.

Best,

Aaron

On Mon, Mar 9, 2015 at 8:28 PM, Wong, Hong 
mailto:hong.w...@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 ?

Thanks,
Hong


--



Message: 10

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

From: Tim Hinrichs mailto:thinri...@vmware.com>>

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

  
mailto:openstack-dev@lists.openstack.org>>

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

  testing murano driver

Message-ID: 
mailto:d6dbf6ed-2207-4e19-9eec-c270bce2f...@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.



https://review.openstack.org/#/c/157166/



Tim



On Feb 26, 2015, at 2:56 PM, Wong, Hong 
mailto:hong.w...@hp.com<mailto:hong.w...@hp.com%3cmailto:hong.w...@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 ?



Thanks,

Hong


__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: 
openstack-dev-requ...@lists.openstack.org?subject:unsubscribe<http://openstack-dev-requ...@lists.openstack.org?subject:unsubscribe>
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


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

2015-03-09 Thread Aaron Rosen
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.

Best,

Aaron

On Mon, Mar 9, 2015 at 8:28 PM, Wong, Hong  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 ?
>
>
>
> Thanks,
>
> Hong
>
>
>
> --
>
>
>
> Message: 10
>
> Date: Mon, 2 Mar 2015 15:39:11 +
>
> From: Tim Hinrichs 
>
> To: "OpenStack Development Mailing List (not for usage questions)"
>
>   
>
> Subject: Re: [openstack-dev] [Congress]How to add tempest tests for
>
>   testing murano driver
>
> Message-ID: 
>
> 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.
>
>
>
> https://review.openstack.org/#/c/157166/
>
>
>
> Tim
>
>
>
> On Feb 26, 2015, at 2:56 PM, Wong, Hong <
> hong.w...@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 ?
>
>
>
> Thanks,
>
> Hong
>
>
>
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


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

2015-03-09 Thread Wong, Hong
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 ?

Thanks,
Hong


--



Message: 10

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

From: Tim Hinrichs mailto:thinri...@vmware.com>>

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

  
mailto:openstack-dev@lists.openstack.org>>

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

  testing murano driver

Message-ID: 
mailto:d6dbf6ed-2207-4e19-9eec-c270bce2f...@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.



https://review.openstack.org/#/c/157166/



Tim



On Feb 26, 2015, at 2:56 PM, Wong, Hong 
mailto:hong.w...@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 ?



Thanks,

Hong

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev