Re: [openstack-dev] [Fuel] Great updates to tests and CI jobs

2015-08-24 Thread Roman Prykhodchenko
It looks like Sebastian’s concern was right and there indeed were not 4-5 
patches for Fuel Client. Therefore I will not switch python jobs to voting 
mode. Once there are some new patches, I will do that and notify you folks.

- romcheg


> 20 серп. 2015 о 14:13 Sebastian Kalinowski  
> написав(ла):
> 
> If there will be 4-5 patches, then I do not have anything against it. I'm 
> just skeptic that we will have so many ;)
> 
> 2015-08-20 14:05 GMT+02:00 Roman Prykhodchenko  >:
> I think, that if there are 4-5 patches that pass python jobs w/o any 
> problems, we can switch the jobs to voting. They are really simple with a 
> very little room for a failure so should we wait longer?
> 
> 
>> 19 серп. 2015 о 19:50 Sebastian Kalinowski > > написав(ла):
>> 
>> Indeed, great news!
>> 
>> I would only suggest to wait a little bit more that a few days with switching
>> to the voting mode since it looks like there will be not so many patches
>> proposed to python-fuelclient as we are heading towards Hard Code Freeze.
>> 
>> I hope that the next step will be to enable Python 3 pipepline for our 
>> client so
>> we could finally test all the code that uses "six" library for Python 2 & 3 
>> compatibility.
>> 
>> Best,
>> Sebastian
>> 
>> 2015-08-19 19:00 GMT+02:00 Boris Pavlovic > >:
>> Roman,
>> 
>> well done! ;)
>> 
>> Best regards,
>> Boris Pavlovic
>> 
>> On Wed, Aug 19, 2015 at 8:38 AM, Roman Prykhodchenko > > wrote:
>> Hi folks!
>> 
>> Today I’m proud to announce that since this moment python-fuelclient has 
>> it’s own python-jobs in OpenStack CI. Thanks to all of you who helped me 
>> making Fuel Client compatible with the upstream CI.
>> Besides sharing great news I think it’s necessary to share changes we had to 
>> do, in order to accomplish this result.
>> 
>> First of all tests were reorganized: now functional and unit tests have 
>> their own separate folders inside the fuelclient/tests directory. That 
>> allowed us to distinguish them from both the CI and a developer’s point of 
>> view, so there will be no mess we used to have.
>> 
>> The other change we’ve made is deleting run_tests.sh*. It is possible to run 
>> and manage all the tests via tox which is a de-facto standard in OpenStack 
>> ecosystem. That also means anyone who is familiar with any of OpenStack 
>> projects will be able to orchestrate tests without a need to learn anything. 
>> Tox is preconfigured to run py26, py27, pep8, cover, functional, and cleanup 
>> environments. py26 and py27 only run unit tests and cover also involves 
>> calculating coverage. functional fires up Nailgun and launches functional 
>> tests. cleanup stops Nailgun, deletes its DB and any files left after 
>> functional tests and what you will definitely like — cleans up all *.pyc 
>> files. By default tox executes environments in the following order: 
>> py26->py27->pep8->functional->cleanup.
>> 
>> Minimal tox was updated to 2.1 which guarantees no external environment 
>> variable is passed to tests.
>> 
>> The jobs on OpenStack CI are set to be non-voting for a few days to give it 
>> a better try. On the next week we will switch them to voting. At the same 
>> time we will remove unit tests from FuelCI to not waste extra time.
>> 
>> 
>> * Technically it is kept in place to keep compatibility with FuelCI but it 
>> only invokes tox from inside. It will be removed later, when it’s time to 
>> switch off unit tests on FuelCI.
>> 
>> 
>> - romcheg
>> 
>> __
>> 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 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 

Re: [openstack-dev] [Fuel] Great updates to tests and CI jobs

2015-08-20 Thread Sebastian Kalinowski
If there will be 4-5 patches, then I do not have anything against it. I'm
just skeptic that we will have so many ;)

