<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 12, 2017 at 10:50 AM, Lev Veyde <span dir="ltr">&lt;<a href="mailto:lveyde@redhat.com" target="_blank">lveyde@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">Hi,<br>
<br>
Looks like the ovirt-engine-appliance package is missing again.<br>
<br></blockquote><div><br></div><div>Looks like jenkins job became unstable.</div><div>I&#39;m looking into them.</div><div>Yuval, once you&#39;re done with the 4.1 appliance can you look into the other appliance jobs failing?</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks in advance,<br>
Lev Veyde.<br>
<br>
----- Original Message -----<br>
From: <a href="mailto:jenkins@jenkins.phx.ovirt.org">jenkins@jenkins.phx.ovirt.org</a><br>
To: <a href="mailto:sbonazzo@redhat.com">sbonazzo@redhat.com</a>, <a href="mailto:infra@ovirt.org">infra@ovirt.org</a>, <a href="mailto:lveyde@redhat.com">lveyde@redhat.com</a><br>
Sent: Thursday, January 12, 2017 4:56:52 AM<br>
Subject: Build failed in Jenkins: ovirt_3.6_he-system-tests #809<br>
<br>
See &lt;<a href="http://jenkins.ovirt.org/job/ovirt_3.6_he-system-tests/809/changes" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt_3.6_he-system-tests/809/<wbr>changes</a>&gt;<br>
<br>
Changes:<br>
<br>
[Roy Golan] accept defaults of aaa-ldap plugin installation<br>
<br>
[Sandro Bonazzola] 4.1 nightly: publish 4.1 dashboard in 4.1 repo<br>
<br>
[Eyal Edri] fixing appliance to take from 4.1<br>
<br>
[Daniel Belenky] Added 4.1 branch for ovirt-scheduler-proxy<br>
<br>
[Daniel Belenky] Added build for fc24+ovirt4.0<br>
<br>
[Daniel Belenky] Added build for fc24+ovirt4.0<br>
<br>
[Daniel Belenky] install python-requests as a dependency<br>
<br>
[Pavel Zhukov] Moved publishers section to job definition instead of projects<br>
<br>
[Barak Korren] Revert &quot;install python-requests as a dependency&quot;<br>
<br>
------------------------------<wbr>------------<br>
[...truncated 110.81 KB...]<br>
Finish: shell<br>
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@<wbr>@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@<wbr>@@<br>
@@ Thu Jan 12 02:56:45 UTC 2017 automation/<a href="http://he_basic_suite_3.6.sh" rel="noreferrer" target="_blank">he_basic_suite_3.6.<wbr>sh</a> chroot finished<br>
@@      took 275 seconds<br>
@@      rc = 127<br>
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@<wbr>@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@<wbr>@@<br>
========== Scrubbing chroot<br>
    mock \<br>
        --configdir=&quot;&lt;<a href="http://jenkins.ovirt.org/job/ovirt_3.6_he-system-tests/ws/ovirt-system-tests" rel="noreferrer" target="_blank">http://jenkins.<wbr>ovirt.org/job/ovirt_3.6_he-<wbr>system-tests/ws/ovirt-system-<wbr>tests</a>&quot;&gt; \<br>
        --root=&quot;mocker-epel-7-x86_64.<wbr>el7&quot; \<br>
        --resultdir=&quot;./mock_logs.<wbr>S2Vzskpt/mocker-epel-7-x86_64.<wbr>el7.scrub&quot; \<br>
        --scrub=chroot<br>
