[Libvirt-ci] Build failed in Jenkins: libvirt-dbus-check » libvirt-fedora-29 #72
by ci@centos.org
See <https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-29/72...>
------------------------------------------
[...truncated 13.25 KB...]
get_args_opts['utf8_strings'] = kwargs.get('utf8_strings', False)
elif 'utf8_strings' in kwargs:
raise TypeError("unexpected keyword argument 'utf8_strings'")
message = MethodCallMessage(destination=bus_name,
path=object_path,
interface=dbus_interface,
method=method)
# Add the arguments to the function
try:
message.append(signature=signature, *args)
except Exception as e:
logging.basicConfig()
_logger.error('Unable to set arguments %r according to '
'signature %r: %s: %s',
args, signature, e.__class__, e)
raise
# make a blocking call
reply_message = self.send_message_with_reply_and_block(
> message, timeout)
E dbus.exceptions.DBusException: org.libvirt.Error: operation failed: storage vol already exists
/usr/lib64/python3.7/site-packages/dbus/connection.py:651: DBusException
===================== 32 passed, 3 error in 15.17 seconds ======================
FAIL test_connect.py (exit status: 1)
FAIL: test_interface.py
=======================
============================= test session starts ==============================
platform linux -- Python 3.7.1, 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..EE [100%]
==================================== ERRORS ====================================
___________ ERROR at setup of TestInterface.test_interface_undefine ____________
self = <test_interface.TestInterface object at 0x7f143f2a2ba8>
request = <SubRequest 'libvirt_dbus_setup' for <Function 'test_interface_undefine'>>
@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
---------------------------- Captured stderr setup -----------------------------
dbus-daemon[10347]: Cannot setup inotify for '/home/jenkins/.local/share/dbus-1/services'; error 'Permission denied'
______ ERROR at setup of TestInterface.test_interface_get_xml_description ______
self = <test_interface.TestInterface object at 0x7f143f1f4e80>
@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 0x7f143f2bdeb8>
bus_name = dbus.String(':1.1')
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.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
/usr/lib64/python3.7/site-packages/dbus/connection.py:651: DBusException
________ ERROR at setup of TestInterface.test_interface_properties_type ________
self = <test_interface.TestInterface object at 0x7f143f19d390>
@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 0x7f143f2bdeb8>
bus_name = dbus.String(':1.1')
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.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
/usr/lib64/python3.7/site-packages/dbus/connection.py:651: DBusException
====================== 2 passed, 3 error in 6.09 seconds =======================
FAIL test_interface.py (exit status: 1)
FAIL: test_nodedev.py
=====================
============================= test session starts ==============================
platform linux -- Python 3.7.1, 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 4 items
../../tests/test_nodedev.py E... [100%]
==================================== ERRORS ====================================
__________ ERROR at setup of TestNodeDevice.test_node_device_destroy ___________
self = <test_nodedev.TestNodeDevice object at 0x7f70637d6860>
request = <SubRequest 'libvirt_dbus_setup' for <Function 'test_node_device_destroy'>>
@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
---------------------------- Captured stderr setup -----------------------------
dbus-daemon[11615]: Cannot setup inotify for '/home/jenkins/.local/share/dbus-1/services'; error 'Permission denied'
====================== 3 passed, 1 error in 3.37 seconds =======================
FAIL test_nodedev.py (exit status: 1)
+ exit 1
Build step 'Execute shell' marked build as failure
5 years, 11 months
[Libvirt-ci] Build failed in Jenkins: libvirt-dbus-check » libvirt-freebsd-11 #72
by ci@centos.org
See <https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-freebsd-11/7...>
------------------------------------------
Started by upstream project "libvirt-dbus-check" build number 72
originally caused by:
Started by upstream project "libvirt-dbus-syntax-check" build number 115
originally caused by:
Started by upstream project "libvirt-dbus-build" build number 121
originally caused by:
Started by upstream project "libvirt-glib-build" build number 118
originally caused by:
Started by upstream project "libvirt-build" build number 142
originally caused by:
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on libvirt-freebsd-11 (libvirt) in workspace <https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-freebsd-11/ws/>
[libvirt-dbus] $ /bin/sh -xe /tmp/jenkins6499545519139310631.sh
+ cd build
+ /usr/local/bin/gmake check
Making check in data
gmake[1]: Entering directory '/usr<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-freebsd-11/w...'>
gmake[1]: Nothing to be done for 'check'.
gmake[1]: Leaving directory '/usr<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-freebsd-11/w...'>
Making check in docs
gmake[1]: Entering directory '/usr<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-freebsd-11/w...'>
gmake[1]: Nothing to be done for 'check'.
gmake[1]: Leaving directory '/usr<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-freebsd-11/w...'>
Making check in src
gmake[1]: Entering directory '/usr<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-freebsd-11/w...'>
gmake[1]: Nothing to be done for 'check'.
gmake[1]: Leaving directory '/usr<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-freebsd-11/w...'>
Making check in tests
gmake[1]: Entering directory '/usr<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-freebsd-11/w...'>
/usr/local/bin/gmake test_util
gmake[2]: Entering directory '/usr<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-freebsd-11/w...'>
CC test_util-test_util.o
CCLD test_util
gmake[2]: Leaving directory '/usr<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-freebsd-11/w...'>
/usr/local/bin/gmake check-TESTS
gmake[2]: Entering directory '/usr<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-freebsd-11/w...'>
gmake[3]: Entering directory '/usr<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-freebsd-11/w...'>
PASS: test_util
PASS: test_interface.py
PASS: test_domain.py
FAIL: test_network.py
PASS: test_nodedev.py
PASS: 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:766: test-suite.log] Error 1
gmake[3]: Leaving directory '/usr<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-freebsd-11/w...'>
gmake[2]: *** [Makefile:874: check-TESTS] Error 2
gmake[2]: Leaving directory '/usr<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-freebsd-11/w...'>
gmake[1]: *** [Makefile:990: check-am] Error 2
gmake[1]: Leaving directory '/usr<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-freebsd-11/w...'>
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_network.py
=====================
============================= test session starts ==============================
platform freebsd11 -- Python 3.6.7, pytest-3.6.4, py-1.7.0, pluggy-0.6.0
rootdir: /usr<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-freebsd-11/ws/,> inifile:
collected 7 items
../../tests/test_network.py ..E...F [100%]
==================================== ERRORS ====================================
______________ ERROR at setup of TestNetwork.test_network_create _______________
self = <test_network.TestNetwork object at 0x809380940>
request = <SubRequest 'libvirt_dbus_setup' for <Function 'test_network_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
=================================== FAILURES ===================================
TestNetwork.test_network_update[4-4-0-\n <host mac='00:16:3e:77:e2:ed' name='foo.example.com' ip='192.168.122.10'/>\n -0]
self = <test_network.TestNetwork object at 0x809375668>, command = '4'
section = '4', parentIndex = 0
xml_str = "\n <host mac='00:16:3e:77:e2:ed' name='foo.example.com' ip='192.168.122.10'/>\n "
flags = 0
@pytest.mark.parametrize("command, section, parentIndex, xml_str, flags", [
('4', '4', 0, ip_dhcp_host_xml, 0), # add-first, ip-dhcp-host
])
def test_network_update(self, command, section, parentIndex, xml_str, flags):
> _, test_network = self.get_test_network()
../../tests/test_network.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <test_network.TestNetwork object at 0x809375668>
def get_test_network(self):
"""Fetch information for the test network from test driver
Returns:
(dbus.proxies.ProxyObject, dbus.proxies.ProxyObject):
Test Network Object, Local proxy for the test Network Object.
"""
> path = self.connect.ListNetworks(0)[0]
E IndexError: list index out of range
../../tests/libvirttest.py:138: IndexError
--------------------------- Captured stderr teardown ---------------------------
Disconnected from D-Bus.
================= 1 failed, 5 passed, 1 error in 9.84 seconds ==================
FAIL test_network.py (exit status: 1)
+ exit 1
Build step 'Execute shell' marked build as failure
5 years, 11 months
[Libvirt-ci] Build failed in Jenkins: libosinfo-build » libvirt-centos-7 #54
by ci@centos.org
See <https://ci.centos.org/job/libosinfo-build/systems=libvirt-centos-7/54/dis...>
Changes:
[fidencio] resources: Add osinfo_resources_{get,set}_inherit()
[fidencio] loader: Set "inherit" accordingly to the resources
[fidencio] os: Add _get_.*_resources_without_inheritance()
[fidencio] os: Support inherited resources
[fidencio] test-os: Add test_resources_inheritance()
------------------------------------------
[...truncated 6.59 KB...]
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
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... no
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... no
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 -Wunused... yes
checking whether C compiler handles -Wunused-but-set-parameter... yes
checking whether C compiler handles -Wunused-but-set-variable... yes
checking whether C compiler handles -Wunused-function... yes
checking whether C compiler handles -Wunused-label... yes
checking whether C compiler handles -Wunused-local-typedefs... yes
checking whether C compiler handles -Wunused-parameter... yes
checking whether C compiler handles -Wunused-result... yes
checking whether C compiler handles -Wunused-value... yes
checking whether C compiler handles -Wunused-variable... yes
checking whether C compiler handles -Wvarargs... yes
checking whether C compiler handles -Wvariadic-macros... yes
checking whether C compiler handles -Wvector-operation-performance... yes
checking whether C compiler handles -Wvla... yes
checking whether C compiler handles -Wvolatile-register-var... yes
checking whether C compiler handles -Wwrite-strings... yes
checking whether C compiler handles -Wnormalized=nfc... yes
checking whether C compiler handles -Wno-cast-function-type... no
checking whether C compiler handles -Wno-sign-compare... yes
checking whether C compiler handles -Wno-sign-conversion... yes
checking whether C compiler handles -Wno-conversion... yes
checking whether C compiler handles -Wno-unused-parameter... yes
checking whether C compiler handles -Wjump-misses-init... (cached) yes
checking whether C compiler handles -Wframe-larger-than=4096... yes
checking whether C compiler handles -Wno-overlength-strings... yes
checking whether C compiler handles -fstack-protector-all... yes
checking whether C compiler handles --param=ssp-buffer-size=4... yes
checking whether C compiler handles -fexceptions... yes
checking whether C compiler handles -fasynchronous-unwind-tables... yes
checking whether C compiler handles -fdiagnostics-show-option... yes
checking whether C compiler handles -funit-at-a-time... yes
checking whether C compiler handles -fipa-pure-const... yes
checking whether C compiler handles -Wno-suggest-attribute=pure... yes
checking whether C compiler handles -Wno-suggest-attribute=const... yes
checking whether C compiler handles -Werror... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether NLS is requested... yes
checking for intltool >= 0.40.0... 0.50.2 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.16.3
checking for XML::Parser... ok
checking whether /usr/bin/gmake supports nested variables... (cached) yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBXML... yes
checking for LIBXSLT... yes
checking for GLIB... yes
checking for gtk-doc... yes
checking for gtkdoc-check... gtkdoc-check.test
checking for gtkdoc-check... /usr/bin/gtkdoc-check
checking for gtkdoc-rebase... /usr/bin/gtkdoc-rebase
checking for gtkdoc-mkpdf... /usr/bin/gtkdoc-mkpdf
checking whether to build gtk-doc documentation... no
checking for GTKDOC_DEPS... yes
checking for CURL... yes
checking for perl... /usr/bin/perl
checking for gobject-introspection... yes
checking for vapigen... /usr/bin/vapigen
checking location of usb.ids database... /usr/share/hwdata/usb.ids
checking location of pci.ids database... /usr/share/hwdata/pci.ids
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libosinfo.spec
config.status: creating mingw-libosinfo.spec
config.status: creating osinfo/Makefile
config.status: creating osinfo/libosinfo-1.0.pc
config.status: creating osinfo/osinfo_version.h
config.status: creating tools/Makefile
config.status: creating tests/Makefile
config.status: creating docs/Makefile
config.status: creating docs/reference/Makefile
config.status: creating examples/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 libosinfo
+ /usr/bin/gmake
/usr/bin/gmake all-recursive
gmake[1]: Entering directory `<https://ci.centos.org/job/libosinfo-build/systems=libvirt-centos-7/ws/build'>
Making all in osinfo
gmake[2]: Entering directory `<https://ci.centos.org/job/libosinfo-build/systems=libvirt-centos-7/ws/bui...'>
GEN osinfo_enum_types.h
GEN osinfo_enum_types.c
/usr/bin/gmake all-am
gmake[3]: Entering directory `<https://ci.centos.org/job/libosinfo-build/systems=libvirt-centos-7/ws/bui...'>
CC libosinfo_1_0_la-osinfo_datamap.lo
CC libosinfo_1_0_la-osinfo_datamaplist.lo
CC libosinfo_1_0_la-osinfo_avatar_format.lo
CC libosinfo_1_0_la-osinfo_entity.lo
CC libosinfo_1_0_la-osinfo_filter.lo
CC libosinfo_1_0_la-osinfo_list.lo
CC libosinfo_1_0_la-osinfo_device.lo
CC libosinfo_1_0_la-osinfo_devicelink.lo
CC libosinfo_1_0_la-osinfo_devicelist.lo
CC libosinfo_1_0_la-osinfo_devicelinklist.lo
CC libosinfo_1_0_la-osinfo_devicelinkfilter.lo
CC libosinfo_1_0_la-osinfo_device_driver.lo
CC libosinfo_1_0_la-osinfo_device_driverlist.lo
CC libosinfo_1_0_la-osinfo_install_config.lo
CC libosinfo_1_0_la-osinfo_install_config_param.lo
CC libosinfo_1_0_la-osinfo_install_config_paramlist.lo
CC libosinfo_1_0_la-osinfo_install_script.lo
CC libosinfo_1_0_la-osinfo_install_scriptlist.lo
CC libosinfo_1_0_la-osinfo_product.lo
CC libosinfo_1_0_la-osinfo_productfilter.lo
CC libosinfo_1_0_la-osinfo_productlist.lo
CC libosinfo_1_0_la-osinfo_platform.lo
CC libosinfo_1_0_la-osinfo_platformlist.lo
CC libosinfo_1_0_la-osinfo_oslist.lo
CC libosinfo_1_0_la-osinfo_os.lo
CC libosinfo_1_0_la-osinfo_os_variant.lo
CC libosinfo_1_0_la-osinfo_os_variantlist.lo
../../osinfo/osinfo_os.c: In function 'get_all_resources_cb':
../../osinfo/osinfo_os.c:758:5: error: 'for' loop initial declarations are only allowed in C99 mode
for (int i = 0; i < original_resourceslist_len; i++) {
^
../../osinfo/osinfo_os.c:758:5: note: use option -std=c99 or -std=gnu99 to compile your code
../../osinfo/osinfo_os.c:777:9: error: 'for' loop initial declarations are only allowed in C99 mode
for (int j = 0; j < resourceslist_len; j++) {
^
gmake[3]: *** [libosinfo_1_0_la-osinfo_os.lo] Error 1
gmake[3]: *** Waiting for unfinished jobs....
gmake[3]: Leaving directory `<https://ci.centos.org/job/libosinfo-build/systems=libvirt-centos-7/ws/bui...'>
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `<https://ci.centos.org/job/libosinfo-build/systems=libvirt-centos-7/ws/bui...'>
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `<https://ci.centos.org/job/libosinfo-build/systems=libvirt-centos-7/ws/build'>
gmake: *** [all] Error 2
Build step 'Execute shell' marked build as failure
5 years, 11 months
[Libvirt-ci] Build failed in Jenkins: libosinfo-build » libvirt-debian-8 #54
by ci@centos.org
See <https://ci.centos.org/job/libosinfo-build/systems=libvirt-debian-8/54/dis...>
Changes:
[fidencio] resources: Add osinfo_resources_{get,set}_inherit()
[fidencio] loader: Set "inherit" accordingly to the resources
[fidencio] os: Add _get_.*_resources_without_inheritance()
[fidencio] os: Support inherited resources
[fidencio] test-os: Add test_resources_inheritance()
------------------------------------------
[...truncated 7.80 KB...]
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
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 -Wunused... yes
checking whether C compiler handles -Wunused-but-set-parameter... yes
checking whether C compiler handles -Wunused-but-set-variable... yes
checking whether C compiler handles -Wunused-function... yes
checking whether C compiler handles -Wunused-label... yes
checking whether C compiler handles -Wunused-local-typedefs... yes
checking whether C compiler handles -Wunused-parameter... yes
checking whether C compiler handles -Wunused-result... yes
checking whether C compiler handles -Wunused-value... yes
checking whether C compiler handles -Wunused-variable... yes
checking whether C compiler handles -Wvarargs... yes
checking whether C compiler handles -Wvariadic-macros... yes
checking whether C compiler handles -Wvector-operation-performance... yes
checking whether C compiler handles -Wvla... yes
checking whether C compiler handles -Wvolatile-register-var... yes
checking whether C compiler handles -Wwrite-strings... yes
checking whether C compiler handles -Wnormalized=nfc... yes
checking whether C compiler handles -Wno-cast-function-type... no
checking whether C compiler handles -Wno-sign-compare... yes
checking whether C compiler handles -Wno-sign-conversion... yes
checking whether C compiler handles -Wno-conversion... yes
checking whether C compiler handles -Wno-unused-parameter... yes
checking whether C compiler handles -Wjump-misses-init... (cached) yes
checking whether C compiler handles -Wframe-larger-than=4096... yes
checking whether C compiler handles -Wno-overlength-strings... yes
checking whether C compiler handles -fstack-protector-all... yes
checking whether C compiler handles --param=ssp-buffer-size=4... yes
checking whether C compiler handles -fexceptions... yes
checking whether C compiler handles -fasynchronous-unwind-tables... yes
checking whether C compiler handles -fdiagnostics-show-option... yes
checking whether C compiler handles -funit-at-a-time... yes
checking whether C compiler handles -fipa-pure-const... yes
checking whether C compiler handles -Wno-suggest-attribute=pure... yes
checking whether C compiler handles -Wno-suggest-attribute=const... yes
checking whether C compiler handles -Werror... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether NLS is requested... yes
checking for intltool >= 0.40.0... 0.50.2 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.20.2
checking for XML::Parser... ok
checking whether /usr/bin/make supports nested variables... (cached) yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBXML... yes
checking for LIBXSLT... yes
checking for GLIB... yes
checking for gtk-doc... yes
checking for gtkdoc-check... gtkdoc-check.test
checking for gtkdoc-check... /usr/bin/gtkdoc-check
checking for gtkdoc-rebase... /usr/bin/gtkdoc-rebase
checking for gtkdoc-mkpdf... /usr/bin/gtkdoc-mkpdf
checking whether to build gtk-doc documentation... no
checking for GTKDOC_DEPS... yes
checking for CURL... yes
checking for perl... /usr/bin/perl
checking for gobject-introspection... yes
checking for vapigen... /usr/bin/vapigen
checking location of usb.ids database... /usr/share/misc/usb.ids
checking location of pci.ids database... /usr/share/misc/pci.ids
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libosinfo.spec
config.status: creating mingw-libosinfo.spec
config.status: creating osinfo/Makefile
config.status: creating osinfo/libosinfo-1.0.pc
config.status: creating osinfo/osinfo_version.h
config.status: creating tools/Makefile
config.status: creating tests/Makefile
config.status: creating docs/Makefile
config.status: creating docs/reference/Makefile
config.status: creating examples/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 Package
+ /usr/bin/make
/usr/bin/make all-recursive
make[1]: Entering directory '<https://ci.centos.org/job/libosinfo-build/systems=libvirt-debian-8/ws/build'>
Making all in osinfo
make[2]: Entering directory '<https://ci.centos.org/job/libosinfo-build/systems=libvirt-debian-8/ws/bui...'>
GEN osinfo_enum_types.h
GEN osinfo_enum_types.c
/usr/bin/make all-am
make[3]: Entering directory '<https://ci.centos.org/job/libosinfo-build/systems=libvirt-debian-8/ws/bui...'>
CC libosinfo_1_0_la-osinfo_datamap.lo
CC libosinfo_1_0_la-osinfo_datamaplist.lo
CC libosinfo_1_0_la-osinfo_avatar_format.lo
CC libosinfo_1_0_la-osinfo_entity.lo
CC libosinfo_1_0_la-osinfo_filter.lo
CC libosinfo_1_0_la-osinfo_list.lo
CC libosinfo_1_0_la-osinfo_device.lo
CC libosinfo_1_0_la-osinfo_devicelink.lo
CC libosinfo_1_0_la-osinfo_devicelist.lo
CC libosinfo_1_0_la-osinfo_devicelinklist.lo
CC libosinfo_1_0_la-osinfo_devicelinkfilter.lo
CC libosinfo_1_0_la-osinfo_device_driver.lo
CC libosinfo_1_0_la-osinfo_device_driverlist.lo
CC libosinfo_1_0_la-osinfo_install_config.lo
CC libosinfo_1_0_la-osinfo_install_config_param.lo
CC libosinfo_1_0_la-osinfo_install_config_paramlist.lo
CC libosinfo_1_0_la-osinfo_install_script.lo
CC libosinfo_1_0_la-osinfo_install_scriptlist.lo
CC libosinfo_1_0_la-osinfo_product.lo
CC libosinfo_1_0_la-osinfo_productfilter.lo
CC libosinfo_1_0_la-osinfo_productlist.lo
CC libosinfo_1_0_la-osinfo_platform.lo
CC libosinfo_1_0_la-osinfo_platformlist.lo
CC libosinfo_1_0_la-osinfo_oslist.lo
CC libosinfo_1_0_la-osinfo_os.lo
CC libosinfo_1_0_la-osinfo_os_variant.lo
CC libosinfo_1_0_la-osinfo_os_variantlist.lo
CC libosinfo_1_0_la-osinfo_deployment.lo
CC libosinfo_1_0_la-osinfo_deploymentlist.lo
CC libosinfo_1_0_la-osinfo_media.lo
CC libosinfo_1_0_la-osinfo_medialist.lo
CC libosinfo_1_0_la-osinfo_resources.lo
../../osinfo/osinfo_os.c: In function 'get_all_resources_cb':
../../osinfo/osinfo_os.c:758:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int i = 0; i < original_resourceslist_len; i++) {
^
../../osinfo/osinfo_os.c:758:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
../../osinfo/osinfo_os.c:777:9: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int j = 0; j < resourceslist_len; j++) {
^
Makefile:910: recipe for target 'libosinfo_1_0_la-osinfo_os.lo' failed
make[3]: *** [libosinfo_1_0_la-osinfo_os.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '<https://ci.centos.org/job/libosinfo-build/systems=libvirt-debian-8/ws/bui...'>
Makefile:598: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '<https://ci.centos.org/job/libosinfo-build/systems=libvirt-debian-8/ws/bui...'>
Makefile:585: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '<https://ci.centos.org/job/libosinfo-build/systems=libvirt-debian-8/ws/build'>
Makefile:470: recipe for target 'all' failed
make: *** [all] Error 2
Build step 'Execute shell' marked build as failure
5 years, 11 months