
I see a patch failing to build vsdm rpm on a pep8 error. pep8 version is 1.4.6, yet the actual pep8 job works jst fine. Same pep8 version to both. How come? I need to know why this happens in order to fix my job. Patch in question: http://gerrit.ovirt.org/#/c/26759/5 pep8 job: http://jenkins.ovirt.org/job/vdsm_master_pep8_gerrit/9179/console Failing job: http://jenkins.ovirt.org/job/vdsm_master_storage_functional_tests_localfs_ge... Thanks, Vered

----- Original Message -----
From: "Vered Volansky" <vered@redhat.com> To: "infra" <infra@ovirt.org> Sent: Thursday, May 22, 2014 4:48:37 PM Subject: How come same version pep8 does't work the same?
I see a patch failing to build vsdm rpm on a pep8 error. pep8 version is 1.4.6, yet the actual pep8 job works jst fine. Same pep8 version to both. How come?
Please upgrade your version of pep8. There were many changes in the latest update and this is probably causing your issue. Yaniv
I need to know why this happens in order to fix my job.
Patch in question: http://gerrit.ovirt.org/#/c/26759/5 pep8 job: http://jenkins.ovirt.org/job/vdsm_master_pep8_gerrit/9179/console Failing job: http://jenkins.ovirt.org/job/vdsm_master_storage_functional_tests_localfs_ge...
Thanks, Vered _______________________________________________ Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra

This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --aAjJfRiPafruJw9FObAKgWsInrmOJsBI9 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Thu 22 May 2014 03:50:23 PM CEST, Yaniv Dary wrote:
----- Original Message -----
From: "Vered Volansky" <vered@redhat.com> To: "infra" <infra@ovirt.org> Sent: Thursday, May 22, 2014 4:48:37 PM Subject: How come same version pep8 does't work the same?
I see a patch failing to build vsdm rpm on a pep8 error. pep8 version =
1.4.6, yet the actual pep8 job works jst fine. Same pep8 version to bo=
is th.
How come?
Please upgrade your version of pep8. There were many changes in the latest update and this is probably causi= ng your issue.
Yaniv
I need to know why this happens in order to fix my job.
Patch in question: http://gerrit.ovirt.org/#/c/26759/5 pep8 job: http://jenkins.ovirt.org/job/vdsm_master_pep8_gerrit/9179/co= nsole Failing job: http://jenkins.ovirt.org/job/vdsm_master_storage_functional_tests_loca= lfs_gerrit/852/consoleFull
Thanks, Vered _______________________________________________ Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra
_______________________________________________ Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra
Couple of things to have in mind here: The jobs that you sent are for different patches, I'll focus on the=20 patch you sent only. Why pep8 job did pass: - Because the pep8 job only checks the changes made in that patch,=20 and in that patch, there were no issues (git diff HEAD~) Why vdsm_master_storage_functional_tests_localfs_gerrit did not pass: - Because when compiling it will check all the files, not only the=20 ones your patch changes, and your patch was based on an already failing=20 patchset (http://gerrit.ovirt.org/#/c/27977/5/vdsm/BindingXMLRPC.py,cm). You can see in the gerrit comments for that patchset that it did=20 actually fail: Patch Set 5: Code-Review-1 Verified-1 Build Unstable http://jenkins.ovirt.org/job/vdsm_master_pep8_gerrit/9162/ : UNSTABLE http://jenkins.ovirt.org/job/vdsm_master_unit_tests_gerrit/9305/ :=20 SUCCESS http://jenkins.ovirt.org/job/vdsm_master_unit_tests_gerrit_el/8374/ :=20 SUCCESS Mybe it's a good point to run pep8 on all the files and not only on the=20 latest commit diff, to block any patchset based on a previously failing=20 patch. Ideas? -- David Caro Red Hat S.L. Continuous Integration Engineer - EMEA ENG Virtualization R&D Email: dcaro@redhat.com Web: www.redhat.com RHT Global #: 82-62605 --aAjJfRiPafruJw9FObAKgWsInrmOJsBI9 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJTfhupAAoJEEBxx+HSYmnDWagH+wcZrb2DthyGvwQEvKz57EgJ 0gY+WY1R6r3lWPIKLlrnOr2e52W5v2hhqbvqMvypzTInJ6a2p/FPKHhxG8D85pyq h2SJljRQLctIUPMhj6XgVS1yIaPkpDfeLo5czc9Ia0iH+aXUQd20Uggsd9ySoFeM ftaLzMrzh2c2hmvimjQLa+IkcvtoQenJUzarg3oux0wTjn03E/AsauZTEUvuSvRH tjhzt9k5Zi60CZ9wdOmP6jMjjJtZ8uwjQqFN9T4g/E+1FJewlV4cboHD2gI5wDPc Z70NWW96OproDswlBxrLP8RG53tBtIowHafHA5KD31cepb/0NCHILql/D6U3nFo= =MYbd -----END PGP SIGNATURE----- --aAjJfRiPafruJw9FObAKgWsInrmOJsBI9--

