<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 10, 2017 at 12:08 PM, 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">This patch is one that caused it probably:<br>
<a href="https://github.com/lago-project/lago/commit/05ccf7240976f91b0c14d6a1f88016376d5e87f0" rel="noreferrer" target="_blank">https://github.com/lago-<wbr>project/lago/commit/<wbr>05ccf7240976f91b0c14d6a1f88016<wbr>376d5e87f0</a></blockquote><div><br></div><div>+Milan.</div><div><br></div><div>I must confess that I did not like the patch to begin with...</div><div>I did not understand what real problem it solved, but Michal assured me there was a real issue.</div><div>I know have Engine with a Java@ 100% CPU - I hope it's unrelated to this as well.</div><div><br></div><div>I suggest we do survey to see who doesn't have SandyBridge and above and perhaps move higher than Westmere.</div><div>What do we have in CI?</div><div>Y.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
Thanks in advance,<br>
Lev Veyde.<br>
<br>
----- Original Message -----<br>
From: "Lev Veyde" <<a href="mailto:lveyde@redhat.com">lveyde@redhat.com</a>><br>
To: "Eyal Edri" <<a href="mailto:eedri@redhat.com">eedri@redhat.com</a>>, <a href="mailto:sbonazzo@redhat.com">sbonazzo@redhat.com</a><br>
Cc: <a href="mailto:infra@ovirt.org">infra@ovirt.org</a>, "Gal Ben Haim" <<a href="mailto:gbenhaim@redhat.com">gbenhaim@redhat.com</a>><br>
Sent: Tuesday, January 10, 2017 11:50:05 AM<br>
Subject: Re: Build failed in Jenkins: ovirt_4.0_he-system-tests #627<br>
<br>
Hi,<br>
<br>
Checked the logs and see the following:<br>
<br>
02:42:05 [WARNING] OVF does not contain a valid image description, using default.<br>
02:42:05 The following CPU types are supported by this host:<br>
02:42:05 - model_Westmere: Intel Westmere Family<br>
02:42:05 - model_Nehalem: Intel Nehalem Family<br>
02:42:05 - model_Penryn: Intel Penryn Family<br>
02:42:05 - model_Conroe: Intel Conroe Family<br>
02:42:05 [ ERROR ] Failed to execute stage 'Environment customization': Invalid CPU type specified: model_SandyBridge<br>
<br>
Barak thinks that it may be related to the recent update in the Lago code.<br>
<br>
Gal, any idea ?<br>
<br>
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: Tuesday, January 10, 2017 4:42:14 AM<br>
Subject: Build failed in Jenkins: ovirt_4.0_he-system-tests #627<br>
<br>
See <<a href="http://jenkins.ovirt.org/job/ovirt_4.0_he-system-tests/627/changes" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt_4.0_he-system-tests/627/<wbr>changes</a>><br>
<br>
Changes:<br>
<br>
[Lev Veyde] Mask NetworkManager service<br>
<br>
[Eyal Edri] fix imgbased job names in jjb<br>
<br>
[Daniel Belenky] fixing jjb version for cockpit-ovirt<br>
<br>
[Gil Shinar] Add some more 4.1 to experimental<br>
<br>
[Juan Hernandez] Don't build RPMs for the JBoss modules Maven plugin<br>
<br>
[pkliczewski] jsonrpc 4.1 branch<br>
<br>
------------------------------<wbr>------------<br>
[...truncated 749 lines...]<br>
Finish: shell<br>
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@<wbr>@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@<wbr>@@<br>
@@ Tue Jan 10 02:42:07 UTC 2017 automation/<a href="http://he_basic_suite_4.0.sh" rel="noreferrer" target="_blank">he_basic_suite_4.0.<wbr>sh</a> chroot finished<br>
@@ took 360 seconds<br>
@@ rc = 1<br>
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@<wbr>@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@<wbr>@@<br>
========== Scrubbing chroot<br>
mock \<br>
--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>
--root="mocker-epel-7-x86_64.<wbr>el7" \<br>
--resultdir="./mock_logs.<wbr>xGGwEk6V/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_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.4.3)...<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>
## Tue Jan 10 02:42:13 UTC 2017 Finished env: el7:epel-7-x86_64<br>
## took 366 seconds<br>
## rc = 1<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.xGGwEk6V/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.xGGwEk6V/<a href="http://mocker-epel-7-x86_64.el7.he_basic_suite_4.0.sh" rel="noreferrer" target="_blank">mocker-<wbr>epel-7-x86_64.el7.he_basic_<wbr>suite_4.0.sh</a>’ -> ‘exported-artifacts/mock_logs/<a href="http://mocker-epel-7-x86_64.el7.he_basic_suite_4.0.sh" rel="noreferrer" target="_blank"><wbr>mocker-epel-7-x86_64.el7.he_<wbr>basic_suite_4.0.sh</a>’<br>
‘./mock_logs.xGGwEk6V/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=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/hudson302101162661598371.<wbr>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/627/artifact/exported-artifacts" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt_4.0_he-system-tests/627/<wbr>artifact/exported-artifacts</a>><br>
+ mkdir -p <<a href="http://jenkins.ovirt.org/job/ovirt_4.0_he-system-tests/627/artifact/exported-artifacts" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt_4.0_he-system-tests/627/<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/failure_msg.txt" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt_4.0_he-system-tests/ws/<wbr>ovirt-system-tests/exported-<wbr>artifacts/failure_msg.txt</a>> <<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/ws/ovirt-system-tests/exported-artifacts/mock_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/mock_logs</a>> <<a href="http://jenkins.ovirt.org/job/ovirt_4.0_he-system-tests/627/artifact/exported-artifacts/" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt_4.0_he-system-tests/627/<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_4.0_he-system-tests] $ /bin/bash -x /tmp/<wbr>hudson1888216492513466503.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_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>
+ UMOUNT_RETRIES=3<br>
+ UMOUNT_RETRY_DELAY=1s<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>
+ 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.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_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>6f628e6dc1a827c86d5e1bd9d3b3d3<wbr>8b<br>
+ [[ -n epel-7-x86_64-<wbr>6f628e6dc1a827c86d5e1bd9d3b3d3<wbr>8b ]]<br>
+ mounts=($(mount | awk '{print $3}' | grep "$mock_root"))<br>
++ mount<br>
++ awk '{print $3}'<br>
++ grep epel-7-x86_64-<wbr>6f628e6dc1a827c86d5e1bd9d3b3d3<wbr>8b<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></div></div>