Faiing tests when building Rocky rc1 Debian package
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
congress |
New
|
High
|
Unassigned |
Bug Description
Hi,
While building the congress Debian package (rocky rc1), I get the below failing tests. Could you please help me to fix them?
=======
FAIL: congress.
congress.
-------
_StringException: pythonlogging:'': {{{
Heartbeat support requested but it is not supported by the kombu driver or the broker
Heartbeat support requested but it is not supported by the kombu driver or the broker
Heartbeat support requested but it is not supported by the kombu driver or the broker
Failed to load driver endpoint test=congress.
Traceback (most recent call last):
File "/<<BUILDDIR>
ep_plugin = ep.load()
File "/usr/lib/
self.
File "/usr/lib/
items = working_
File "/usr/lib/
raise VersionConflict
pkg_resources.
Registering congress datasource services on node testnode
Heartbeat support requested but it is not supported by the kombu driver or the broker
started datasource synchronizer on node testnode
Registering congress PolicyEngine service on node testnode
Heartbeat support requested but it is not supported by the kombu driver or the broker
started policy-rule synchronizer on node testnode
engine policies synchronized, added 0 removed 0
completed synchronization of policies
sync classification policy with DB
sync action policy with DB
Registering congress policy library service on node testnode
Heartbeat support requested but it is not supported by the kombu driver or the broker
Registering congress API service on node testnode
Registered API handler: VersionV1Handle
Registered API handler: CollectionHandl
Registered API handler: ElementHandler(
Registered API handler: CollectionHandl
Registered API handler: ElementHandler(
Registered API handler: CollectionHandl
Registered API handler: ElementHandler(
Registered API handler: CollectionHandl
Registered API handler: ElementHandler(
Registered API handler: ElementHandler(
Registered API handler: ElementHandler(
Registered API handler: CollectionHandl
Registered API handler: ElementHandler(
Registered API handler: ElementHandler(
Registered API handler: ElementHandler(
Registered API handler: CollectionHandl
Registered API handler: ElementHandler(
Registered API handler: CollectionHandl
Registered API handler: ElementHandler(
Registered API handler: CollectionHandl
Registered API handler: CollectionHandl
Registered API handler: ElementHandler(
Heartbeat support requested but it is not supported by the kombu driver or the broker
tenant_name is deprecated, use project_name instead
creating service datasource1 with class <class 'congress.
Heartbeat support requested but it is not supported by the kombu driver or the broker
sync datasource1 policy with DB
datasource1:: polling
fake:: update_
datasource1:: finished polling
Heartbeat support requested but it is not supported by the kombu driver or the broker
Exception during message handling
Traceback (most recent call last):
File "/<<BUILDDIR>
loaded_driver = self.get_
File "/<<BUILDDIR>
raise exception.
congress.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/
res = self.dispatcher
File "/usr/lib/
return self._do_
File "/usr/lib/
result = func(ctxt, **new_args)
File "/<<BUILDDIR>
return self.ds_
File "/<<BUILDDIR>
self.
File "/<<BUILDDIR>
raise exception.
congress.
Stopping DSE node 'testnode'
killed datasource1 polling worker thread
}}}
raceback (most recent call last):
File "/<<BUILDDIR>
timeout=
File "/<<BUILDDIR>
caller, name, kwargs, timeout=timeout, local=local)
File "/<<BUILDDIR>
service, action, kwargs, timeout=timeout, local=local, retry=retry)
File "/<<BUILDDIR>
result = client.
File "/usr/lib/
return self.prepare(
File "/usr/lib/
retry=
File "/usr/lib/
retry=retry)
File "/usr/lib/
call_
File "/usr/lib/
raise result
congress.
Traceback (most recent call last):
File "/<<BUILDDIR>
loaded_driver = self.get_
File "/<<BUILDDIR>
raise exception.
congress.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/
res = self.dispatcher
File "/usr/lib/
return self._do_
File "/usr/lib/
result = func(ctxt, **new_args)
File "/<<BUILDDIR>
return self.ds_
File "/<<BUILDDIR>
self.
File "/<<BUILDDIR>
raise exception.
congress.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/<<BUILDDIR>
self.
File "/<<BUILDDIR>
e.code, webservice.
congress.
=======
FAIL: congress.
congress.
-------
_StringException: pythonlogging:'': {{{
Heartbeat support requested but it is not supported by the kombu driver or the broker
Heartbeat support requested but it is not supported by the kombu driver or the broker
Heartbeat support requested but it is not supported by the kombu driver or the broker
Registering congress datasource services on node testnode
Heartbeat support requested but it is not supported by the kombu driver or the broker
started datasource synchronizer on node testnode
Registering congress PolicyEngine service on node testnode
Heartbeat support requested but it is not supported by the kombu driver or the broker
started policy-rule synchronizer on node testnode
engine policies synchronized, added 0 removed 0
completed synchronization of policies
sync classification policy with DB
sync action policy with DB
Registering congress policy library service on node testnode
Heartbeat support requested but it is not supported by the kombu driver or the broker
Registering congress API service on node testnode
Registered API handler: VersionV1Handle
Registered API handler: CollectionHandl
Registered API handler: ElementHandler(
Registered API handler: CollectionHandl
Registered API handler: ElementHandler(
Registered API handler: CollectionHandl
Registered API handler: ElementHandler(
Registered API handler: CollectionHandl
Registered API handler: ElementHandler(
Registered API handler: ElementHandler(
Registered API handler: ElementHandler(
Registered API handler: CollectionHandl
Registered API handler: ElementHandler(
Registered API handler: ElementHandler(
Registered API handler: ElementHandler(
Registered API handler: CollectionHandl
Registered API handler: ElementHandler(
Registered API handler: CollectionHandl
Registered API handler: ElementHandler(
Registered API handler: CollectionHandl
Registered API handler: CollectionHandl
Registered API handler: ElementHandler(
Heartbeat support requested but it is not supported by the kombu driver or the broker
Heartbeat support requested but it is not supported by the kombu driver or the broker
Heartbeat support requested but it is not supported by the kombu driver or the broker
data:: polling
fake:: update_
data:: finished polling
Heartbeat support requested but it is not supported by the kombu driver or the broker
Heartbeat support requested but it is not supported by the kombu driver or the broker
Failed to load driver endpoint test=congress.
Traceback (most recent call last):
File "/<<BUILDDIR>
ep_plugin = ep.load()
File "/usr/lib/
self.
File "/usr/lib/
items = working_
File "/usr/lib/
raise VersionConflict
pkg_resources.
Registering congress datasource services on node test-node-2
Heartbeat support requested but it is not supported by the kombu driver or the broker
started datasource synchronizer on node test-node-2
Registering congress PolicyEngine service on node test-node-2
Heartbeat support requested but it is not supported by the kombu driver or the broker
started policy-rule synchronizer on node test-node-2
engine policies synchronized, added 2 removed 0
completed synchronization of policies
Registering congress policy library service on node test-node-2
Heartbeat support requested but it is not supported by the kombu driver or the broker
Registering congress API service on node test-node-2
Registered API handler: VersionV1Handle
Registered API handler: CollectionHandl
Registered API handler: ElementHandler(
Registered API handler: CollectionHandl
Registered API handler: ElementHandler(
Registered API handler: CollectionHandl
Registered API handler: ElementHandler(
Registered API handler: CollectionHandl
Registered API handler: ElementHandler(
Registered API handler: ElementHandler(
Registered API handler: ElementHandler(
Registered API handler: CollectionHandl
Registered API handler: ElementHandler(
Registered API handler: ElementHandler(
Registered API handler: ElementHandler(
Registered API handler: CollectionHandl
Registered API handler: ElementHandler(
Registered API handler: CollectionHandl
Registered API handler: ElementHandler(
Registered API handler: CollectionHandl
Registered API handler: CollectionHandl
Registered API handler: ElementHandler(
Heartbeat support requested but it is not supported by the kombu driver or the broker
Heartbeat support requested but it is not supported by the kombu driver or the broker
data:: polling
fake:: update_
data:: finished polling
}}}
Traceback (most recent call last):
File "/<<BUILDDIR>
self.
File "/usr/lib/
self.
File "/usr/lib/
raise mismatch_error
testtools.
Changed in congress: | |
milestone: | none → stein-rc1 |
importance: | Undecided → High |
Hi Thomas thanks for the report!
Looks like both failures are caused by a Babel version (2.4.0) that conflicts with Requirements [1]. 2.4.0 is blocked in global-requirements [2].
This line is particularly picky about meeting all the requirements: https:/ /github. com/openstack/ congress/ blob/8. 0.0.0rc1/ congress/ dse2/dse_ node.py# L534
Would you suggest that we modify the code to tolerate this requirement mismatch? Thanks again!
[1] tests.test_ custom_ driver: TestCustomDrive r >/congress- 8.0.0~rc1+ dfsg1/congress/ dse2/dse_ node.py" , line 534, in load_custom_drivers python3/ dist-packages/ pkg_resources/ __init_ _.py", line 2317, in load require( *args, **kwargs) python3/ dist-packages/ pkg_resources/ __init_ _.py", line 2340, in require set.resolve( reqs, env, installer, extras=self.extras) python3/ dist-packages/ pkg_resources/ __init_ _.py", line 779, in resolve (dist, req).with_ context( dependent_ req) VersionConflict : (Babel 2.4.0 (/usr/lib/ python3/ dist-packages) , Requirement. parse(' Babel!= 2.4.0,> =2.3.4' ))
Failed to load driver endpoint test=congress.
Traceback (most recent call last):
File "/<<BUILDDIR>
ep_plugin = ep.load()
File "/usr/lib/
self.
File "/usr/lib/
items = working_
File "/usr/lib/
raise VersionConflict
pkg_resources.
[2] https:/ /github. com/openstack/ requirements/ blob/stable/ rocky/global- requirements. txt#L11