Re: [openstack-dev] [Openstack-dev][Manila] running tox py27 - unit tests - very slow - can i run it in parts?
On 12/22/2015 08:51 AM, Knight, Clinton wrote: @Matt: The Manila team is writing new 1st-party drivers that should be much faster & more reliable in the gate. @Nidhi: Here are a couple more suggestions for working with unit tests more efficiently: 1. Use PyCharm. You can set up test configurations to run unit tests on a single file or a directory, and you can also step through unit tests in the debugger. Are there any references about how to set up these configurations? I'd be interested in this in the context of nova development. Chris __ 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] [Openstack-dev][Manila] running tox py27 - unit tests - very slow - can i run it in parts?
@Matt: The Manila team is writing new 1st-party drivers that should be much faster & more reliable in the gate. @Nidhi: Here are a couple more suggestions for working with unit tests more efficiently: 1. Use PyCharm. You can set up test configurations to run unit tests on a single file or a directory, and you can also step through unit tests in the debugger. 2. Use concurrency. Using Ubuntu in a VM on my 4-core laptop, I can run Manila's run_tests.sh script with "--concurrency 4" in ~35 seconds. Clinton On 12/22/15, 9:40 AM, "Matt Riedemann" wrote: > > >On 12/22/2015 6:40 AM, nidhi.h...@wipro.com wrote: >> Thank you very much Martin. >> >> >> -Original Message- >> From: Martin Hickey [mailto:martin.hic...@ie.ibm.com] >> Sent: Tuesday, December 22, 2015 5:56 PM >> To: OpenStack Development Mailing List (not for usage questions) >> >> Subject: Re: [openstack-dev] [Openstack-dev][Manila] running tox py27 - >>unit tests - very slow - can i run it in parts? >> >> Hi Nidhi, >> >> You can run particular tests as follows: >> tox -e py27 >> >> For example in neutron, you could run: tox -e py27 >>neutron.tests.unit.test_manager.NeutronManagerTestCase >> >> I hope this helps. >> >> Regards, >> Martin >> >> >> >> >> From: >> To: >> Date: 22/12/2015 12:18 >> Subject:[openstack-dev] [Openstack-dev][Manila] running tox >>py27 - unit >> tests - very slow - can i run it in parts? >> >> >> >> Hi all, >> >> While doing some development I changed a unit test. >> To confirm test is passing or not I am running tox v epy27. >> Now its very very slow .. takes a lot of time complete its run .. >> Difficult during development to make changes and test.. >> >> >> Is there a way that I can run some unit tests specifically ? >> Is there a way that I test unit test in parts .. not all .. >> >> during development it will be helpful .. >> >> Plz give any idea if you have. >> >> >> Thanks >> Nidhi >> >> >> >> The information contained in this electronic message and any >>attachments to this message are intended for the exclusive use of the >>addressee(s) and may contain proprietary, confidential or privileged >>information. If you are not the intended recipient, you should not >>disseminate, distribute or copy this e-mail. Please notify the sender >>immediately and destroy all copies of this message and any attachments. >>WARNING: Computer viruses can be transmitted via email. The recipient >>should check this email and any attachments for the presence of viruses. >>The company accepts no liability for any damage caused by any virus >>transmitted by this email. www.wipro.com >>_ >>_ >> 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 >> The information contained in this electronic message and any >>attachments to this message are intended for the exclusive use of the >>addressee(s) and may contain proprietary, confidential or privileged >>information. If you are not the intended recipient, you should not >>disseminate, distribute or copy this e-mail. Please notify the sender >>immediately and destroy all copies of this message and any attachments. >>WARNING: Computer viruses can be transmitted via email. The recipient >>should check this email and any attachments for the presence of viruses. >>The company accepts no liability for any damage caused by any virus >>transmitted by this email. www.wipro.com >> >>_ >>_ >> 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 >> > >There could be deeper performance issues with manila itself. The >gate-manila-tempest-dsvm-neutron-multibackend job has
Re: [openstack-dev] [Openstack-dev][Manila] running tox py27 - unit tests - very slow - can i run it in parts?
On 12/22/2015 6:40 AM, nidhi.h...@wipro.com wrote: Thank you very much Martin. -Original Message- From: Martin Hickey [mailto:martin.hic...@ie.ibm.com] Sent: Tuesday, December 22, 2015 5:56 PM To: OpenStack Development Mailing List (not for usage questions) Subject: Re: [openstack-dev] [Openstack-dev][Manila] running tox py27 - unit tests - very slow - can i run it in parts? Hi Nidhi, You can run particular tests as follows: tox -e py27 For example in neutron, you could run: tox -e py27 neutron.tests.unit.test_manager.NeutronManagerTestCase I hope this helps. Regards, Martin From: To: Date: 22/12/2015 12:18 Subject:[openstack-dev] [Openstack-dev][Manila] running tox py27 - unit tests - very slow - can i run it in parts? Hi all, While doing some development I changed a unit test. To confirm test is passing or not I am running tox –v –epy27. Now its very very slow .. takes a lot of time complete its run .. Difficult during development to make changes and test.. Is there a way that I can run some unit tests specifically ? Is there a way that I test unit test in parts .. not all .. during development it will be helpful .. Plz give any idea if you have. Thanks Nidhi The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com __ 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 The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com __ 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 There could be deeper performance issues with manila itself. The gate-manila-tempest-dsvm-neutron-multibackend job has been timing out in the gate [1]. I have no idea what's taking so long, but if anyone has experience profiling manila it's probably worth digging into this since it's kicking out changes with the gate failures. [1] http://logs.openstack.org/65/256865/5/gate/gate-manila-tempest-dsvm-neutron-multibackend/76e7926/console.html#_2015-12-21_17_26_11_797 -- Thanks, Matt Riedemann __ 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] [Openstack-dev][Manila] running tox py27 - unit tests - very slow - can i run it in parts?
Thank you very much Martin. -Original Message- From: Martin Hickey [mailto:martin.hic...@ie.ibm.com] Sent: Tuesday, December 22, 2015 5:56 PM To: OpenStack Development Mailing List (not for usage questions) Subject: Re: [openstack-dev] [Openstack-dev][Manila] running tox py27 - unit tests - very slow - can i run it in parts? Hi Nidhi, You can run particular tests as follows: tox -e py27 For example in neutron, you could run: tox -e py27 neutron.tests.unit.test_manager.NeutronManagerTestCase I hope this helps. Regards, Martin From: To: Date: 22/12/2015 12:18 Subject:[openstack-dev] [Openstack-dev][Manila] running tox py27 - unit tests - very slow - can i run it in parts? Hi all, While doing some development I changed a unit test. To confirm test is passing or not I am running tox –v –epy27. Now its very very slow .. takes a lot of time complete its run .. Difficult during development to make changes and test.. Is there a way that I can run some unit tests specifically ? Is there a way that I test unit test in parts .. not all .. during development it will be helpful .. Plz give any idea if you have. Thanks Nidhi The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com __ 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 The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com __ 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] [Openstack-dev][Manila] running tox py27 - unit tests - very slow - can i run it in parts?
Hi Nidhi, You can run particular tests as follows: tox -e py27 For example in neutron, you could run: tox -e py27 neutron.tests.unit.test_manager.NeutronManagerTestCase I hope this helps. Regards, Martin From: To: Date: 22/12/2015 12:18 Subject:[openstack-dev] [Openstack-dev][Manila] running tox py27 - unit tests - very slow - can i run it in parts? Hi all, While doing some development I changed a unit test. To confirm test is passing or not I am running tox –v –epy27. Now its very very slow .. takes a lot of time complete its run .. Difficult during development to make changes and test.. Is there a way that I can run some unit tests specifically ? Is there a way that I test unit test in parts .. not all .. during development it will be helpful .. Plz give any idea if you have. Thanks Nidhi The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com __ 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