[Libvirt-ci] Build failed in Jenkins: libvirt-dbus-master-check » libvirt-fedora-rawhide #382
by ci@centos.org
See <https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...>
------------------------------------------
[...truncated 38.12 KB...]
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: storage pool 'default-pool' is not active
/usr/lib64/python3.7/site-packages/dbus/connection.py:651: DBusException
--------------------------- Captured stderr teardown ---------------------------
Disconnected from D-Bus.
____________ TestStoragePool.test_storage_pool_list_storage_volumes ____________
self = <test_storage.TestStoragePool object at 0x7f625ec257f0>
def test_storage_pool_list_storage_volumes(self):
_, test_storage_pool = self.get_test_storage_pool()
interface_obj = dbus.Interface(test_storage_pool,
'org.libvirt.StoragePool')
> storage_vols = interface_obj.ListStorageVolumes(0)
../../tests/test_storage.py:88:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/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 0x7f625eda2258>
bus_name = dbus.String(':1.1')
object_path = dbus.ObjectPath('/org/libvirt/Test/storagepool/_dfe224cb_28fb_8dd0_c4b2_64eb3f0f4566')
dbus_interface = 'org.libvirt.StoragePool', method = 'ListStorageVolumes'
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/storagepool/_dfe224cb_28fb_8dd0_c4b2_64eb3f0f4566, iface: org.libvirt.StoragePool, member: ListStorageVolumes dest: :1.1>
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: storage pool is not active
/usr/lib64/python3.7/site-packages/dbus/connection.py:651: DBusException
--------------------------- Captured stderr teardown ---------------------------
Disconnected from D-Bus.
__________________ TestStoragePool.test_storage_pool_undefine __________________
self = <test_storage.TestStoragePool object at 0x7f625ed889b0>
def test_storage_pool_undefine(self):
def storage_pool_undefined(path, event, _detail):
if event != libvirttest.StoragePoolEvent.UNDEFINED:
return
assert isinstance(path, dbus.ObjectPath)
self.loop.quit()
self.connect.connect_to_signal('StoragePoolEvent',
storage_pool_undefined)
_, test_storage_pool = self.get_test_storage_pool()
interface_obj = dbus.Interface(test_storage_pool,
'org.libvirt.StoragePool')
> interface_obj.Destroy()
../../tests/test_storage.py:116:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/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 0x7f625eda2258>
bus_name = dbus.String(':1.1')
object_path = dbus.ObjectPath('/org/libvirt/Test/storagepool/_dfe224cb_28fb_8dd0_c4b2_64eb3f0f4566')
dbus_interface = 'org.libvirt.StoragePool', method = 'Destroy', signature = ''
args = (), 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: Destroy dest: :1.1>
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: storage pool 'default-pool' is not active
/usr/lib64/python3.7/site-packages/dbus/connection.py:651: DBusException
--------------------------- Captured stderr teardown ---------------------------
Disconnected from D-Bus.
__________________ TestStoragePool.test_storage_pool_refresh ___________________
self = <test_storage.TestStoragePool object at 0x7f625ed70828>
def test_storage_pool_refresh(self):
_, test_storage_pool = self.get_test_storage_pool()
interface_obj = dbus.Interface(test_storage_pool,
'org.libvirt.StoragePool')
interface_obj.connect_to_signal('Refresh',
lambda: self.loop.quit())
> interface_obj.Refresh(0)
../../tests/test_storage.py:127:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/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 0x7f625eda2258>
bus_name = dbus.String(':1.1')
object_path = dbus.ObjectPath('/org/libvirt/Test/storagepool/_dfe224cb_28fb_8dd0_c4b2_64eb3f0f4566')
dbus_interface = 'org.libvirt.StoragePool', method = 'Refresh', 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/storagepool/_dfe224cb_28fb_8dd0_c4b2_64eb3f0f4566, iface: org.libvirt.StoragePool, member: Refresh dest: :1.1>
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: storage pool 'default-pool' is not active
/usr/lib64/python3.7/site-packages/dbus/connection.py:651: DBusException
--------------------------- Captured stderr teardown ---------------------------
Disconnected from D-Bus.
================= 6 failed, 4 passed, 6 error in 13.48 seconds =================
FAIL test_storage.py (exit status: 1)
+ exit 1
Build step 'Execute shell' marked build as failure
6 years, 3 months
[Libvirt-ci] Build failed in Jenkins: osinfo-db-tools-master-build-mingw64 » libvirt-fedora-rawhide #5
by ci@centos.org
See <https://ci.centos.org/job/osinfo-db-tools-master-build-mingw64/systems=li...>
Changes:
[berrange] Refresh translations from zanata
------------------------------------------
[...truncated 6.08 KB...]
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by x86_64-w64-mingw32-gcc... /usr/x86_64-w64-mingw32/bin/ld
checking if the linker (/usr/x86_64-w64-mingw32/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-w64-mingw32-nm -B
checking the name lister (/usr/bin/x86_64-w64-mingw32-nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-w64-mingw32 format... func_convert_file_nix_to_w32
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/x86_64-w64-mingw32/bin/ld option to reload object files... -r
checking for x86_64-w64-mingw32-objdump... x86_64-w64-mingw32-objdump
checking how to recognize dependent libraries... file_magic ^x86 archive import|^x86 DLL
checking for x86_64-w64-mingw32-dlltool... x86_64-w64-mingw32-dlltool
checking how to associate runtime and link libraries... func_cygming_dll_for_implib
checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar
checking for archiver @FILE support... @
checking for x86_64-w64-mingw32-strip... (cached) x86_64-w64-mingw32-strip
checking for x86_64-w64-mingw32-ranlib... x86_64-w64-mingw32-ranlib
checking command to parse /usr/bin/x86_64-w64-mingw32-nm -B output from x86_64-w64-mingw32-gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for x86_64-w64-mingw32-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... x86_64-w64-mingw32-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for x86_64-w64-mingw32-as... x86_64-w64-mingw32-as
checking for x86_64-w64-mingw32-dlltool... (cached) x86_64-w64-mingw32-dlltool
checking for x86_64-w64-mingw32-objdump... (cached) x86_64-w64-mingw32-objdump
checking for objdir... .libs
checking if x86_64-w64-mingw32-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-w64-mingw32-gcc option to produce PIC... -DDLL_EXPORT -DPIC
checking if x86_64-w64-mingw32-gcc PIC flag -DDLL_EXPORT -DPIC works... yes
checking if x86_64-w64-mingw32-gcc static flag -static works... no
checking if x86_64-w64-mingw32-gcc supports -c -o file.o... yes
checking if x86_64-w64-mingw32-gcc supports -c -o file.o... (cached) yes
checking whether the x86_64-w64-mingw32-gcc linker (/usr/x86_64-w64-mingw32/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking whether C compiler handles -Werror -Wunknown-warning-option... no
checking whether -Wno-missing-field-initializers is supported... yes
checking whether -Wno-missing-field-initializers is needed... no
checking whether -Wuninitialized is supported... yes
checking whether C compiler handles -W... yes
checking whether C compiler handles -Waddress... yes
checking whether C compiler handles -Waggressive-loop-optimizations... yes
checking whether C compiler handles -Wall... yes
checking whether C compiler handles -Warray-bounds... yes
checking whether C compiler handles -Wattributes... yes
checking whether C compiler handles -Wbuiltin-macro-redefined... yes
checking whether C compiler handles -Wcast-align... yes
checking whether C compiler handles -Wchar-subscripts... yes
checking whether C compiler handles -Wclobbered... yes
checking whether C compiler handles -Wcomment... yes
checking whether C compiler handles -Wcomments... yes
checking whether C compiler handles -Wcoverage-mismatch... yes
checking whether C compiler handles -Wcpp... yes
checking whether C compiler handles -Wdate-time... yes
checking whether C compiler handles -Wdeprecated-declarations... yes
checking whether C compiler handles -Wdisabled-optimization... yes
checking whether C compiler handles -Wdiv-by-zero... yes
checking whether C compiler handles -Wdouble-promotion... yes
checking whether C compiler handles -Wempty-body... yes
checking whether C compiler handles -Wendif-labels... yes
checking whether C compiler handles -Wenum-compare... yes
checking whether C compiler handles -Wextra... yes
checking whether C compiler handles -Wformat-contains-nul... yes
checking whether C compiler handles -Wformat-extra-args... yes
checking whether C compiler handles -Wformat-nonliteral... yes
checking whether C compiler handles -Wformat-security... yes
checking whether C compiler handles -Wformat-y2k... yes
checking whether C compiler handles -Wformat-zero-length... yes
checking whether C compiler handles -Wfree-nonheap-object... yes
checking whether C compiler handles -Wignored-qualifiers... yes
checking whether C compiler handles -Wimplicit... yes
checking whether C compiler handles -Wimplicit-function-declaration... yes
checking whether C compiler handles -Wimplicit-int... yes
checking whether C compiler handles -Winit-self... yes
checking whether C compiler handles -Winline... yes
checking whether C compiler handles -Wint-to-pointer-cast... yes
checking whether C compiler handles -Winvalid-memory-model... yes
checking whether C compiler handles -Winvalid-pch... yes
checking whether C compiler handles -Wjump-misses-init... yes
checking whether C compiler handles -Wlogical-op... yes
checking whether C compiler handles -Wmain... yes
checking whether C compiler handles -Wmaybe-uninitialized... yes
checking whether C compiler handles -Wmissing-braces... yes
checking whether C compiler handles -Wmissing-declarations... yes
checking whether C compiler handles -Wmissing-field-initializers... yes
checking whether C compiler handles -Wmissing-include-dirs... yes
checking whether C compiler handles -Wmissing-parameter-type... yes
checking whether C compiler handles -Wmissing-prototypes... yes
checking whether C compiler handles -Wmultichar... yes
checking whether C compiler handles -Wnarrowing... yes
checking whether C compiler handles -Wnested-externs... yes
checking whether C compiler handles -Wnonnull... yes
checking whether C compiler handles -Wold-style-declaration... yes
checking whether C compiler handles -Wold-style-definition... yes
checking whether C compiler handles -Wopenmp-simd... yes
checking whether C compiler handles -Woverflow... yes
checking whether C compiler handles -Woverlength-strings... yes
checking whether C compiler handles -Woverride-init... yes
checking whether C compiler handles -Wpacked... yes
checking whether C compiler handles -Wpacked-bitfield-compat... yes
checking whether C compiler handles -Wparentheses... yes
checking whether C compiler handles -Wpointer-arith... yes
checking whether C compiler handles -Wpointer-sign... yes
checking whether C compiler handles -Wpointer-to-int-cast... yes
checking whether C compiler handles -Wpragmas... yes
checking whether C compiler handles -Wreturn-local-addr... yes
checking whether C compiler handles -Wreturn-type... yes
checking whether C compiler handles -Wsequence-point... yes
checking whether C compiler handles -Wshadow... yes
checking whether C compiler handles -Wsizeof-pointer-memaccess... yes
checking whether C compiler handles -Wstack-protector... yes
checking whether C compiler handles -Wstrict-aliasing... yes
checking whether C compiler handles -Wstrict-overflow... yes
checking whether C compiler handles -Wstrict-prototypes... yes
checking whether C compiler handles -Wsuggest-attribute=const... yes
checking whether C compiler handles -Wsuggest-attribute=format... yes
checking whether C compiler handles -Wsuggest-attribute=noreturn... yes
checking whether C compiler handles -Wsuggest-attribute=pure... yes
checking whether C compiler handles -Wswitch... yes
checking whether C compiler handles -Wsync-nand... yes
checking whether C compiler handles -Wtrampolines... yes
checking whether C compiler handles -Wtrigraphs... yes
checking whether C compiler handles -Wtype-limits... yes
checking whether C compiler handles -Wuninitialized... yes
checking whether C compiler handles -Wunknown-pragmas... yes
checking whether C compiler handles -Wunsafe-loop-optimizations... 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-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 -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 to enable maintainer-specific portions of Makefiles... yes
checking whether NLS is requested... yes
checking for intltool >= 0.40.0... 0.51.0 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.28.0
checking for XML::Parser... ok
checking whether /usr/bin/gmake supports nested variables... (cached) yes
checking for x86_64-w64-mingw32-pkg-config... /usr/bin/x86_64-w64-mingw32-pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBXML... yes
checking for LIBXSLT... yes
checking for LIBARCHIVE... yes
checking for GLIB... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating osinfo-db-tools.spec
config.status: creating mingw-osinfo-db-tools.spec
config.status: creating tools/Makefile
config.status: creating docs/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/stamp-it commands
Now type `make' to compile osinfo-db-tools
+ /usr/bin/gmake
/usr/bin/gmake all-recursive
gmake[1]: Entering directory '<https://ci.centos.org/job/osinfo-db-tools-master-build-mingw64/systems=li...'>
Making all in tools
gmake[2]: Entering directory '<https://ci.centos.org/job/osinfo-db-tools-master-build-mingw64/systems=li...'>
CC osinfo-db-validate.o
CC osinfo-db-util.o
CC osinfo-db-import.o
CC osinfo-db-export.o
CC osinfo-db-path.o
GEN osinfo-db-validate.1
GEN osinfo-db-import.1
GEN osinfo-db-export.1
GEN osinfo-db-path.1
CCLD osinfo-db-validate.exe
../../tools/osinfo-db-import.c: In function 'osinfo_db_import_create_reg':
../../tools/osinfo-db-import.c:67:24: error: format '%d' expects argument of type 'int', but argument 3 has type 'long long unsigned int' [-Werror=format=]
g_printerr("%s: cannot seek to %" PRId64 " in %s\n",
^~~~~~~~~~~~~~~~~~~~~~
argv0, (uint64_t)offset, g_file_get_path(file));
~~~~~~~~~~~~~~~~
In file included from /usr/x86_64-w64-mingw32/sys-root/mingw/include/archive.h:56,
from ../../tools/osinfo-db-import.c:29:
/usr/x86_64-w64-mingw32/sys-root/mingw/include/inttypes.h:42:20: note: format string is defined here
#define PRId64 "I64d"
cc1: all warnings being treated as errors
gmake[2]: *** [Makefile:544: osinfo-db-import.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
libtool: error: Could not determine the host path corresponding to
libtool: error: '/usr/x86_64-w64-mingw32/sys-root/mingw/lib:/usr/x86_64-w64-mingw32/sys-root/mingw/bin'
libtool: error: Continuing, but uninstalled executables may not work.
gmake[2]: Leaving directory '<https://ci.centos.org/job/osinfo-db-tools-master-build-mingw64/systems=li...'>
gmake[1]: *** [Makefile:480: all-recursive] Error 1
gmake[1]: Leaving directory '<https://ci.centos.org/job/osinfo-db-tools-master-build-mingw64/systems=li...'>
gmake: *** [Makefile:408: all] Error 2
Build step 'Execute shell' marked build as failure
6 years, 3 months
[Libvirt-ci] Build failed in Jenkins: osinfo-db-tools-master-build-mingw32 » libvirt-fedora-rawhide #5
by ci@centos.org
See <https://ci.centos.org/job/osinfo-db-tools-master-build-mingw32/systems=li...>
Changes:
[berrange] Refresh translations from zanata
------------------------------------------
[...truncated 6.04 KB...]
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by i686-w64-mingw32-gcc... /usr/i686-w64-mingw32/bin/ld
checking if the linker (/usr/i686-w64-mingw32/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/i686-w64-mingw32-nm -B
checking the name lister (/usr/bin/i686-w64-mingw32-nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to i686-w64-mingw32 format... func_convert_file_nix_to_w32
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/i686-w64-mingw32/bin/ld option to reload object files... -r
checking for i686-w64-mingw32-objdump... i686-w64-mingw32-objdump
checking how to recognize dependent libraries... file_magic ^x86 archive import|^x86 DLL
checking for i686-w64-mingw32-dlltool... i686-w64-mingw32-dlltool
checking how to associate runtime and link libraries... func_cygming_dll_for_implib
checking for i686-w64-mingw32-ar... i686-w64-mingw32-ar
checking for archiver @FILE support... @
checking for i686-w64-mingw32-strip... (cached) i686-w64-mingw32-strip
checking for i686-w64-mingw32-ranlib... i686-w64-mingw32-ranlib
checking command to parse /usr/bin/i686-w64-mingw32-nm -B output from i686-w64-mingw32-gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for i686-w64-mingw32-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... i686-w64-mingw32-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for i686-w64-mingw32-as... i686-w64-mingw32-as
checking for i686-w64-mingw32-dlltool... (cached) i686-w64-mingw32-dlltool
checking for i686-w64-mingw32-objdump... (cached) i686-w64-mingw32-objdump
checking for objdir... .libs
checking if i686-w64-mingw32-gcc supports -fno-rtti -fno-exceptions... no
checking for i686-w64-mingw32-gcc option to produce PIC... -DDLL_EXPORT -DPIC
checking if i686-w64-mingw32-gcc PIC flag -DDLL_EXPORT -DPIC works... yes
checking if i686-w64-mingw32-gcc static flag -static works... no
checking if i686-w64-mingw32-gcc supports -c -o file.o... yes
checking if i686-w64-mingw32-gcc supports -c -o file.o... (cached) yes
checking whether the i686-w64-mingw32-gcc linker (/usr/i686-w64-mingw32/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking whether C compiler handles -Werror -Wunknown-warning-option... no
checking whether -Wno-missing-field-initializers is supported... yes
checking whether -Wno-missing-field-initializers is needed... no
checking whether -Wuninitialized is supported... yes
checking whether C compiler handles -W... yes
checking whether C compiler handles -Waddress... yes
checking whether C compiler handles -Waggressive-loop-optimizations... yes
checking whether C compiler handles -Wall... yes
checking whether C compiler handles -Warray-bounds... yes
checking whether C compiler handles -Wattributes... yes
checking whether C compiler handles -Wbuiltin-macro-redefined... yes
checking whether C compiler handles -Wcast-align... yes
checking whether C compiler handles -Wchar-subscripts... yes
checking whether C compiler handles -Wclobbered... yes
checking whether C compiler handles -Wcomment... yes
checking whether C compiler handles -Wcomments... yes
checking whether C compiler handles -Wcoverage-mismatch... yes
checking whether C compiler handles -Wcpp... yes
checking whether C compiler handles -Wdate-time... yes
checking whether C compiler handles -Wdeprecated-declarations... yes
checking whether C compiler handles -Wdisabled-optimization... yes
checking whether C compiler handles -Wdiv-by-zero... yes
checking whether C compiler handles -Wdouble-promotion... yes
checking whether C compiler handles -Wempty-body... yes
checking whether C compiler handles -Wendif-labels... yes
checking whether C compiler handles -Wenum-compare... yes
checking whether C compiler handles -Wextra... yes
checking whether C compiler handles -Wformat-contains-nul... yes
checking whether C compiler handles -Wformat-extra-args... yes
checking whether C compiler handles -Wformat-nonliteral... yes
checking whether C compiler handles -Wformat-security... yes
checking whether C compiler handles -Wformat-y2k... yes
checking whether C compiler handles -Wformat-zero-length... yes
checking whether C compiler handles -Wfree-nonheap-object... yes
checking whether C compiler handles -Wignored-qualifiers... yes
checking whether C compiler handles -Wimplicit... yes
checking whether C compiler handles -Wimplicit-function-declaration... yes
checking whether C compiler handles -Wimplicit-int... yes
checking whether C compiler handles -Winit-self... yes
checking whether C compiler handles -Winline... yes
checking whether C compiler handles -Wint-to-pointer-cast... yes
checking whether C compiler handles -Winvalid-memory-model... yes
checking whether C compiler handles -Winvalid-pch... yes
checking whether C compiler handles -Wjump-misses-init... yes
checking whether C compiler handles -Wlogical-op... yes
checking whether C compiler handles -Wmain... yes
checking whether C compiler handles -Wmaybe-uninitialized... yes
checking whether C compiler handles -Wmissing-braces... yes
checking whether C compiler handles -Wmissing-declarations... yes
checking whether C compiler handles -Wmissing-field-initializers... yes
checking whether C compiler handles -Wmissing-include-dirs... yes
checking whether C compiler handles -Wmissing-parameter-type... yes
checking whether C compiler handles -Wmissing-prototypes... yes
checking whether C compiler handles -Wmultichar... yes
checking whether C compiler handles -Wnarrowing... yes
checking whether C compiler handles -Wnested-externs... yes
checking whether C compiler handles -Wnonnull... yes
checking whether C compiler handles -Wold-style-declaration... yes
checking whether C compiler handles -Wold-style-definition... yes
checking whether C compiler handles -Wopenmp-simd... yes
checking whether C compiler handles -Woverflow... yes
checking whether C compiler handles -Woverlength-strings... yes
checking whether C compiler handles -Woverride-init... yes
checking whether C compiler handles -Wpacked... yes
checking whether C compiler handles -Wpacked-bitfield-compat... yes
checking whether C compiler handles -Wparentheses... yes
checking whether C compiler handles -Wpointer-arith... yes
checking whether C compiler handles -Wpointer-sign... yes
checking whether C compiler handles -Wpointer-to-int-cast... yes
checking whether C compiler handles -Wpragmas... yes
checking whether C compiler handles -Wreturn-local-addr... yes
checking whether C compiler handles -Wreturn-type... yes
checking whether C compiler handles -Wsequence-point... yes
checking whether C compiler handles -Wshadow... yes
checking whether C compiler handles -Wsizeof-pointer-memaccess... yes
checking whether C compiler handles -Wstack-protector... yes
checking whether C compiler handles -Wstrict-aliasing... yes
checking whether C compiler handles -Wstrict-overflow... yes
checking whether C compiler handles -Wstrict-prototypes... yes
checking whether C compiler handles -Wsuggest-attribute=const... yes
checking whether C compiler handles -Wsuggest-attribute=format... yes
checking whether C compiler handles -Wsuggest-attribute=noreturn... yes
checking whether C compiler handles -Wsuggest-attribute=pure... yes
checking whether C compiler handles -Wswitch... yes
checking whether C compiler handles -Wsync-nand... yes
checking whether C compiler handles -Wtrampolines... yes
checking whether C compiler handles -Wtrigraphs... yes
checking whether C compiler handles -Wtype-limits... yes
checking whether C compiler handles -Wuninitialized... yes
checking whether C compiler handles -Wunknown-pragmas... yes
checking whether C compiler handles -Wunsafe-loop-optimizations... 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-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 -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 to enable maintainer-specific portions of Makefiles... yes
checking whether NLS is requested... yes
checking for intltool >= 0.40.0... 0.51.0 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.28.0
checking for XML::Parser... ok
checking whether /usr/bin/gmake supports nested variables... (cached) yes
checking for i686-w64-mingw32-pkg-config... /usr/bin/i686-w64-mingw32-pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBXML... yes
checking for LIBXSLT... yes
checking for LIBARCHIVE... yes
checking for GLIB... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating osinfo-db-tools.spec
config.status: creating mingw-osinfo-db-tools.spec
config.status: creating tools/Makefile
config.status: creating docs/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/stamp-it commands
Now type `make' to compile osinfo-db-tools
+ /usr/bin/gmake
/usr/bin/gmake all-recursive
gmake[1]: Entering directory '<https://ci.centos.org/job/osinfo-db-tools-master-build-mingw32/systems=li...'>
Making all in tools
gmake[2]: Entering directory '<https://ci.centos.org/job/osinfo-db-tools-master-build-mingw32/systems=li...'>
CC osinfo-db-validate.o
CC osinfo-db-util.o
CC osinfo-db-import.o
CC osinfo-db-export.o
CC osinfo-db-path.o
GEN osinfo-db-validate.1
GEN osinfo-db-import.1
GEN osinfo-db-export.1
GEN osinfo-db-path.1
CCLD osinfo-db-validate.exe
../../tools/osinfo-db-import.c: In function 'osinfo_db_import_create_reg':
../../tools/osinfo-db-import.c:67:24: error: format '%d' expects argument of type 'int', but argument 3 has type 'long long unsigned int' [-Werror=format=]
g_printerr("%s: cannot seek to %" PRId64 " in %s\n",
^~~~~~~~~~~~~~~~~~~~~~
argv0, (uint64_t)offset, g_file_get_path(file));
~~~~~~~~~~~~~~~~
In file included from /usr/i686-w64-mingw32/sys-root/mingw/include/archive.h:56,
from ../../tools/osinfo-db-import.c:29:
/usr/i686-w64-mingw32/sys-root/mingw/include/inttypes.h:42:20: note: format string is defined here
#define PRId64 "I64d"
cc1: all warnings being treated as errors
gmake[2]: *** [Makefile:544: osinfo-db-import.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
libtool: error: Could not determine the host path corresponding to
libtool: error: '/usr/i686-w64-mingw32/sys-root/mingw/lib:/usr/i686-w64-mingw32/sys-root/mingw/bin'
libtool: error: Continuing, but uninstalled executables may not work.
gmake[2]: Leaving directory '<https://ci.centos.org/job/osinfo-db-tools-master-build-mingw32/systems=li...'>
gmake[1]: *** [Makefile:480: all-recursive] Error 1
gmake[1]: Leaving directory '<https://ci.centos.org/job/osinfo-db-tools-master-build-mingw32/systems=li...'>
gmake: *** [Makefile:408: all] Error 2
Build step 'Execute shell' marked build as failure
6 years, 3 months
[Libvirt-ci] Build failed in Jenkins: libvirt-dbus-master-check » libvirt-fedora-28 #381
by ci@centos.org
See <https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...>
------------------------------------------
Started by upstream project "libvirt-dbus-master-check" build number 381
originally caused by:
Started by upstream project "libvirt-dbus-master-syntax-check" build number 44
originally caused by:
Started by upstream project "libvirt-dbus-master-build" build number 416
originally caused by:
Started by upstream project "libvirt-glib-master-build" build number 1388
originally caused by:
Started by upstream project "libvirt-master-build" build number 1732
originally caused by:
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on libvirt-fedora-28 (libvirt) in workspace <https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...>
[libvirt-dbus-master] $ /bin/sh -xe /tmp/jenkins6679597867103278452.sh
+ cd build
+ /usr/bin/gmake check
Making check in data
gmake[1]: Entering directory '<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...'>
gmake[1]: Nothing to be done for 'check'.
gmake[1]: Leaving directory '<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...'>
Making check in docs
gmake[1]: Entering directory '<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...'>
gmake[1]: Nothing to be done for 'check'.
gmake[1]: Leaving directory '<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...'>
Making check in src
gmake[1]: Entering directory '<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...'>
gmake[1]: Nothing to be done for 'check'.
gmake[1]: Leaving directory '<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...'>
Making check in tests
gmake[1]: Entering directory '<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...'>
/usr/bin/gmake test_util
gmake[2]: Entering directory '<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...'>
CC test_util-test_util.o
CCLD test_util
gmake[2]: Leaving directory '<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...'>
/usr/bin/gmake check-TESTS
gmake[2]: Entering directory '<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...'>
gmake[3]: Entering directory '<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...'>
PASS: test_util
PASS: test_interface.py
PASS: test_domain.py
PASS: test_network.py
PASS: test_nodedev.py
FAIL: test_connect.py
PASS: test_storage.py
============================================================================
Testsuite summary for libvirt-dbus 1.3.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:759: test-suite.log] Error 1
gmake[3]: Leaving directory '<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...'>
gmake[2]: *** [Makefile:867: check-TESTS] Error 2
gmake[2]: Leaving directory '<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...'>
gmake[1]: *** [Makefile:980: check-am] Error 2
gmake[1]: Leaving directory '<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...'>
gmake: *** [Makefile:460: check-recursive] Error 1
+ cat tests/test-suite.log
==============================================
libvirt-dbus 1.3.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.6.6, pytest-3.4.2, py-1.5.4, pluggy-0.6.0
rootdir: <https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...,> inifile:
collected 35 items
../../tests/test_connect.py ....................E.............E [100%]
==================================== ERRORS ====================================
________ ERROR at setup of TestConnect.test_connect_network_create_xml _________
self = <test_connect.TestConnect object at 0x7f844d8bf9b0>
request = <SubRequest 'libvirt_dbus_setup' for <Function 'test_connect_network_create_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_storage_vol_lookup_by_property[StorageVolLookupByPath-Path]
self = <test_connect.TestConnect object at 0x7f844d7bfdd8>
@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:122:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib64/python3.6/site-packages/dbus/proxies.py:70: in __call__
return self._proxy_method(*args, **keywords)
/usr/lib64/python3.6/site-packages/dbus/proxies.py:145: in __call__
**keywords)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dbus._dbus.SessionBus (session) at 0x7f844d89d2b0>
bus_name = dbus.String(':1.21')
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.21>
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.6/site-packages/dbus/connection.py:651: DBusException
===================== 33 passed, 2 error in 27.42 seconds ======================
FAIL test_connect.py (exit status: 1)
+ exit 1
Build step 'Execute shell' marked build as failure
6 years, 3 months
[Libvirt-ci] Build failed in Jenkins: libvirt-dbus-master-check » libvirt-freebsd-11 #381
by ci@centos.org
See <https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-freeb...>
------------------------------------------
[...truncated 11.78 KB...]
../../tests/test_domain.py:107:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/dbus/proxies.py:70: in __call__
return self._proxy_method(*args, **keywords)
/usr/local/lib/python3.6/site-packages/dbus/proxies.py:145: in __call__
**keywords)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dbus._dbus.SessionBus (session) at 0x808ddb7d8>
bus_name = dbus.String(':1.2')
object_path = dbus.ObjectPath('/org/libvirt/Test/domain/_6695eb01_f6a4_8304_79aa_97f2502e193f')
dbus_interface = 'org.libvirt.Domain', method = 'Shutdown', 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/domain/_6695eb01_f6a4_8304_79aa_97f2502e193f, iface: org.libvirt.Domain, member: Shutdown 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: internal error: domain 'test' not running
/usr/local/lib/python3.6/site-packages/dbus/connection.py:651: DBusException
--------------------------- Captured stderr teardown ---------------------------
Disconnected from D-Bus.
___________________________ TestDomain.test_suspend ____________________________
self = <test_domain.TestDomain object at 0x808d9b0f0>
def test_suspend(self):
def domain_suspended(path, event, detail):
if event != libvirttest.DomainEvent.SUSPENDED:
return
assert detail == libvirttest.DomainEventSuspendedDetailType.PAUSED
assert isinstance(path, dbus.ObjectPath)
self.loop.quit()
self.connect.connect_to_signal('DomainEvent', domain_suspended)
obj, domain = self.get_test_domain()
> domain.Suspend()
../../tests/test_domain.py:125:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/dbus/proxies.py:70: in __call__
return self._proxy_method(*args, **keywords)
/usr/local/lib/python3.6/site-packages/dbus/proxies.py:145: in __call__
**keywords)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dbus._dbus.SessionBus (session) at 0x808ddb7d8>
bus_name = dbus.String(':1.2')
object_path = dbus.ObjectPath('/org/libvirt/Test/domain/_6695eb01_f6a4_8304_79aa_97f2502e193f')
dbus_interface = 'org.libvirt.Domain', method = 'Suspend', signature = ''
args = (), timeout = -1.0, byte_arrays = False, kwargs = {}
get_args_opts = {'byte_arrays': False}
message = <dbus.lowlevel.MethodCallMessage path: /org/libvirt/Test/domain/_6695eb01_f6a4_8304_79aa_97f2502e193f, iface: org.libvirt.Domain, member: Suspend 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: internal error: domain 'test' not running
/usr/local/lib/python3.6/site-packages/dbus/connection.py:651: DBusException
--------------------------- Captured stderr teardown ---------------------------
Disconnected from D-Bus.
___________________________ TestDomain.test_undefine ___________________________
self = <test_domain.TestDomain object at 0x809414828>
def test_undefine(self):
def domain_undefined(path, event, detail):
if event != libvirttest.DomainEvent.UNDEFINED:
return
assert detail == libvirttest.DomainEventUndefinedDetailType.REMOVED
assert isinstance(path, dbus.ObjectPath)
self.loop.quit()
self.connect.connect_to_signal('DomainEvent', domain_undefined)
_, domain = self.get_test_domain()
> domain.Shutdown(0)
../../tests/test_domain.py:143:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/dbus/proxies.py:70: in __call__
return self._proxy_method(*args, **keywords)
/usr/local/lib/python3.6/site-packages/dbus/proxies.py:145: in __call__
**keywords)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dbus._dbus.SessionBus (session) at 0x808ddb7d8>
bus_name = dbus.String(':1.2')
object_path = dbus.ObjectPath('/org/libvirt/Test/domain/_6695eb01_f6a4_8304_79aa_97f2502e193f')
dbus_interface = 'org.libvirt.Domain', method = 'Shutdown', 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/domain/_6695eb01_f6a4_8304_79aa_97f2502e193f, iface: org.libvirt.Domain, member: Shutdown 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: internal error: domain 'test' not running
/usr/local/lib/python3.6/site-packages/dbus/connection.py:651: DBusException
--------------------------- Captured stderr teardown ---------------------------
Disconnected from D-Bus.
================= 4 failed, 5 passed, 1 error in 17.46 seconds =================
FAIL test_domain.py (exit status: 1)
FAIL: test_interface.py
=======================
============================= test session starts ==============================
platform freebsd11 -- Python 3.6.5, pytest-3.4.2, py-1.5.3, pluggy-0.6.0
rootdir: /usr<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-freeb...,> inifile:
collected 5 items
../../tests/test_interface.py ...E. [100%]
==================================== ERRORS ====================================
______ ERROR at setup of TestInterface.test_interface_get_xml_description ______
self = <test_interface.TestInterface object at 0x80940b1d0>
request = <SubRequest 'libvirt_dbus_setup' for <Function 'test_interface_get_xml_description'>>
@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
====================== 4 passed, 1 error in 9.92 seconds =======================
FAIL test_interface.py (exit status: 1)
+ exit 1
Build step 'Execute shell' marked build as failure
6 years, 3 months
[Libvirt-ci] Build failed in Jenkins: libvirt-dbus-master-check » libvirt-freebsd-10 #381
by ci@centos.org
See <https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-freeb...>
------------------------------------------
[...truncated 11.64 KB...]
../../tests/libvirttest.py:122:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/dbus/proxies.py:70: in __call__
return self._proxy_method(*args, **keywords)
/usr/local/lib/python3.6/site-packages/dbus/proxies.py:145: in __call__
**keywords)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dbus._dbus.SessionBus (session) at 0x8090b4728>
bus_name = dbus.String(':1.6')
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.6>
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/local/lib/python3.6/site-packages/dbus/connection.py:651: DBusException
===================== 32 passed, 3 error in 20.42 seconds ======================
FAIL test_connect.py (exit status: 1)
FAIL: test_domain.py
====================
============================= test session starts ==============================
platform freebsd10 -- Python 3.6.5, pytest-3.4.2, py-1.5.3, pluggy-0.6.0
rootdir: /usr<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-freeb...,> inifile:
collected 10 items
../../tests/test_domain.py ....E.FF.. [100%]
==================================== ERRORS ====================================
___________________ ERROR at setup of TestDomain.test_resume ___________________
self = <test_domain.TestDomain object at 0x8095754a8>
request = <SubRequest 'libvirt_dbus_setup' for <Function 'test_resume'>>
@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
=================================== FAILURES ===================================
___________________________ TestDomain.test_suspend ____________________________
self = <test_domain.TestDomain object at 0x8094f43c8>
def test_suspend(self):
def domain_suspended(path, event, detail):
if event != libvirttest.DomainEvent.SUSPENDED:
return
assert detail == libvirttest.DomainEventSuspendedDetailType.PAUSED
assert isinstance(path, dbus.ObjectPath)
self.loop.quit()
self.connect.connect_to_signal('DomainEvent', domain_suspended)
obj, domain = self.get_test_domain()
> domain.Suspend()
../../tests/test_domain.py:125:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/dbus/proxies.py:70: in __call__
return self._proxy_method(*args, **keywords)
/usr/local/lib/python3.6/site-packages/dbus/proxies.py:145: in __call__
**keywords)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dbus._dbus.SessionBus (session) at 0x8090b77d8>
bus_name = dbus.String(':1.5')
object_path = dbus.ObjectPath('/org/libvirt/Test/domain/_6695eb01_f6a4_8304_79aa_97f2502e193f')
dbus_interface = 'org.libvirt.Domain', method = 'Suspend', signature = ''
args = (), timeout = -1.0, byte_arrays = False, kwargs = {}
get_args_opts = {'byte_arrays': False}
message = <dbus.lowlevel.MethodCallMessage path: /org/libvirt/Test/domain/_6695eb01_f6a4_8304_79aa_97f2502e193f, iface: org.libvirt.Domain, member: Suspend dest: :1.5>
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: internal error: domain 'test' not running
/usr/local/lib/python3.6/site-packages/dbus/connection.py:651: DBusException
___________________________ TestDomain.test_undefine ___________________________
self = <test_domain.TestDomain object at 0x8094ee518>
def test_undefine(self):
def domain_undefined(path, event, detail):
if event != libvirttest.DomainEvent.UNDEFINED:
return
assert detail == libvirttest.DomainEventUndefinedDetailType.REMOVED
assert isinstance(path, dbus.ObjectPath)
self.loop.quit()
self.connect.connect_to_signal('DomainEvent', domain_undefined)
_, domain = self.get_test_domain()
> domain.Shutdown(0)
../../tests/test_domain.py:143:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/dbus/proxies.py:70: in __call__
return self._proxy_method(*args, **keywords)
/usr/local/lib/python3.6/site-packages/dbus/proxies.py:145: in __call__
**keywords)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dbus._dbus.SessionBus (session) at 0x8090b77d8>
bus_name = dbus.String(':1.5')
object_path = dbus.ObjectPath('/org/libvirt/Test/domain/_6695eb01_f6a4_8304_79aa_97f2502e193f')
dbus_interface = 'org.libvirt.Domain', method = 'Shutdown', 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/domain/_6695eb01_f6a4_8304_79aa_97f2502e193f, iface: org.libvirt.Domain, member: Shutdown dest: :1.5>
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: internal error: domain 'test' not running
/usr/local/lib/python3.6/site-packages/dbus/connection.py:651: DBusException
--------------------------- Captured stderr teardown ---------------------------
Disconnected from D-Bus.
================= 2 failed, 7 passed, 1 error in 16.15 seconds =================
FAIL test_domain.py (exit status: 1)
+ exit 1
Build step 'Execute shell' marked build as failure
6 years, 3 months