[Libvirt-ci] Build failed in Jenkins: libvirt-build » libvirt-freebsd-12 #835
by ci@centos.org
See <https://ci.centos.org/job/libvirt-build/systems=libvirt-freebsd-12/835/di...>
Changes:
[berrange] util: purge all code for testing OOM handling
[berrange] util: make allocation functions abort on OOM
[berrange] util: remove several unused _QUIET allocation macro variants
[berrange] util: make string functions abort on OOM
------------------------------------------
[...truncated 162.89 KB...]
GEN formatnode.html
GEN bindings.html
GEN kbase.html
GEN testapi.html
GEN drvvmware.html
GEN windows.html
GEN architecture.html
GEN formatstorageencryption.html
GEN formatstoragecaps.html
GEN formatdomain.html
GEN 404.html
GEN docs.html
GEN goals.html
GEN news-2007.html
GEN drvtest.html
GEN contact.html
GEN support.html
GEN formatsecret.html
GEN apps.html
GEN firewall.html
GEN news-2014.html
GEN virshcmdref.html
GEN hooks.html
GEN formatdomaincaps.html
GEN formatcheckpoint.html
GEN news-2015.html
GEN index.html
GEN contribute.html
GEN drvvbox.html
GEN drvesx.html
GEN compiling.html
GEN news-2010.html
GEN auth.html
GEN formatstorage.html
GEN dbus.html
GEN news-2005.html
GEN news-2016.html
GEN news-2009.html
GEN acl.html
GEN internals.html
GEN downloads.html
GEN drvremote.html
GEN drvhyperv.html
GEN drvopenvz.html
GEN drvnodedev.html
GEN news-2011.html
GEN format.html
GEN errors.html
GEN storage.html
GEN cgroups.html
GEN migration.html
GEN devguide.html
GEN api_extension.html
GEN drivers.html
GEN testtck.html
GEN bugs.html
GEN drvqemu.html
GEN python.html
GEN governance.html
GEN news-2013.html
GEN formatnetworkport.html
GEN securityprocess.html
GEN drvlxc.html
GEN auditlog.html
GEN testsuites.html
GEN uri.html
GEN drvvirtuozzo.html
GEN logging.html
GEN csharp.html
GEN hacking.html
GEN remote.html
GEN pci-hotplug.html
GEN drvbhyve.html
GEN api.html
GEN formatcaps.html
GEN formatsnapshot.html
GEN formatnwfilter.html
GEN news-2006.html
GEN formatnetwork.html
GEN drvphyp.html
GEN java.html
GEN news-2012.html
GEN aclpolkit.html
GEN nss.html
GEN php.html
GEN platforms.html
GEN news-2008.html
GEN drvxen.html
GEN internals/command.html
GEN internals/eventloop.html
GEN internals/rpc.html
GEN internals/locking.html
GEN kbase/locking-lockd.html
GEN kbase/locking-sanlock.html
GEN kbase/launch_security_sev.html
GEN kbase/domainstatecapture.html
GEN kbase/secureusage.html
GEN kbase/locking.html
GEN news.html
touch ../../docs/apibuild.py.stamp
GEN ../../docs/hvsupport.html.in
GEN html/index.html
GEN hvsupport.html.tmp
GEN hvsupport.html
rm internals/rpc.html.tmp drvopenvz.html.tmp logging.html.tmp aclpolkit.html.tmp kbase/domainstatecapture.html.tmp windows.html.tmp formatnwfilter.html.tmp news-2014.html.tmp platforms.html.tmp php.html.tmp formatnetwork.html.tmp formatstorageencryption.html.tmp drvhyperv.html.tmp format.html.tmp errors.html.tmp kbase/secureusage.html.tmp api_extension.html.tmp internals/command.html.tmp hacking.html.tmp kbase/locking-sanlock.html.tmp testsuites.html.tmp news-2008.html.tmp news-2006.html.tmp dbus.html.tmp news-2016.html.tmp auditlog.html.tmp downloads.html.tmp formatcaps.html.tmp formatnetworkport.html.tmp bugs.html.tmp drvphyp.html.tmp hvsupport.html.tmp java.html.tmp testapi.html.tmp kbase/locking.html.tmp drvesx.html.tmp devguide.html.tmp drvqemu.html.tmp formatdomain.html.tmp drvvmware.html.tmp architecture.html.tmp drvvirtuozzo.html.tmp formatdomaincaps.html.tmp formatsnapshot.html.tmp acl.html.tmp news-2005.html.tmp drvxen.html.tmp securityprocess.html.tmp internals.html.tmp 404.html.tmp formatstoragecaps.html.tmp news-2015.html.tmp formatstorage.html.tmp drvremote.html.tmp hooks.html.tmp internals/locking.html.tmp python.html.tmp remote.html.tmp drivers.html.tmp kbase.html.tmp formatsecret.html.tmp news.html.tmp news-2009.html.tmp formatnode.html.tmp internals/eventloop.html.tmp goals.html.tmp apps.html.tmp drvvbox.html.tmp csharp.html.tmp firewall.html.tmp formatcheckpoint.html.tmp governance.html.tmp cgroups.html.tmp news-2007.html.tmp bindings.html.tmp api.html.tmp contribute.html.tmp news-2010.html.tmp contact.html.tmp news-2011.html.tmp index.html.tmp drvlxc.html.tmp uri.html.tmp pci-hotplug.html.tmp news-2012.html.tmp drvtest.html.tmp drvnodedev.html.tmp kbase/locking-lockd.html.tmp support.html.tmp testtck.html.tmp docs.html.tmp news-2013.html.tmp drvbhyve.html.tmp nss.html.tmp migration.html.tmp kbase/launch_security_sev.html.tmp storage.html.tmp virshcmdref.html.tmp compiling.html.tmp auth.html.tmp
gmake[2]: Leaving directory '/usr<https://ci.centos.org/job/libvirt-build/systems=libvirt-freebsd-12/ws/bui...'>
Making all in gnulib/tests
gmake[2]: Entering directory '/usr<https://ci.centos.org/job/libvirt-build/systems=libvirt-freebsd-12/ws/bui...'>
GEN inttypes.h
GEN ctype.h
GEN math.h
GEN test-posix_spawn1.sh
GEN test-posix_spawn2.sh
GEN spawn.h
/usr/local/bin/gmake all-recursive
gmake[3]: Entering directory '/usr<https://ci.centos.org/job/libvirt-build/systems=libvirt-freebsd-12/ws/bui...'>
Making all in .
gmake[4]: Entering directory '/usr<https://ci.centos.org/job/libvirt-build/systems=libvirt-freebsd-12/ws/bui...'>
CC test-localcharset.o
CC exitfail.o
CC fatal-signal.o
CC getprogname.o
CC localename.o
CC localename-table.o
CC math.o
CC wait-process.o
CC xmalloc.o
CC xalloc-die.o
CC error.o
CC isnanf.o
CC isnanl.o
CC ptsname_r.o
CC putenv.o
CC spawn_faction_addclose.o
CC spawn_faction_adddup2.o
CC spawn_faction_addopen.o
AR libtests.a
CCLD test-localcharset
gmake[4]: Leaving directory '/usr<https://ci.centos.org/job/libvirt-build/systems=libvirt-freebsd-12/ws/bui...'>
gmake[3]: Leaving directory '/usr<https://ci.centos.org/job/libvirt-build/systems=libvirt-freebsd-12/ws/bui...'>
gmake[2]: Leaving directory '/usr<https://ci.centos.org/job/libvirt-build/systems=libvirt-freebsd-12/ws/bui...'>
Making all in tests
gmake[2]: Entering directory '/usr<https://ci.centos.org/job/libvirt-build/systems=libvirt-freebsd-12/ws/bui...'>
CC virshtest.o
CC testutils.o
CC sockettest.o
CC virhostcputest.o
CC virfilewrapper.o
CC virbuftest.o
CC commandtest.o
CC seclabeltest.o
CC virhashtest.o
CC virconftest.o
CC viratomictest.o
CC utiltest.o
CC shunloadtest.o
CC shunloadhelper.lo
CC virtimetest.o
CC viruritest.o
CC virkeyfiletest.o
CC viralloctest.o
CC virauthconfigtest.o
CC virbitmaptest.o
CC vircgrouptest.o
CC vircryptotest.o
CC virpcitest.o
CC virendiantest.o
CC virfiletest.o
CC virfilecachetest.o
CC virfirewalltest-virfirewalltest.o
CC virfirewalltest-testutils.o
CC viriscsitest.o
CC virkeycodetest.o
CC virlockspacetest.o
CC virlogtest.o
CC virrotatingfiletest.o
CC virschematest.o
CC virstringtest.o
CC virportallocatortest.o
CC sysinfotest.o
CC virkmodtest.o
CC vircapstest.o
CC testutilsqemu.o
CC domaincapstest.o
CCLD libqemutestdriver.la
CC domainconftest.o
CC virhostdevtest.o
CC virnetdevtest-virnetdevtest.o
CC virnetdevtest-testutils.o
CC virtypedparamtest.o
CC vshtabletest.o
CC virerrortest.o
CC virnetmessagetest.o
CC virnetsockettest.o
CC virnetdaemontest.o
CC virnetserverclienttest.o
CC virnettlscontexttest.o
CC virnettlshelpers.o
CC virnettlssessiontest.o
CC fdstreamtest.o
CC virdbustest-virdbustest.o
CC virdbustest-testutils.o
CC virsystemdtest-virsystemdtest.o
CC virsystemdtest-testutils.o
CC virpolkittest-virpolkittest.o
CC virpolkittest-testutils.o
CC qemuxml2argvtest.o
CC qemuxml2xmltest.o
CC qemudomaincheckpointxml2xmltest.o
CC qemudomainsnapshotxml2xmltest.o
CC qemumonitorjsontest.o
CC qemumonitortestutils.lo
CC testutilsqemuschema.lo
CC qemuhotplugtest.o
CC qemuagenttest.o
CC qemucapabilitiestest.o
CC qemucaps2xmltest.o
CC qemumemlocktest.o
CC qemucommandutiltest.o
CC qemublocktest.o
CC qemumigparamstest.o
CC qemusecuritytest.o
CC qemusecuritymock.o
CC qemufirmwaretest.o
CC esxutilstest.o
CC vboxsnapshotxmltest.o
CC vmx2xmltest.o
CC xml2vmxtest.o
CC vmwarevertest.o
CC bhyvexml2argvtest.o
CC bhyvexml2xmltest.o
CC bhyveargv2xmltest.o
CC virjsontest.o
CC networkxml2xmlupdatetest.o
../../tests/bhyveargv2xmltest.c:42:47: error: implicit declaration of function 'virTestOOMActive' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if ((flags & FLAG_EXPECT_FAILURE) && !virTestOOMActive()) {
^
../../tests/bhyveargv2xmltest.c:42:47: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes]
../../tests/bhyveargv2xmltest.c:48:50: error: implicit declaration of function 'virTestOOMActive' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
} else if ((flags & FLAG_EXPECT_FAILURE) && !virTestOOMActive()) {
^
3 errors generated.
gmake[2]: *** [Makefile:5899: bhyveargv2xmltest.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
gmake[2]: Leaving directory '/usr<https://ci.centos.org/job/libvirt-build/systems=libvirt-freebsd-12/ws/bui...'>
gmake[1]: *** [Makefile:2262: all-recursive] Error 1
gmake[1]: Leaving directory '/usr<https://ci.centos.org/job/libvirt-build/systems=libvirt-freebsd-12/ws/build'>
gmake: *** [Makefile:2155: all] Error 2
Build step 'Execute shell' marked build as failure
5 years, 3 months
[Libvirt-ci] Build failed in Jenkins: libvirt-dbus-check » libvirt-fedora-29 #633
by ci@centos.org
See <https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-29/63...>
------------------------------------------
[...truncated 27.52 KB...]
obj, domain = self.get_test_domain()
> domain.Suspend()
../../tests/test_domain.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 0x7ffada292650>
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/lib64/python3.7/site-packages/dbus/connection.py:651: DBusException
--------------------------- Captured stderr teardown ---------------------------
Disconnected from D-Bus.
___________________________ TestDomain.test_undefine ___________________________
self = <test_domain.TestDomain object at 0x7ffada1ec1d0>
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.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 0x7ffada292650>
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/lib64/python3.7/site-packages/dbus/connection.py:651: DBusException
--------------------------- Captured stderr teardown ---------------------------
Disconnected from D-Bus.
================= 4 failed, 5 passed, 1 error in 14.23 seconds =================
FAIL test_domain.py (exit status: 1)
FAIL: test_interface.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 5 items
../../tests/test_interface.py ..E.E [100%]
==================================== ERRORS ====================================
____________ ERROR at setup of TestInterface.test_interface_create _____________
self = <test_interface.TestInterface object at 0x7f7c6fe966d0>
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 0x7f7c6fe21b10>
@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 0x7f7c6fe2aa70>
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.7/site-packages/dbus/connection.py:651: DBusException
====================== 3 passed, 2 error in 7.09 seconds =======================
FAIL test_interface.py (exit status: 1)
+ exit 1
Build step 'Execute shell' marked build as failure
5 years, 3 months