[prev in list] [next in list] [prev in thread] [next in thread] 

List:       vdsm-devel
Subject:    Re: [ovirt-devel] Building the oVirt Engine master branch fails due to isort, python issues
From:       Sandro Bonazzola <sbonazzo () redhat ! com>
Date:       2018-02-27 9:38:49
Message-ID: CAPQRNT=_4=K-vc2M3752KGm7D=A-DaLoeL_K6BeKPZAr6BzkuA () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Fixed in https://gerrit.ovirt.org/88221

2018-02-26 14:48 GMT+01:00 Yedidyah Bar David <didi@redhat.com>:

> On Mon, Feb 26, 2018 at 3:37 PM, Martin Perina <mperina@redhat.com> wrote:
> > Strange, I've just tried to build latest master using
> > python2-isort-4.2.5-8.el7 on latest RHEL 7.4 and it finished successfully
> > without any errors ...
> >
> > On Mon, Feb 26, 2018 at 2:31 PM, Yedidyah Bar David <didi@redhat.com>
> wrote:
> >>
> >> On Mon, Feb 26, 2018 at 3:19 PM, Steven Rosenberg <srosenbe@redhat.com>
> >> wrote:
> >> > Dear Yedidyah,
> >> >
> >> > Thank you for your response. I have attached the two dump files. The
> >> > first
> >> > is the original error for isort, dump.txt. The second dump_isort.txt
> is
> >> > after installing python2_isort.
> >>
> >> This is the error:
> >>
> >> pep8 <lots of files>
> >>
> >> packaging/setup/plugins/ovirt-engine-setup/ovirt-engine/
> network/ovirtproviderovn.py:474:25:
> >> E126 continuation line over-indented for hanging indent
> >>
> >> packaging/setup/plugins/ovirt-engine-setup/ovirt-engine/
> network/ovirtproviderovn.py:481:25:
> >> E126 continuation line over-indented for hanging indent
> >>
> >> packaging/setup/plugins/ovirt-engine-setup/ovirt-engine/
> network/ovirtproviderovn.py:488:25:
> >> E126 continuation line over-indented for hanging indent
> >>
> >> packaging/setup/plugins/ovirt-engine-setup/ovirt-engine/
> network/ovirtproviderovn.py:635:21:
> >> E126 continuation line over-indented for hanging indent
> >>
> >> packaging/setup/plugins/ovirt-engine-setup/ovirt-engine/
> network/ovirtproviderovn.py:637:21:
> >> E126 continuation line over-indented for hanging indent
> >>
> >> packaging/setup/plugins/ovirt-engine-setup/ovirt-engine/
> network/ovirtproviderovn.py:639:21:
> >> E126 continuation line over-indented for hanging indent
> >>
> >> packaging/setup/plugins/ovirt-engine-setup/ovirt-engine/
> network/ovirtproviderovn.py:641:21:
> >> E126 continuation line over-indented for hanging indent
> >>
> >> packaging/setup/plugins/ovirt-engine-setup/ovirt-engine/
> network/ovirtproviderovn.py:645:21:
> >> E126 continuation line over-indented for hanging indent
> >>
> >> packaging/setup/plugins/ovirt-engine-setup/ovirt-engine/
> network/ovirtproviderovn.py:652:21:
> >> E126 continuation line over-indented for hanging indent
> >>
> >> packaging/setup/plugins/ovirt-engine-setup/ovirt-engine/
> network/ovirtproviderovn.py:654:21:
> >> E126 continuation line over-indented for hanging indent
> >>
> >> packaging/setup/plugins/ovirt-engine-setup/ovirt-engine/
> network/ovirtproviderovn.py:658:21:
> >> E126 continuation line over-indented for hanging indent
> >>
> >> packaging/setup/plugins/ovirt-engine-setup/ovirt-engine/
> network/ovirtproviderovn.py:663:21:
> >> E126 continuation line over-indented for hanging indent
> >>
> >> packaging/setup/plugins/ovirt-engine-setup/ovirt-engine/
> network/ovirtproviderovn.py:664:21:
> >> E126 continuation line over-indented for hanging indent
> >>
> >> packaging/setup/plugins/ovirt-engine-setup/ovirt-engine/
> network/ovirtproviderovn.py:872:13:
> >> E126 continuation line over-indented for hanging indent
> >>
> >> packaging/setup/plugins/ovirt-engine-setup/ovirt-engine/db/
> configuration.py:255:13:
> >> E126 continuation line over-indented for hanging indent
> >>
> >> packaging/setup/plugins/ovirt-engine-rename/ovirt-engine/
> database.py:313:21:
> >> E126 continuation line over-indented for hanging indent
> >>
> >> packaging/setup/plugins/ovirt-engine-rename/ovirt-engine/
> database.py:314:21:
> >> E126 continuation line over-indented for hanging indent
> >>
> >> packaging/setup/plugins/ovirt-engine-common/base/core/
> duplicated_constants_check.py:109:17:
> >> E124 closing bracket does not match visual indentation
> >> + ret=1
> >>
> >> Perhaps a newer version of pep8 finds more bugs in our code.
> >>
> >> Pushed this to get a more explanatory error:
> >>
> >> https://gerrit.ovirt.org/88186
>
> Since it seems to pass on upstream CI, can you please rebase
> on above patch and see if you get a proper error message?
> And also please mark 'verified' :-) Thanks!
>
> >>
> >> Best regards,
> >>
> >> >
> >> > With Best Regards.
> >> >
> >> > Steven Rosenberg.
> >> >
> >> > On Mon, Feb 26, 2018 at 3:10 PM, Yedidyah Bar David <didi@redhat.com>
> >> > wrote:
> >> >>
> >> >> Hi,
> >> >>
> >> >> On Mon, Feb 26, 2018 at 2:39 PM, Steven Rosenberg <
> srosenbe@redhat.com>
> >> >> wrote:
> >> >> > Dear Martin,
> >> >> >
> >> >> > I should add I am running RHEL 7.4 (Maipo).
> >> >> >
> >> >> > With Best Regards.
> >> >> >
> >> >> > Steven Rosenberg.
> >> >> >
> >> >> > On Mon, Feb 26, 2018 at 2:24 PM, Martin Perina <mperina@redhat.com
> >
> >> >> > wrote:
> >> >> >>
> >> >> >> Didi/Sandro, any ideas about it? AFAIK on CentOS/RHEL 7 everything
> >> >> >> works
> >> >> >> as expected ...
> >> >> >>
> >> >> >>
> >> >> >> On Mon, Feb 26, 2018 at 11:58 AM, Steven Rosenberg
> >> >> >> <srosenbe@redhat.com>
> >> >> >> wrote:
> >> >> >>>
> >> >> >>> Dear Martin Perina,
> >> >> >>>
> >> >> >>> We found some issues with the oVirt Engine master branch when
> >> >> >>> updating
> >> >> >>> the version via git pull.
> >> >> >>>
> >> >> >>> We then performed the make command:
> >> >> >>>
> >> >> >>> make clean install-dev PREFIX=~/ovirt_engine_master
> >> >> >>> DEV_BUILD_SCL_POSTGRESQL=1
> >> >> >>>
> >> >> >>> It seems a new dependency was added for isort, so the make fails
> >> >> >>> with
> >> >> >>> the
> >> >> >>> following error:
> >> >> >>>
> >> >> >>>
> >> >> >>>
> >> >> >>>
> >> >> >>> ------------------------------------------------------------
> --------------------------------------------------------
> >> >> >>>
> >> >> >>>
> >> >> >>>
> >> >> >>>
> >> >> >>> packaging/setup/plugins/ovirt-engine-rename/ovirt-engine/
> database.py:313:21:
> >> >> >>> E126 continuation line over-indented for hanging indent
> >> >> >>>
> >> >> >>>
> >> >> >>>
> >> >> >>> packaging/setup/plugins/ovirt-engine-rename/ovirt-engine/
> database.py:314:21:
> >> >> >>> E126 continuation line over-indented for hanging indent
> >> >> >>>
> >> >> >>>
> >> >> >>>
> >> >> >>> packaging/setup/plugins/ovirt-engine-common/base/core/
> duplicated_constants_check.py:109:17:
> >> >> >>> E124 closing bracket does not match visual indentation
> >> >> >>> + ret=1
> >> >> >>> + which isort
> >> >> >>> + echo 'WARNING: tool '\''isort'\'' is missing'
> >> >> >>> WARNING: tool 'isort' is missing
> >> >>
> >> >> This is just a warning
> >> >>
> >> >> >>> + exit 1
> >> >>
> >> >> Most likely the error causing it to exit 1 happened earlier, please
> >> >> check/share
> >> >> more of the output.
> >> >>
> >> >> >>> make[1]: *** [validations] Error 1
> >> >> >>> make[1]: Leaving directory
> >> >> >>> `/home/srosenbe/Documents/git/ovirt-engine'
> >> >> >>> make: *** [all-dev] Error 2
> >> >> >>>
> >> >> >>>
> >> >> >>>
> >> >> >>>
> >> >> >>> ------------------------------------------------------------
> --------------------------------------------------------
> >> >> >>>
> >> >> >>> To attempt to address this issue, we guessed and installed
> >> >> >>> python2-isort
> >> >> >>> through yum, though the readme states it is optional.
> >> >> >>>
> >> >> >>> Though the process continued, it then failed in the python
> module:
> >> >> >>>
> >> >> >>>
> >> >> >>>
> >> >> >>>
> >> >> >>> /home/srosenbe/Documents/git/ovirt-engine/packaging/
> pythonlib/ovirt_engine/service.py
> >> >> >>>
> >> >> >>> That error is here:
> >> >> >>>
> >> >> >>>
> >> >> >>>
> >> >> >>>
> >> >> >>> ------------------------------------------------------------
> ---------------------------------------------------------------
> >> >> >>>
> >> >> >>>
> >> >> >>> ---
> >> >> >>>
> >> >> >>>
> >> >> >>> /home/srosenbe/Documents/git/ovirt-engine/packaging/
> pythonlib/ovirt_engine/service.py:before
> >> >> >>> 2018-02-12 12:17:26
> >> >> >>> +++
> >> >> >>>
> >> >> >>>
> >> >> >>> /home/srosenbe/Documents/git/ovirt-engine/packaging/
> pythonlib/ovirt_engine/service.py:after
> >> >> >>> 2018-02-26 12:07:11.233915
> >> >> >>> @@ -31,6 +31,7 @@
> >> >> >>>  import time
> >> >> >>>
> >> >> >>>  import daemon
> >> >> >>> +
> >> >> >>>
> >> >> >>>  from dateutil import tz
> >> >> >>>
> >> >>
> >> >> This is an output of 'isort --diff', and not the actual error.
> >> >>
> >> >> (isort --check, which is what we run to test the code, does not fail
> if
> >> >> the diff it would have suggested consists of only difference in the
> >> >> number
> >> >> of empty lines. It would still be nice to patch service.py to have
> >> >> another
> >> >> empty line, but not needed).
> >> >>
> >> >> >>> + exit 1
> >> >>
> >> >> Same. Error was most likely earlier.
> >> >>
> >> >> Best regards,
> >> >>
> >> >> >>> make[1]: *** [validations] Error 1
> >> >> >>> make[1]: Leaving directory
> >> >> >>> `/home/srosenbe/Documents/git/ovirt-engine'
> >> >> >>> make: *** [all-dev] Error 2
> >> >> >>>
> >> >> >>>
> >> >> >>>
> >> >> >>>
> >> >> >>> ------------------------------------------------------------
> ---------------------------------------------------------------
> >> >> >>>
> >> >> >>> Please advise if you have a quick fix or when this issue will be
> >> >> >>> addressed.
> >> >> >>>
> >> >> >>> Thank you for your time and consideration.
> >> >> >>>
> >> >> >>> With Best Regards.
> >> >> >>>
> >> >> >>> Steven Rosenberg.
> >> >> >>>
> >> >> >>
> >> >> >>
> >> >> >>
> >> >> >> --
> >> >> >> Martin Perina
> >> >> >> Associate Manager, Software Engineering
> >> >> >> Red Hat Czech s.r.o.
> >> >> >
> >> >> >
> >> >>
> >> >>
> >> >>
> >> >> --
> >> >> Didi
> >> >
> >> >
> >>
> >>
> >>
> >> --
> >> Didi
> >
> >
> >
> >
> > --
> > Martin Perina
> > Associate Manager, Software Engineering
> > Red Hat Czech s.r.o.
>
>
>
> --
> Didi
>