2015-08-20 14:05 GMT+02:00 Roman Prykhodchenko :

> I think, that if there are 4-5 patches that pass python jobs w/o any
> problems, we can switch the jobs to voting. They are really simple with a
> very little room for a failure so should we wait longer?
>
>
> 19 серп. 2015 о 19:50 Sebastian Kalinowski 
> написав(ла):
>
> Indeed, great news!
>
> I would only suggest to wait a little bit more that a few days with
> switching
> to the voting mode since it looks like there will be not so many patches
> proposed to python-fuelclient as we are heading towards Hard Code Freeze.
>
> I hope that the next step will be to enable Python 3 pipepline for our
> client so
> we could finally test all the code that uses "six" library for Python 2 &
> 3 compatibility.
>
> Best,
> Sebastian
>
> 2015-08-19 19:00 GMT+02:00 Boris Pavlovic :
>
>> Roman,
>>
>> well done! ;)
>>
>> Best regards,
>> Boris Pavlovic
>>
>> On Wed, Aug 19, 2015 at 8:38 AM, Roman Prykhodchenko 
>> wrote:
>>
>>> Hi folks!
>>>
>>> Today I’m proud to announce that since this moment python-fuelclient has
>>> it’s own python-jobs in OpenStack CI. Thanks to all of you who helped me
>>> making Fuel Client compatible with the upstream CI.
>>> Besides sharing great news I think it’s necessary to share changes we
>>> had to do, in order to accomplish this result.
>>>
>>> First of all tests were reorganized: now functional and unit tests have
>>> their own separate folders inside the fuelclient/tests directory. That
>>> allowed us to distinguish them from both the CI and a developer’s point of
>>> view, so there will be no mess we used to have.
>>>
>>> The other change we’ve made is deleting run_tests.sh*. It is possible to
>>> run and manage all the tests via tox which is a de-facto standard in
>>> OpenStack ecosystem. That also means anyone who is familiar with any of
>>> OpenStack projects will be able to orchestrate tests without a need to
>>> learn anything. Tox is preconfigured to run py26, py27, pep8, cover,
>>> functional, and cleanup environments. py26 and py27 only run unit tests and
>>> cover also involves calculating coverage. functional fires up Nailgun and
>>> launches functional tests. cleanup stops Nailgun, deletes its DB and any
>>> files left after functional tests and what you will definitely like —
>>> cleans up all *.pyc files. By default tox executes environments in the
>>> following order: py26->py27->pep8->functional->cleanup.
>>>
>>> Minimal tox was updated to 2.1 which guarantees no external environment
>>> variable is passed to tests.
>>>
>>> The jobs on OpenStack CI are set to be non-voting for a few days to give
>>> it a better try. On the next week we will switch them to voting. At the
>>> same time we will remove unit tests from FuelCI to not waste extra time.
>>>
>>>
>>> * Technically it is kept in place to keep compatibility with FuelCI but
>>> it only invokes tox from inside. It will be removed later, when it’s time
>>> to switch off unit tests on FuelCI.
>>>
>>>
>>> - romcheg
>>>
>>>
>>> __
>>> 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 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 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] [Fuel] Great updates to tests and CI jobs

2015-08-20 Thread Roman Prykhodchenko
I think, that if there are 4-5 patches that pass python jobs w/o any problems, 
we can switch the jobs to voting. They are really simple with a very little 
room for a failure so should we wait longer?


