<div dir="ltr">This looks like a bug in libvirt? <div>Tolik mentioned something in a socket name which is too long, anyone seen it before?<br><div><br></div><div><pre class="" style="white-space:pre-wrap;word-wrap:break-word;margin-top:0px;margin-bottom:0px;color:rgb(51,51,51);font-size:13px"><span class="" style=""><b style="">15:37:11</b> </span>libvirt: XML-RPC error : Failed to connect socket to '/var/run/libvirt/virtlogd-sock': No such file or directory
<span class="" style=""><b style="">15:37:11</b> </span><span style="color:rgb(0,205,205)"> * Starting VM lago_basic_suite_master_storage: </span><span style="color:rgb(205,0,0)">ERROR</span> (in 0:00:00)
<span class="" style=""><b style="">15:37:11</b> </span><span style="color:rgb(0,205,205)"> # Start vms: </span><span style="color:rgb(205,0,0)">ERROR</span> (in 0:00:00)
<span class="" style=""><b style="">15:37:11</b> </span><span style="color:rgb(0,205,205)"> # Destroy network lago_basic_suite_master_lago: </span>
<span class="" style=""><b style="">15:37:11</b> </span><span style="color:rgb(0,205,205)"> # Destroy network lago_basic_suite_master_lago: </span><span style="color:rgb(205,0,0)">ERROR</span> (in 0:00:00)
<span class="" style=""><b style="">15:37:11</b> </span><span style="color:rgb(0,205,205)">@ Start Prefix: </span><span style="color:rgb(205,0,0)">ERROR</span> (in 0:00:00)
<span class="" style=""><b style="">15:37:11</b> </span><span style="color:rgb(205,0,0)">Error occured, aborting
<span class="" style=""><b style="">15:37:11</b> </span>Traceback (most recent call last):
<span class="" style=""><b style="">15:37:11</b> </span> File "/usr/lib/python2.7/site-packages/lago/cmd.py", line 691, in main
<span class="" style=""><b style="">15:37:11</b> </span> cli_plugins[args.verb].do_run(args)
<span class="" style=""><b style="">15:37:11</b> </span> File "/usr/lib/python2.7/site-packages/lago/plugins/cli.py", line 180, in do_run
<span class="" style=""><b style="">15:37:11</b> </span> self._do_run(**vars(args))
<span class="" style=""><b style="">15:37:11</b> </span> File "/usr/lib/python2.7/site-packages/lago/utils.py", line 488, in wrapper
<span class="" style=""><b style="">15:37:11</b> </span> return func(*args, **kwargs)
<span class="" style=""><b style="">15:37:11</b> </span> File "/usr/lib/python2.7/site-packages/lago/utils.py", line 499, in wrapper
<span class="" style=""><b style="">15:37:11</b> </span> return func(*args, prefix=prefix, **kwargs)
<span class="" style=""><b style="">15:37:11</b> </span> File "/usr/lib/python2.7/site-packages/lago/cmd.py", line 255, in do_start
<span class="" style=""><b style="">15:37:11</b> </span> prefix.start(vm_names=vm_names)
<span class="" style=""><b style="">15:37:11</b> </span> File "/usr/lib/python2.7/site-packages/lago/prefix.py", line 958, in start
<span class="" style=""><b style="">15:37:11</b> </span> self.virt_env.start(vm_names=vm_names)
<span class="" style=""><b style="">15:37:11</b> </span> File "/usr/lib/python2.7/site-packages/lago/virt.py", line 182, in start
<span class="" style=""><b style="">15:37:11</b> </span> vm.start()
<span class="" style=""><b style="">15:37:11</b> </span> File "/usr/lib/python2.7/site-packages/lago/plugins/vm.py", line 247, in start
<span class="" style=""><b style="">15:37:11</b> </span> return self.provider.start(*args, **kwargs)
<span class="" style=""><b style="">15:37:11</b> </span> File "/usr/lib/python2.7/site-packages/lago/vm.py", line 93, in start
<span class="" style=""><b style="">15:37:11</b> </span> self.libvirt_con.createXML(self._libvirt_xml())
<span class="" style=""><b style="">15:37:11</b> </span> File "/usr/lib64/python2.7/site-packages/libvirt.py", line 3611, in createXML
<span class="" style=""><b style="">15:37:11</b> </span> if ret is None:raise libvirtError('virDomainCreateXML() failed', conn=self)
<span class="" style=""><b style="">15:37:11</b> </span>libvirtError: Failed to connect socket to '/var/run/libvirt/virtlogd-sock': No such file or directory</span>
<span class="" style=""><b style="">15:37:11</b> </span>#########################</pre></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 7, 2016 at 6:37 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_master_system-tests/243/changes" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/ovirt_master_system-tests/243/changes</a>><br>
<br>
Changes:<br>
<br>
[Eyal Edri] add hystrix deps to yum repos include list<br>
<br>
[Eyal Edri] refresh fedora versions and release versions for ovirt-engine<br>
<br>
[Sandro Bonazzola] ovirt-engine_upgrade-db: drop 3.6.7 jobs<br>
<br>
[Shirly Radco] Replacing jpackage repo for 3.6 dwh<br>
<br>
------------------------------------------<br>
[...truncated 485 lines...]<br>
## rc = 1<br>
##########################################################<br>
##! ERROR vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv<br>
##! Last 20 log enties: logs/<a href="http://mocker-fedora-23-x86_64.fc23.basic_suite_master.sh/basic_suite_master.sh.log" rel="noreferrer" target="_blank">mocker-fedora-23-x86_64.fc23.basic_suite_master.sh/basic_suite_master.sh.log</a><br>
##!<br>
File "/usr/lib/python2.7/site-packages/lago/cmd.py", line 255, in do_start<br>
prefix.start(vm_names=vm_names)<br>
File "/usr/lib/python2.7/site-packages/lago/prefix.py", line 958, in start<br>
self.virt_env.start(vm_names=vm_names)<br>
File "/usr/lib/python2.7/site-packages/lago/virt.py", line 182, in start<br>
vm.start()<br>
File "/usr/lib/python2.7/site-packages/lago/plugins/vm.py", line 247, in start<br>
return self.provider.start(*args, **kwargs)<br>
File "/usr/lib/python2.7/site-packages/lago/vm.py", line 93, in start<br>
self.libvirt_con.createXML(self._libvirt_xml())<br>
File "/usr/lib64/python2.7/site-packages/libvirt.py", line 3611, in createXML<br>
if ret is None:raise libvirtError('virDomainCreateXML() failed', conn=self)<br>
libvirtError: Failed to connect socket to '/var/run/libvirt/virtlogd-sock': No such file or directory<br>
#########################<br>
======== Cleaning up<br>
----------- Cleaning with lago<br>
----------- Cleaning with lago done<br>
======== Cleanup done<br>
Took 197 seconds<br>
===================================<br>
##!<br>
##! ERROR ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^<br>
##!########################################################<br>
##########################################################<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.collect_logs.sh</a>'<br>
<br>
#<br>
# Required jjb vars:<br>
# version<br>
#<br>
VERSION=master<br>
SUITE_TYPE=<br>
<br>
WORKSPACE="$PWD"<br>
OVIRT_SUITE="$SUITE_TYPE_suite_$VERSION"<br>
TESTS_LOGS="$WORKSPACE/ovirt-system-tests/exported-artifacts"<br>
<br>
rm -rf "$WORKSPACE/exported-artifacts"<br>
mkdir -p "$WORKSPACE/exported-artifacts"<br>
<br>
if [[ -d "$TESTS_LOGS" ]]; then<br>
mv "$TESTS_LOGS/"* "$WORKSPACE/exported-artifacts/"<br>
fi<br>
<br>
[ovirt_master_system-tests] $ /bin/bash -xe /tmp/hudson703448189995999079.sh<br>
+ echo shell_scripts/<a href="http://system_tests.collect_logs.sh" rel="noreferrer" target="_blank">system_tests.collect_logs.sh</a><br>
shell_scripts/<a href="http://system_tests.collect_logs.sh" rel="noreferrer" target="_blank">system_tests.collect_logs.sh</a><br>
+ VERSION=master<br>
+ SUITE_TYPE=<br>
+ WORKSPACE=<<a href="http://jenkins.ovirt.org/job/ovirt_master_system-tests/ws/" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/ovirt_master_system-tests/ws/</a>><br>
+ OVIRT_SUITE=master<br>
+ TESTS_LOGS=<<a href="http://jenkins.ovirt.org/job/ovirt_master_system-tests/ws/ovirt-system-tests/exported-artifacts" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/ovirt_master_system-tests/ws/ovirt-system-tests/exported-artifacts</a>><br>
+ rm -rf <<a href="http://jenkins.ovirt.org/job/ovirt_master_system-tests/243/artifact/exported-artifacts" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/ovirt_master_system-tests/243/artifact/exported-artifacts</a>><br>
+ mkdir -p <<a href="http://jenkins.ovirt.org/job/ovirt_master_system-tests/243/artifact/exported-artifacts" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/ovirt_master_system-tests/243/artifact/exported-artifacts</a>><br>
+ [[ -d <<a href="http://jenkins.ovirt.org/job/ovirt_master_system-tests/ws/ovirt-system-tests/exported-artifacts" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/ovirt_master_system-tests/ws/ovirt-system-tests/exported-artifacts</a>> ]]<br>
+ mv <<a href="http://jenkins.ovirt.org/job/ovirt_master_system-tests/ws/ovirt-system-tests/exported-artifacts/lago_logs" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/ovirt_master_system-tests/ws/ovirt-system-tests/exported-artifacts/lago_logs</a>> <<a href="http://jenkins.ovirt.org/job/ovirt_master_system-tests/243/artifact/exported-artifacts/" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/ovirt_master_system-tests/243/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"<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>
_______________________________________________________________________<br>
#######################################################################<br>
# #<br>
# CLEANUP #<br>
# #<br>
#######################################################################<br>
EOC<br>
<br>
<br>
# Archive the logs, we want them anyway<br>
logs=(<br>
./*log<br>
./*/logs<br>
)<br>
if [[ "$logs" ]]; then<br>
tar cvzf exported-artifacts/logs.tgz "${logs[@]}"<br>
rm -rf "${logs[@]}"<br>
fi<br>
<br>
# stop any processes running inside the chroot<br>
failed=false<br>
mock_confs=("$WORKSPACE"/*/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##*/}"<br>
mock_root="${mock_root%.*}"<br>
my_mock="/usr/bin/mock"<br>
my_mock+=" --configdir=${mock_conf_file%/*}"<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>
[ovirt_master_system-tests] $ /bin/bash -xe /tmp/hudson505872539550784673.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_master_system-tests/ws/" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/ovirt_master_system-tests/ws/</a>><br>
+ cat<br>
_______________________________________________________________________<br>
#######################################################################<br>
# #<br>
# CLEANUP #<br>
# #<br>
#######################################################################<br>
+ logs=(./*log ./*/logs)<br>
+ [[ -n ./ovirt-system-tests/logs ]]<br>
+ tar cvzf exported-artifacts/logs.tgz ./ovirt-system-tests/logs<br>
./ovirt-system-tests/logs/<br>
./ovirt-system-tests/logs/mocker-fedora-23-x86_64.fc23.init/<br>
./ovirt-system-tests/logs/mocker-fedora-23-x86_64.fc23.init/stdout_stderr.log<br>
./ovirt-system-tests/logs/mocker-fedora-23-x86_64.fc23.init/state.log<br>
./ovirt-system-tests/logs/mocker-fedora-23-x86_64.fc23.init/build.log<br>
./ovirt-system-tests/logs/mocker-fedora-23-x86_64.fc23.init/root.log<br>
./ovirt-system-tests/logs/mocker-fedora-23-x86_64.fc23.install_packages/<br>
./ovirt-system-tests/logs/mocker-fedora-23-x86_64.fc23.install_packages/stdout_stderr.log<br>
./ovirt-system-tests/logs/mocker-fedora-23-x86_64.fc23.install_packages/state.log<br>
./ovirt-system-tests/logs/mocker-fedora-23-x86_64.fc23.install_packages/build.log<br>
./ovirt-system-tests/logs/mocker-fedora-23-x86_64.fc23.install_packages/root.log<br>
./ovirt-system-tests/logs/mocker-fedora-23-x86_64.fc23.clean_rpmdb/<br>
./ovirt-system-tests/logs/mocker-fedora-23-x86_64.fc23.clean_rpmdb/stdout_stderr.log<br>
./ovirt-system-tests/logs/<a href="http://mocker-fedora-23-x86_64.fc23.basic_suite_master.sh/
./ovirt-system-tests/logs/mocker-fedora-23-x86_64.fc23.basic_suite_master.sh/basic_suite_master.sh.log" rel="noreferrer" target="_blank">mocker-fedora-23-x86_64.fc23.basic_suite_master.sh/<br>
./ovirt-system-tests/logs/mocker-fedora-23-x86_64.fc23.basic_suite_master.sh/basic_suite_master.sh.log</a><br>
+ rm -rf ./ovirt-system-tests/logs<br>
+ failed=false<br>
+ mock_confs=("$WORKSPACE"/*/mocker*)<br>
+ for mock_conf_file in '"${mock_confs[@]}"'<br>
+ [[ -n <<a href="http://jenkins.ovirt.org/job/ovirt_master_system-tests/ws/ovirt-system-tests/mocker-fedora-23-x86_64.fc23.cfg" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/ovirt_master_system-tests/ws/ovirt-system-tests/mocker-fedora-23-x86_64.fc23.cfg</a>> ]]<br>
+ echo 'Cleaning up mock '<br>
Cleaning up mock<br>
+ mock_root=mocker-fedora-23-x86_64.fc23.cfg<br>
+ mock_root=mocker-fedora-23-x86_64.fc23<br>
+ my_mock=/usr/bin/mock<br>
+ my_mock+=' --configdir=<<a href="http://jenkins.ovirt.org/job/ovirt_master_system-tests/ws/ovirt-system-tests" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/ovirt_master_system-tests/ws/ovirt-system-tests</a>'><br>
+ my_mock+=' --root=mocker-fedora-23-x86_64.fc23'<br>
+ my_mock+=' --resultdir=<<a href="http://jenkins.ovirt.org/job/ovirt_master_system-tests/ws/" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/ovirt_master_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_master_system-tests/ws/ovirt-system-tests" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/ovirt_master_system-tests/ws/ovirt-system-tests</a>> --root=mocker-fedora-23-x86_64.fc23 --resultdir=<<a href="http://jenkins.ovirt.org/job/ovirt_master_system-tests/ws/" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/ovirt_master_system-tests/ws/</a>> --orphanskill<br>
WARNING: Could not find required logging config file: <<a href="http://jenkins.ovirt.org/job/ovirt_master_system-tests/ws/ovirt-system-tests/logging.ini" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/ovirt_master_system-tests/ws/ovirt-system-tests/logging.ini</a>.> Using default...<br>
INFO: mock.py version 1.2.18 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'\''\] = '\'')[^'\'']*' <<a href="http://jenkins.ovirt.org/job/ovirt_master_system-tests/ws/ovirt-system-tests/mocker-fedora-23-x86_64.fc23.cfg" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/ovirt_master_system-tests/ws/ovirt-system-tests/mocker-fedora-23-x86_64.fc23.cfg</a>><br>
+ mock_root=fedora-23-x86_64-4ddbe48c8f8b7d8c2c3635b52313f04a<br>
+ [[ -n fedora-23-x86_64-4ddbe48c8f8b7d8c2c3635b52313f04a ]]<br>
+ mounts=($(mount | awk '{print $3}' | grep "$mock_root"))<br>
++ mount<br>
++ awk '{print $3}'<br>
++ grep fedora-23-x86_64-4ddbe48c8f8b7d8c2c3635b52313f04a<br>
+ :<br>
+ [[ -n '' ]]<br>
+ false<br>
+ shopt -u nullglob<br>
+ sudo rm -Rf /var/cache/mock/fedora-23-x86_64-4ddbe48c8f8b7d8c2c3635b52313f04a<br>
+ sudo chown -R jenkins <<a href="http://jenkins.ovirt.org/job/ovirt_master_system-tests/ws/" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/ovirt_master_system-tests/ws/</a>><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>
_______________________________________________<br>
Infra mailing list<br>
<a href="mailto:Infra@ovirt.org">Infra@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/infra" rel="noreferrer" target="_blank">http://lists.ovirt.org/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>Eyal Edri<br>Associate Manager</div><div>RHEV 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>