<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 6, 2016 at 3:27 PM, Piotr Kliczewski <span dir="ltr"><<a href="mailto:pkliczew@redhat.com" target="_blank">pkliczew@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="gmail-">On Thu, Oct 6, 2016 at 2:40 PM, Sandro Bonazzola <span dir="ltr"><<a href="mailto:sbonazzo@redhat.com" target="_blank">sbonazzo@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span>On Thu, Oct 6, 2016 at 12:07 PM, Piotr Kliczewski <span dir="ltr"><<a href="mailto:pkliczew@redhat.com" target="_blank">pkliczew@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span>On Thu, Oct 6, 2016 at 11:56 AM, Sandro Bonazzola <span dir="ltr"><<a href="mailto:sbonazzo@redhat.com" target="_blank">sbonazzo@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span>On Wed, Oct 5, 2016 at 11:26 AM, Piotr Kliczewski <span dir="ltr"><<a href="mailto:pkliczew@redhat.com" target="_blank">pkliczew@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div>I talked to xmvn maintainer and it seems that xmvn uses asm 3 to analyze the code after the build.<br></div>This library do not support java8 syntax. I was asked to open a BZ for it [1]<br><br></div><div>Now we are thinking how to workaround the issue before the fix will be available.<br></div><div><br></div>Thanks,<br></div>Piotr<br><div><div><br>[1] <a href="https://bugzilla.redhat.com/1381883" target="_blank">https://bugzilla.redhat.com/13<wbr>81883</a></div></div></div></blockquote><div><br></div></span><div>I'll try to escalate the bug.</div><div>The patch attached to the BZ looks simple enough, if it may help I can try to provide an updated version of xmvn within CentOS Virt SIG for 4.1 candidate repos.</div><div>May this help?</div><div><div><div><br></div><div><br></div></div></div></div></div></div></blockquote><div><br></div></span><div>I believe so, Thank you!<br></div></div></div></div></blockquote><div><br></div></span><div>Ok, did it, you need to add <a href="https://cbs.centos.org/repos/virt7-ovirt-41-candidate/x86_64/os/" target="_blank">https://cbs.centos.org/rep<wbr>os/virt7-ovirt-41-candidate/<wbr>x86_64/os/</a> to your repos files in standard-ci automation directory</div><div><div><div><br></div><div> </div></div></div></div></div></div></blockquote><div><br></div></span><div>I added it here [1] and run the build [2] and I saw the same issue.<br><br><br>[1] <a href="https://gerrit.ovirt.org/#/c/64481/7/automation/build-artifacts.repos.el6" target="_blank">https://gerrit.ovirt.org/#/c/<wbr>64481/7/automation/build-<wbr>artifacts.repos.el6</a><br>[2] <a href="http://jenkins.ovirt.org/job/vdsm-jsonrpc-java_master_check-patch-el7-x86_64/51/console" target="_blank">http://jenkins.ovirt.org/job/<wbr>vdsm-jsonrpc-java_master_<wbr>check-patch-el7-x86_64/51/<wbr>console</a><br></div><div><div class="gmail-h5"><div><br></div></div></div></div></div></div></blockquote><div><br></div><div>You added to el6 repo, you should have added it to el7 :-) build-<wbr>artifacts.repos.el7</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><div class="gmail-h5"><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div></div><div><div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><div><div></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><br></div></div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 5, 2016 at 10:00 AM, Piotr Kliczewski <span dir="ltr"><<a href="mailto:pkliczew@redhat.com" target="_blank">pkliczew@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Actually I saw f24 output, sorry. Still looking into it.<br></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 5, 2016 at 9:58 AM, Piotr Kliczewski <span dir="ltr"><<a href="mailto:pkliczew@redhat.com" target="_blank">pkliczew@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span>On Wed, Oct 5, 2016 at 9:58 AM, Piotr Kliczewski <span dir="ltr"><<a href="mailto:pkliczew@redhat.com" target="_blank">pkliczew@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Sandro,<br><br></div>Thank you, changing java dept in spec to <br><br></div></blockquote></span><div><br>BuildRequires: java-1.8.0-openjdk-devel >= 1:1.8.0<br><br></div><div>helped<br> </div><div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 5, 2016 at 9:35 AM, Sandro Bonazzola <span dir="ltr"><<a href="mailto:sbonazzo@redhat.com" target="_blank">sbonazzo@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Wed, Oct 5, 2016 at 9:34 AM, Piotr Kliczewski <span dir="ltr"><<a href="mailto:pkliczew@redhat.com" target="_blank">pkliczew@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Wed, Oct 5, 2016 at 9:01 AM, Sandro Bonazzola <span dir="ltr"><<a href="mailto:sbonazzo@redhat.com" target="_blank">sbonazzo@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>make[1]: Leaving directory `/home/jenkins/workspace/vdsm-<wbr>jsonrpc-java_master_check-patc<wbr>h-el7-x86_64/vdsm-jsonrpc-java<wbr>/rpmbuild/BUILD/vdsm-jsonrpc-j<wbr>ava-1.3.1_master'</div><div>+ xmvn-install -R .xmvn-reactor -n vdsm-jsonrpc-java -d /home/jenkins/workspace/vdsm-j<wbr>sonrpc-java_master_check-patch<wbr>-el7-x86_64/vdsm-jsonrpc-java/<wbr>rpmbuild/BUILDROOT/vdsm-jsonrp<wbr>c-java-1.3.1-master.el7.centos<wbr>.x86_64</div><div>[INFO] ==============================<wbr>=================</div><div>[INFO] SOURCE ARTIFACT:</div><div>[INFO] groupId: org.ovirt.vdsm-jsonrpc-java</div><div>[INFO] artifactId: root</div><div>[INFO] extension: pom</div><div>[INFO] classifier: </div><div>[INFO] version: 1.3.1-SNAPSHOT</div><div>[INFO] stereotype: pom</div><div>[INFO] namespace: </div><div>[INFO] file: /home/jenkins/workspace/vdsm-j<wbr>sonrpc-java_master_check-patch<wbr>-el7-x86_64/vdsm-jsonrpc-java/<wbr>rpmbuild/BUILD/vdsm-jsonrpc-ja<wbr>va-1.3.1_master/pom.xml</div><div>[INFO] ------------------------------<wbr>-----------------</div><div>[INFO] TARGET ARTIFACT:</div><div>[INFO] groupId: JPP/vdsm-jsonrpc-java</div><div>[INFO] artifactId: root</div><div>[INFO] extension: pom</div><div>[INFO] classifier: </div><div>[INFO] version: SYSTEM</div><div>[INFO] stereotype: pom</div><div>[INFO] namespace: </div><div>[INFO] file: usr/share/maven-poms/JPP.vdsm-<wbr>jsonrpc-java-root.pom</div><div>[INFO] ==============================<wbr>=================</div><div>java.lang.ArrayIndexOutOfBound<wbr>sException: 4648</div><div><span style="white-space:pre-wrap">        </span>at org.objectweb.asm.ClassReader.<wbr>readClass(Unknown Source)</div><div><span style="white-space:pre-wrap">        </span>at org.objectweb.asm.ClassReader.<wbr>accept(Unknown Source)</div><div><span style="white-space:pre-wrap">        </span>at org.objectweb.asm.ClassReader.<wbr>accept(Unknown Source)</div><div><span style="white-space:pre-wrap">        </span>at org.fedoraproject.maven.instal<wbr>ler.impl.DefaultInstaller.uses<wbr>NativeCode(DefaultInstaller.ja<wbr>va:545)</div><div><span style="white-space:pre-wrap">        </span>at org.fedoraproject.maven.instal<wbr>ler.impl.DefaultInstaller.inst<wbr>allArtifact(DefaultInstaller.j<wbr>ava:574)</div><div><span style="white-space:pre-wrap">        </span>at org.fedoraproject.maven.instal<wbr>ler.impl.DefaultInstaller.inst<wbr>all(DefaultInstaller.java:758)</div><div><span style="white-space:pre-wrap">        </span>at org.fedoraproject.maven.tools.<wbr>installer.InstallerCli.run(Ins<wbr>tallerCli.java:174)</div><div><span style="white-space:pre-wrap">        </span>at org.fedoraproject.maven.tools.<wbr>installer.InstallerCli.main(In<wbr>stallerCli.java:187)</div><div>error: Bad exit status from /var/tmp/rpm-tmp.KMxx5N (%install)</div><div><br></div><div><br></div><div>RPM build errors:</div><div> Bad exit status from /var/tmp/rpm-tmp.KMxx5N (%install)</div><div>Took 71 seconds</div><div>==============================<wbr>=====</div><div><br></div><div>No idea about why this happen, never seen it in other builds. I can only guess that something in the generated pom file is not resolvable by the installer using JDK 1.7.</div><div>Maybe try with JDK 1.8 as in Fedora?</div><div><br></div></div></blockquote><div><br></div></div></div><div>This issue started to occur when we moved from JDK 1.7 to 1.8. It would be good to add a bit of verbosity so maybe we would get more info about the failure.<br></div></div></div></div></blockquote><div><br></div></div></div><div>That may be the clue. the EL7 build is using jdk 1.7 not 1.8.</div><div><div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div></div><div><div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div></div><div><br></div></div><div class="gmail_extra"><div><div><br><div class="gmail_quote">On Tue, Oct 4, 2016 at 8:58 PM, Martin Perina <span dir="ltr"><<a href="mailto:mperina@redhat.com" target="_blank">mperina@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div style="font-family:arial,helvetica,sans-serif">Hi Sandro,<br><br></div><div style="font-family:arial,helvetica,sans-serif">could you please take a look at the issue? Is this some bug in maven-local on EL7?<br><br></div><div style="font-family:arial,helvetica,sans-serif">Thanks<span><font color="#888888"><br><br></font></span></div><span><font color="#888888"><div style="font-family:arial,helvetica,sans-serif">Martin<br><br></div></font></span></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 30, 2016 at 2:59 PM, Martin Perina <span dir="ltr"><<a href="mailto:mperina@redhat.com" target="_blank">mperina@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 30, 2016 at 2:56 PM, Piotr Kliczewski <span dir="ltr"><<a href="mailto:pkliczew@redhat.com" target="_blank">pkliczew@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div>Martin,<br><br></div>I restarted the build in the morning to see why it is failing.<br><br></div>Jsonrpc building looks good but later it fails with:<br><br><pre><span><b>09:37:52</b> </span>java.lang.ArrayIndexOutOfBound<wbr>sException: 24064
<span><b>09:37:52</b> </span>        at org.objectweb.asm.ClassReader.<wbr>readClass(Unknown Source)
<span><b>09:37:52</b> </span>        at org.objectweb.asm.ClassReader.<wbr>accept(Unknown Source)
<span><b>09:37:52</b> </span>        at org.objectweb.asm.ClassReader.<wbr>accept(Unknown Source)
<span><b>09:37:52</b> </span>        at org.fedoraproject.maven.instal<wbr>ler.impl.DefaultInstaller.uses<wbr>NativeCode(DefaultInstaller.ja<wbr>va:545)
<span><b>09:37:52</b> </span>        at org.fedoraproject.maven.instal<wbr>ler.impl.DefaultInstaller.inst<wbr>allArtifact(DefaultInstaller.j<wbr>ava:574)
<span><b>09:37:52</b> </span>        at org.fedoraproject.maven.instal<wbr>ler.impl.DefaultInstaller.inst<wbr>all(DefaultInstaller.java:758)
<span><b>09:37:52</b> </span>        at org.fedoraproject.maven.tools.<wbr>installer.InstallerCli.run(Ins<wbr>tallerCli.java:174)
<span><b>09:37:52</b> </span>        at org.fedoraproject.maven.tools.<wbr>installer.InstallerCli.main(In<wbr>stallerCli.java:187)
<span><b>09:37:52</b> </span>error: Bad exit status from /var/tmp/rpm-tmp.kU3zTr (%install)<br><br></pre><pre>this issue started to occur with Ravi's patch. I think that is maybe related somehow to java8 changes.<br></pre><pre>Maybe there is a bug in mavenlocal. We need to investigate.<br></pre></div></blockquote><div><br><div style="font-family:arial,helvetica,sans-serif;display:inline">I know :-) That's why I wanted someone from CI to take a look as they know much more about those build issues. And because Fedora build works, this is some specific EL7 issue ...<br></div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><pre><br></pre><pre>Thanks,<br></pre><pre>Piotr<br></pre><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 30, 2016 at 2:40 PM, Martin Perina <span dir="ltr"><<a href="mailto:mperina@redhat.com" target="_blank">mperina@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi,<br><br></div><div>could you please take a look at EL7 build issue for patch [1]? Fedora build is OK, so I'm not sure what we missed that EL7 build is still failing ...<br><br></div><div>Thanks<br><br></div><div>Martin<br><br>[1] <a href="https://gerrit.ovirt.org/64481" target="_blank">https://gerrit.ovirt.org/64481</a><br></div></div>
</blockquote></div><br></div>
</blockquote></div><br></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br><br clear="all"><div><br></div></div></div><span><font color="#888888">-- <br><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Sandro Bonazzola<br>Better technology. Faster innovation. Powered by community collaboration.<br>See how it works at <a href="http://redhat.com" target="_blank">redhat.com</a><br></div></div><div dir="ltr"><a href="https://www.redhat.com/it/about/events/red-hat-open-source-day-2016" target="_blank"><img width="420" height="60"></a><br></div></div></div></div></div>
</font></span></div>
</blockquote></div></div></div><br></div></div>
</blockquote></div></div></div><div><div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Sandro Bonazzola<br>Better technology. Faster innovation. Powered by community collaboration.<br>See how it works at <a href="http://redhat.com" target="_blank">redhat.com</a><br></div></div><div dir="ltr"><a href="https://www.redhat.com/it/about/events/red-hat-open-source-day-2016" target="_blank"><img width="420" height="60"></a><br></div></div></div></div></div>
</div></div></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div></div></div><br></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div></div></div><div><div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Sandro Bonazzola<br>Better technology. Faster innovation. Powered by community collaboration.<br>See how it works at <a href="http://redhat.com" target="_blank">redhat.com</a><br></div></div><div dir="ltr"><a href="https://www.redhat.com/it/about/events/red-hat-open-source-day-2016" target="_blank"><img width="420" height="60"></a><br></div></div></div></div></div>
</div></div></div></div>
</blockquote></div></div></div><br></div></div>
</blockquote></div></div></div><div><div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Sandro Bonazzola<br>Better technology. Faster innovation. Powered by community collaboration.<br>See how it works at <a href="http://redhat.com" target="_blank">redhat.com</a><br></div></div><div dir="ltr"><a href="https://www.redhat.com/it/about/events/red-hat-open-source-day-2016" target="_blank"><img width="420" height="60"></a><br></div></div></div></div></div>
</div></div></div></div>
</blockquote></div></div></div><br></div></div>
</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">Sandro Bonazzola<br>Better technology. Faster innovation. Powered by community collaboration.<br>See how it works at <a href="http://redhat.com" target="_blank">redhat.com</a><br></div></div><div dir="ltr"><a href="https://www.redhat.com/it/about/events/red-hat-open-source-day-2016" target="_blank"><img src="http://images.engage.redhat.com/EloquaImages/clients/RedHat/%7B53f97a34-013e-4b79-966f-222f50a6de8c%7D_Red_Hat_Open_Source_Day_2_CITIES.png" width="420" height="60"></a><br></div></div></div></div></div>
</div></div>