<div dir="ltr"><pre style="color:rgb(0,0,0)">Error: Package: 7:lvm2-2.02.166-1.el7_3.1.x86_64 (alocalsync)
Requires: device-mapper-persistent-data >= 0.6.3-1
Available: device-mapper-persistent-data-0.5.5-1.el7.x86_64 (alocalsync)
device-mapper-persistent-data = 0.5.5-1.el7</pre><div class="gmail_extra"><br></div><div class="gmail_extra">Still repository error</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Nov 25, 2016 at 12:41 PM, <span dir="ltr"><<a href="mailto:jenkins@jenkins.phx.ovirt.org" target="_blank">jenkins@jenkins.phx.ovirt.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">See <<a href="http://jenkins.ovirt.org/job/ovirt_4.0_he-system-tests/560/changes" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt_4.0_he-system-tests/560/<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 356 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_4.0.sh/he_basic_suite_4.0.sh.log" rel="noreferrer" target="_blank">mocker-epel-7-x86_64.el7.<wbr>he_basic_suite_4.0.sh/he_<wbr>basic_suite_4.0.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_4.0_he-system-tests/ws/ovirt-system-tests/deployment-he-basic-suite-4.0" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt_4.0_he-system-tests/ws/<wbr>ovirt-system-tests/deployment-<wbr>he-basic-suite-4.0</a>> ]]<br>
+ echo '----------- Cleaning with lago'<br>
----------- Cleaning with lago<br>
+ lago --workdir <<a href="http://jenkins.ovirt.org/job/ovirt_4.0_he-system-tests/ws/ovirt-system-tests/deployment-he-basic-suite-4.0" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt_4.0_he-system-tests/ws/<wbr>ovirt-system-tests/deployment-<wbr>he-basic-suite-4.0</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 205 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.<wbr>collect_logs.sh</a>'<br>
<br>
#<br>
# Required jjb vars:<br>
# version<br>
#<br>
VERSION=4.0<br>
SUITE_TYPE=<br>
<br>
WORKSPACE="$PWD"<br>
OVIRT_SUITE="$SUITE_TYPE_<wbr>suite_$VERSION"<br>
TESTS_LOGS="$WORKSPACE/ovirt-<wbr>system-tests/exported-<wbr>artifacts"<br>
<br>
rm -rf "$WORKSPACE/exported-<wbr>artifacts"<br>
mkdir -p "$WORKSPACE/exported-<wbr>artifacts"<br>
<br>
if [[ -d "$TESTS_LOGS" ]]; then<br>
mv "$TESTS_LOGS/"* "$WORKSPACE/exported-<wbr>artifacts/"<br>
fi<br>
<br>
[ovirt_4.0_he-system-tests] $ /bin/bash -xe /tmp/<wbr>hudson5732644382445829429.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=<<a href="http://jenkins.ovirt.org/job/ovirt_4.0_he-system-tests/ws/" rel="noreferrer" target="_blank">http://jenkins.<wbr>ovirt.org/job/ovirt_4.0_he-<wbr>system-tests/ws/</a>><br>
+ OVIRT_SUITE=4.0<br>
+ TESTS_LOGS=<<a href="http://jenkins.ovirt.org/job/ovirt_4.0_he-system-tests/ws/ovirt-system-tests/exported-artifacts" rel="noreferrer" target="_blank">http://jenkins.<wbr>ovirt.org/job/ovirt_4.0_he-<wbr>system-tests/ws/ovirt-system-<wbr>tests/exported-artifacts</a>><br>
+ rm -rf <<a href="http://jenkins.ovirt.org/job/ovirt_4.0_he-system-tests/560/artifact/exported-artifacts" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt_4.0_he-system-tests/560/<wbr>artifact/exported-artifacts</a>><br>
+ mkdir -p <<a href="http://jenkins.ovirt.org/job/ovirt_4.0_he-system-tests/560/artifact/exported-artifacts" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt_4.0_he-system-tests/560/<wbr>artifact/exported-artifacts</a>><br>
+ [[ -d <<a href="http://jenkins.ovirt.org/job/ovirt_4.0_he-system-tests/ws/ovirt-system-tests/exported-artifacts" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt_4.0_he-system-tests/ws/<wbr>ovirt-system-tests/exported-<wbr>artifacts</a>> ]]<br>
+ mv <<a href="http://jenkins.ovirt.org/job/ovirt_4.0_he-system-tests/ws/ovirt-system-tests/exported-artifacts/lago_logs" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt_4.0_he-system-tests/ws/<wbr>ovirt-system-tests/exported-<wbr>artifacts/lago_logs</a>> <<a href="http://jenkins.ovirt.org/job/ovirt_4.0_he-system-tests/560/artifact/exported-artifacts/" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt_4.0_he-system-tests/560/<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.<wbr>sh"<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"/*/<wbr>mocker*)<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_4.0_he-system-tests] $ /bin/bash -xe /tmp/<wbr>hudson7475623662613716644.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_4.0_he-system-tests/ws/" rel="noreferrer" target="_blank">http://jenkins.<wbr>ovirt.org/job/ovirt_4.0_he-<wbr>system-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"/*/<wbr>mocker*)<br>
+ for mock_conf_file in '"${mock_confs[@]}"'<br>
+ [[ -n <<a href="http://jenkins.ovirt.org/job/ovirt_4.0_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_4.0_he-system-tests/ws/<wbr>ovirt-system-tests/mocker-<wbr>epel-7-x86_64.el7.cfg</a>> ]]<br>
+ echo 'Cleaning up mock '<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+=' --configdir=<<a href="http://jenkins.ovirt.org/job/ovirt_4.0_he-system-tests/ws/ovirt-system-tests" rel="noreferrer" target="_blank">http://jenkins.<wbr>ovirt.org/job/ovirt_4.0_he-<wbr>system-tests/ws/ovirt-system-<wbr>tests</a>'><br>
+ my_mock+=' --root=mocker-epel-7-x86_64.<wbr>el7'<br>
+ my_mock+=' --resultdir=<<a href="http://jenkins.ovirt.org/job/ovirt_4.0_he-system-tests/ws/" rel="noreferrer" target="_blank">http://jenkins.<wbr>ovirt.org/job/ovirt_4.0_he-<wbr>system-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_4.0_he-system-tests/ws/ovirt-system-tests" rel="noreferrer" target="_blank">http://jenkins.<wbr>ovirt.org/job/ovirt_4.0_he-<wbr>system-tests/ws/ovirt-system-<wbr>tests</a>> --root=mocker-epel-7-x86_64.<wbr>el7 --resultdir=<<a href="http://jenkins.ovirt.org/job/ovirt_4.0_he-system-tests/ws/" rel="noreferrer" target="_blank">http://jenkins.<wbr>ovirt.org/job/ovirt_4.0_he-<wbr>system-tests/ws/</a>> --orphanskill<br>
WARNING: Could not find required logging config file: <<a href="http://jenkins.ovirt.org/job/ovirt_4.0_he-system-tests/ws/ovirt-system-tests/logging.ini" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt_4.0_he-system-tests/ws/<wbr>ovirt-system-tests/logging.ini</a><wbr>.> 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 '(?<=config_opts\['\''root'\''<wbr>\] = '\'')[^'\'']*' <<a href="http://jenkins.ovirt.org/job/ovirt_4.0_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_4.0_he-system-tests/ws/<wbr>ovirt-system-tests/mocker-<wbr>epel-7-x86_64.el7.cfg</a>><br>
+ mock_root=epel-7-x86_64-<wbr>0c362156a2fa4a935ea8b988eb73b2<wbr>ad<br>
+ [[ -n epel-7-x86_64-<wbr>0c362156a2fa4a935ea8b988eb73b2<wbr>ad ]]<br>
+ mounts=($(mount | awk '{print $3}' | grep "$mock_root"))<br>
++ mount<br>
++ awk '{print $3}'<br>
++ grep epel-7-x86_64-<wbr>0c362156a2fa4a935ea8b988eb73b2<wbr>ad<br>
+ :<br>
+ [[ -n '' ]]<br>
+ false<br>
+ shopt -u nullglob<br>
+ sudo rm -Rf /var/cache/mock/epel-7-x86_64-<wbr>0c362156a2fa4a935ea8b988eb73b2<wbr>ad<br>
+ sudo chown -R jenkins <<a href="http://jenkins.ovirt.org/job/ovirt_4.0_he-system-tests/ws/" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt_4.0_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"><div><br></div>-- <br><div class="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>