> 19 серп. 2015 о 19:50 Sebastian Kalinowski  
> написав(ла):
> 
> Indeed, great news!
> 
> I would only suggest to wait a little bit more that a few days with switching
> to the voting mode since it looks like there will be not so many patches
> proposed to python-fuelclient as we are heading towards Hard Code Freeze.
> 
> I hope that the next step will be to enable Python 3 pipepline for our client 
> so
> we could finally test all the code that uses "six" library for Python 2 & 3 
> compatibility.
> 
> Best,
> Sebastian
> 
> 2015-08-19 19:00 GMT+02:00 Boris Pavlovic  >:
> Roman,
> 
> well done! ;)
> 
> Best regards,
> Boris Pavlovic
> 
> On Wed, Aug 19, 2015 at 8:38 AM, Roman Prykhodchenko  > wrote:
> Hi folks!
> 
> Today I’m proud to announce that since this moment python-fuelclient has it’s 
> own python-jobs in OpenStack CI. Thanks to all of you who helped me making 
> Fuel Client compatible with the upstream CI.
> Besides sharing great news I think it’s necessary to share changes we had to 
> do, in order to accomplish this result.
> 
> First of all tests were reorganized: now functional and unit tests have their 
> own separate folders inside the fuelclient/tests directory. That allowed us 
> to distinguish them from both the CI and a developer’s point of view, so 
> there will be no mess we used to have.
> 
> The other change we’ve made is deleting run_tests.sh*. It is possible to run 
> and manage all the tests via tox which is a de-facto standard in OpenStack 
> ecosystem. That also means anyone who is familiar with any of OpenStack 
> projects will be able to orchestrate tests without a need to learn anything. 
> Tox is preconfigured to run py26, py27, pep8, cover, functional, and cleanup 
> environments. py26 and py27 only run unit tests and cover also involves 
> calculating coverage. functional fires up Nailgun and launches functional 
> tests. cleanup stops Nailgun, deletes its DB and any files left after 
> functional tests and what you will definitely like — cleans up all *.pyc 
> files. By default tox executes environments in the following order: 
> py26->py27->pep8->functional->cleanup.
> 
> Minimal tox was updated to 2.1 which guarantees no external environment 
> variable is passed to tests.
> 
> The jobs on OpenStack CI are set to be non-voting for a few days to give it a 
> better try. On the next week we will switch them to voting. At the same time 
> we will remove unit tests from FuelCI to not waste extra time.
> 
> 
> * Technically it is kept in place to keep compatibility with FuelCI but it 
> only invokes tox from inside. It will be removed later, when it’s time to 
> switch off unit tests on FuelCI.
> 
> 
> - romcheg
> 
> __
> 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 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



signature.asc
Description: Message signed with OpenPGP using GPGMail
__
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] [Fuel] Great updates to tests and CI jobs

2015-08-20 Thread Roman Prykhodchenko
Mike,

there were indeed several issues with the new Jenkins script. It seems we fixed 
them.


