<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"><<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:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">See <<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>><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 '#########################'<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_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>> ]]<br>
+ echo '----------- Cleaning with lago'<br>
----------- Cleaning with lago<br>
+ lago --workdir <<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>> 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 231 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_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=<<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>><br>
+ OVIRT_SUITE=4.0<br>
+ TESTS_LOGS=<<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>><br>
+ rm -rf <<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>><br>
+ mkdir -p <<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>><br>
+ [[ -d <<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>> ]]<br>
+ mv <<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>> <<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>><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 "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>
# 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>
# Archive the logs, we want them anyway<br>
logs=(<br>
./*log<br>
./*/logs<br>
)<br>
<br>
if [[ "$logs" ]]; then<br>
for log in "${logs[@]}"; do<br>
[[ "$log" = ./exported-artifacts/* ]] && continue<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>
# 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 "Cleanup script failed, propegating failure to job"<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=<<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>><br>
+ cat<br>
______________________________<wbr>______________________________<wbr>___________<br>
##############################<wbr>##############################<wbr>###########<br>
# #<br>
# CLEANUP #<br>
# #<br>
##############################<wbr>##############################<wbr>###########<br>
+ sudo chown -R jenkins <<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>><br>
+ logs=(./*log ./*/logs)<br>
+ [[ -n ./ovirt-system-tests/logs ]]<br>
+ for log in '"${logs[@]}"'<br>
+ [[ ./ovirt-system-tests/logs = ./exported-artifacts/* ]]<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_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>> ]]<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_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>'><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_system-tests/ws/" rel="noreferrer" target="_blank">http://jenkins.<wbr>ovirt.org/job/ovirt_4.0_<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_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>> --root=mocker-epel-7-x86_64.<wbr>el7 --resultdir=<<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>> --orphanskill<br>
WARNING: Could not find required logging config file: <<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>.> 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_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>><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 '{print $3}' | grep "$mock_root"))<br>
++ mount<br>
++ awk '{print $3}'<br>
++ grep epel-7-x86_64-<wbr>ed452d1ea0f6dadf50c66d3b3f6b3a<wbr>6e<br>
+ :<br>
+ [[ -n '' ]]<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&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>