-- 

SANDRO BONAZZOLA

ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R&D

Red Hat EMEA <https://www.redhat.com/>
<https://red.ht/sig>
TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>

[Attachment #5 (text/html)]

<div dir="ltr">Fixed in  <a \
href="https://gerrit.ovirt.org/88221">https://gerrit.ovirt.org/88221</a><br><div \
class="gmail_extra"><br><div class="gmail_quote">2018-02-26 14:48 GMT+01:00 Yedidyah \
Bar David <span dir="ltr">&lt;<a href="mailto:didi@redhat.com" \
target="_blank">didi@redhat.com</a>&gt;</span>:<br><blockquote class="gmail_quote" \
style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><div class="gmail-HOEnZb"><div class="gmail-h5">On \
Mon, Feb 26, 2018 at 3:37 PM, Martin Perina &lt;<a \
href="mailto:mperina@redhat.com">mperina@redhat.com</a>&gt; wrote:<br> &gt; Strange, \
I&#39;ve just tried to build latest master using<br> &gt; python2-isort-4.2.5-8.el7 \
on latest RHEL 7.4 and it finished successfully<br> &gt; without any errors ...<br>
&gt;<br>
&gt; On Mon, Feb 26, 2018 at 2:31 PM, Yedidyah Bar David &lt;<a \
href="mailto:didi@redhat.com">didi@redhat.com</a>&gt; wrote:<br> &gt;&gt;<br>
&gt;&gt; On Mon, Feb 26, 2018 at 3:19 PM, Steven Rosenberg &lt;<a \
href="mailto:srosenbe@redhat.com">srosenbe@redhat.com</a>&gt;<br> &gt;&gt; wrote:<br>
&gt;&gt; &gt; Dear Yedidyah,<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Thank you for your response. I have attached the two dump files. \
The<br> &gt;&gt; &gt; first<br>
&gt;&gt; &gt; is the original error for isort, dump.txt. The second dump_isort.txt \
is<br> &gt;&gt; &gt; after installing python2_isort.<br>
&gt;&gt;<br>
&gt;&gt; This is the error:<br>
&gt;&gt;<br>
&gt;&gt; pep8 &lt;lots of files&gt;<br>
&gt;&gt;<br>
&gt;&gt; packaging/setup/plugins/ovirt-<wbr>engine-setup/ovirt-engine/<wbr>network/ovirtproviderovn.py:<wbr>474:25:<br>
 &gt;&gt; E126 continuation line over-indented for hanging indent<br>
&gt;&gt;<br>
&gt;&gt; packaging/setup/plugins/ovirt-<wbr>engine-setup/ovirt-engine/<wbr>network/ovirtproviderovn.py:<wbr>481:25:<br>
 &gt;&gt; E126 continuation line over-indented for hanging indent<br>
&gt;&gt;<br>
&gt;&gt; packaging/setup/plugins/ovirt-<wbr>engine-setup/ovirt-engine/<wbr>network/ovirtproviderovn.py:<wbr>488:25:<br>
 &gt;&gt; E126 continuation line over-indented for hanging indent<br>
&gt;&gt;<br>
&gt;&gt; packaging/setup/plugins/ovirt-<wbr>engine-setup/ovirt-engine/<wbr>network/ovirtproviderovn.py:<wbr>635:21:<br>
 &gt;&gt; E126 continuation line over-indented for hanging indent<br>
&gt;&gt;<br>
&gt;&gt; packaging/setup/plugins/ovirt-<wbr>engine-setup/ovirt-engine/<wbr>network/ovirtproviderovn.py:<wbr>637:21:<br>
 &gt;&gt; E126 continuation line over-indented for hanging indent<br>
&gt;&gt;<br>
&gt;&gt; packaging/setup/plugins/ovirt-<wbr>engine-setup/ovirt-engine/<wbr>network/ovirtproviderovn.py:<wbr>639:21:<br>
 &gt;&gt; E126 continuation line over-indented for hanging indent<br>
&gt;&gt;<br>
&gt;&gt; packaging/setup/plugins/ovirt-<wbr>engine-setup/ovirt-engine/<wbr>network/ovirtproviderovn.py:<wbr>641:21:<br>
 &gt;&gt; E126 continuation line over-indented for hanging indent<br>
&gt;&gt;<br>
&gt;&gt; packaging/setup/plugins/ovirt-<wbr>engine-setup/ovirt-engine/<wbr>network/ovirtproviderovn.py:<wbr>645:21:<br>
 &gt;&gt; E126 continuation line over-indented for hanging indent<br>
&gt;&gt;<br>
&gt;&gt; packaging/setup/plugins/ovirt-<wbr>engine-setup/ovirt-engine/<wbr>network/ovirtproviderovn.py:<wbr>652:21:<br>
 &gt;&gt; E126 continuation line over-indented for hanging indent<br>
&gt;&gt;<br>
&gt;&gt; packaging/setup/plugins/ovirt-<wbr>engine-setup/ovirt-engine/<wbr>network/ovirtproviderovn.py:<wbr>654:21:<br>
 &gt;&gt; E126 continuation line over-indented for hanging indent<br>
&gt;&gt;<br>
&gt;&gt; packaging/setup/plugins/ovirt-<wbr>engine-setup/ovirt-engine/<wbr>network/ovirtproviderovn.py:<wbr>658:21:<br>
 &gt;&gt; E126 continuation line over-indented for hanging indent<br>
&gt;&gt;<br>
&gt;&gt; packaging/setup/plugins/ovirt-<wbr>engine-setup/ovirt-engine/<wbr>network/ovirtproviderovn.py:<wbr>663:21:<br>
 &gt;&gt; E126 continuation line over-indented for hanging indent<br>
&gt;&gt;<br>
&gt;&gt; packaging/setup/plugins/ovirt-<wbr>engine-setup/ovirt-engine/<wbr>network/ovirtproviderovn.py:<wbr>664:21:<br>
 &gt;&gt; E126 continuation line over-indented for hanging indent<br>
&gt;&gt;<br>
&gt;&gt; packaging/setup/plugins/ovirt-<wbr>engine-setup/ovirt-engine/<wbr>network/ovirtproviderovn.py:<wbr>872:13:<br>
 &gt;&gt; E126 continuation line over-indented for hanging indent<br>
&gt;&gt;<br>
&gt;&gt; packaging/setup/plugins/ovirt-<wbr>engine-setup/ovirt-engine/db/<wbr>configuration.py:255:13:<br>
 &gt;&gt; E126 continuation line over-indented for hanging indent<br>
&gt;&gt;<br>
&gt;&gt; packaging/setup/plugins/ovirt-<wbr>engine-rename/ovirt-engine/<wbr>database.py:313:21:<br>
 &gt;&gt; E126 continuation line over-indented for hanging indent<br>
&gt;&gt;<br>
&gt;&gt; packaging/setup/plugins/ovirt-<wbr>engine-rename/ovirt-engine/<wbr>database.py:314:21:<br>
 &gt;&gt; E126 continuation line over-indented for hanging indent<br>
&gt;&gt;<br>
&gt;&gt; packaging/setup/plugins/ovirt-<wbr>engine-common/base/core/<wbr>duplicated_constants_check.py:<wbr>109:17:<br>
 &gt;&gt; E124 closing bracket does not match visual indentation<br>
&gt;&gt; + ret=1<br>
&gt;&gt;<br>
&gt;&gt; Perhaps a newer version of pep8 finds more bugs in our code.<br>
&gt;&gt;<br>
&gt;&gt; Pushed this to get a more explanatory error:<br>
&gt;&gt;<br>
&gt;&gt; <a href="https://gerrit.ovirt.org/88186" rel="noreferrer" \
target="_blank">https://gerrit.ovirt.org/88186</a><br> <br>
</div></div>Since it seems to pass on upstream CI, can you please rebase<br>
on above patch and see if you get a proper error message?<br>
And also please mark &#39;verified&#39; :-) Thanks!<br>
<div class="gmail-HOEnZb"><div class="gmail-h5"><br>
&gt;&gt;<br>
&gt;&gt; Best regards,<br>
&gt;&gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; With Best Regards.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Steven Rosenberg.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; On Mon, Feb 26, 2018 at 3:10 PM, Yedidyah Bar David &lt;<a \
href="mailto:didi@redhat.com">didi@redhat.com</a>&gt;<br> &gt;&gt; &gt; wrote:<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Hi,<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; On Mon, Feb 26, 2018 at 2:39 PM, Steven Rosenberg &lt;<a \
href="mailto:srosenbe@redhat.com">srosenbe@redhat.com</a>&gt;<br> &gt;&gt; &gt;&gt; \
wrote:<br> &gt;&gt; &gt;&gt; &gt; Dear Martin,<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; I should add I am running RHEL 7.4 (Maipo).<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; With Best Regards.<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; Steven Rosenberg.<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; On Mon, Feb 26, 2018 at 2:24 PM, Martin Perina &lt;<a \
href="mailto:mperina@redhat.com">mperina@redhat.com</a>&gt;<br> &gt;&gt; &gt;&gt; \
&gt; wrote:<br> &gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt; Didi/Sandro, any ideas about it? AFAIK on CentOS/RHEL 7 \
everything<br> &gt;&gt; &gt;&gt; &gt;&gt; works<br>
&gt;&gt; &gt;&gt; &gt;&gt; as expected ...<br>
&gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt; On Mon, Feb 26, 2018 at 11:58 AM, Steven Rosenberg<br>
&gt;&gt; &gt;&gt; &gt;&gt; &lt;<a \
href="mailto:srosenbe@redhat.com">srosenbe@redhat.com</a>&gt;<br> &gt;&gt; &gt;&gt; \
&gt;&gt; wrote:<br> &gt;&gt; &gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt; Dear Martin Perina,<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt; We found some issues with the oVirt Engine master \
branch when<br> &gt;&gt; &gt;&gt; &gt;&gt;&gt; updating<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt; the version via git pull.<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt; We then performed the make command:<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt; make clean install-dev \
PREFIX=~/ovirt_engine_master<br> &gt;&gt; &gt;&gt; &gt;&gt;&gt; \
DEV_BUILD_SCL_POSTGRESQL=1<br> &gt;&gt; &gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt; It seems a new dependency was added for isort, so the \
make fails<br> &gt;&gt; &gt;&gt; &gt;&gt;&gt; with<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt; the<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt; following error:<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt; \
------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>--------------------------<br>
 &gt;&gt; &gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt; \
packaging/setup/plugins/ovirt-<wbr>engine-rename/ovirt-engine/<wbr>database.py:313:21:<br>
 &gt;&gt; &gt;&gt; &gt;&gt;&gt; E126 continuation line over-indented for hanging \
indent<br> &gt;&gt; &gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt; \
packaging/setup/plugins/ovirt-<wbr>engine-rename/ovirt-engine/<wbr>database.py:314:21:<br>
 &gt;&gt; &gt;&gt; &gt;&gt;&gt; E126 continuation line over-indented for hanging \
indent<br> &gt;&gt; &gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt; \
packaging/setup/plugins/ovirt-<wbr>engine-common/base/core/<wbr>duplicated_constants_check.py:<wbr>109:17:<br>
 &gt;&gt; &gt;&gt; &gt;&gt;&gt; E124 closing bracket does not match visual \
indentation<br> &gt;&gt; &gt;&gt; &gt;&gt;&gt; + ret=1<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt; + which isort<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt; + echo &#39;WARNING: tool \
&#39;\&#39;&#39;isort&#39;\&#39;&#39; is missing&#39;<br> &gt;&gt; &gt;&gt; \
&gt;&gt;&gt; WARNING: tool &#39;isort&#39; is missing<br> &gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; This is just a warning<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt; + exit 1<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Most likely the error causing it to exit 1 happened earlier, \
please<br> &gt;&gt; &gt;&gt; check/share<br>
&gt;&gt; &gt;&gt; more of the output.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt; make[1]: *** [validations] Error 1<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt; make[1]: Leaving directory<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt; \
`/home/srosenbe/Documents/git/<wbr>ovirt-engine&#39;<br> &gt;&gt; &gt;&gt; \
&gt;&gt;&gt; make: *** [all-dev] Error 2<br> &gt;&gt; &gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt; \
------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>--------------------------<br>
 &gt;&gt; &gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt; To attempt to address this issue, we guessed and \
installed<br> &gt;&gt; &gt;&gt; &gt;&gt;&gt; python2-isort<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt; through yum, though the readme states it is \
optional.<br> &gt;&gt; &gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt; Though the process continued, it then failed in the \
python module:<br> &gt;&gt; &gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt; \
/home/srosenbe/Documents/git/<wbr>ovirt-engine/packaging/<wbr>pythonlib/ovirt_engine/<wbr>service.py<br>
 &gt;&gt; &gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt; That error is here:<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt; \
------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>---<br>
 &gt;&gt; &gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt; ---<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt; \
/home/srosenbe/Documents/git/<wbr>ovirt-engine/packaging/<wbr>pythonlib/ovirt_engine/<wbr>service.py:before<br>
 &gt;&gt; &gt;&gt; &gt;&gt;&gt; 2018-02-12 12:17:26<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt; +++<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt; \
/home/srosenbe/Documents/git/<wbr>ovirt-engine/packaging/<wbr>pythonlib/ovirt_engine/<wbr>service.py:after<br>
 &gt;&gt; &gt;&gt; &gt;&gt;&gt; 2018-02-26 12:07:11.233915<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt; @@ -31,6 +31,7 @@<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt;   import time<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt;   import daemon<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt; +<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt;   from dateutil import tz<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; This is an output of &#39;isort --diff&#39;, and not the actual \
error.<br> &gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; (isort --check, which is what we run to test the code, does not \
fail if<br> &gt;&gt; &gt;&gt; the diff it would have suggested consists of only \
difference in the<br> &gt;&gt; &gt;&gt; number<br>
&gt;&gt; &gt;&gt; of empty lines. It would still be nice to patch service.py to \
have<br> &gt;&gt; &gt;&gt; another<br>
&gt;&gt; &gt;&gt; empty line, but not needed).<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt; + exit 1<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Same. Error was most likely earlier.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Best regards,<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt; make[1]: *** [validations] Error 1<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt; make[1]: Leaving directory<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt; \
`/home/srosenbe/Documents/git/<wbr>ovirt-engine&#39;<br> &gt;&gt; &gt;&gt; \
&gt;&gt;&gt; make: *** [all-dev] Error 2<br> &gt;&gt; &gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt; \
------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>---<br>
 &gt;&gt; &gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt; Please advise if you have a quick fix or when this \
issue will be<br> &gt;&gt; &gt;&gt; &gt;&gt;&gt; addressed.<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt; Thank you for your time and consideration.<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt; With Best Regards.<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt; Steven Rosenberg.<br>
&gt;&gt; &gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt; --<br>
&gt;&gt; &gt;&gt; &gt;&gt; Martin Perina<br>
&gt;&gt; &gt;&gt; &gt;&gt; Associate Manager, Software Engineering<br>
&gt;&gt; &gt;&gt; &gt;&gt; Red Hat Czech s.r.o.<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; --<br>
&gt;&gt; &gt;&gt; Didi<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; Didi<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Martin Perina<br>
&gt; Associate Manager, Software Engineering<br>
&gt; Red Hat Czech s.r.o.<br>
<br>
<br>
<br>
</div></div><span class="gmail-HOEnZb"><font color="#888888">--<br>
Didi<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div \
class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div \
dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div \
dir="ltr"><p style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-weight:bold; \
margin:0px;padding:0px;font-size:14px;text-transform:uppercase"><span>SANDRO</span>  \
<span>BONAZZOLA</span></p><p \
style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:10px;margin:0px 0px \
4px;text-transform:uppercase"><span>ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG \
VIRTUALIZATION R&amp;D</span></p><p \
style="font-family:overpass,sans-serif;margin:0px;font-size:10px;color:rgb(153,153,153)"><a \
href="https://www.redhat.com/" style="color:rgb(0,136,206);margin:0px" \
target="_blank">Red Hat  <span>EMEA</span></a></p><table border="0" \
style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:medium"><tbody><tr><td \
width="100px"><a href="https://red.ht/sig" target="_blank"><img \
src="https://www.redhat.com/profiles/rh/themes/redhatdotcom/img/logo-red-hat-black.png" \
width="90" height="auto"></a></td><td style="font-size:10px"><div><a \
href="https://redhat.com/trusted" style="color:rgb(204,0,0);font-weight:bold" \
target="_blank">TRIED. TESTED. \
TRUSTED.</a></div></td></tr></tbody></table><br></div></div></div></div></div></div></div></div></div></div></div></div></div>
 </div></div>



_______________________________________________
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic