<html><body>
<pre>[ https://ovirt-jira.atlassian.net/browse/OVIRT-1724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=35233#comment-35233 ]</pre>
<h3>Barak Korren commented on OVIRT-1724:</h3>
<p>[~danken@redhat.com] when you debug build results, either look directly at the &lsquo;{{build-artifacts.sh}}&rsquo; log which is included in the build artifacts under &lsquo;{{mock_logs}}&rsquo; or, if looking at the job output console, always look for the failure <strong>above</strong> the lines that look like this:</p>
<p>{code} 07:04:00 ####################################################################### 07:04:00 #                                                                     # 07:04:00 #                         ARTIFACT COLLECTION                         # 07:04:00 #                                                                     # 07:04:00 ####################################################################### {code}</p>
<p>Anything that shows up beneath those lines typically has little to do with the job reported results.</p>
<p>The real reason for failure can be see in this log file: <a href="http://jenkins.ovirt.org/job/vdsm_master_build-artifacts-on-demand-el7-x86_64/574/artifact/exported-artifacts/mock_logs/mocker-epel-7-x86_64.el7.build-artifacts.sh/build-artifacts.sh.log">http://jenkins.ovirt.org/job/vdsm_master_build-artifacts-on-demand-el7-x86_64/574/artifact/exported-artifacts/mock_logs/mocker-epel-7-x86_64.el7.build-artifacts.sh/build-artifacts.sh.log</a></p>
<p>Here are the last few log lines that seem to indicate what the real failure is: {code} Now type &lsquo;make&rsquo; to compile vdsm. + make Makefile:987: warning: overriding recipe for target `check-recursive' Makefile:509: warning: ignoring old recipe for target `check-recursive' Making all in contrib make[1]: Entering directory `/home/jenkins/workspace/vdsm_master_build-artifacts-on-demand-el7-x86_64/vdsm/contrib' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/jenkins/workspace/vdsm_master_build-artifacts-on-demand-el7-x86_64/vdsm/contrib' Making all in helpers make[1]: Entering directory `/home/jenkins/workspace/vdsm_master_build-artifacts-on-demand-el7-x86_64/vdsm/helpers' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/jenkins/workspace/vdsm_master_build-artifacts-on-demand-el7-x86_64/vdsm/helpers' Making all in init make[1]: Entering directory `/home/jenkins/workspace/vdsm_master_build-artifacts-on-demand-el7-x86_64/vdsm/init' Making all in systemd make[2]: Entering directory `/home/jenkins/workspace/vdsm_master_build-artifacts-on-demand-el7-x86_64/vdsm/init/systemd'</p>
<pre>SED vdsm-tmpfiles.d.conf</pre>
<p>make[2]: Leaving directory `/home/jenkins/workspace/vdsm_master_build-artifacts-on-demand-el7-x86_64/vdsm/init/systemd' make[2]: Entering directory `/home/jenkins/workspace/vdsm_master_build-artifacts-on-demand-el7-x86_64/vdsm/init'</p>
<pre>SED vdsmd_init_common.sh</pre>
<p>make[2]: Leaving directory `/home/jenkins/workspace/vdsm_master_build-artifacts-on-demand-el7-x86_64/vdsm/init' make[1]: Leaving directory `/home/jenkins/workspace/vdsm_master_build-artifacts-on-demand-el7-x86_64/vdsm/init' Making all in lib make[1]: Entering directory `/home/jenkins/workspace/vdsm_master_build-artifacts-on-demand-el7-x86_64/vdsm/lib' Making all in sos make[2]: Entering directory `/home/jenkins/workspace/vdsm_master_build-artifacts-on-demand-el7-x86_64/vdsm/lib/sos'</p>
<pre>SED vdsm.py</pre>
<p>make[2]: Leaving directory `/home/jenkins/workspace/vdsm_master_build-artifacts-on-demand-el7-x86_64/vdsm/lib/sos' Making all in vdsm make[2]: Entering directory `/home/jenkins/workspace/vdsm_master_build-artifacts-on-demand-el7-x86_64/vdsm/lib/vdsm' Making all in api make[3]: Entering directory `/home/jenkins/workspace/vdsm_master_build-artifacts-on-demand-el7-x86_64/vdsm/lib/vdsm/api'</p>
<pre>Generate vdsm-api.html</pre>
<p>chmod u+w . PYTHONPATH=./../../:./../../vdsm \</p>
<pre>./schema_to_html.py vdsm-api.yml vdsm-api.html</pre>
<p>Traceback (most recent call last):</p>
<pre>File "./schema_to_html.py", line 29, in &lt;module&gt;
  from vdsm.api import vdsmapi
File "/home/jenkins/workspace/vdsm_master_build-artifacts-on-demand-el7-x86_64/vdsm/lib/vdsm/api/vdsmapi.py", line 28, in &lt;module&gt;
  from vdsm import utils
File "/home/jenkins/workspace/vdsm_master_build-artifacts-on-demand-el7-x86_64/vdsm/lib/vdsm/utils.py", line 47, in &lt;module&gt;
  from vdsm.common.compat import pickle
File "/home/jenkins/workspace/vdsm_master_build-artifacts-on-demand-el7-x86_64/vdsm/lib/vdsm/common/compat.py", line 86, in &lt;module&gt;
  import subprocess32 as subprocess</pre>
<p>ImportError: No module named subprocess32 make[3]: <strong>*</strong> [vdsm-api.html] Error 1 make[3]: Leaving directory `/home/jenkins/workspace/vdsm_master_build-artifacts-on-demand-el7-x86_64/vdsm/lib/vdsm/api' make[2]: <strong>*</strong> [all-recursive] Error 1 make[2]: Leaving directory `/home/jenkins/workspace/vdsm_master_build-artifacts-on-demand-el7-x86_64/vdsm/lib/vdsm' make[1]: <strong>*</strong> [all-recursive] Error 1 make[1]: Leaving directory `/home/jenkins/workspace/vdsm_master_build-artifacts-on-demand-el7-x86_64/vdsm/lib' make: <strong>*</strong> [all-recursive] Error 1 Took 18 seconds {code}</p>
<p>[~danken@redhat.com] please indicate that you have enough information to debug the issue further and that we can close this ticket.</p>
<blockquote><h3>after build failure &ldquo;unable to find valid certification path to requested target&rdquo;</h3>
<pre>     Key: OVIRT-1724
     URL: https://ovirt-jira.atlassian.net/browse/OVIRT-1724
 Project: oVirt - virtualization made easy
         Issue Type: By-EMAIL
Reporter: danken
Assignee: infra</pre>
<p>I did not look much into it, but my attempt to build vdsm has failed on <a href="http://jenkins.ovirt.org/job/vdsm_master_build-artifacts-on-demand-el7-x86_64/574/console">http://jenkins.ovirt.org/job/vdsm_master_build-artifacts-on-demand-el7-x86_64/574/console</a> The failure was followed by a failure to report the failure, 07:04:02 Recording test results 07:04:02 [vdsm_master_build-artifacts-on-demand-el7-x86_64] $ /bin/bash -xe /tmp/CommandInterpreterCondition6048274157714218756.sh 07:04:02 + find exported-artifacts/find-bugs/ -name &lsquo;*.xml&rsquo; 07:04:02 + grep -e &lsquo;.*&rsquo; 07:04:02 find: &lsquo;exported-artifacts/find-bugs/&rsquo;: No such file or directory 07:04:02 Run condition [Execute Shell] preventing perform for step [[Publish FindBugs analysis results]] 07:04:02 Notifying endpoint with url '<a href="https://ovirt-ovirt-engine.getbadges.io/api/app/webhook/66f43bb2-6b98-4aab-8d1a-7acca6704dab">https://ovirt-ovirt-engine.getbadges.io/api/app/webhook/66f43bb2-6b98-4aab-8d1a-7acca6704dab</a>' 07:04:03 ERROR: Failed to notify endpoint with url '<a href="https://ovirt-ovirt-engine.getbadges.io/api/app/webhook/66f43bb2-6b98-4aab-8d1a-7acca6704dab">https://ovirt-ovirt-engine.getbadges.io/api/app/webhook/66f43bb2-6b98-4aab-8d1a-7acca6704dab</a>' 07:04:03 javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target 07:04:03 at sun.security.ssl.Alerts.getSSLException(Alerts.java:192) 07:04:03 at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1959) 07:04:03 at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:302) 07:04:03 at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:296) 07:04:03 at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1514) 07:04:03 at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:216) 07:04:03 at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1026) 07:04:03 at sun.security.ssl.Handshaker.process_record(Handshaker.java:961) 07:04:03 at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1072) 07:04:03 at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1385) 07:04:03 at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1413) 07:04:03 at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1397) 07:04:03 at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559) 07:04:03 at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185) 07:04:03 at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:153) 07:04:03 at com.tikal.hudson.plugins.notification.Protocol$3.send(Protocol.java:90) 07:04:03 at com.tikal.hudson.plugins.notification.Phase.handle(Phase.java:66) 07:04:03 at com.tikal.hudson.plugins.notification.JobListener.onCompleted(JobListener.java:39) 07:04:03 at hudson.model.listeners.RunListener.fireCompleted(RunListener.java:211) 07:04:03 at hudson.model.Run.execute(Run.java:1782) 07:04:03 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) 07:04:03 at hudson.model.ResourceController.execute(ResourceController.java:97) 07:04:03 at hudson.model.Executor.run(Executor.java:421) 07:04:03 Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target 07:04:03 at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:397) 07:04:03 at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:302) 07:04:03 at sun.security.validator.Validator.validate(Validator.java:260) 07:04:03 at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324) 07:04:03 at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229) 07:04:03 at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124) 07:04:03 at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1496) 07:04:03 &hellip; 18 more 07:04:03 Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target 07:04:03 at sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:141) 07:04:03 at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:126) 07:04:03 at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:280) 07:04:03 at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:392) 07:04:03 &hellip; 24 more 07:04:03 Failed to notify endpoint with url '<a href="https://ovirt-ovirt-engine.getbadges.io/api/app/webhook/66f43bb2-6b98-4aab-8d1a-7acca6704dab">https://ovirt-ovirt-engine.getbadges.io/api/app/webhook/66f43bb2-6b98-4aab-8d1a-7acca6704dab</a>'</p>
<ul><li><p>javax.net.ssl.SSLHandshakeException:</p></li></ul>
<p>sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target 07:04:03 Finished: FAILURE</p></blockquote>
<p>&mdash; This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100070)</p>

<img src="https://u4043402.ct.sendgrid.net/wf/open?upn=i5TMWGV99amJbNxJpSp2-2BCmpYLyzYS3r1Q939T2sgz2RoLFQpBtQh7OkQ6MqmF-2BZAluIyBcQemhnp-2B7-2Fi9lbhvM-2F3k9LJzfczbB6y844gpSmDZcXH-2BG7xIDrM6FLGpvjEmUoF5CJQL6FqYU-2FxVelpH7niNw0GrTm7p4qGqxBdiJS442-2Bp1M6Q0y1poWYeRt7FYvFqsk29oAYnCLbzBw5HhrtQSWESkrcjn5x2gSeYWk-3D" alt="" width="1" height="1" border="0" style="height:1px !important;width:1px !important;border-width:0 !important;margin-top:0 !important;margin-bottom:0 !important;margin-right:0 !important;margin-left:0 !important;padding-top:0 !important;padding-bottom:0 !important;padding-right:0 !important;padding-left:0 !important;"/>
</body></html>