- Roman
> 20 серп. 2015 о 02:00 Mike Scherbakov  написав(ла):
> 
> Sounds great. Thank you Roman!
> I've heard complains about tests not passing for [1]. Now it's passed, so I 
> hope that issues are resolved.
> 
> [1] https://review.openstack.org/#/c/212906/ 
> 
> On Wed, Aug 19, 2015 at 10:51 AM Sebastian Kalinowski 
> mailto:skalinow...@mirantis.com>> wrote:
> Indeed, great news!
> 
> I would only suggest to wait a little bit more that a few days with switching
> to the voting mode since it looks like there will be not so many patches
> proposed to python-fuelclient as we are heading towards Hard Code Freeze.
> 
> I hope that the next step will be to enable Python 3 pipepline for our client 
> so
> we could finally test all the code that uses "six" library for Python 2 & 3 
> compatibility.
> 
> Best,
> Sebastian
> 
> 2015-08-19 19:00 GMT+02:00 Boris Pavlovic  >:
> Roman,
> 
> well done! ;)
> 
> Best regards,
> Boris Pavlovic
> 
> On Wed, Aug 19, 2015 at 8:38 AM, Roman Prykhodchenko  > wrote:
> Hi folks!
> 
> Today I’m proud to announce that since this moment python-fuelclient has it’s 
> own python-jobs in OpenStack CI. Thanks to all of you who helped me making 
> Fuel Client compatible with the upstream CI.
> Besides sharing great news I think it’s necessary to share changes we had to 
> do, in order to accomplish this result.
> 
> First of all tests were reorganized: now functional and unit tests have their 
> own separate folders inside the fuelclient/tests directory. That allowed us 
> to distinguish them from both the CI and a developer’s point of view, so 
> there will be no mess we used to have.
> 
> The other change we’ve made is deleting run_tests.sh*. It is possible to run 
> and manage all the tests via tox which is a de-facto standard in OpenStack 
> ecosystem. That also means anyone who is familiar with any of OpenStack 
> projects will be able to orchestrate tests without a need to learn anything. 
> Tox is preconfigured to run py26, py27, pep8, cover, functional, and cleanup 
> environments. py26 and py27 only run unit tests and cover also involves 
> calculating coverage. functional fires up Nailgun and launches functional 
> tests. cleanup stops Nailgun, deletes its DB and any files left after 
> functional tests and what you will definitely like — cleans up all *.pyc 
> files. By default tox executes environments in the following order: 
> py26->py27->pep8->functional->cleanup.
> 
> Minimal tox was updated to 2.1 which guarantees no external environment 
> variable is passed to tests.
> 
> The jobs on OpenStack CI are set to be non-voting for a few days to give it a 
> better try. On the next week we will switch them to voting. At the same time 
> we will remove unit tests from FuelCI to not waste extra time.
> 
> 
> * Technically it is kept in place to keep compatibility with FuelCI but it 
> only invokes tox from inside. It will be removed later, when it’s time to 
> switch off unit tests on FuelCI.
> 
> 
> - romcheg
> 
> __
> 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 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 
> 
> --
> Mike Scherbakov
> #mihgen
> __
> 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



signature.asc
Description: Message signed with OpenPGP using GPGMail
__
OpenStack Development Mailing List 

Re: [openstack-dev] [Fuel] Great updates to tests and CI jobs

2015-08-19 Thread Mike Scherbakov
Sounds great. Thank you Roman!
I've heard complains about tests not passing for [1]. Now it's passed, so I
hope that issues are resolved.

[1] https://review.openstack.org/#/c/212906/

On Wed, Aug 19, 2015 at 10:51 AM Sebastian Kalinowski <
skalinow...@mirantis.com> wrote:

> Indeed, great news!
>
> I would only suggest to wait a little bit more that a few days with
> switching
> to the voting mode since it looks like there will be not so many patches
> proposed to python-fuelclient as we are heading towards Hard Code Freeze.
>
> I hope that the next step will be to enable Python 3 pipepline for our
> client so
> we could finally test all the code that uses "six" library for Python 2 &
> 3 compatibility.
>
> Best,
> Sebastian
>
> 2015-08-19 19:00 GMT+02:00 Boris Pavlovic :
>
>> Roman,
>>
>> well done! ;)
>>
>> Best regards,
>> Boris Pavlovic
>>
>> On Wed, Aug 19, 2015 at 8:38 AM, Roman Prykhodchenko 
>> wrote:
>>
>>> Hi folks!
>>>
>>> Today I’m proud to announce that since this moment python-fuelclient has
>>> it’s own python-jobs in OpenStack CI. Thanks to all of you who helped me
>>> making Fuel Client compatible with the upstream CI.
>>> Besides sharing great news I think it’s necessary to share changes we
>>> had to do, in order to accomplish this result.
>>>
>>> First of all tests were reorganized: now functional and unit tests have
>>> their own separate folders inside the fuelclient/tests directory. That
>>> allowed us to distinguish them from both the CI and a developer’s point of
>>> view, so there will be no mess we used to have.
>>>
>>> The other change we’ve made is deleting run_tests.sh*. It is possible to
>>> run and manage all the tests via tox which is a de-facto standard in
>>> OpenStack ecosystem. That also means anyone who is familiar with any of
>>> OpenStack projects will be able to orchestrate tests without a need to
>>> learn anything. Tox is preconfigured to run py26, py27, pep8, cover,
>>> functional, and cleanup environments. py26 and py27 only run unit tests and
>>> cover also involves calculating coverage. functional fires up Nailgun and
>>> launches functional tests. cleanup stops Nailgun, deletes its DB and any
>>> files left after functional tests and what you will definitely like —
>>> cleans up all *.pyc files. By default tox executes environments in the
>>> following order: py26->py27->pep8->functional->cleanup.
>>>
>>> Minimal tox was updated to 2.1 which guarantees no external environment
>>> variable is passed to tests.
>>>
>>> The jobs on OpenStack CI are set to be non-voting for a few days to give
>>> it a better try. On the next week we will switch them to voting. At the
>>> same time we will remove unit tests from FuelCI to not waste extra time.
>>>
>>>
>>> * Technically it is kept in place to keep compatibility with FuelCI but
>>> it only invokes tox from inside. It will be removed later, when it’s time
>>> to switch off unit tests on FuelCI.
>>>
>>>
>>> - romcheg
>>>
>>>
>>> __
>>> 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 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
>
-- 
Mike Scherbakov
#mihgen
__
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] [Fuel] Great updates to tests and CI jobs

