[openstack-dev] Nova master appears to fail PEP8 compliance

Dan Genin daniel.genin at jhuapl.edu
Wed Aug 21 20:24:43 UTC 2013


Attempting to submit code to Nova, I got the following error from Jenkins:

2013-08-21 17:23:55.604 | pep8 runtests: commands[0] | flake8
2013-08-21 17:23:55.615 |   /home/jenkins/workspace/gate-nova-pep8$ /home/jenkins/workspace/gate-nova-pep8/.tox/pep8/bin/flake8
2013-08-21 17:25:44.400 | ./nova/tests/compute/test_compute_api.py:535:10: H202  assertRaises Exception too broad
2013-08-21 17:25:44.879 | ERROR: InvocationError: '/home/jenkins/workspace/gate-nova-pep8/.tox/pep8/bin/flake8'
2013-08-21 17:25:44.880 | pep8 runtests: commands[1] | /home/jenkins/workspace/gate-nova-pep8/tools/config/check_uptodate.sh
2013-08-21 17:25:44.884 |   /home/jenkins/workspace/gate-nova-pep8$ /home/jenkins/workspace/gate-nova-pep8/tools/config/check_uptodate.sh
2013-08-21 17:25:48.466 | ___________________________________ summary ____________________________________
2013-08-21 17:25:48.466 | ERROR:   pep8: commands failed


Since I did not modify test_compute_api.py it seems that the problem is 
with the Nova master branch. My code was branched from commit 8f47cb6399.

Dan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3449 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130821/250e473c/attachment.bin>


More information about the OpenStack-dev mailing list