<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"><<a href="mailto:lveyde@redhat.com" target="_blank">lveyde@redhat.com</a>></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'm looking into them.</div><div>Yuval, once you'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 <<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>><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 "install python-requests as a dependency"<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="<<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>"> \<br>
--root="mocker-epel-7-x86_64.<wbr>el7" \<br>
--resultdir="./mock_logs.<wbr>S2Vzskpt/mocker-epel-7-x86_64.<wbr>el7.scrub" \<br>
--scrub=chroot<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/<wbr>ovirt-system-tests/logging.ini</a><wbr>.> 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 ['chroot']<br>
INFO: scrubbing chroot for mocker-epel-7-x86_64.el7<br>
Finish: scrub ['chroot']<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: 'logs': No such file or directory<br>
No log files found, check command output<br>
##!###########################<wbr>#############################<br>
Collecting mock logs<br>
'./mock_logs.S2Vzskpt/mocker-<wbr>epel-7-x86_64.el7.clean_rpmdb' -> 'exported-artifacts/mock_logs/<wbr>mocker-epel-7-x86_64.el7.<wbr>clean_rpmdb'<br>
'./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>' -> '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>'<br>
'./mock_logs.S2Vzskpt/mocker-<wbr>epel-7-x86_64.el7.init' -> 'exported-artifacts/mock_logs/<wbr>mocker-epel-7-x86_64.el7.init'<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=3.6<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_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=<<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>><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.<wbr>ovirt.org/job/ovirt_3.6_he-<wbr>system-tests/ws/ovirt-system-<wbr>tests/exported-artifacts</a>><br>
+ rm -rf <<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>><br>
+ mkdir -p <<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>><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/<wbr>ovirt-system-tests/exported-<wbr>artifacts</a>> ]]<br>
+ mv <<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>> <<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>> <<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>> <<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>><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>
# 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>
shopt -s nullglob<br>
<br>
WORKSPACE="${WORKSPACE:-$PWD}"<br>
UMOUNT_RETRIES="${UMOUNT_<wbr>RETRIES:-3}"<br>
UMOUNT_RETRY_DELAY="${UMOUNT_<wbr>RETRY_DELAY:-1s}"<br>
<br>
safe_umount() {<br>
local mount="${1:?}"<br>
local attempt<br>
for ((attempt=0 ; attempt < $UMOUNT_RETRIES ; attempt++)); do<br>
# If this is not the 1st time through the loop, Sleep a while to let<br>
# the problem "solve itself"<br>
[[ attempt > 0 ]] && sleep "$UMOUNT_RETRY_DELAY"<br>
# Try to umount<br>
sudo umount --lazy "$mount" && return 0<br>
# See if the mount is already not there despite failing<br>
findmnt --kernel --first "$mount" > /dev/null && return 0<br>
done<br>
echo "ERROR: Failed to umount $mount."<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 'cleanup workspace' from jenkins job fails to<br>
# clean and breaks the jobs<br>
sudo chown -R "$USER" "$WORKSPACE"<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>
safe_umount "$mount" || 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 "$mock_root" | sort -r)) || :<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>
safe_umount "$mount" && 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 "$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_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=<<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>><br>
+ UMOUNT_RETRIES=3<br>
+ UMOUNT_RETRY_DELAY=1s<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>
+ 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_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>> ]]<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_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>'><br>
+ my_mock+=' --root=mocker-epel-7-x86_64.<wbr>el7'<br>
+ my_mock+=' --resultdir=<<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>'><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.<wbr>ovirt.org/job/ovirt_3.6_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_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>> --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/<wbr>ovirt-system-tests/logging.ini</a><wbr>.> 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 '(?<=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/<wbr>ovirt-system-tests/mocker-<wbr>epel-7-x86_64.el7.cfg</a>><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 '{print $3}' | grep "$mock_root"))<br>
++ mount<br>
++ awk '{print $3}'<br>
++ grep epel-7-x86_64-<wbr>e30b297ddc7e818ebfbed823dcce8e<wbr>b8<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>
</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>