<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 28, 2016 at 9:55 AM, Eyal Edri <span dir="ltr"><<a href="mailto:eedri@redhat.com" target="_blank">eedri@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I see the issue got fixed, any fixes merged for it to work?</div><div class="gmail_extra"><br></div></blockquote><div><br></div><div>Nothing I'm aware of.</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 class="gmail_extra"><div class="gmail_quote">On Fri, Nov 25, 2016 at 2:12 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:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><pre style="color:rgb(0,0,0)">looks like a repository issue:</pre><pre style="color:rgb(0,0,0)">Error: Package: 7:lvm2-2.02.166-1.el7_3.1.x86_<wbr>64 (alocalsync)
Requires: device-mapper-persistent-data >= 0.6.3-1
Available: device-mapper-persistent-data-<wbr>0.5.5-1.el7.x86_64 (alocalsync)
device-mapper-persistent-data = 0.5.5-1.el7</pre></div><div class="gmail_extra"><div><div class="m_-2553892982220273040h5"><br><div class="gmail_quote">On Fri, Nov 25, 2016 at 1:00 PM, <span dir="ltr"><<a href="mailto:jenkins@jenkins.phx.ovirt.org" target="_blank">jenkins@jenkins.phx.ovirt.org</a><wbr>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">See <<a href="http://jenkins.ovirt.org/job/ovirt_3.6_he-system-tests/727/changes" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt_3.6_he-system-tests/727/<wbr>changes</a>><br>
<br>
Changes:<br>
<br>
[Eyal Edri] adding missing python-simplejson to epel repo<br>
<br>
------------------------------<wbr>------------<br>
[...truncated 669 lines...]<br>
## took 373 seconds<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.he_basic_suite_3.6.sh/he_basic_suite_3.6.sh.log" rel="noreferrer" target="_blank">mocker-epel-7-x86_64.el7.<wbr>he_basic_suite_3.6.sh/he_basic<wbr>_suite_3.6.sh.log</a><br>
##!<br>
+ env_cleanup<br>
+ echo '#########################'<br>
#########################<br>
+ local res=0<br>
+ local uuid<br>
+ echo '======== Cleaning up'<br>
======== Cleaning up<br>
+ [[ -e <<a href="http://jenkins.ovirt.org/job/ovirt_3.6_he-system-tests/ws/ovirt-system-tests/deployment-he-basic-suite-3.6" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt_3.6_he-system-tests/ws/o<wbr>virt-system-tests/deployment-h<wbr>e-basic-suite-3.6</a>> ]]<br>
+ echo '----------- Cleaning with lago'<br>
----------- Cleaning with lago<br>
+ lago --workdir <<a href="http://jenkins.ovirt.org/job/ovirt_3.6_he-system-tests/ws/ovirt-system-tests/deployment-he-basic-suite-3.6" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt_3.6_he-system-tests/ws/o<wbr>virt-system-tests/deployment-h<wbr>e-basic-suite-3.6</a>> destroy --yes --all-prefixes<br>
+ echo '----------- Cleaning with lago done'<br>
----------- Cleaning with lago done<br>
+ [[ 0 != \0 ]]<br>
+ echo '======== Cleanup done'<br>
======== Cleanup done<br>
+ exit 0<br>
+ exit<br>
Took 233 seconds<br>
==============================<wbr>=====<br>
##!<br>
##! ERROR ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^<wbr>^^^^^^^^^^^^<br>
##!###########################<wbr>#############################<br>
##############################<wbr>############################<br>
Build step 'Execute shell' 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 'shell_scripts/<a href="http://system_tests.collect_logs.sh" rel="noreferrer" target="_blank">system_tests.co<wbr>llect_logs.sh</a>'<br>
<br>
#<br>
# Required jjb vars:<br>
# version<br>
#<br>
VERSION=3.6<br>
SUITE_TYPE=<br>
<br>
WORKSPACE="$PWD"<br>
OVIRT_SUITE="$SUITE_TYPE_suite<wbr>_$VERSION"<br>
TESTS_LOGS="$WORKSPACE/ovirt-s<wbr>ystem-tests/exported-artifacts<wbr>"<br>
<br>
rm -rf "$WORKSPACE/exported-artifacts<wbr>"<br>
mkdir -p "$WORKSPACE/exported-artifacts<wbr>"<br>
<br>
if [[ -d "$TESTS_LOGS" ]]; then<br>
mv "$TESTS_LOGS/"* "$WORKSPACE/exported-artifacts<wbr>/"<br>
fi<br>
<br>
[ovirt_3.6_he-system-tests] $ /bin/bash -xe /tmp/hudson4759223563830264904<wbr>.sh<br>
+ echo shell_scripts/<a href="http://system_tests.collect_logs.sh" rel="noreferrer" target="_blank">system_tests.col<wbr>lect_logs.sh</a><br>
shell_scripts/<a href="http://system_tests.collect_logs.sh" rel="noreferrer" target="_blank">system_tests.col<wbr>lect_logs.sh</a><br>
+ VERSION=3.6<br>
+ SUITE_TYPE=<br>
+ WORKSPACE=<<a href="http://jenkins.ovirt.org/job/ovirt_3.6_he-system-tests/ws/" rel="noreferrer" target="_blank">http://jenkins.ovir<wbr>t.org/job/ovirt_3.6_he-system-<wbr>tests/ws/</a>><br>
+ OVIRT_SUITE=3.6<br>
+ TESTS_LOGS=<<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.ovi<wbr>rt.org/job/ovirt_3.6_he-system<wbr>-tests/ws/ovirt-system-tests/e<wbr>xported-artifacts</a>><br>
+ rm -rf <<a href="http://jenkins.ovirt.org/job/ovirt_3.6_he-system-tests/727/artifact/exported-artifacts" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt_3.6_he-system-tests/727/<wbr>artifact/exported-artifacts</a>><br>
+ mkdir -p <<a href="http://jenkins.ovirt.org/job/ovirt_3.6_he-system-tests/727/artifact/exported-artifacts" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt_3.6_he-system-tests/727/<wbr>artifact/exported-artifacts</a>><br>
+ [[ -d <<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/o<wbr>virt-system-tests/exported-art<wbr>ifacts</a>> ]]<br>
+ mv <<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/o<wbr>virt-system-tests/exported-art<wbr>ifacts/lago_logs</a>> <<a href="http://jenkins.ovirt.org/job/ovirt_3.6_he-system-tests/727/artifact/exported-artifacts/" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt_3.6_he-system-tests/727/<wbr>artifact/exported-artifacts/</a>><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 -xe<br>
echo "shell-scripts/mock_cleanup.sh<wbr>"<br>
<br>
shopt -s nullglob<br>
<br>
<br>
WORKSPACE="$PWD"<br>
<br>
# Make clear this is the cleanup, helps reading the jenkins logs<br>
cat <<EOC<br>
______________________________<wbr>______________________________<wbr>___________<br>
##############################<wbr>##############################<wbr>###########<br>
# #<br>
# CLEANUP #<br>
# #<br>
##############################<wbr>##############################<wbr>###########<br>
EOC<br>
<br>
<br>
# Archive the logs, we want them anyway<br>
logs=(<br>
./*log<br>
./*/logs<br>
)<br>
<br>
if [[ "$logs" ]]; then<br>
for log in "${logs[@]}"<br>
do<br>
echo "Copying ${log} to exported-artifacts"<br>
mv $log exported-artifacts/<br>
done<br>
fi<br>
<br>
# stop any processes running inside the chroot<br>
failed=false<br>
mock_confs=("$WORKSPACE"/*/moc<wbr>ker*)<br>
# Clean current jobs mockroot if any<br>
for mock_conf_file in "${mock_confs[@]}"; do<br>
[[ "$mock_conf_file" ]] || continue<br>
echo "Cleaning up mock $mock_conf"<br>
mock_root="${mock_conf_file##*<wbr>/}"<br>
mock_root="${mock_root%.*}"<br>
my_mock="/usr/bin/mock"<br>
my_mock+=" --configdir=${mock_conf_file%/<wbr>*}"<br>
my_mock+=" --root=${mock_root}"<br>
my_mock+=" --resultdir=$WORKSPACE"<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 "Killing all mock orphan processes, if any."<br>
$my_mock \<br>
--orphanskill \<br>
|| {<br>
echo "ERROR: Failed to kill orphans on $chroot."<br>
failed=true<br>
}<br>
<br>
mock_root="$(\<br>
grep \<br>
-Po "(?<=config_opts\['root'\] = ')[^']*" \<br>
"$mock_conf_file" \<br>
)" || :<br>
[[ "$mock_root" ]] || continue<br>
mounts=($(mount | awk '{print $3}' | grep "$mock_root")) || :<br>
if [[ "$mounts" ]]; then<br>
echo "Found mounted dirs inside the chroot $chroot. Trying to umount."<br>
fi<br>
for mount in "${mounts[@]}"; do<br>
sudo umount --lazy "$mount" \<br>
|| {<br>
echo "ERROR: Failed to umount $mount."<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 '{print $3}' | grep "$mock_root")) || :<br>
if [[ "$mounts" ]]; then<br>
echo "Found mounted dirs inside the chroot $mock_root." \<br>
"Trying to umount."<br>
fi<br>
for mount in "${mounts[@]}"; do<br>
sudo umount --lazy "$mount" \<br>
|| {<br>
echo "ERROR: Failed to umount $mount."<br>
failed=true<br>
this_chroot_failed=true<br>
}<br>
done<br>
if ! $this_chroot_failed; then<br>
sudo rm -rf "$mock_root"<br>
fi<br>
done<br>
<br>
if $failed; then<br>
echo "Aborting."<br>
exit 1<br>
fi<br>
<br>
# remove mock system cache, we will setup proxies to do the caching and this<br>
# takes lots of space between runs<br>
shopt -u nullglob<br>
sudo rm -Rf /var/cache/mock/*<br>
<br>
# restore the permissions in the working dir, as sometimes it leaves files<br>
# owned by root and then the 'cleanup workspace' from jenkins job fails to<br>
# clean and breaks the jobs<br>
sudo chown -R "$USER" "$WORKSPACE"<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>
[ovirt_3.6_he-system-tests] $ /bin/bash -xe /tmp/hudson1126660399954731277<wbr>.sh<br>
+ echo shell-scripts/mock_cleanup.sh<br>
shell-scripts/mock_cleanup.sh<br>
+ shopt -s nullglob<br>
+ WORKSPACE=<<a href="http://jenkins.ovirt.org/job/ovirt_3.6_he-system-tests/ws/" rel="noreferrer" target="_blank">http://jenkins.ovir<wbr>t.org/job/ovirt_3.6_he-system-<wbr>tests/ws/</a>><br>
+ cat<br>
______________________________<wbr>______________________________<wbr>___________<br>
##############################<wbr>##############################<wbr>###########<br>
# #<br>
# CLEANUP #<br>
# #<br>
##############################<wbr>##############################<wbr>###########<br>
+ logs=(./*log ./*/logs)<br>
+ [[ -n ./ovirt-system-tests/logs ]]<br>
+ for log in '"${logs[@]}"'<br>
+ echo 'Copying ./ovirt-system-tests/logs to exported-artifacts'<br>
Copying ./ovirt-system-tests/logs to exported-artifacts<br>
+ mv ./ovirt-system-tests/logs exported-artifacts/<br>
+ failed=false<br>
+ mock_confs=("$WORKSPACE"/*/moc<wbr>ker*)<br>
+ for mock_conf_file in '"${mock_confs[@]}"'<br>
+ [[ -n <<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/o<wbr>virt-system-tests/mocker-epel-<wbr>7-x86_64.el7.cfg</a>> ]]<br>
+ echo 'Cleaning up mock '<br>
Cleaning up mock<br>
+ mock_root=mocker-epel-7-x86_64<wbr>.el7.cfg<br>
+ mock_root=mocker-epel-7-x86_64<wbr>.el7<br>
+ my_mock=/usr/bin/mock<br>
+ my_mock+=' --configdir=<<a href="http://jenkins.ovirt.org/job/ovirt_3.6_he-system-tests/ws/ovirt-system-tests" rel="noreferrer" target="_blank">http://jenkins.ov<wbr>irt.org/job/ovirt_3.6_he-syste<wbr>m-tests/ws/ovirt-system-tests</a>'<wbr>><br>
+ my_mock+=' --root=mocker-epel-7-x86_64.el<wbr>7'<br>
+ my_mock+=' --resultdir=<<a href="http://jenkins.ovirt.org/job/ovirt_3.6_he-system-tests/ws/" rel="noreferrer" target="_blank">http://jenkins.ov<wbr>irt.org/job/ovirt_3.6_he-syste<wbr>m-tests/ws/</a>'><br>
+ echo 'Killing all mock orphan processes, if any.'<br>
Killing all mock orphan processes, if any.<br>
+ /usr/bin/mock --configdir=<<a href="http://jenkins.ovirt.org/job/ovirt_3.6_he-system-tests/ws/ovirt-system-tests" rel="noreferrer" target="_blank">http://jenkins.ov<wbr>irt.org/job/ovirt_3.6_he-syste<wbr>m-tests/ws/ovirt-system-tests</a>> --root=mocker-epel-7-x86_64.el<wbr>7 --resultdir=<<a href="http://jenkins.ovirt.org/job/ovirt_3.6_he-system-tests/ws/" rel="noreferrer" target="_blank">http://jenkins.ov<wbr>irt.org/job/ovirt_3.6_he-syste<wbr>m-tests/ws/</a>> --orphanskill<br>
WARNING: Could not find required logging config file: <<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/o<wbr>virt-system-tests/logging.ini</a>.<wbr>> Using default...<br>
INFO: mock.py version 1.2.21 starting (python version = 3.4.3)...<br>
Start: init plugins<br>
INFO: selinux enabled<br>
Finish: init plugins<br>
Start: run<br>
Finish: run<br>
++ grep -Po '(?<=config_opts\['\''root'\''<wbr>\] = '\'')[^'\'']*' <<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/o<wbr>virt-system-tests/mocker-epel-<wbr>7-x86_64.el7.cfg</a>><br>
+ mock_root=epel-7-x86_64-235bec<wbr>7d0621e95d1cae73d7cf9dc27c<br>
+ [[ -n epel-7-x86_64-235bec7d0621e95d<wbr>1cae73d7cf9dc27c ]]<br>
+ mounts=($(mount | awk '{print $3}' | grep "$mock_root"))<br>
++ mount<br>
++ awk '{print $3}'<br>
++ grep epel-7-x86_64-235bec7d0621e95d<wbr>1cae73d7cf9dc27c<br>
+ :<br>
+ [[ -n '' ]]<br>
+ false<br>
+ shopt -u nullglob<br>
+ sudo rm -Rf /var/cache/mock/epel-7-x86_64-<wbr>235bec7d0621e95d1cae73d7cf9dc2<wbr>7c<br>
+ sudo chown -R jenkins <<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>><br>
++ virsh list --all --uuid<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"><span class="HOEnZb"><font color="#888888"><div><br></div></font></span></div></div><span class="HOEnZb"><font color="#888888"><span class="m_-2553892982220273040HOEnZb"><font color="#888888">-- <br><div class="m_-2553892982220273040m_-8866626277896466147gmail_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>
</font></span></font></span></div><span class="HOEnZb"><font color="#888888">
<br>______________________________<wbr>_________________<br>
Infra mailing list<br>
<a href="mailto:Infra@ovirt.org" target="_blank">Infra@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/infra" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/infra</a><br>
<br></font></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div class="m_-2553892982220273040gmail_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&D<br>Red Hat Israel<br><br>phone: <a href="tel:%2B972-9-7692018" value="+97297692018" target="_blank">+972-9-7692018</a><br>irc: eedri (on #tlv #rhev-dev #rhev-integ)</div></div></div></div></div></div></div>
</font></span></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"><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>