2015-08-19 Thread Sebastian Kalinowski
Indeed, great news!

I would only suggest to wait a little bit more that a few days with
switching
to the voting mode since it looks like there will be not so many patches
proposed to python-fuelclient as we are heading towards Hard Code Freeze.

I hope that the next step will be to enable Python 3 pipepline for our
client so
we could finally test all the code that uses "six" library for Python 2 & 3
compatibility.

Best,
Sebastian

2015-08-19 19:00 GMT+02:00 Boris Pavlovic :

> Roman,
>
> well done! ;)
>
> Best regards,
> Boris Pavlovic
>
> On Wed, Aug 19, 2015 at 8:38 AM, Roman Prykhodchenko 
> wrote:
>
>> Hi folks!
>>
>> Today I’m proud to announce that since this moment python-fuelclient has
>> it’s own python-jobs in OpenStack CI. Thanks to all of you who helped me
>> making Fuel Client compatible with the upstream CI.
>> Besides sharing great news I think it’s necessary to share changes we had
>> to do, in order to accomplish this result.
>>
>> First of all tests were reorganized: now functional and unit tests have
>> their own separate folders inside the fuelclient/tests directory. That
>> allowed us to distinguish them from both the CI and a developer’s point of
>> view, so there will be no mess we used to have.
>>
>> The other change we’ve made is deleting run_tests.sh*. It is possible to
>> run and manage all the tests via tox which is a de-facto standard in
>> OpenStack ecosystem. That also means anyone who is familiar with any of
>> OpenStack projects will be able to orchestrate tests without a need to
>> learn anything. Tox is preconfigured to run py26, py27, pep8, cover,
>> functional, and cleanup environments. py26 and py27 only run unit tests and
>> cover also involves calculating coverage. functional fires up Nailgun and
>> launches functional tests. cleanup stops Nailgun, deletes its DB and any
>> files left after functional tests and what you will definitely like —
>> cleans up all *.pyc files. By default tox executes environments in the
>> following order: py26->py27->pep8->functional->cleanup.
>>
>> Minimal tox was updated to 2.1 which guarantees no external environment
>> variable is passed to tests.
>>
>> The jobs on OpenStack CI are set to be non-voting for a few days to give
>> it a better try. On the next week we will switch them to voting. At the
>> same time we will remove unit tests from FuelCI to not waste extra time.
>>
>>
>> * Technically it is kept in place to keep compatibility with FuelCI but
>> it only invokes tox from inside. It will be removed later, when it’s time
>> to switch off unit tests on FuelCI.
>>
>>
>> - romcheg
>>
>> __
>> 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 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] [Fuel] Great updates to tests and CI jobs

