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

Roman Prykhodchenko me at romcheg.me
Thu Aug 20 12:05:55 UTC 2015


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 <skalinowski at mirantis.com> написав(ла):
> 
> 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 <bpavlovic at mirantis.com <mailto:bpavlovic at mirantis.com>>:
> Roman,
> 
> well done! ;)
> 
> Best regards,
> Boris Pavlovic
> 
> On Wed, Aug 19, 2015 at 8:38 AM, Roman Prykhodchenko <me at romcheg.me <mailto:me at romcheg.me>> 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-request at lists.openstack.org?subject:unsubscribe <http://OpenStack-dev-request@lists.openstack.org/?subject:unsubscribe>
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev <http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev>
> 
> 
> 
> __________________________________________________________________________
> 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>
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev <http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev>
> 
> 
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150820/71ba56bf/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150820/71ba56bf/attachment.pgp>


More information about the OpenStack-dev mailing list