<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 5, 2016 at 9:34 AM, Piotr Kliczewski <span dir="ltr">&lt;<a href="mailto:pkliczew@redhat.com" target="_blank">pkliczew@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Wed, Oct 5, 2016 at 9:01 AM, Sandro Bonazzola <span dir="ltr">&lt;<a href="mailto:sbonazzo@redhat.com" target="_blank">sbonazzo@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;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-<wbr>java-1.3.1_master&#39;</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-<wbr>java-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.<wbr>java:545)</div><div><span style="white-space:pre-wrap">        </span>at org.fedoraproject.maven.instal<wbr>ler.impl.DefaultInstaller.inst<wbr>allArtifact(DefaultInstaller.<wbr>java:574)</div><div><span style="white-space:pre-wrap">        </span>at org.fedoraproject.maven.instal<wbr>ler.impl.DefaultInstaller.<wbr>install(DefaultInstaller.java:<wbr>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>That may be the clue. the EL7 build is using jdk 1.7 not 1.8.</div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div></div><div><div class="h5"><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;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">&lt;<a href="mailto:mperina@redhat.com" target="_blank">mperina@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;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">&lt;<a href="mailto:mperina@redhat.com" target="_blank">mperina@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;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">&lt;<a href="mailto:pkliczew@redhat.com" target="_blank">pkliczew@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;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&#39;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&#39;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:0 0 0 .8ex;border-left:1px #ccc solid;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">&lt;<a href="mailto:mperina@redhat.com" target="_blank">mperina@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;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&#39;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 data-smartmail="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 width="420" height="60"></a><br></div></div></div></div></div>
</font></span></div>
</blockquote></div></div></div><br></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="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>