WARNING: Could not find required logging config file: &lt;<a href="http://jenkins.ovirt.org/job/ovirt_3.6_he-system-tests/ws/ovirt-system-tests/logging.ini" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt_3.6_he-system-tests/ws/<wbr>ovirt-system-tests/logging.ini</a><wbr>.&gt; Using default...<br>
INFO: mock.py version 1.3.3 starting (python version = 3.5.1)...<br>
Start: init plugins<br>
INFO: selinux enabled<br>
Finish: init plugins<br>
Start: run<br>
Start: scrub [&#39;chroot&#39;]<br>
INFO: scrubbing chroot for mocker-epel-7-x86_64.el7<br>
Finish: scrub [&#39;chroot&#39;]<br>
Finish: run<br>
Scrub chroot took 6 seconds<br>
============================<br>
##############################<wbr>############################<br>
## Thu Jan 12 02:56:51 UTC 2017 Finished env: el7:epel-7-x86_64<br>
##      took 281 seconds<br>
##      rc = 127<br>
##############################<wbr>############################<br>
find: &#39;logs&#39;: No such file or directory<br>
No log files found, check command output<br>
##!###########################<wbr>#############################<br>
Collecting mock logs<br>
&#39;./mock_logs.S2Vzskpt/mocker-<wbr>epel-7-x86_64.el7.clean_rpmdb&#39; -&gt; &#39;exported-artifacts/mock_logs/<wbr>mocker-epel-7-x86_64.el7.<wbr>clean_rpmdb&#39;<br>
&#39;./mock_logs.S2Vzskpt/<a href="http://mocker-epel-7-x86_64.el7.he_basic_suite_3.6.sh" rel="noreferrer" target="_blank">mocker-<wbr>epel-7-x86_64.el7.he_basic_<wbr>suite_3.6.sh</a>&#39; -&gt; &#39;exported-artifacts/mock_logs/<a href="http://mocker-epel-7-x86_64.el7.he_basic_suite_3.6.sh" rel="noreferrer" target="_blank"><wbr>mocker-epel-7-x86_64.el7.he_<wbr>basic_suite_3.6.sh</a>&#39;<br>
&#39;./mock_logs.S2Vzskpt/mocker-<wbr>epel-7-x86_64.el7.init&#39; -&gt; &#39;exported-artifacts/mock_logs/<wbr>mocker-epel-7-x86_64.el7.init&#39;<br>
##############################<wbr>############################<br>
Build step &#39;Execute shell&#39; marked build as failure<br>
Performing Post build task...<br>
Match found for :.* : True<br>
Logical operation result is TRUE<br>
Running script  : #!/bin/bash -xe<br>
echo &#39;shell_scripts/<a href="http://system_tests.collect_logs.sh" rel="noreferrer" target="_blank">system_tests.<wbr>collect_logs.sh</a>&#39;<br>
<br>
#<br>
# Required jjb vars:<br>
#    version<br>
#<br>
VERSION=3.6<br>
SUITE_TYPE=<br>
<br>
WORKSPACE=&quot;$PWD&quot;<br>
OVIRT_SUITE=&quot;$SUITE_TYPE_<wbr>suite_$VERSION&quot;<br>
TESTS_LOGS=&quot;$WORKSPACE/ovirt-<wbr>system-tests/exported-<wbr>artifacts&quot;<br>
<br>
rm -rf &quot;$WORKSPACE/exported-<wbr>artifacts&quot;<br>
mkdir -p &quot;$WORKSPACE/exported-<wbr>artifacts&quot;<br>
<br>
if [[ -d &quot;$TESTS_LOGS&quot; ]]; then<br>
    mv &quot;$TESTS_LOGS/&quot;* &quot;$WORKSPACE/exported-<wbr>artifacts/&quot;<br>
fi<br>
<br>
[ovirt_3.6_he-system-tests] $ /bin/bash -xe /tmp/<wbr>hudson2934459229741657026.sh<br>
+ echo shell_scripts/<a href="http://system_tests.collect_logs.sh" rel="noreferrer" target="_blank">system_tests.<wbr>collect_logs.sh</a><br>
shell_scripts/<a href="http://system_tests.collect_logs.sh" rel="noreferrer" target="_blank">system_tests.<wbr>collect_logs.sh</a><br>
+ VERSION=3.6<br>
+ SUITE_TYPE=<br>
+ WORKSPACE=&lt;<a href="http://jenkins.ovirt.org/job/ovirt_3.6_he-system-tests/ws/" rel="noreferrer" target="_blank">http://jenkins.<wbr>ovirt.org/job/ovirt_3.6_he-<wbr>system-tests/ws/</a>&gt;<br>
+ OVIRT_SUITE=3.6<br>
+ TESTS_LOGS=&lt;<a href="http://jenkins.ovirt.org/job/ovirt_3.6_he-system-tests/ws/ovirt-system-tests/exported-artifacts" rel="noreferrer" target="_blank">http://jenkins.<wbr>ovirt.org/job/ovirt_3.6_he-<wbr>system-tests/ws/ovirt-system-<wbr>tests/exported-artifacts</a>&gt;<br>
+ rm -rf &lt;<a href="http://jenkins.ovirt.org/job/ovirt_3.6_he-system-tests/809/artifact/exported-artifacts" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt_3.6_he-system-tests/809/<wbr>artifact/exported-artifacts</a>&gt;<br>
+ mkdir -p &lt;<a href="http://jenkins.ovirt.org/job/ovirt_3.6_he-system-tests/809/artifact/exported-artifacts" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt_3.6_he-system-tests/809/<wbr>artifact/exported-artifacts</a>&gt;<br>
+ [[ -d &lt;<a href="http://jenkins.ovirt.org/job/ovirt_3.6_he-system-tests/ws/ovirt-system-tests/exported-artifacts" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt_3.6_he-system-tests/ws/<wbr>ovirt-system-tests/exported-<wbr>artifacts</a>&gt; ]]<br>
+ mv &lt;<a href="http://jenkins.ovirt.org/job/ovirt_3.6_he-system-tests/ws/ovirt-system-tests/exported-artifacts/failure_msg.txt" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt_3.6_he-system-tests/ws/<wbr>ovirt-system-tests/exported-<wbr>artifacts/failure_msg.txt</a>&gt; &lt;<a href="http://jenkins.ovirt.org/job/ovirt_3.6_he-system-tests/ws/ovirt-system-tests/exported-artifacts/lago_logs" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt_3.6_he-system-tests/ws/<wbr>ovirt-system-tests/exported-<wbr>artifacts/lago_logs</a>&gt; &lt;<a href="http://jenkins.ovirt.org/job/ovirt_3.6_he-system-tests/ws/ovirt-system-tests/exported-artifacts/mock_logs" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt_3.6_he-system-tests/ws/<wbr>ovirt-system-tests/exported-<wbr>artifacts/mock_logs</a>&gt; &lt;<a href="http://jenkins.ovirt.org/job/ovirt_3.6_he-system-tests/809/artifact/exported-artifacts/" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt_3.6_he-system-tests/809/<wbr>artifact/exported-artifacts/</a>&gt;<br>
POST BUILD TASK : SUCCESS<br>
END OF POST BUILD TASK : 0<br>
Match found for :.* : True<br>
Logical operation result is TRUE<br>
Running script  : #!/bin/bash -x<br>
echo &quot;shell-scripts/mock_cleanup.<wbr>sh&quot;<br>
# Make clear this is the cleanup, helps reading the jenkins logs<br>
cat &lt;&lt;EOC<br>
______________________________<wbr>______________________________<wbr>___________<br>
##############################<wbr>##############################<wbr>###########<br>
#                                                                     #<br>
#                               CLEANUP                               #<br>
#                                                                     #<br>
##############################<wbr>##############################<wbr>###########<br>
EOC<br>
<br>
shopt -s nullglob<br>
<br>
WORKSPACE=&quot;${WORKSPACE:-$PWD}&quot;<br>
UMOUNT_RETRIES=&quot;${UMOUNT_<wbr>RETRIES:-3}&quot;<br>
UMOUNT_RETRY_DELAY=&quot;${UMOUNT_<wbr>RETRY_DELAY:-1s}&quot;<br>
<br>
safe_umount() {<br>
    local mount=&quot;${1:?}&quot;<br>
    local attempt<br>
    for ((attempt=0 ; attempt &lt; $UMOUNT_RETRIES ; attempt++)); do<br>
        # If this is not the 1st time through the loop, Sleep a while to let<br>
        # the problem &quot;solve itself&quot;<br>
        [[ attempt &gt; 0 ]] &amp;&amp; sleep &quot;$UMOUNT_RETRY_DELAY&quot;<br>
        # Try to umount<br>
        sudo umount --lazy &quot;$mount&quot; &amp;&amp; return 0<br>
        # See if the mount is already not there despite failing<br>
        findmnt --kernel --first &quot;$mount&quot; &gt; /dev/null &amp;&amp; return 0<br>
    done<br>
    echo &quot;ERROR:  Failed to umount $mount.&quot;<br>
    return 1<br>
}<br>
<br>
# restore the permissions in the working dir, as sometimes it leaves files<br>
# owned by root and then the &#39;cleanup workspace&#39; from jenkins job fails to<br>
# clean and breaks the jobs<br>
sudo chown -R &quot;$USER&quot; &quot;$WORKSPACE&quot;<br>
<br>
# stop any processes running inside the chroot<br>
failed=false<br>
mock_confs=(&quot;$WORKSPACE&quot;/*/<wbr>mocker*)<br>
# Clean current jobs mockroot if any<br>
for mock_conf_file in &quot;${mock_confs[@]}&quot;; do<br>
    [[ &quot;$mock_conf_file&quot; ]] || continue<br>
    echo &quot;Cleaning up mock $mock_conf&quot;<br>
    mock_root=&quot;${mock_conf_file##*<wbr>/}&quot;<br>
    mock_root=&quot;${mock_root%.*}&quot;<br>
    my_mock=&quot;/usr/bin/mock&quot;<br>
    my_mock+=&quot; --configdir=${mock_conf_file%/<wbr>*}&quot;<br>
    my_mock+=&quot; --root=${mock_root}&quot;<br>
    my_mock+=&quot; --resultdir=$WORKSPACE&quot;<br>
<br>
    #TODO: investigate why mock --clean fails to umount certain dirs sometimes,<br>
    #so we can use it instead of manually doing all this.<br>
    echo &quot;Killing all mock orphan processes, if any.&quot;<br>
    $my_mock \<br>
        --orphanskill \<br>
    || {<br>
        echo &quot;ERROR:  Failed to kill orphans on $chroot.&quot;<br>
        failed=true<br>
    }<br>
<br>
    mock_root=&quot;$(\<br>
        grep \<br>
            -Po &quot;(?&lt;=config_opts\[&#39;root&#39;\] = &#39;)[^&#39;]*&quot; \<br>
            &quot;$mock_conf_file&quot; \<br>
    )&quot; || :<br>
    [[ &quot;$mock_root&quot; ]] || continue<br>
    mounts=($(mount | awk &#39;{print $3}&#39; | grep &quot;$mock_root&quot;)) || :<br>
    if [[ &quot;$mounts&quot; ]]; then<br>
        echo &quot;Found mounted dirs inside the chroot $chroot. Trying to umount.&quot;<br>
    fi<br>
    for mount in &quot;${mounts[@]}&quot;; do<br>
        safe_umount &quot;$mount&quot; || failed=true<br>
    done<br>
done<br>
<br>
# Clean any leftover chroot from other jobs<br>
for mock_root in /var/lib/mock/*; do<br>
    this_chroot_failed=false<br>
    mounts=($(cut -d\  -f2 /proc/mounts | grep &quot;$mock_root&quot; | sort -r)) || :<br>
    if [[ &quot;$mounts&quot; ]]; then<br>
        echo &quot;Found mounted dirs inside the chroot $mock_root.&quot; \<br>
             &quot;Trying to umount.&quot;<br>
    fi<br>
    for mount in &quot;${mounts[@]}&quot;; do<br>
        safe_umount &quot;$mount&quot; &amp;&amp; continue<br>
        # If we got here, we failed $UMOUNT_RETRIES attempts so we should make<br>
        # noise<br>
        failed=true<br>
        this_chroot_failed=true<br>
    done<br>
    if ! $this_chroot_failed; then<br>
        sudo rm -rf &quot;$mock_root&quot;<br>
    fi<br>
done<br>
<br>
# remove mock caches that are older then 2 days:<br>
find /var/cache/mock/ -mindepth 1 -maxdepth 1 -type d -mtime +2 -print0 | \<br>
    xargs -0 -tr sudo rm -rf<br>
# We make no effort to leave around caches that may still be in use because<br>
# packages installed in them may go out of date, so may as well recreate them<br>
<br>
# Drop all left over libvirt domains<br>
for UUID in $(virsh list --all --uuid); do<br>
  virsh destroy $UUID || :<br>
  sleep 2<br>
  virsh undefine --remove-all-storage --storage vda --snapshots-metadata $UUID || :<br>
done<br>
<br>
if $failed; then<br>
    echo &quot;Cleanup script failed, propegating failure to job&quot;<br>
    exit 1<br>
fi<br>
<br>
[ovirt_3.6_he-system-tests] $ /bin/bash -x /tmp/<wbr>hudson3269842129067440856.sh<br>
+ echo shell-scripts/mock_cleanup.sh<br>
shell-scripts/mock_cleanup.sh<br>
+ cat<br>
______________________________<wbr>______________________________<wbr>___________<br>
##############################<wbr>##############################<wbr>###########<br>
#                                                                     #<br>
#                               CLEANUP                               #<br>
#                                                                     #<br>
##############################<wbr>##############################<wbr>###########<br>
+ shopt -s nullglob<br>
+ WORKSPACE=&lt;<a href="http://jenkins.ovirt.org/job/ovirt_3.6_he-system-tests/ws/" rel="noreferrer" target="_blank">http://jenkins.<wbr>ovirt.org/job/ovirt_3.6_he-<wbr>system-tests/ws/</a>&gt;<br>
+ UMOUNT_RETRIES=3<br>
+ UMOUNT_RETRY_DELAY=1s<br>
+ sudo chown -R jenkins &lt;<a href="http://jenkins.ovirt.org/job/ovirt_3.6_he-system-tests/ws/" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt_3.6_he-system-tests/ws/</a>&gt;<br>
+ failed=false<br>
+ mock_confs=(&quot;$WORKSPACE&quot;/*/<wbr>mocker*)<br>
+ for mock_conf_file in &#39;&quot;${mock_confs[@]}&quot;&#39;<br>
+ [[ -n &lt;<a href="http://jenkins.ovirt.org/job/ovirt_3.6_he-system-tests/ws/ovirt-system-tests/mocker-epel-7-x86_64.el7.cfg" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt_3.6_he-system-tests/ws/<wbr>ovirt-system-tests/mocker-<wbr>epel-7-x86_64.el7.cfg</a>&gt; ]]<br>
+ echo &#39;Cleaning up mock &#39;<br>
Cleaning up mock<br>
+ mock_root=mocker-epel-7-x86_<wbr>64.el7.cfg<br>
+ mock_root=mocker-epel-7-x86_<wbr>64.el7<br>
+ my_mock=/usr/bin/mock<br>
+ my_mock+=&#39; --configdir=&lt;<a href="http://jenkins.ovirt.org/job/ovirt_3.6_he-system-tests/ws/ovirt-system-tests" rel="noreferrer" target="_blank">http://jenkins.<wbr>ovirt.org/job/ovirt_3.6_he-<wbr>system-tests/ws/ovirt-system-<wbr>tests</a>&#39;&gt;<br>
+ my_mock+=&#39; --root=mocker-epel-7-x86_64.<wbr>el7&#39;<br>
+ my_mock+=&#39; --resultdir=&lt;<a href="http://jenkins.ovirt.org/job/ovirt_3.6_he-system-tests/ws/" rel="noreferrer" target="_blank">http://jenkins.<wbr>ovirt.org/job/ovirt_3.6_he-<wbr>system-tests/ws/</a>&#39;&gt;<br>
+ echo &#39;Killing all mock orphan processes, if any.&#39;<br>
Killing all mock orphan processes, if any.<br>
+ /usr/bin/mock --configdir=&lt;<a href="http://jenkins.ovirt.org/job/ovirt_3.6_he-system-tests/ws/ovirt-system-tests" rel="noreferrer" target="_blank">http://jenkins.<wbr>ovirt.org/job/ovirt_3.6_he-<wbr>system-tests/ws/ovirt-system-<wbr>tests</a>&gt; --root=mocker-epel-7-x86_64.<wbr>el7 --resultdir=&lt;<a href="http://jenkins.ovirt.org/job/ovirt_3.6_he-system-tests/ws/" rel="noreferrer" target="_blank">http://jenkins.<wbr>ovirt.org/job/ovirt_3.6_he-<wbr>system-tests/ws/</a>&gt; --orphanskill<br>
WARNING: Could not find required logging config file: &lt;<a href="http://jenkins.ovirt.org/job/ovirt_3.6_he-system-tests/ws/ovirt-system-tests/logging.ini" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt_3.6_he-system-tests/ws/<wbr>ovirt-system-tests/logging.ini</a><wbr>.&gt; Using default...<br>
INFO: mock.py version 1.3.3 starting (python version = 3.5.1)...<br>
Start: init plugins<br>
INFO: selinux enabled<br>
Finish: init plugins<br>
Start: run<br>
Finish: run<br>
++ grep -Po &#39;(?&lt;=config_opts\[&#39;\&#39;&#39;root&#39;\&#39;&#39;<wbr>\] = &#39;\&#39;&#39;)[^&#39;\&#39;&#39;]*&#39; &lt;<a href="http://jenkins.ovirt.org/job/ovirt_3.6_he-system-tests/ws/ovirt-system-tests/mocker-epel-7-x86_64.el7.cfg" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt_3.6_he-system-tests/ws/<wbr>ovirt-system-tests/mocker-<wbr>epel-7-x86_64.el7.cfg</a>&gt;<br>
+ mock_root=epel-7-x86_64-<wbr>e30b297ddc7e818ebfbed823dcce8e<wbr>b8<br>
+ [[ -n epel-7-x86_64-<wbr>e30b297ddc7e818ebfbed823dcce8e<wbr>b8 ]]<br>
+ mounts=($(mount | awk &#39;{print $3}&#39; | grep &quot;$mock_root&quot;))<br>
++ mount<br>
++ awk &#39;{print $3}&#39;<br>
++ grep epel-7-x86_64-<wbr>e30b297ddc7e818ebfbed823dcce8e<wbr>b8<br>
+ :<br>
+ [[ -n &#39;&#39; ]]<br>
+ find /var/cache/mock/ -mindepth 1 -maxdepth 1 -type d -mtime +2 -print0<br>
+ xargs -0 -tr sudo rm -rf<br>
++ virsh list --all --uuid<br>
+ false<br>
POST BUILD TASK : SUCCESS<br>
END OF POST BUILD TASK : 1<br>
Recording test results<br>
ERROR: Step ?Publish JUnit test result report? failed: No test report files were found. Configuration error?<br>
Archiving artifacts<br>
</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"><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></div></div></div></div></div></div></div></div>
</div></div>