<div dir="ltr">This probably is failing due to the missing jsonrpc-java pkg from snapshot repo, lets wait until tomorrow when we know for sure the repo were updated with new rpms.</div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Dec 11, 2016 at 5:24 PM,  <span dir="ltr">&lt;<a href="mailto:jenkins@jenkins.phx.ovirt.org" target="_blank">jenkins@jenkins.phx.ovirt.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">See &lt;<a href="http://jenkins.ovirt.org/job/ovirt_4.0_system-tests/736/changes" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt_4.0_system-tests/736/<wbr>changes</a>&gt;<br>
<br>
Changes:<br>
<br>
[Your Name] basic networking: modify ip config to dhcp<br>
<br>
------------------------------<wbr>------------<br>
[...truncated 634 lines...]<br>
##      rc = 1<br>
##############################<wbr>############################<br>
##! ERROR vvvvvvvvvvvvvvvvvvvvvvvvvvvvvv<wbr>vvvvvvvvvvv<br>
##! Last 20 log entries: logs/<a href="http://mocker-epel-7-x86_64.el7.basic_suite_4.0.sh/basic_suite_4.0.sh.log" rel="noreferrer" target="_blank">mocker-epel-7-x86_64.el7.<wbr>basic_suite_4.0.sh/basic_<wbr>suite_4.0.sh.log</a><br>
##!<br>
+ env_cleanup<br>
+ echo &#39;#########################&#39;<br>
#########################<br>
+ local res=0<br>
+ local uuid<br>
+ echo &#39;======== Cleaning up&#39;<br>
======== Cleaning up<br>
+ [[ -e &lt;<a href="http://jenkins.ovirt.org/job/ovirt_4.0_system-tests/ws/ovirt-system-tests/deployment-basic-suite-4.0" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt_4.0_system-tests/ws/<wbr>ovirt-system-tests/deployment-<wbr>basic-suite-4.0</a>&gt; ]]<br>
+ echo &#39;----------- Cleaning with lago&#39;<br>
----------- Cleaning with lago<br>
+ lago --workdir &lt;<a href="http://jenkins.ovirt.org/job/ovirt_4.0_system-tests/ws/ovirt-system-tests/deployment-basic-suite-4.0" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt_4.0_system-tests/ws/<wbr>ovirt-system-tests/deployment-<wbr>basic-suite-4.0</a>&gt; destroy --yes --all-prefixes<br>
+ echo &#39;----------- Cleaning with lago done&#39;<br>
----------- Cleaning with lago done<br>
+ [[ 0 != \0 ]]<br>
+ echo &#39;======== Cleanup done&#39;<br>
======== Cleanup done<br>
+ exit 0<br>
+ exit<br>
Took 231 seconds<br>
==============================<wbr>=====<br>
##!<br>
##! ERROR ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^<wbr>^^^^^^^^^^^^<br>
##!###########################<wbr>#############################<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=4.0<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_4.0_system-tests] $ /bin/bash -xe /tmp/<wbr>hudson2568848989708210712.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=4.0<br>
+ SUITE_TYPE=<br>
+ WORKSPACE=&lt;<a href="http://jenkins.ovirt.org/job/ovirt_4.0_system-tests/ws/" rel="noreferrer" target="_blank">http://jenkins.<wbr>ovirt.org/job/ovirt_4.0_<wbr>system-tests/ws/</a>&gt;<br>
+ OVIRT_SUITE=4.0<br>
+ TESTS_LOGS=&lt;<a href="http://jenkins.ovirt.org/job/ovirt_4.0_system-tests/ws/ovirt-system-tests/exported-artifacts" rel="noreferrer" target="_blank">http://jenkins.<wbr>ovirt.org/job/ovirt_4.0_<wbr>system-tests/ws/ovirt-system-<wbr>tests/exported-artifacts</a>&gt;<br>
+ rm -rf &lt;<a href="http://jenkins.ovirt.org/job/ovirt_4.0_system-tests/736/artifact/exported-artifacts" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt_4.0_system-tests/736/<wbr>artifact/exported-artifacts</a>&gt;<br>
+ mkdir -p &lt;<a href="http://jenkins.ovirt.org/job/ovirt_4.0_system-tests/736/artifact/exported-artifacts" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt_4.0_system-tests/736/<wbr>artifact/exported-artifacts</a>&gt;<br>
+ [[ -d &lt;<a href="http://jenkins.ovirt.org/job/ovirt_4.0_system-tests/ws/ovirt-system-tests/exported-artifacts" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt_4.0_system-tests/ws/<wbr>ovirt-system-tests/exported-<wbr>artifacts</a>&gt; ]]<br>
+ mv &lt;<a href="http://jenkins.ovirt.org/job/ovirt_4.0_system-tests/ws/ovirt-system-tests/exported-artifacts/lago_logs" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt_4.0_system-tests/ws/<wbr>ovirt-system-tests/exported-<wbr>artifacts/lago_logs</a>&gt; &lt;<a href="http://jenkins.ovirt.org/job/ovirt_4.0_system-tests/736/artifact/exported-artifacts/" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt_4.0_system-tests/736/<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>
<br>
shopt -s nullglob<br>
<br>
<br>
WORKSPACE=&quot;$PWD&quot;<br>
<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>
# 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>
# Archive the logs, we want them anyway<br>
logs=(<br>
    ./*log<br>
    ./*/logs<br>
)<br>
<br>
if [[ &quot;$logs&quot; ]]; then<br>
    for log in &quot;${logs[@]}&quot;; do<br>
        [[ &quot;$log&quot; = ./exported-artifacts/* ]] &amp;&amp; continue<br>
        echo &quot;Copying ${log} to exported-artifacts&quot;<br>
        mv $log exported-artifacts/<br>
    done<br>
fi<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>
        sudo umount --lazy &quot;$mount&quot; \<br>
        || {<br>
            echo &quot;ERROR:  Failed to umount $mount.&quot;<br>
            failed=true<br>
        }<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=($(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 $mock_root.&quot; \<br>
             &quot;Trying to umount.&quot;<br>
    fi<br>
    for mount in &quot;${mounts[@]}&quot;; do<br>
        sudo umount --lazy &quot;$mount&quot; \<br>
        || {<br>
            echo &quot;ERROR:  Failed to umount $mount.&quot;<br>
            failed=true<br>
            this_chroot_failed=true<br>
        }<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_4.0_system-tests] $ /bin/bash -x /tmp/hudson318525620105622185.<wbr>sh<br>
+ echo shell-scripts/mock_cleanup.sh<br>
shell-scripts/mock_cleanup.sh<br>
+ shopt -s nullglob<br>
+ WORKSPACE=&lt;<a href="http://jenkins.ovirt.org/job/ovirt_4.0_system-tests/ws/" rel="noreferrer" target="_blank">http://jenkins.<wbr>ovirt.org/job/ovirt_4.0_<wbr>system-tests/ws/</a>&gt;<br>
+ cat<br>
______________________________<wbr>______________________________<wbr>___________<br>
##############################<wbr>##############################<wbr>###########<br>
#                                                                     #<br>
#                               CLEANUP                               #<br>
#                                                                     #<br>
##############################<wbr>##############################<wbr>###########<br>
+ sudo chown -R jenkins &lt;<a href="http://jenkins.ovirt.org/job/ovirt_4.0_system-tests/ws/" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt_4.0_system-tests/ws/</a>&gt;<br>
+ logs=(./*log ./*/logs)<br>
+ [[ -n ./ovirt-system-tests/logs ]]<br>
+ for log in &#39;&quot;${logs[@]}&quot;&#39;<br>
+ [[ ./ovirt-system-tests/logs = ./exported-artifacts/* ]]<br>
+ echo &#39;Copying ./ovirt-system-tests/logs to exported-artifacts&#39;<br>
Copying ./ovirt-system-tests/logs to exported-artifacts<br>
+ mv ./ovirt-system-tests/logs exported-artifacts/<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_4.0_system-tests/ws/ovirt-system-tests/mocker-epel-7-x86_64.el7.cfg" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt_4.0_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_4.0_system-tests/ws/ovirt-system-tests" rel="noreferrer" target="_blank">http://jenkins.<wbr>ovirt.org/job/ovirt_4.0_<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_4.0_system-tests/ws/" rel="noreferrer" target="_blank">http://jenkins.<wbr>ovirt.org/job/ovirt_4.0_<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_4.0_system-tests/ws/ovirt-system-tests" rel="noreferrer" target="_blank">http://jenkins.<wbr>ovirt.org/job/ovirt_4.0_<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_4.0_system-tests/ws/" rel="noreferrer" target="_blank">http://jenkins.<wbr>ovirt.org/job/ovirt_4.0_<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_4.0_system-tests/ws/ovirt-system-tests/logging.ini" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt_4.0_system-tests/ws/<wbr>ovirt-system-tests/logging.ini</a><wbr>.&gt; Using default...<br>
INFO: mock.py version 1.2.21 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_4.0_system-tests/ws/ovirt-system-tests/mocker-epel-7-x86_64.el7.cfg" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt_4.0_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>ed452d1ea0f6dadf50c66d3b3f6b3a<wbr>6e<br>
+ [[ -n epel-7-x86_64-<wbr>ed452d1ea0f6dadf50c66d3b3f6b3a<wbr>6e ]]<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>ed452d1ea0f6dadf50c66d3b3f6b3a<wbr>6e<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>
______________________________<wbr>_________________<br>
Infra mailing list<br>
<a href="mailto:Infra@ovirt.org">Infra@ovirt.org</a><br>
<a href="http://lists.phx.ovirt.org/mailman/listinfo/infra" rel="noreferrer" target="_blank">http://lists.phx.ovirt.org/<wbr>mailman/listinfo/infra</a><br>
<br>
<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>Eyal Edri<br>Associate Manager</div><div>RHV DevOps<br>EMEA ENG Virtualization R&amp;D<br>Red Hat Israel<br><br>phone: +972-9-7692018<br>irc: eedri (on #tlv #rhev-dev #rhev-integ)</div></div></div></div></div></div></div>
</div>