On Thu, May 22, 2014 at 05:45:45PM +0200, David Caro wrote:
On Thu 22 May 2014 03:50:23 PM CEST, Yaniv Dary wrote:
----- Original Message -----
From: "Vered Volansky" <vered@redhat.com> To: "infra" <infra@ovirt.org> Sent: Thursday, May 22, 2014 4:48:37 PM Subject: How come same version pep8 does't work the same?
I see a patch failing to build vsdm rpm on a pep8 error. pep8 version is 1.4.6, yet the actual pep8 job works jst fine. Same pep8 version to both. How come?
Please upgrade your version of pep8. There were many changes in the latest update and this is probably causing your issue.
Yaniv
I need to know why this happens in order to fix my job.
Patch in question: http://gerrit.ovirt.org/#/c/26759/5 pep8 job: http://jenkins.ovirt.org/job/vdsm_master_pep8_gerrit/9179/console Failing job: http://jenkins.ovirt.org/job/vdsm_master_storage_functional_tests_localfs_ge...
Thanks, Vered _______________________________________________ Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra
_______________________________________________ Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra
Couple of things to have in mind here:
The jobs that you sent are for different patches, I'll focus on the patch you sent only.
Why pep8 job did pass: - Because the pep8 job only checks the changes made in that patch, and in that patch, there were no issues (git diff HEAD~)
Why vdsm_master_storage_functional_tests_localfs_gerrit did not pass: - Because when compiling it will check all the files, not only the ones your patch changes, and your patch was based on an already failing patchset (http://gerrit.ovirt.org/#/c/27977/5/vdsm/BindingXMLRPC.py,cm).
You can see in the gerrit comments for that patchset that it did actually fail: Patch Set 5: Code-Review-1 Verified-1 Build Unstable http://jenkins.ovirt.org/job/vdsm_master_pep8_gerrit/9162/ : UNSTABLE http://jenkins.ovirt.org/job/vdsm_master_unit_tests_gerrit/9305/ : SUCCESS http://jenkins.ovirt.org/job/vdsm_master_unit_tests_gerrit_el/8374/ : SUCCESS
Mybe it's a good point to run pep8 on all the files and not only on the latest commit diff, to block any patchset based on a previously failing patch. Ideas?
I prefer to keep the diff. The previously-failing patch should be marked and fixed. If follow-ups are fine - let them be. Skipping pep8 (with PEP8=true) during the storage job would have avoided the issue in a cleaner way.

This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --srTfcOJvmarQ1Mrmmpc23c1qKLxg37X7h Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Fri 23 May 2014 11:47:52 AM CEST, Dan Kenigsberg wrote:
On Thu, May 22, 2014 at 05:45:45PM +0200, David Caro wrote:
On Thu 22 May 2014 03:50:23 PM CEST, Yaniv Dary wrote:
----- Original Message -----
From: "Vered Volansky" <vered@redhat.com> To: "infra" <infra@ovirt.org> Sent: Thursday, May 22, 2014 4:48:37 PM Subject: How come same version pep8 does't work the same?
I see a patch failing to build vsdm rpm on a pep8 error. pep8 versio=
n is
1.4.6, yet the actual pep8 job works jst fine. Same pep8 version to = both. How come?
Please upgrade your version of pep8. There were many changes in the latest update and this is probably cau= sing your issue.
Yaniv
I need to know why this happens in order to fix my job.
Patch in question: http://gerrit.ovirt.org/#/c/26759/5 pep8 job: http://jenkins.ovirt.org/job/vdsm_master_pep8_gerrit/9179/= console Failing job: http://jenkins.ovirt.org/job/vdsm_master_storage_functional_tests_lo= calfs_gerrit/852/consoleFull
Thanks, Vered _______________________________________________ Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra
_______________________________________________ Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra
Couple of things to have in mind here:
The jobs that you sent are for different patches, I'll focus on the patch you sent only.
Why pep8 job did pass: - Because the pep8 job only checks the changes made in that patch, and in that patch, there were no issues (git diff HEAD~)
Why vdsm_master_storage_functional_tests_localfs_gerrit did not pass: - Because when compiling it will check all the files, not only the ones your patch changes, and your patch was based on an already failin= g patchset (http://gerrit.ovirt.org/#/c/27977/5/vdsm/BindingXMLRPC.py,cm= ).
You can see in the gerrit comments for that patchset that it did actually fail: Patch Set 5: Code-Review-1 Verified-1 Build Unstable http://jenkins.ovirt.org/job/vdsm_master_pep8_gerrit/9162/ : UNSTABLE http://jenkins.ovirt.org/job/vdsm_master_unit_tests_gerrit/9305/ : SUCCESS http://jenkins.ovirt.org/job/vdsm_master_unit_tests_gerrit_el/8374/ : SUCCESS
Mybe it's a good point to run pep8 on all the files and not only on th= e latest commit diff, to block any patchset based on a previously failin= g patch. Ideas?
I prefer to keep the diff. The previously-failing patch should be marke= d and fixed. If follow-ups are fine - let them be. Skipping pep8 (with PEP8=3Dtrue) during the storage job would have avoi= ded the issue in a cleaner way.
Ok, let me know what you decide you want and if there are any changes=20 needed on my side. -- David Caro Red Hat S.L. Continuous Integration Engineer - EMEA ENG Virtualization R&D Email: dcaro@redhat.com Web: www.redhat.com RHT Global #: 82-62605 --srTfcOJvmarQ1Mrmmpc23c1qKLxg37X7h Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJTfxpjAAoJEEBxx+HSYmnDX10H/RLy6D2R13HC1XxOaEYqVu4X x6KLiZ/Budc+wtey6TB7KEB1qJ5ql8howhZHj7R+PD1DM4WTBZ9VkEVv8rxgkSpc jTwjw52eHioZhPesmrHoPpRYYJ8TRm1RxsCj0srBfxKw83tP8+QEGPEZqdM24FMY 0S7/nIQp5nFZpN/3jFlsYDBoivzVV1BVpmJOhubPiPE6zX9LPAGkXxaFyPHxkGof usI+N2nH4f8js/fPZKBbjWtINfRP0dziMGIm8xVhsnu/fj6YWWYbCdMTmI0mKue2 loAyjgyKMQxDFtTK/9HyGzB4ySlW68ak5v5p5ZJWzfYmIl2RNQ8hkzLha2IUwLQ= =6mPe -----END PGP SIGNATURE----- --srTfcOJvmarQ1Mrmmpc23c1qKLxg37X7h--

----- Original Message -----
From: "David Caro" <dcaroest@redhat.com> To: "Dan Kenigsberg" <danken@redhat.com> Cc: "Vered Volansky" <vered@redhat.com>, "infra" <infra@ovirt.org> Sent: Friday, May 23, 2014 12:52:35 PM Subject: Re: How come same version pep8 does't work the same?
On Fri 23 May 2014 11:47:52 AM CEST, Dan Kenigsberg wrote:
On Thu, May 22, 2014 at 05:45:45PM +0200, David Caro wrote:
On Thu 22 May 2014 03:50:23 PM CEST, Yaniv Dary wrote:
----- Original Message -----
From: "Vered Volansky" <vered@redhat.com> To: "infra" <infra@ovirt.org> Sent: Thursday, May 22, 2014 4:48:37 PM Subject: How come same version pep8 does't work the same?
I see a patch failing to build vsdm rpm on a pep8 error. pep8 version is 1.4.6, yet the actual pep8 job works jst fine. Same pep8 version to both. How come?
Please upgrade your version of pep8. There were many changes in the latest update and this is probably causing your issue.
Yaniv
I need to know why this happens in order to fix my job.
Patch in question: http://gerrit.ovirt.org/#/c/26759/5 pep8 job: http://jenkins.ovirt.org/job/vdsm_master_pep8_gerrit/9179/console Failing job: http://jenkins.ovirt.org/job/vdsm_master_storage_functional_tests_localfs_ge...
Thanks, Vered _______________________________________________ Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra
_______________________________________________ Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra
Couple of things to have in mind here:
The jobs that you sent are for different patches, I'll focus on the patch you sent only.
Why pep8 job did pass: - Because the pep8 job only checks the changes made in that patch, and in that patch, there were no issues (git diff HEAD~)
Why vdsm_master_storage_functional_tests_localfs_gerrit did not pass: - Because when compiling it will check all the files, not only the ones your patch changes, and your patch was based on an already failing patchset (http://gerrit.ovirt.org/#/c/27977/5/vdsm/BindingXMLRPC.py,cm).
You can see in the gerrit comments for that patchset that it did actually fail: Patch Set 5: Code-Review-1 Verified-1 Build Unstable http://jenkins.ovirt.org/job/vdsm_master_pep8_gerrit/9162/ : UNSTABLE http://jenkins.ovirt.org/job/vdsm_master_unit_tests_gerrit/9305/ : SUCCESS http://jenkins.ovirt.org/job/vdsm_master_unit_tests_gerrit_el/8374/ : SUCCESS
Mybe it's a good point to run pep8 on all the files and not only on the latest commit diff, to block any patchset based on a previously failing patch. Ideas?
I prefer to keep the diff. The previously-failing patch should be marked and fixed. If follow-ups are fine - let them be. Skipping pep8 (with PEP8=true) during the storage job would have avoided the issue in a cleaner way.
Ok, let me know what you decide you want and if there are any changes needed on my side. I've accepted Dan's proposal, it is indeed cleaner this way. Changed my test accordingly. Thank you both.
-- David Caro
Red Hat S.L. Continuous Integration Engineer - EMEA ENG Virtualization R&D
Email: dcaro@redhat.com Web: www.redhat.com RHT Global #: 82-62605
_______________________________________________ Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra
participants (4)
-
Dan Kenigsberg
-
David Caro
-
Vered Volansky
-
Yaniv Dary