[Libvirt-ci] Build failed in Jenkins: libvirt-dbus-check » libvirt-freebsd-11 #505
by ci@centos.org
See <https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-freebsd-11/5...>
------------------------------------------
[...truncated 3.79 KB...]
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
PASS: test_network.py
FAIL: test_connect.py
PASS: test_nodedev.py
PASS: test_storage.py
============================================================================
Testsuite summary for libvirt-dbus 1.4.0
============================================================================
# TOTAL: 7
# PASS: 6
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
============================================================================
See tests/test-suite.log
Please report to libvir-list(a)redhat.com
============================================================================
gmake[3]: *** [Makefile:766: test-suite.log] Error 1
gmake[3]: Leaving directory '/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.4.0: tests/test-suite.log
==============================================
# TOTAL: 7
# PASS: 6
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
FAIL: test_connect.py
=====================
============================= test session starts ==============================
platform freebsd11 -- Python 3.6.9, pytest-4.5.0, py-1.8.0, pluggy-0.12.0
rootdir: /usr<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-freebsd-11/ws/>
collected 35 items
../../tests/test_connect.py ...E...........E..................E [100%]
==================================== ERRORS ====================================
_ ERROR at setup of TestConnect.test_connect_domain_lookup_by_id[DomainLookupByName-Name] _
self = <test_connect.TestConnect object at 0x8096fc240>
request = <SubRequest 'libvirt_dbus_setup' for <Function test_connect_domain_lookup_by_id[DomainLookupByName-Name]>>
@pytest.fixture(autouse=True)
def libvirt_dbus_setup(self, request):
"""Start libvirt-dbus for each test function
"""
os.environ['LIBVIRT_DEBUG'] = '3'
self.libvirt_dbus = subprocess.Popen([exe, '--session'])
self.bus = dbus.SessionBus()
for i in range(10):
if self.bus.name_has_owner('org.libvirt'):
break
time.sleep(0.1)
else:
> raise TimeoutError('error starting libvirt-dbus')
E TimeoutError: error starting libvirt-dbus
../../tests/libvirttest.py:44: TimeoutError
_ ERROR at setup of TestConnect.test_connect_interface_lookup_by_property[InterfaceLookupByMAC-MAC] _
self = <test_connect.TestConnect object at 0x8096a4f98>
@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/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 0x80937b468>
bus_name = dbus.String(':1.4')
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.4>
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/local/lib/python3.6/site-packages/dbus/connection.py:651: DBusException
_ ERROR at setup of TestConnect.test_connect_storage_vol_lookup_by_property[StorageVolLookupByPath-Path] _
self = <test_connect.TestConnect object at 0x80968bb70>
@pytest.fixture
def storage_volume_create(self):
""" Fixture to create dummy storage volume on the test driver
This fixture should be used in the setup of every test manipulating
with test volume.
"""
_, test_storage_pool = self.get_test_storage_pool()
interface_obj = dbus.Interface(test_storage_pool,
'org.libvirt.StoragePool')
> path = interface_obj.StorageVolCreateXML(xmldata.minimal_storage_vol_xml, 0)
../../tests/libvirttest.py:125:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/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 0x80937b468>
bus_name = dbus.String(':1.4')
object_path = dbus.ObjectPath('/org/libvirt/Test/storagepool/_dfe224cb_28fb_8dd0_c4b2_64eb3f0f4566')
dbus_interface = 'org.libvirt.StoragePool', method = 'StorageVolCreateXML'
signature = 'su'
args = ('\n<volume>\n <name>sparse.img</name>\n <capacity unit="G">2</capacity>\n <target>\n <path>/var/lib/virt/images/sparse.img</path>\n </target>\n</volume>\n', 0)
timeout = -1.0, byte_arrays = False, kwargs = {}
get_args_opts = {'byte_arrays': False}
message = <dbus.lowlevel.MethodCallMessage path: /org/libvirt/Test/storagepool/_dfe224cb_28fb_8dd0_c4b2_64eb3f0f4566, iface: org.libvirt.StoragePool, member: StorageVolCreateXML dest: :1.4>
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 21.99 seconds ======================
FAIL test_connect.py (exit status: 1)
+ exit 1
Build step 'Execute shell' marked build as failure
5 years, 4 months
[Libvirt-ci] Still Failing: libvirt/libvirt#2490 (master - 1fd28a2)
by Travis CI
Build Update for libvirt/libvirt
-------------------------------------
Build: #2490
Status: Still Failing
Duration: 23 mins and 6 secs
Commit: 1fd28a2 (master)
Author: Jiri Denemark
Message: qemu: Translate features in virQEMUCapsGetCPUFeatures
Starting with QEMU 4.1 qemuMonitorCPUModelInfo structure in virQEMUCaps
stores only canonical feature names which may differ from the name used
by libvirt. We need translate these canonical names into libvirt names
for further consumption.
This fixes a bug in qemuConnectBaselineHypervisorCPU which would remove
all features for which libvirt's spelling differs from the QEMU's
preferred name. For example, the following result of
qemuConnectBaselineHypervisorCPU on my host with QEMU 4.1 is wrong:
<cpu mode='custom' match='exact'>
<model fallback='forbid'>Skylake-Client</model>
<vendor>Intel</vendor>
<feature policy='require' name='ss'/>
<feature policy='require' name='vmx'/>
<feature policy='require' name='hypervisor'/>
<feature policy='require' name='clflushopt'/>
<feature policy='require' name='umip'/>
<feature policy='require' name='arch-capabilities'/>
<feature policy='require' name='xsaves'/>
<feature policy='require' name='pdpe1gb'/>
<feature policy='require' name='invtsc'/>
<feature policy='disable' name='pclmuldq'/>
<feature policy='disable' name='lahf_lm'/>
</cpu>
The 'pclmuldq' and 'lahf_lm' should not be disabled in the baseline CPU
as they are supported by QEMU on this host.
Signed-off-by: Jiri Denemark <jdenemar(a)redhat.com>
Reviewed-by: Andrea Bolognani <abologna(a)redhat.com>
View the changeset: https://github.com/libvirt/libvirt/compare/3e93d00d56ec...1fd28a2e7969
View the full build log and details: https://travis-ci.org/libvirt/libvirt/builds/564051142?utm_medium=notific...
--
You can unsubscribe from build emails from the libvirt/libvirt repository going to https://travis-ci.org/account/preferences/unsubscribe?repository=4872032&....
Or unsubscribe from *all* email updating your settings at https://travis-ci.org/account/preferences/unsubscribe?utm_medium=notifica....
Or configure specific recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications.
5 years, 5 months
[Libvirt-ci] Build failed in Jenkins: virt-viewer-build » libvirt-freebsd-12 #577
by ci@centos.org
See <https://ci.centos.org/job/virt-viewer-build/systems=libvirt-freebsd-12/57...>
------------------------------------------
Started by upstream project "virt-viewer-build" build number 577
originally caused by:
Started by upstream project "libvirt-glib-build" build number 556
originally caused by:
Started by upstream project "libvirt-build" build number 685
originally caused by:
Started by an SCM change
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on libvirt-freebsd-12 (libvirt) in workspace <https://ci.centos.org/job/virt-viewer-build/systems=libvirt-freebsd-12/ws/>
No credentials specified
> git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url https://pagure.io/virt-viewer.git # timeout=10
Fetching upstream changes from https://pagure.io/virt-viewer.git
> git --version # timeout=10
> git fetch --tags --force --progress https://pagure.io/virt-viewer.git +refs/heads/*:refs/remotes/origin/*
Checking out Revision 898f972d534480b35f5a74aa41d0e9abc94f302f (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 898f972d534480b35f5a74aa41d0e9abc94f302f
Commit message: "Introduce bash completion"
> git rev-list --no-walk 898f972d534480b35f5a74aa41d0e9abc94f302f # timeout=10
Cleaning workspace
> git rev-parse --verify HEAD # timeout=10
FATAL: Invalid id: 898f972d534480b35f5a74aa41d0e9abc94f302f
Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
Also: hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from n64.gusty.ci.centos.org/172.19.2.192:1030
at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1743)
at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)
at hudson.remoting.Channel.call(Channel.java:957)
at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:283)
at com.sun.proxy.$Proxy82.clean(Unknown Source)
at org.jenkinsci.plugins.gitclient.RemoteGitImpl.clean(RemoteGitImpl.java:450)
at hudson.plugins.git.extensions.impl.CleanCheckout.onCheckoutCompleted(CleanCheckout.java:30)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1270)
at hudson.scm.SCM.checkout(SCM.java:504)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
at hudson.model.Run.execute(Run.java:1818)
at hudson.matrix.MatrixRun.run(MatrixRun.java:153)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:429)
org.eclipse.jgit.errors.InvalidObjectIdException: Invalid id: 898f972d534480b35f5a74aa41d0e9abc94f302f
Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information
at org.eclipse.jgit.lib.ObjectId.fromString(ObjectId.java:232)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.validateRevision(CliGitAPIImpl.java:892)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.reset(CliGitAPIImpl.java:491)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.clean(CliGitAPIImpl.java:827)
at hudson.plugins.git.GitAPI.clean(GitAPI.java:311)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:566)
at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:929)
at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:903)
at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:855)
at hudson.remoting.UserRequest.perform(UserRequest.java:212)
at hudson.remoting.UserRequest.perform(UserRequest.java:54)
at hudson.remoting.Request$2.run(Request.java:369)
at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
at java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:93)
at java.lang.Thread.run(Thread.java:834)
5 years, 5 months