2015-08-19 Thread Boris Pavlovic
Roman,

well done! ;)

Best regards,
Boris Pavlovic

On Wed, Aug 19, 2015 at 8:38 AM, Roman Prykhodchenko  wrote:

> Hi folks!
>
> Today I’m proud to announce that since this moment python-fuelclient has
> it’s own python-jobs in OpenStack CI. Thanks to all of you who helped me
> making Fuel Client compatible with the upstream CI.
> Besides sharing great news I think it’s necessary to share changes we had
> to do, in order to accomplish this result.
>
> First of all tests were reorganized: now functional and unit tests have
> their own separate folders inside the fuelclient/tests directory. That
> allowed us to distinguish them from both the CI and a developer’s point of
> view, so there will be no mess we used to have.
>
> The other change we’ve made is deleting run_tests.sh*. It is possible to
> run and manage all the tests via tox which is a de-facto standard in
> OpenStack ecosystem. That also means anyone who is familiar with any of
> OpenStack projects will be able to orchestrate tests without a need to
> learn anything. Tox is preconfigured to run py26, py27, pep8, cover,
> functional, and cleanup environments. py26 and py27 only run unit tests and
> cover also involves calculating coverage. functional fires up Nailgun and
> launches functional tests. cleanup stops Nailgun, deletes its DB and any
> files left after functional tests and what you will definitely like —
> cleans up all *.pyc files. By default tox executes environments in the
> following order: py26->py27->pep8->functional->cleanup.
>
> Minimal tox was updated to 2.1 which guarantees no external environment
> variable is passed to tests.
>
> The jobs on OpenStack CI are set to be non-voting for a few days to give
> it a better try. On the next week we will switch them to voting. At the
> same time we will remove unit tests from FuelCI to not waste extra time.
>
>
> * Technically it is kept in place to keep compatibility with FuelCI but it
> only invokes tox from inside. It will be removed later, when it’s time to
> switch off unit tests on FuelCI.
>
>
> - romcheg
>
> __
> 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] [Fuel] Great updates to tests and CI jobs

2015-08-19 Thread Roman Prykhodchenko
Hi folks!

Today I’m proud to announce that since this moment python-fuelclient has it’s 
own python-jobs in OpenStack CI. Thanks to all of you who helped me making Fuel 
Client compatible with the upstream CI.
Besides sharing great news I think it’s necessary to share changes we had to 
do, in order to accomplish this result.

First of all tests were reorganized: now functional and unit tests have their 
own separate folders inside the fuelclient/tests directory. That allowed us to 
distinguish them from both the CI and a developer’s point of view, so there 
will be no mess we used to have.

The other change we’ve made is deleting run_tests.sh*. It is possible to run 
and manage all the tests via tox which is a de-facto standard in OpenStack 
ecosystem. That also means anyone who is familiar with any of OpenStack 
projects will be able to orchestrate tests without a need to learn anything. 
Tox is preconfigured to run py26, py27, pep8, cover, functional, and cleanup 
environments. py26 and py27 only run unit tests and cover also involves 
calculating coverage. functional fires up Nailgun and launches functional 
tests. cleanup stops Nailgun, deletes its DB and any files left after 
functional tests and what you will definitely like — cleans up all *.pyc files. 
By default tox executes environments in the following order: 
py26->py27->pep8->functional->cleanup.

Minimal tox was updated to 2.1 which guarantees no external environment 
variable is passed to tests.

The jobs on OpenStack CI are set to be non-voting for a few days to give it a 
better try. On the next week we will switch them to voting. At the same time we 
will remove unit tests from FuelCI to not waste extra time.


* Technically it is kept in place to keep compatibility with FuelCI but it only 
invokes tox from inside. It will be removed later, when it’s time to switch off 
unit tests on FuelCI.


- romcheg


signature.asc
Description: Message signed with OpenPGP using GPGMail
__
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