[Libvirt-ci] Build failed in Jenkins: libvirt-dbus-check » libvirt-fedora-28 #14
by ci@centos.org
See <https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-28/14...>
------------------------------------------
[...truncated 16.29 KB...]
obj, domain = self.get_test_domain()
> domain.Suspend()
../../tests/test_domain.py:125:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/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 0x7f40ea92b3b8>
bus_name = dbus.String(':1.3')
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.3>
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/lib64/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 0x7f40ea8de6a0>
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/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 0x7f40ea92b3b8>
bus_name = dbus.String(':1.3')
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.3>
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/lib64/python3.6/site-packages/dbus/connection.py:651: DBusException
--------------------------- Captured stderr teardown ---------------------------
Disconnected from D-Bus.
================= 2 failed, 7 passed, 1 error in 11.31 seconds =================
FAIL test_domain.py (exit status: 1)
FAIL: test_interface.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-check/systems=libvirt-fedora-28/ws/,> inifile:
collected 5 items
../../tests/test_interface.py ..E.E [100%]
==================================== ERRORS ====================================
____________ ERROR at setup of TestInterface.test_interface_create _____________
self = <test_interface.TestInterface object at 0x7f4eaec9c5f8>
request = <SubRequest 'libvirt_dbus_setup' for <Function 'test_interface_create'>>
@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 TestInterface.test_interface_properties_type ________
self = <test_interface.TestInterface object at 0x7f4eaec80128>
@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.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 0x7f4eaf14ebf8>
bus_name = dbus.String(':1.3')
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.3>
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.6/site-packages/dbus/connection.py:651: DBusException
====================== 3 passed, 2 error in 7.08 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-check » libvirt-debian-8 #11
by ci@centos.org
See <https://ci.centos.org/job/libvirt-check/systems=libvirt-debian-8/11/displ...>
------------------------------------------
[...truncated 22.06 KB...]
PASS: test-close
PASS: test-c-strcasestr
PASS: test-connect
PASS: test-count-leading-zeros
PASS: test-dup
PASS: test-count-one-bits
PASS: test-ctype
PASS: test-dup2
PASS: test-errno
PASS: test-environ
PASS: test-fcntl
PASS: test-fclose
PASS: test-fcntl-h
PASS: test-fflush
PASS: test-fdatasync
PASS: test-ffs
PASS: test-fdopen
PASS: test-fflush2.sh
PASS: test-float
PASS: test-ffsl
PASS: test-fnmatch
PASS: test-fgetc
PASS: test-fpurge
PASS: test-freading
PASS: test-fputc
PASS: test-fread
PASS: test-fseek2.sh
PASS: test-fseeko.sh
PASS: test-fseek.sh
PASS: test-fseeko2.sh
PASS: test-fseeko4.sh
PASS: test-fseeko3.sh
PASS: test-ftell.sh
PASS: test-fstat
PASS: test-ftell2.sh
PASS: test-fsync
PASS: test-ftell3
PASS: test-ftello2.sh
PASS: test-ftello.sh
PASS: test-ftello3
PASS: test-ftruncate.sh
PASS: test-ftello4.sh
PASS: test-func
PASS: test-fwrite
PASS: test-getcwd-lgpl
PASS: test-getdelim
PASS: test-getdtablesize
PASS: test-getgroups
PASS: test-gethostname
PASS: test-getopt-posix
PASS: test-getline
PASS: test-getpeername
PASS: test-getprogname
PASS: test-getsockname
PASS: test-getsockopt
PASS: test-gettimeofday
PASS: test-grantpt
PASS: test-inet_ntop
PASS: test-ignore-value
PASS: test-inet_pton
PASS: test-intprops
PASS: test-inttypes
PASS: test-isatty
PASS: test-ioctl
PASS: test-isblank
PASS: test-isnand-nolibm
PASS: test-isnanf-nolibm
PASS: test-langinfo
PASS: test-isnanl-nolibm
PASS: test-ldexp
PASS: test-limits-h
PASS: test-listen
PASS: test-locale
PASS: test-localeconv
PASS: test-localename
PASS: test-lstat
PASS: test-lseek.sh
PASS: test-math
SKIP: test-mbrtowc1.sh
PASS: test-getaddrinfo
SKIP: test-mbrtowc2.sh
PASS: test-malloca
SKIP: test-mbrtowc3.sh
SKIP: test-mbrtowc4.sh
PASS: test-mbrtowc5.sh
SKIP: test-mbrtowc-w32-1.sh
SKIP: test-mbrtowc-w32-4.sh
SKIP: test-mbrtowc-w32-2.sh
SKIP: test-mbrtowc-w32-3.sh
SKIP: test-mbsrtowcs1.sh
SKIP: test-mbrtowc-w32-5.sh
SKIP: test-mbsinit.sh
SKIP: test-mbsrtowcs3.sh
SKIP: test-mbsrtowcs2.sh
SKIP: test-mbsrtowcs4.sh
PASS: test-net_if
PASS: test-netdb
PASS: test-netinet_in
PASS: test-nl_langinfo.sh
PASS: test-memchr
PASS: test-nanosleep
PASS: test-nonblocking
PASS: test-open
PASS: test-openpty
PASS: test-passfd
PASS: test-pathmax
PASS: test-perror.sh
PASS: test-perror2
PASS: test-pipe
PASS: test-pipe2
PASS: test-poll-h
PASS: test-poll
PASS: test-posix_openpt
PASS: test-posix_spawn_file_actions_addclose
PASS: test-posix_spawn_file_actions_adddup2
PASS: test-posix_spawn_file_actions_addopen
PASS: test-posix_spawn1
PASS: test-posix_spawn2
PASS: test-pthread_sigmask1
PASS: test-pthread_sigmask2
SKIP: test-ptsname
SKIP: test-ptsname_r
PASS: test-raise
PASS: test-rawmemchr
PASS: test-read
PASS: test-readlink
PASS: test-recv
PASS: test-regex
PASS: test-sched
PASS: test-select
PASS: test-nonblocking-pipe.sh
PASS: test-select-out.sh
PASS: test-send
PASS: test-setenv
SKIP: test-setlocale1.sh
PASS: test-setlocale2.sh
PASS: test-setsockopt
PASS: test-sigaction
PASS: test-signal-h
PASS: test-signbit
PASS: test-sigpipe.sh
PASS: test-select-in.sh
PASS: test-nonblocking-socket.sh
PASS: test-snprintf
PASS: test-sockets
PASS: test-spawn
PASS: test-stat
PASS: test-stat-time
PASS: test-stdalign
PASS: test-stdbool
PASS: test-stddef
PASS: test-stdint
PASS: test-stdio
PASS: test-stdlib
PASS: test-strchrnul
PASS: test-strerror
PASS: test-strerror_r
PASS: test-string
PASS: test-strings
PASS: test-strnlen
PASS: test-symlink
PASS: test-sys_ioctl
PASS: test-sys_select
PASS: test-sys_socket
PASS: test-sys_stat
PASS: test-sys_time
PASS: test-sys_types
PASS: test-sys_uio
PASS: test-sys_utsname
PASS: test-sys_wait
PASS: test-termios
PASS: test-init.sh
PASS: test-thread_self
PASS: test-thread_create
PASS: test-time
SKIP: test-ttyname_r
PASS: test-uname
PASS: test-unistd
PASS: test-uc_width
PASS: test-sigprocmask
PASS: test-unlockpt
PASS: uniwidth/test-uc_width2.sh
PASS: test-unsetenv
PASS: test-vasnprintf
PASS: test-vasprintf
PASS: test-vc-list-files-git.sh
PASS: test-sleep
PASS: test-verify
SKIP: test-vc-list-files-cvs.sh
PASS: test-vsnprintf
PASS: test-wchar
PASS: test-wcrtomb.sh
SKIP: test-wcrtomb-w32-1.sh
SKIP: test-wcrtomb-w32-2.sh
SKIP: test-wcrtomb-w32-3.sh
SKIP: test-wcrtomb-w32-4.sh
SKIP: test-wcrtomb-w32-5.sh
PASS: test-wctype-h
PASS: test-wcwidth
PASS: test-write
../../../build-aux/test-driver: line 107: 19939 Aborted "$@" > $log_file 2>&1
FAIL: test-usleep
PASS: test-xalloc-die.sh
PASS: test-verify.sh
make[6]: Entering directory '<https://ci.centos.org/job/libvirt-check/systems=libvirt-debian-8/ws/build...'>
/usr/bin/make all-recursive
make[7]: Entering directory '<https://ci.centos.org/job/libvirt-check/systems=libvirt-debian-8/ws/build...'>
Making all in .
make[8]: Entering directory '<https://ci.centos.org/job/libvirt-check/systems=libvirt-debian-8/ws/build...'>
make[8]: Nothing to be done for 'all-am'.
make[8]: Leaving directory '<https://ci.centos.org/job/libvirt-check/systems=libvirt-debian-8/ws/build...'>
make[7]: Leaving directory '<https://ci.centos.org/job/libvirt-check/systems=libvirt-debian-8/ws/build...'>
make[6]: Leaving directory '<https://ci.centos.org/job/libvirt-check/systems=libvirt-debian-8/ws/build...'>
============================================================================
Testsuite summary for libvirt 4.8.0
============================================================================
# TOTAL: 219
# PASS: 192
# SKIP: 26
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
============================================================================
See gnulib/tests/test-suite.log
Please report to libvir-list(a)redhat.com
============================================================================
Makefile:5060: recipe for target 'test-suite.log' failed
make[5]: *** [test-suite.log] Error 1
make[5]: Leaving directory '<https://ci.centos.org/job/libvirt-check/systems=libvirt-debian-8/ws/build...'>
Makefile:5166: recipe for target 'check-TESTS' failed
make[4]: *** [check-TESTS] Error 2
make[4]: Leaving directory '<https://ci.centos.org/job/libvirt-check/systems=libvirt-debian-8/ws/build...'>
Makefile:6790: recipe for target 'check-am' failed
make[3]: *** [check-am] Error 2
make[3]: Leaving directory '<https://ci.centos.org/job/libvirt-check/systems=libvirt-debian-8/ws/build...'>
Makefile:4953: recipe for target 'check-recursive' failed
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory '<https://ci.centos.org/job/libvirt-check/systems=libvirt-debian-8/ws/build...'>
Makefile:6793: recipe for target 'check' failed
make[1]: *** [check] Error 2
make[1]: Leaving directory '<https://ci.centos.org/job/libvirt-check/systems=libvirt-debian-8/ws/build...'>
Makefile:2100: recipe for target 'check-recursive' failed
make: *** [check-recursive] Error 1
+ cat tests/test-suite.log
cat: tests/test-suite.log: No such file or directory
+ true
+ exit 1
Build step 'Execute shell' marked build as failure
6 years, 3 months