[Libvirt-ci] Build failed in Jenkins: libosinfo-build » libvirt-fedora-rawhide #217
by ci@centos.org
See <https://ci.centos.org/job/libosinfo-build/systems=libvirt-fedora-rawhide/...>
Changes:
[fidencio] loader: Don't expand entities when parsing XML
[fidencio] install-script: Don't expand entities when parsing XML
------------------------------------------
[...truncated 14.45 KB...]
checking whether C compiler handles -Wunknown-pragmas... yes
checking whether C compiler handles -Wunused... yes
checking whether C compiler handles -Wunused-but-set-parameter... yes
checking whether C compiler handles -Wunused-but-set-variable... yes
checking whether C compiler handles -Wunused-function... yes
checking whether C compiler handles -Wunused-label... yes
checking whether C compiler handles -Wunused-local-typedefs... yes
checking whether C compiler handles -Wunused-parameter... yes
checking whether C compiler handles -Wunused-result... yes
checking whether C compiler handles -Wunused-value... yes
checking whether C compiler handles -Wunused-variable... yes
checking whether C compiler handles -Wvarargs... yes
checking whether C compiler handles -Wvariadic-macros... yes
checking whether C compiler handles -Wvector-operation-performance... yes
checking whether C compiler handles -Wvla... yes
checking whether C compiler handles -Wvolatile-register-var... yes
checking whether C compiler handles -Wwrite-strings... yes
checking whether C compiler handles -Wnormalized=nfc... yes
checking whether C compiler handles -Wno-cast-function-type... yes
checking whether C compiler handles -Wno-sign-compare... yes
checking whether C compiler handles -Wno-sign-conversion... yes
checking whether C compiler handles -Wno-conversion... yes
checking whether C compiler handles -Wno-unused-parameter... yes
checking whether C compiler handles -Wjump-misses-init... (cached) yes
checking whether C compiler handles -Wframe-larger-than=4096... yes
checking whether C compiler handles -Wno-overlength-strings... yes
checking whether C compiler handles -fstack-protector-all... yes
checking whether C compiler handles --param=ssp-buffer-size=4... yes
checking whether C compiler handles -fexceptions... yes
checking whether C compiler handles -fasynchronous-unwind-tables... yes
checking whether C compiler handles -fdiagnostics-show-option... yes
checking whether C compiler handles -funit-at-a-time... yes
checking whether C compiler handles -fipa-pure-const... yes
checking whether C compiler handles -Wno-suggest-attribute=pure... yes
checking whether C compiler handles -Wno-suggest-attribute=const... yes
checking whether C compiler handles -Werror... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking for shared library run path origin... done
checking 32-bit host C ABI... no
checking for the common suffixes of directories in the library search path... lib64,lib64
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for CFLocaleCopyPreferredLanguages... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking whether /usr/bin/gmake supports nested variables... (cached) yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBXML... yes
checking for LIBXSLT... yes
checking for LIBSOUP... yes
checking for GLIB... yes
checking for gtk-doc... yes
checking for gtkdoc-check... gtkdoc-check.test
checking for gtkdoc-check... /usr/bin/gtkdoc-check
checking for gtkdoc-rebase... /usr/bin/gtkdoc-rebase
checking for gtkdoc-mkpdf... /usr/bin/gtkdoc-mkpdf
checking whether to build gtk-doc documentation... no
checking for GTKDOC_DEPS... yes
checking for perl... /usr/bin/perl
checking for gobject-introspection... yes
checking for vapigen... /usr/bin/vapigen
checking location of usb.ids database... /usr/share/hwdata/usb.ids
checking location of pci.ids database... /usr/share/hwdata/pci.ids
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libosinfo.spec
config.status: creating mingw-libosinfo.spec
config.status: creating osinfo/Makefile
config.status: creating osinfo/libosinfo-1.0.pc
config.status: creating osinfo/osinfo_version.h
config.status: creating tools/Makefile
config.status: creating tests/Makefile
config.status: creating docs/Makefile
config.status: creating docs/reference/Makefile
config.status: creating po/Makefile.in
config.status: creating config.h
config.status: linking ../GNUmakefile to GNUmakefile
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
Now type 'make' to compile
+ /usr/bin/gmake
/usr/bin/gmake all-recursive
gmake[1]: Entering directory '<https://ci.centos.org/job/libosinfo-build/systems=libvirt-fedora-rawhide/...'>
Making all in osinfo
gmake[2]: Entering directory '<https://ci.centos.org/job/libosinfo-build/systems=libvirt-fedora-rawhide/...'>
GEN osinfo_enum_types.h
GEN osinfo_enum_types.c
/usr/bin/gmake all-am
gmake[3]: Entering directory '<https://ci.centos.org/job/libosinfo-build/systems=libvirt-fedora-rawhide/...'>
CC libosinfo_impl_la-osinfo_avatar_format.lo
CC libosinfo_impl_la-osinfo_datamap.lo
CC libosinfo_impl_la-osinfo_datamaplist.lo
CC libosinfo_impl_la-osinfo_entity.lo
CC libosinfo_impl_la-osinfo_filter.lo
CC libosinfo_impl_la-osinfo_list.lo
CC libosinfo_impl_la-osinfo_device.lo
CC libosinfo_impl_la-osinfo_devicelink.lo
CC libosinfo_impl_la-osinfo_devicelist.lo
CC libosinfo_impl_la-osinfo_devicelinklist.lo
CC libosinfo_impl_la-osinfo_devicelinkfilter.lo
CC libosinfo_impl_la-osinfo_device_driver.lo
CC libosinfo_impl_la-osinfo_device_driverlist.lo
CC libosinfo_impl_la-osinfo_install_config.lo
CC libosinfo_impl_la-osinfo_install_config_param.lo
CC libosinfo_impl_la-osinfo_install_config_paramlist.lo
CC libosinfo_impl_la-osinfo_install_script.lo
CC libosinfo_impl_la-osinfo_install_scriptlist.lo
CC libosinfo_impl_la-osinfo_product.lo
CC libosinfo_impl_la-osinfo_productfilter.lo
CC libosinfo_impl_la-osinfo_productlist.lo
CC libosinfo_impl_la-osinfo_platform.lo
CC libosinfo_impl_la-osinfo_platformlist.lo
CC libosinfo_impl_la-osinfo_oslist.lo
CC libosinfo_impl_la-osinfo_os.lo
CC libosinfo_impl_la-osinfo_os_variant.lo
CC libosinfo_impl_la-osinfo_os_variantlist.lo
CC libosinfo_impl_la-osinfo_deployment.lo
CC libosinfo_impl_la-osinfo_deploymentlist.lo
CC libosinfo_impl_la-osinfo_media.lo
CC libosinfo_impl_la-osinfo_medialist.lo
CC libosinfo_impl_la-osinfo_resources.lo
CC libosinfo_impl_la-osinfo_resourceslist.lo
CC libosinfo_impl_la-osinfo_tree.lo
CC libosinfo_impl_la-osinfo_treelist.lo
CC libosinfo_impl_la-osinfo_image.lo
CC libosinfo_impl_la-osinfo_imagelist.lo
CC libosinfo_impl_la-osinfo_db.lo
CC libosinfo_impl_la-osinfo_loader.lo
CC libosinfo_impl_la-osinfo_util_private.lo
CC libosinfo_impl_la-osinfo_enum_types.lo
CCLD libosinfo-impl.la
CCLD libosinfo-1.0.la
GISCAN Libosinfo-1.0.gir
GICOMP Libosinfo-1.0.gir
GEN libosinfo-1.0.vapi
Generation succeeded - 0 warning(s)
gmake[3]: Leaving directory '<https://ci.centos.org/job/libosinfo-build/systems=libvirt-fedora-rawhide/...'>
gmake[2]: Leaving directory '<https://ci.centos.org/job/libosinfo-build/systems=libvirt-fedora-rawhide/...'>
Making all in tools
gmake[2]: Entering directory '<https://ci.centos.org/job/libosinfo-build/systems=libvirt-fedora-rawhide/...'>
CC osinfo-detect.o
CC osinfo-query.o
CC osinfo-install-script.o
GEN osinfo-detect.1
GEN osinfo-query.1
GEN osinfo-install-script.1
CCLD osinfo-detect
CCLD osinfo-query
CCLD osinfo-install-script
gmake[2]: Leaving directory '<https://ci.centos.org/job/libosinfo-build/systems=libvirt-fedora-rawhide/...'>
Making all in docs
gmake[2]: Entering directory '<https://ci.centos.org/job/libosinfo-build/systems=libvirt-fedora-rawhide/...'>
Making all in reference
gmake[3]: Entering directory '<https://ci.centos.org/job/libosinfo-build/systems=libvirt-fedora-rawhide/...'>
gmake[3]: Nothing to be done for 'all'.
gmake[3]: Leaving directory '<https://ci.centos.org/job/libosinfo-build/systems=libvirt-fedora-rawhide/...'>
gmake[3]: Entering directory '<https://ci.centos.org/job/libosinfo-build/systems=libvirt-fedora-rawhide/...'>
gmake[3]: Nothing to be done for 'all-am'.
gmake[3]: Leaving directory '<https://ci.centos.org/job/libosinfo-build/systems=libvirt-fedora-rawhide/...'>
gmake[2]: Leaving directory '<https://ci.centos.org/job/libosinfo-build/systems=libvirt-fedora-rawhide/...'>
Making all in po
gmake[2]: Entering directory '<https://ci.centos.org/job/libosinfo-build/systems=libvirt-fedora-rawhide/...'>
/usr/bin/gmake libosinfo.pot-update
gmake[3]: Entering directory '<https://ci.centos.org/job/libosinfo-build/systems=libvirt-fedora-rawhide/...'>
sed -e '/^#/d' ../../po/remove-potcdate.sin > t-remove-potcdate.sed
mv t-remove-potcdate.sed remove-potcdate.sed
package_gnu="no"; \
test -n "$package_gnu" || { \
if { if (LC_ALL=C find --version) 2>/dev/null | grep GNU >/dev/null; then \
LC_ALL=C find -L ../.. -maxdepth 1 -type f \
-size -10000000c -exec grep 'GNU libosinfo' \
/dev/null '{}' ';' 2>/dev/null; \
else \
LC_ALL=C grep 'GNU libosinfo' ../../* 2>/dev/null; \
fi; \
} | grep -v 'libtool:' >/dev/null; then \
package_gnu=yes; \
else \
package_gnu=no; \
fi; \
}; \
if test "$package_gnu" = "yes"; then \
package_prefix='GNU '; \
else \
package_prefix=''; \
fi; \
if test -n 'https://gitlab.com/libosinfo/libosinfo/issues' || test 'libosinfo(a)redhat.com' = '@'PACKAGE_BUGREPORT'@'; then \
msgid_bugs_address='https://gitlab.com/libosinfo/libosinfo/issues'; \
else \
msgid_bugs_address='libosinfo(a)redhat.com'; \
fi; \
case `/usr/bin/xgettext --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
'' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].* | 0.16 | 0.16.[0-1]*) \
/usr/bin/xgettext --default-domain=libosinfo --directory=../.. \
--add-comments=TRANSLATORS: --from-code=UTF-8 --keyword=_ --keyword=N_ --keyword=C_:1c,2 --keyword=NC_:1c,2 --keyword=g_dngettext:2,3 --add-comments \
--files-from=../../po/POTFILES.in \
--copyright-holder='The libosinfo Authors.' \
--msgid-bugs-address="$msgid_bugs_address" \
;; \
*) \
/usr/bin/xgettext --default-domain=libosinfo --directory=../.. \
--add-comments=TRANSLATORS: --from-code=UTF-8 --keyword=_ --keyword=N_ --keyword=C_:1c,2 --keyword=NC_:1c,2 --keyword=g_dngettext:2,3 --add-comments \
--files-from=../../po/POTFILES.in \
--copyright-holder='The libosinfo Authors.' \
--package-name="${package_prefix}libosinfo" \
--package-version='1.7.0' \
--msgid-bugs-address="$msgid_bugs_address" \
;; \
esac
test ! -f libosinfo.po || { \
if test -f ../../po/libosinfo.pot-header; then \
sed -e '1,/^#$/d' < libosinfo.po > libosinfo.1po && \
cat ../../po/libosinfo.pot-header libosinfo.1po > libosinfo.po; \
rm -f libosinfo.1po; \
fi; \
if test -f ../../po/libosinfo.pot; then \
sed -f remove-potcdate.sed < ../../po/libosinfo.pot > libosinfo.1po && \
sed -f remove-potcdate.sed < libosinfo.po > libosinfo.2po && \
if cmp libosinfo.1po libosinfo.2po >/dev/null 2>&1; then \
rm -f libosinfo.1po libosinfo.2po libosinfo.po; \
else \
rm -f libosinfo.1po libosinfo.2po ../../po/libosinfo.pot && \
mv libosinfo.po ../../po/libosinfo.pot; \
fi; \
else \
mv libosinfo.po ../../po/libosinfo.pot; \
fi; \
}
gmake[3]: Leaving directory '<https://ci.centos.org/job/libosinfo-build/systems=libvirt-fedora-rawhide/...'>
*** error: gettext infrastructure mismatch: using a Makefile.in.in from gettext version 0.19 but the autoconf macros are from gettext version 0.20
gmake[2]: *** [Makefile:237: stamp-po] Error 1
gmake[2]: Leaving directory '<https://ci.centos.org/job/libosinfo-build/systems=libvirt-fedora-rawhide/...'>
gmake[1]: *** [Makefile:587: all-recursive] Error 1
gmake[1]: Leaving directory '<https://ci.centos.org/job/libosinfo-build/systems=libvirt-fedora-rawhide/...'>
gmake: *** [Makefile:473: all] Error 2
Build step 'Execute shell' marked build as failure
5 years, 3 months
[Libvirt-ci] Build failed in Jenkins: virt-manager-check » libvirt-fedora-rawhide #1041
by ci@centos.org
See <https://ci.centos.org/job/virt-manager-check/systems=libvirt-fedora-rawhi...>
------------------------------------------
Started by upstream project "virt-manager-check" build number 1041
originally caused by:
Started by upstream project "virt-manager-build" build number 1045
originally caused by:
Started by upstream project "libvirt-python-build" build number 658
originally caused by:
Started by upstream project "libvirt-build" build number 773
originally caused by:
Started by an SCM change
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on libvirt-fedora-rawhide (libvirt) in workspace <https://ci.centos.org/job/virt-manager-check/systems=libvirt-fedora-rawhi...>
[virt-manager] $ /bin/sh -xe /tmp/jenkins16604848103697646405.sh
+ /usr/bin/python3 ./setup.py test
running test
Traceback (most recent call last):
File "/home/jenkins/build/libvirt/lib64/python3.7/site-packages/libvirt.py", line 24, in <module>
import cygvirtmod as libvirtmod
ModuleNotFoundError: No module named 'cygvirtmod'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "./setup.py", line 661, in <module>
distutils.core.setup(
File "/usr/lib64/python3.8/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib64/python3.8/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/lib64/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "./setup.py", line 528, in run
TestBaseCommand.run(self)
File "./setup.py", line 448, in run
import tests as testsmodule
File "<https://ci.centos.org/job/virt-manager-check/systems=libvirt-fedora-rawhi...",> line 16, in <module>
from virtinst import buildconfig
File "<https://ci.centos.org/job/virt-manager-check/systems=libvirt-fedora-rawhi...",> line 42, in <module>
_set_libvirt_error_handler()
File "<https://ci.centos.org/job/virt-manager-check/systems=libvirt-fedora-rawhi...",> line 32, in _set_libvirt_error_handler
import libvirt
File "/home/jenkins/build/libvirt/lib64/python3.7/site-packages/libvirt.py", line 28, in <module>
raise lib_e
File "/home/jenkins/build/libvirt/lib64/python3.7/site-packages/libvirt.py", line 20, in <module>
import libvirtmod
ModuleNotFoundError: No module named 'libvirtmod'
Build step 'Execute shell' marked build as failure
5 years, 3 months
[Libvirt-ci] Build failed in Jenkins: libvirt-dbus-check » libvirt-fedora-29 #602
by ci@centos.org
See <https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-29/60...>
------------------------------------------
[...truncated 3.78 KB...]
Making check in data
gmake[1]: Entering directory '<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-29/ws...'>
gmake[1]: Nothing to be done for 'check'.
gmake[1]: Leaving directory '<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-29/ws...'>
Making check in docs
gmake[1]: Entering directory '<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-29/ws...'>
gmake[1]: Nothing to be done for 'check'.
gmake[1]: Leaving directory '<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-29/ws...'>
Making check in src
gmake[1]: Entering directory '<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-29/ws...'>
gmake[1]: Nothing to be done for 'check'.
gmake[1]: Leaving directory '<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-29/ws...'>
Making check in tests
gmake[1]: Entering directory '<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-29/ws...'>
/usr/bin/gmake test_util
gmake[2]: Entering directory '<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-29/ws...'>
CC test_util-test_util.o
CCLD test_util
gmake[2]: Leaving directory '<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-29/ws...'>
/usr/bin/gmake check-TESTS
gmake[2]: Entering directory '<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-29/ws...'>
gmake[3]: Entering directory '<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-29/ws...'>
PASS: test_util
PASS: test_interface.py
FAIL: test_connect.py
PASS: test_domain.py
PASS: test_nodedev.py
PASS: test_network.py
PASS: test_storage.py
============================================================================
Testsuite summary for libvirt-dbus 1.4.0
============================================================================
# TOTAL: 7
# PASS: 6
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
============================================================================
See tests/test-suite.log
Please report to libvir-list(a)redhat.com
============================================================================
gmake[3]: *** [Makefile:766: test-suite.log] Error 1
gmake[3]: Leaving directory '<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-29/ws...'>
gmake[2]: *** [Makefile:874: check-TESTS] Error 2
gmake[2]: Leaving directory '<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-29/ws...'>
gmake[1]: *** [Makefile:990: check-am] Error 2
gmake[1]: Leaving directory '<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-29/ws...'>
gmake: *** [Makefile:460: check-recursive] Error 1
+ cat tests/test-suite.log
==============================================
libvirt-dbus 1.4.0: tests/test-suite.log
==============================================
# TOTAL: 7
# PASS: 6
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
FAIL: test_connect.py
=====================
============================= test session starts ==============================
platform linux -- Python 3.7.4, pytest-3.6.4, py-1.5.4, pluggy-0.6.0
rootdir: <https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-29/ws/,> inifile:
collected 35 items
../../tests/test_connect.py .E.............E..................E [100%]
==================================== ERRORS ====================================
_________ ERROR at setup of TestConnect.test_connect_domain_define_xml _________
self = <test_connect.TestConnect object at 0x7f79a1e52490>
request = <SubRequest 'libvirt_dbus_setup' for <Function 'test_connect_domain_define_xml'>>
@pytest.fixture(autouse=True)
def libvirt_dbus_setup(self, request):
"""Start libvirt-dbus for each test function
"""
os.environ['LIBVIRT_DEBUG'] = '3'
self.libvirt_dbus = subprocess.Popen([exe, '--session'])
self.bus = dbus.SessionBus()
for i in range(10):
if self.bus.name_has_owner('org.libvirt'):
break
time.sleep(0.1)
else:
> raise TimeoutError('error starting libvirt-dbus')
E TimeoutError: error starting libvirt-dbus
../../tests/libvirttest.py:44: TimeoutError
ERROR at setup of TestConnect.test_connect_interface_lookup_by_property[InterfaceLookupByMAC-MAC]
self = <test_connect.TestConnect object at 0x7f79a0f6d710>
@pytest.fixture
def interface_create(self):
""" Fixture to define dummy interface on the test driver
This fixture should be used in the setup of every test manipulating
with interfaces.
"""
path = self.connect.InterfaceDefineXML(xmldata.minimal_interface_xml, 0)
obj = self.bus.get_object('org.libvirt', path)
interface_obj = dbus.Interface(obj, 'org.libvirt.Interface')
> interface_obj.Create(0)
../../tests/libvirttest.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib64/python3.7/site-packages/dbus/proxies.py:70: in __call__
return self._proxy_method(*args, **keywords)
/usr/lib64/python3.7/site-packages/dbus/proxies.py:145: in __call__
**keywords)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dbus._dbus.SessionBus (session) at 0x7f79a0fc6290>
bus_name = dbus.String(':1.2')
object_path = dbus.ObjectPath('/org/libvirt/Test/interface/11_3a22_3a33_3a44_3a55_3a66')
dbus_interface = 'org.libvirt.Interface', method = 'Create', signature = 'u'
args = (0,), timeout = -1.0, byte_arrays = False, kwargs = {}
get_args_opts = {'byte_arrays': False}
message = <dbus.lowlevel.MethodCallMessage path: /org/libvirt/Test/interface/11_3a22_3a33_3a44_3a55_3a66, iface: org.libvirt.Interface, member: Create dest: :1.2>
def call_blocking(self, bus_name, object_path, dbus_interface, method,
signature, args, timeout=-1.0,
byte_arrays=False, **kwargs):
"""Call the given method, synchronously.
:Since: 0.81.0
"""
if object_path == LOCAL_PATH:
raise DBusException('Methods may not be called on the reserved '
'path %s' % LOCAL_PATH)
if dbus_interface == LOCAL_IFACE:
raise DBusException('Methods may not be called on the reserved '
'interface %s' % LOCAL_IFACE)
# no need to validate other args - MethodCallMessage ctor will do
get_args_opts = dict(byte_arrays=byte_arrays)
if is_py2:
get_args_opts['utf8_strings'] = kwargs.get('utf8_strings', False)
elif 'utf8_strings' in kwargs:
raise TypeError("unexpected keyword argument 'utf8_strings'")
message = MethodCallMessage(destination=bus_name,
path=object_path,
interface=dbus_interface,
method=method)
# Add the arguments to the function
try:
message.append(signature=signature, *args)
except Exception as e:
logging.basicConfig()
_logger.error('Unable to set arguments %r according to '
'signature %r: %s: %s',
args, signature, e.__class__, e)
raise
# make a blocking call
reply_message = self.send_message_with_reply_and_block(
> message, timeout)
E dbus.exceptions.DBusException: org.libvirt.Error: Requested operation is not valid
/usr/lib64/python3.7/site-packages/dbus/connection.py:651: DBusException
ERROR at setup of TestConnect.test_connect_storage_vol_lookup_by_property[StorageVolLookupByPath-Path]
self = <test_connect.TestConnect object at 0x7f79a0f92a90>
@pytest.fixture
def storage_volume_create(self):
""" Fixture to create dummy storage volume on the test driver
This fixture should be used in the setup of every test manipulating
with test volume.
"""
_, test_storage_pool = self.get_test_storage_pool()
interface_obj = dbus.Interface(test_storage_pool,
'org.libvirt.StoragePool')
> path = interface_obj.StorageVolCreateXML(xmldata.minimal_storage_vol_xml, 0)
../../tests/libvirttest.py:125:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib64/python3.7/site-packages/dbus/proxies.py:70: in __call__
return self._proxy_method(*args, **keywords)
/usr/lib64/python3.7/site-packages/dbus/proxies.py:145: in __call__
**keywords)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dbus._dbus.SessionBus (session) at 0x7f79a0fc6290>
bus_name = dbus.String(':1.2')
object_path = dbus.ObjectPath('/org/libvirt/Test/storagepool/_dfe224cb_28fb_8dd0_c4b2_64eb3f0f4566')
dbus_interface = 'org.libvirt.StoragePool', method = 'StorageVolCreateXML'
signature = 'su'
args = ('\n<volume>\n <name>sparse.img</name>\n <capacity unit="G">2</capacity>\n <target>\n <path>/var/lib/virt/images/sparse.img</path>\n </target>\n</volume>\n', 0)
timeout = -1.0, byte_arrays = False, kwargs = {}
get_args_opts = {'byte_arrays': False}
message = <dbus.lowlevel.MethodCallMessage path: /org/libvirt/Test/storagepool/_dfe224cb_28fb_8dd0_c4b2_64eb3f0f4566, iface: org.libvirt.StoragePool, member: StorageVolCreateXML dest: :1.2>
def call_blocking(self, bus_name, object_path, dbus_interface, method,
signature, args, timeout=-1.0,
byte_arrays=False, **kwargs):
"""Call the given method, synchronously.
:Since: 0.81.0
"""
if object_path == LOCAL_PATH:
raise DBusException('Methods may not be called on the reserved '
'path %s' % LOCAL_PATH)
if dbus_interface == LOCAL_IFACE:
raise DBusException('Methods may not be called on the reserved '
'interface %s' % LOCAL_IFACE)
# no need to validate other args - MethodCallMessage ctor will do
get_args_opts = dict(byte_arrays=byte_arrays)
if is_py2:
get_args_opts['utf8_strings'] = kwargs.get('utf8_strings', False)
elif 'utf8_strings' in kwargs:
raise TypeError("unexpected keyword argument 'utf8_strings'")
message = MethodCallMessage(destination=bus_name,
path=object_path,
interface=dbus_interface,
method=method)
# Add the arguments to the function
try:
message.append(signature=signature, *args)
except Exception as e:
logging.basicConfig()
_logger.error('Unable to set arguments %r according to '
'signature %r: %s: %s',
args, signature, e.__class__, e)
raise
# make a blocking call
reply_message = self.send_message_with_reply_and_block(
> message, timeout)
E dbus.exceptions.DBusException: org.libvirt.Error: operation failed: storage vol already exists
/usr/lib64/python3.7/site-packages/dbus/connection.py:651: DBusException
====================== 32 passed, 3 error in 9.76 seconds ======================
FAIL test_connect.py (exit status: 1)
+ exit 1
Build step 'Execute shell' marked build as failure
5 years, 3 months
[Libvirt-ci] Build failed in Jenkins: libvirt-dbus-check » libvirt-fedora-rawhide #597
by ci@centos.org
See <https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-rawhi...>
------------------------------------------
Started by upstream project "libvirt-dbus-check" build number 597
originally caused by:
Started by upstream project "libvirt-dbus-syntax-check" build number 640
originally caused by:
Started by upstream project "libvirt-dbus-build" build number 648
originally caused by:
Started by upstream project "libvirt-glib-build" build number 655
originally caused by:
Started by upstream project "libvirt-build" build number 791
originally caused by:
Started by an SCM change
Started by an SCM change
Started by an SCM change
Started by an SCM change
Started by an SCM change
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on libvirt-fedora-rawhide (libvirt) in workspace <https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-rawhi...>
[libvirt-dbus] $ /bin/sh -xe /tmp/jenkins16222517664263512610.sh
+ cd build
+ /usr/bin/gmake check
Making check in data
gmake[1]: Entering directory '<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-rawhi...'>
gmake[1]: Nothing to be done for 'check'.
gmake[1]: Leaving directory '<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-rawhi...'>
Making check in docs
gmake[1]: Entering directory '<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-rawhi...'>
gmake[1]: Nothing to be done for 'check'.
gmake[1]: Leaving directory '<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-rawhi...'>
Making check in src
gmake[1]: Entering directory '<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-rawhi...'>
gmake[1]: Nothing to be done for 'check'.
gmake[1]: Leaving directory '<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-rawhi...'>
Making check in tests
gmake[1]: Entering directory '<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-rawhi...'>
/usr/bin/gmake test_util
gmake[2]: Entering directory '<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-rawhi...'>
CC test_util-test_util.o
CCLD test_util
gmake[2]: Leaving directory '<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-rawhi...'>
/usr/bin/gmake check-TESTS
gmake[2]: Entering directory '<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-rawhi...'>
gmake[3]: Entering directory '<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-rawhi...'>
PASS: test_util
PASS: test_interface.py
PASS: test_domain.py
PASS: test_network.py
FAIL: test_connect.py
PASS: test_nodedev.py
PASS: test_storage.py
============================================================================
Testsuite summary for libvirt-dbus 1.4.0
============================================================================
# TOTAL: 7
# PASS: 6
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
============================================================================
See tests/test-suite.log
Please report to libvir-list(a)redhat.com
============================================================================
gmake[3]: *** [Makefile:766: test-suite.log] Error 1
gmake[3]: Leaving directory '<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-rawhi...'>
gmake[2]: *** [Makefile:874: check-TESTS] Error 2
gmake[2]: Leaving directory '<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-rawhi...'>
gmake[1]: *** [Makefile:990: check-am] Error 2
gmake[1]: Leaving directory '<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-rawhi...'>
gmake: *** [Makefile:460: check-recursive] Error 1
+ cat tests/test-suite.log
==============================================
libvirt-dbus 1.4.0: tests/test-suite.log
==============================================
# TOTAL: 7
# PASS: 6
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
FAIL: test_connect.py
=====================
============================= test session starts ==============================
platform linux -- Python 3.8.0b3, pytest-4.6.5, py-1.8.0, pluggy-0.12.0
rootdir: <https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-rawhi...>
collected 35 items
../../tests/test_connect.py ..............E...................E [100%]
==================================== ERRORS ====================================
_ ERROR at setup of TestConnect.test_connect_interface_lookup_by_property[InterfaceLookupByName-Name] _
self = <test_connect.TestConnect object at 0x7f8c351c38e0>
request = <SubRequest 'libvirt_dbus_setup' for <Function test_connect_interface_lookup_by_property[InterfaceLookupByName-Name]>>
@pytest.fixture(autouse=True)
def libvirt_dbus_setup(self, request):
"""Start libvirt-dbus for each test function
"""
os.environ['LIBVIRT_DEBUG'] = '3'
self.libvirt_dbus = subprocess.Popen([exe, '--session'])
self.bus = dbus.SessionBus()
for i in range(10):
if self.bus.name_has_owner('org.libvirt'):
break
time.sleep(0.1)
else:
> raise TimeoutError('error starting libvirt-dbus')
E TimeoutError: error starting libvirt-dbus
../../tests/libvirttest.py:44: TimeoutError
_ ERROR at setup of TestConnect.test_connect_storage_vol_lookup_by_property[StorageVolLookupByPath-Path] _
self = <test_connect.TestConnect object at 0x7f8c350eba00>
@pytest.fixture
def storage_volume_create(self):
""" Fixture to create dummy storage volume on the test driver
This fixture should be used in the setup of every test manipulating
with test volume.
"""
_, test_storage_pool = self.get_test_storage_pool()
interface_obj = dbus.Interface(test_storage_pool,
'org.libvirt.StoragePool')
> path = interface_obj.StorageVolCreateXML(xmldata.minimal_storage_vol_xml, 0)
../../tests/libvirttest.py:125:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib64/python3.8/site-packages/dbus/proxies.py:70: in __call__
return self._proxy_method(*args, **keywords)
/usr/lib64/python3.8/site-packages/dbus/proxies.py:139: in __call__
return self._connection.call_blocking(self._named_service,
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dbus._dbus.SessionBus (session) at 0x7f8c35364720>
bus_name = dbus.String(':1.15')
object_path = dbus.ObjectPath('/org/libvirt/Test/storagepool/_35bb2ad9_388a_cdfe_461a_b8907f6e53fe')
dbus_interface = 'org.libvirt.StoragePool', method = 'StorageVolCreateXML'
signature = 'su'
args = ('\n<volume>\n <name>sparse.img</name>\n <capacity unit="G">2</capacity>\n <target>\n <path>/var/lib/virt/images/sparse.img</path>\n </target>\n</volume>\n', 0)
timeout = -1.0, byte_arrays = False, kwargs = {}
get_args_opts = {'byte_arrays': False}
message = <dbus.lowlevel.MethodCallMessage path: /org/libvirt/Test/storagepool/_35bb2ad9_388a_cdfe_461a_b8907f6e53fe, iface: org.libvirt.StoragePool, member: StorageVolCreateXML dest: :1.15>
def call_blocking(self, bus_name, object_path, dbus_interface, method,
signature, args, timeout=-1.0,
byte_arrays=False, **kwargs):
"""Call the given method, synchronously.
:Since: 0.81.0
"""
if object_path == LOCAL_PATH:
raise DBusException('Methods may not be called on the reserved '
'path %s' % LOCAL_PATH)
if dbus_interface == LOCAL_IFACE:
raise DBusException('Methods may not be called on the reserved '
'interface %s' % LOCAL_IFACE)
# no need to validate other args - MethodCallMessage ctor will do
get_args_opts = dict(byte_arrays=byte_arrays)
if is_py2:
get_args_opts['utf8_strings'] = kwargs.get('utf8_strings', False)
elif 'utf8_strings' in kwargs:
raise TypeError("unexpected keyword argument 'utf8_strings'")
message = MethodCallMessage(destination=bus_name,
path=object_path,
interface=dbus_interface,
method=method)
# Add the arguments to the function
try:
message.append(signature=signature, *args)
except Exception as e:
logging.basicConfig()
_logger.error('Unable to set arguments %r according to '
'signature %r: %s: %s',
args, signature, e.__class__, e)
raise
# make a blocking call
> reply_message = self.send_message_with_reply_and_block(
message, timeout)
E dbus.exceptions.DBusException: org.libvirt.Error: operation failed: storage vol already exists
/usr/lib64/python3.8/site-packages/dbus/connection.py:650: DBusException
===================== 33 passed, 2 error in 17.71 seconds ======================
FAIL test_connect.py (exit status: 1)
+ exit 1
Build step 'Execute shell' marked build as failure
5 years, 4 months
[Libvirt-ci] Build failed in Jenkins: libvirt-perl-check » libvirt-fedora-30 #654
by ci@centos.org
See <https://ci.centos.org/job/libvirt-perl-check/systems=libvirt-fedora-30/65...>
------------------------------------------
Started by upstream project "libvirt-perl-check" build number 654
originally caused by:
Started by upstream project "libvirt-perl-build" build number 655
originally caused by:
Started by upstream project "libvirt-build" build number 775
originally caused by:
Started by an SCM change
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on libvirt-fedora-30 (libvirt) in workspace <https://ci.centos.org/job/libvirt-perl-check/systems=libvirt-fedora-30/ws/>
[libvirt-perl] $ /bin/sh -xe /tmp/jenkins14176944322734542223.sh
+ export TEST_MAINTAINER=1
+ TEST_MAINTAINER=1
+ perl Build test
t/005-pod.t ............ ok
t/010-pod-coverage.t ... ok
t/015-changes.t ........ ok
t/020-constants.t ...... ok
# Failed test 'virDomainGetGuestInfo'
# at t/030-api-coverage.t line 161.
# Failed test 'VIR_DOMAIN_GUEST_INFO_FILESYSTEM'
# at t/030-api-coverage.t line 175.
# Failed test 'VIR_DOMAIN_GUEST_INFO_HOSTNAME'
# at t/030-api-coverage.t line 175.
# Failed test 'VIR_DOMAIN_GUEST_INFO_OS'
# at t/030-api-coverage.t line 175.
# Failed test 'VIR_DOMAIN_GUEST_INFO_TIMEZONE'
# at t/030-api-coverage.t line 175.
# Failed test 'VIR_DOMAIN_GUEST_INFO_USERS'
# at t/030-api-coverage.t line 175.
# Looks like you failed 6 tests of 1724.
t/030-api-coverage.t ...
Dubious, test returned 6 (wstat 1536, 0x600)
Failed 6/1724 subtests
t/100-connect.t ........ ok
t/200-domains.t ........ ok
t/300-networks.t ....... ok
t/400-storage-pools.t .. ok
t/500-storage-vols.t ... ok
t/600-interfaces.t ..... ok
t/800-events.t ......... ok
Test Summary Report
-------------------
t/030-api-coverage.t (Wstat: 1536 Tests: 1724 Failed: 6)
Failed tests: 167, 848-852
Non-zero exit status: 6
Files=12, Tests=1982, 89 wallclock secs ( 0.52 usr 0.06 sys + 9.48 cusr 0.69 csys = 10.75 CPU)
Result: FAIL
Failed 1/12 test programs. 6/1982 subtests failed.
Build step 'Execute shell' marked build as failure
5 years, 4 months
[Libvirt-ci] Build failed in Jenkins: libvirt-perl-check » libvirt-fedora-29 #654
by ci@centos.org
See <https://ci.centos.org/job/libvirt-perl-check/systems=libvirt-fedora-29/65...>
------------------------------------------
Started by upstream project "libvirt-perl-check" build number 654
originally caused by:
Started by upstream project "libvirt-perl-build" build number 655
originally caused by:
Started by upstream project "libvirt-build" build number 775
originally caused by:
Started by an SCM change
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on libvirt-fedora-29 (libvirt) in workspace <https://ci.centos.org/job/libvirt-perl-check/systems=libvirt-fedora-29/ws/>
[libvirt-perl] $ /bin/sh -xe /tmp/jenkins7485013701088824508.sh
+ export TEST_MAINTAINER=1
+ TEST_MAINTAINER=1
+ perl Build test
t/005-pod.t ............ ok
t/010-pod-coverage.t ... ok
t/015-changes.t ........ ok
t/020-constants.t ...... ok
# Failed test 'virDomainGetGuestInfo'
# at t/030-api-coverage.t line 161.
# Failed test 'VIR_DOMAIN_GUEST_INFO_FILESYSTEM'
# at t/030-api-coverage.t line 175.
# Failed test 'VIR_DOMAIN_GUEST_INFO_HOSTNAME'
# at t/030-api-coverage.t line 175.
# Failed test 'VIR_DOMAIN_GUEST_INFO_OS'
# at t/030-api-coverage.t line 175.
# Failed test 'VIR_DOMAIN_GUEST_INFO_TIMEZONE'
# at t/030-api-coverage.t line 175.
# Failed test 'VIR_DOMAIN_GUEST_INFO_USERS'
# at t/030-api-coverage.t line 175.
# Looks like you failed 6 tests of 1724.
t/030-api-coverage.t ...
Dubious, test returned 6 (wstat 1536, 0x600)
Failed 6/1724 subtests
t/100-connect.t ........ ok
t/200-domains.t ........ ok
t/300-networks.t ....... ok
t/400-storage-pools.t .. ok
t/500-storage-vols.t ... ok
t/600-interfaces.t ..... ok
t/800-events.t ......... ok
Test Summary Report
-------------------
t/030-api-coverage.t (Wstat: 1536 Tests: 1724 Failed: 6)
Failed tests: 167, 848-852
Non-zero exit status: 6
Files=12, Tests=1982, 19 wallclock secs ( 0.47 usr 0.06 sys + 8.42 cusr 0.62 csys = 9.57 CPU)
Result: FAIL
Failed 1/12 test programs. 6/1982 subtests failed.
Build step 'Execute shell' marked build as failure
5 years, 4 months
[Libvirt-ci] Build failed in Jenkins: libvirt-perl-check » libvirt-fedora-rawhide #654
by ci@centos.org
See <https://ci.centos.org/job/libvirt-perl-check/systems=libvirt-fedora-rawhi...>
------------------------------------------
Started by upstream project "libvirt-perl-check" build number 654
originally caused by:
Started by upstream project "libvirt-perl-build" build number 655
originally caused by:
Started by upstream project "libvirt-build" build number 775
originally caused by:
Started by an SCM change
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on libvirt-fedora-rawhide (libvirt) in workspace <https://ci.centos.org/job/libvirt-perl-check/systems=libvirt-fedora-rawhi...>
[libvirt-perl] $ /bin/sh -xe /tmp/jenkins17409306359990076477.sh
+ export TEST_MAINTAINER=1
+ TEST_MAINTAINER=1
+ perl Build test
t/005-pod.t ............ ok
t/010-pod-coverage.t ... ok
t/015-changes.t ........ ok
t/020-constants.t ...... ok
# Failed test 'virDomainGetGuestInfo'
# at t/030-api-coverage.t line 161.
# Failed test 'VIR_DOMAIN_GUEST_INFO_FILESYSTEM'
# at t/030-api-coverage.t line 175.
# Failed test 'VIR_DOMAIN_GUEST_INFO_HOSTNAME'
# at t/030-api-coverage.t line 175.
# Failed test 'VIR_DOMAIN_GUEST_INFO_OS'
# at t/030-api-coverage.t line 175.
# Failed test 'VIR_DOMAIN_GUEST_INFO_TIMEZONE'
# at t/030-api-coverage.t line 175.
# Failed test 'VIR_DOMAIN_GUEST_INFO_USERS'
# at t/030-api-coverage.t line 175.
# Looks like you failed 6 tests of 1724.
t/030-api-coverage.t ...
Dubious, test returned 6 (wstat 1536, 0x600)
Failed 6/1724 subtests
t/100-connect.t ........ ok
t/200-domains.t ........ ok
t/300-networks.t ....... ok
t/400-storage-pools.t .. ok
t/500-storage-vols.t ... ok
t/600-interfaces.t ..... ok
t/800-events.t ......... ok
Test Summary Report
-------------------
t/030-api-coverage.t (Wstat: 1536 Tests: 1724 Failed: 6)
Failed tests: 167, 848-852
Non-zero exit status: 6
Files=12, Tests=1982, 29 wallclock secs ( 0.44 usr 0.05 sys + 7.94 cusr 0.61 csys = 9.04 CPU)
Result: FAIL
Failed 1/12 test programs. 6/1982 subtests failed.
Build step 'Execute shell' marked build as failure
5 years, 4 months