Project

General

Profile

Actions

Bug #1272

closed

Test failures on Alpine Linux re: python bindings

Added by Russ W over 4 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Start date:
06/07/2020
Due date:
% Done:

0%

Estimated time:

Description

Hi,
I am trying to get the test suite to pass on Alpine Linux 3.12 with Python 3.8 but I am running into these failures:

# TAP results for TestAutoDiscoverSourceComponentSpecsGrouping
# bindings/python/bt2/test_python_bt2: TAP results for TestAutoDiscoverSourceComponentSpecsGrouping
not ok 11325 - test_grouping (test_trace_collection_message_iterator.TestAutoDiscoverSourceComponentSpecsGrouping)
FAIL: bindings/python/bt2/test_python_bt2 11325 - test_grouping (test_trace_collection_message_iterator.TestAutoDiscoverSourceComponentSpecsGrouping)
# Traceback (most recent call last):
# bindings/python/bt2/test_python_bt2: Traceback (most recent call last):
#   File "/usr/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
# bindings/python/bt2/test_python_bt2: File "/usr/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
#     yield
# bindings/python/bt2/test_python_bt2: yield
#   File "/usr/lib/python3.8/unittest/case.py", line 676, in run
# bindings/python/bt2/test_python_bt2: File "/usr/lib/python3.8/unittest/case.py", line 676, in run
#     self._callTestMethod(testMethod)
# bindings/python/bt2/test_python_bt2: self._callTestMethod(testMethod)
#   File "/usr/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
# bindings/python/bt2/test_python_bt2: File "/usr/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
#     method()
# bindings/python/bt2/test_python_bt2: method()
#   File "/home/builder/package/src/babeltrace2-2.0.3/tests/bindings/python/bt2/test_trace_collection_message_iterator.py", line 429, in test_grouping
# bindings/python/bt2/test_python_bt2: File "/home/builder/package/src/babeltrace2-2.0.3/tests/bindings/python/bt2/test_trace_collection_message_iterator.py", line 429, in test_grouping
#     it = bt2.TraceCollectionMessageIterator(specs)
# bindings/python/bt2/test_python_bt2: it = bt2.TraceCollectionMessageIterator(specs)
#   File "/home/builder/package/src/babeltrace2-2.0.3/src/bindings/python/bt2/build/build_lib/bt2/trace_collection_message_iterator.py", line 327, in __init__
# bindings/python/bt2/test_python_bt2: File "/home/builder/package/src/babeltrace2-2.0.3/src/bindings/python/bt2/build/build_lib/bt2/trace_collection_message_iterator.py", line 327, in __init__
#     self._src_comp_specs += _auto_discover_source_component_specs(
# bindings/python/bt2/test_python_bt2: self._src_comp_specs += _auto_discover_source_component_specs(
#   File "/home/builder/package/src/babeltrace2-2.0.3/src/bindings/python/bt2/build/build_lib/bt2/trace_collection_message_iterator.py", line 237, in _auto_discover_source_component_specs
# bindings/python/bt2/test_python_bt2: File "/home/builder/package/src/babeltrace2-2.0.3/src/bindings/python/bt2/build/build_lib/bt2/trace_collection_message_iterator.py", line 237, in _auto_discover_source_component_specs
#     raise RuntimeError(msg)
# bindings/python/bt2/test_python_bt2: raise RuntimeError(msg)
# RuntimeError: Some auto source component specs did not produce any component: ABCDE, /home/builder/package/src/babeltrace2-2.0.3/tests/data/auto-source-discovery/grouping
# bindings/python/bt2/test_python_bt2: RuntimeError: Some auto source component specs did not produce any component: ABCDE, /home/builder/package/src/babeltrace2-2.0.3/tests/data/auto-source-discovery/grouping
# TAP results for TestAutoDiscoverSourceComponentSpecsParamsObjLogLevel
# bindings/python/bt2/test_python_bt2: TAP results for TestAutoDiscoverSourceComponentSpecsParamsObjLogLevel
not ok 11326 - test_log_level_one_comp_from_one_spec_one_comp_from_both_1 (test_trace_collection_message_iterator.TestAutoDiscoverSourceComponentSpecsParamsObjLogLevel)
FAIL: bindings/python/bt2/test_python_bt2 11326 - test_log_level_one_comp_from_one_spec_one_comp_from_both_1 (test_trace_collection_message_iterator.TestAutoDiscoverSourceComponentSpecsParamsObjLogLevel)
# Traceback (most recent call last):
# bindings/python/bt2/test_python_bt2: Traceback (most recent call last):
#   File "/usr/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
# bindings/python/bt2/test_python_bt2: File "/usr/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
#     yield
# bindings/python/bt2/test_python_bt2: yield
#   File "/usr/lib/python3.8/unittest/case.py", line 676, in run
# bindings/python/bt2/test_python_bt2: File "/usr/lib/python3.8/unittest/case.py", line 676, in run
#     self._callTestMethod(testMethod)
# bindings/python/bt2/test_python_bt2: self._callTestMethod(testMethod)
#   File "/usr/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
# bindings/python/bt2/test_python_bt2: File "/usr/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
#     method()
# bindings/python/bt2/test_python_bt2: method()
#   File "/home/builder/package/src/babeltrace2-2.0.3/tests/bindings/python/bt2/test_trace_collection_message_iterator.py", line 608, in test_log_level_one_comp_from_one_spec_one_comp_from_both_1
# bindings/python/bt2/test_python_bt2: File "/home/builder/package/src/babeltrace2-2.0.3/tests/bindings/python/bt2/test_trace_collection_message_iterator.py", line 608, in test_log_level_one_comp_from_one_spec_one_comp_from_both_1
#     msgs = self._test_one_comp_from_one_spec_one_comp_from_both_1(
# bindings/python/bt2/test_python_bt2: msgs = self._test_one_comp_from_one_spec_one_comp_from_both_1(
#   File "/home/builder/package/src/babeltrace2-2.0.3/tests/bindings/python/bt2/test_trace_collection_message_iterator.py", line 575, in _test_one_comp_from_one_spec_one_comp_from_both_1
# bindings/python/bt2/test_python_bt2: File "/home/builder/package/src/babeltrace2-2.0.3/tests/bindings/python/bt2/test_trace_collection_message_iterator.py", line 575, in _test_one_comp_from_one_spec_one_comp_from_both_1
#     it = bt2.TraceCollectionMessageIterator(specs)
# bindings/python/bt2/test_python_bt2: it = bt2.TraceCollectionMessageIterator(specs)
#   File "/home/builder/package/src/babeltrace2-2.0.3/src/bindings/python/bt2/build/build_lib/bt2/trace_collection_message_iterator.py", line 327, in __init__
# bindings/python/bt2/test_python_bt2: File "/home/builder/package/src/babeltrace2-2.0.3/src/bindings/python/bt2/build/build_lib/bt2/trace_collection_message_iterator.py", line 327, in __init__
#     self._src_comp_specs += _auto_discover_source_component_specs(
# bindings/python/bt2/test_python_bt2: self._src_comp_specs += _auto_discover_source_component_specs(
#   File "/home/builder/package/src/babeltrace2-2.0.3/src/bindings/python/bt2/build/build_lib/bt2/trace_collection_message_iterator.py", line 237, in _auto_discover_source_component_specs
# bindings/python/bt2/test_python_bt2: File "/home/builder/package/src/babeltrace2-2.0.3/src/bindings/python/bt2/build/build_lib/bt2/trace_collection_message_iterator.py", line 237, in _auto_discover_source_component_specs
#     raise RuntimeError(msg)
# bindings/python/bt2/test_python_bt2: raise RuntimeError(msg)
# RuntimeError: Some auto source component specs did not produce any component: /home/builder/package/src/babeltrace2-2.0.3/tests/data/auto-source-discovery/params-log-level/dir-a, /home/builder/package/src/babeltrace2-2.0.3/tests/data/auto-source-discovery/params-log-level/dir-ab
# bindings/python/bt2/test_python_bt2: RuntimeError: Some auto source component specs did not produce any component: /home/builder/package/src/babeltrace2-2.0.3/tests/data/auto-source-discovery/params-log-level/dir-a, /home/builder/package/src/babeltrace2-2.0.3/tests/data/auto-source-discovery/params-log-level/dir-ab
not ok 11327 - test_log_level_one_comp_from_one_spec_one_comp_from_both_2 (test_trace_collection_message_iterator.TestAutoDiscoverSourceComponentSpecsParamsObjLogLevel)
FAIL: bindings/python/bt2/test_python_bt2 11327 - test_log_level_one_comp_from_one_spec_one_comp_from_both_2 (test_trace_collection_message_iterator.TestAutoDiscoverSourceComponentSpecsParamsObjLogLevel)
# Traceback (most recent call last):
# bindings/python/bt2/test_python_bt2: Traceback (most recent call last):
#   File "/usr/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
# bindings/python/bt2/test_python_bt2: File "/usr/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
#     yield
# bindings/python/bt2/test_python_bt2: yield
#   File "/usr/lib/python3.8/unittest/case.py", line 676, in run
# bindings/python/bt2/test_python_bt2: File "/usr/lib/python3.8/unittest/case.py", line 676, in run
#     self._callTestMethod(testMethod)
# bindings/python/bt2/test_python_bt2: self._callTestMethod(testMethod)
#   File "/usr/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
# bindings/python/bt2/test_python_bt2: File "/usr/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
#     method()
# bindings/python/bt2/test_python_bt2: method()
#   File "/home/builder/package/src/babeltrace2-2.0.3/tests/bindings/python/bt2/test_trace_collection_message_iterator.py", line 680, in test_log_level_one_comp_from_one_spec_one_comp_from_both_2
# bindings/python/bt2/test_python_bt2: File "/home/builder/package/src/babeltrace2-2.0.3/tests/bindings/python/bt2/test_trace_collection_message_iterator.py", line 680, in test_log_level_one_comp_from_one_spec_one_comp_from_both_2
#     msgs = self._test_one_comp_from_one_spec_one_comp_from_both_2(
# bindings/python/bt2/test_python_bt2: msgs = self._test_one_comp_from_one_spec_one_comp_from_both_2(
#   File "/home/builder/package/src/babeltrace2-2.0.3/tests/bindings/python/bt2/test_trace_collection_message_iterator.py", line 642, in _test_one_comp_from_one_spec_one_comp_from_both_2
# bindings/python/bt2/test_python_bt2: File "/home/builder/package/src/babeltrace2-2.0.3/tests/bindings/python/bt2/test_trace_collection_message_iterator.py", line 642, in _test_one_comp_from_one_spec_one_comp_from_both_2
#     it = bt2.TraceCollectionMessageIterator(specs)
# bindings/python/bt2/test_python_bt2: it = bt2.TraceCollectionMessageIterator(specs)
#   File "/home/builder/package/src/babeltrace2-2.0.3/src/bindings/python/bt2/build/build_lib/bt2/trace_collection_message_iterator.py", line 327, in __init__
# bindings/python/bt2/test_python_bt2: File "/home/builder/package/src/babeltrace2-2.0.3/src/bindings/python/bt2/build/build_lib/bt2/trace_collection_message_iterator.py", line 327, in __init__
#     self._src_comp_specs += _auto_discover_source_component_specs(
# bindings/python/bt2/test_python_bt2: self._src_comp_specs += _auto_discover_source_component_specs(
#   File "/home/builder/package/src/babeltrace2-2.0.3/src/bindings/python/bt2/build/build_lib/bt2/trace_collection_message_iterator.py", line 237, in _auto_discover_source_component_specs
# bindings/python/bt2/test_python_bt2: File "/home/builder/package/src/babeltrace2-2.0.3/src/bindings/python/bt2/build/build_lib/bt2/trace_collection_message_iterator.py", line 237, in _auto_discover_source_component_specs
#     raise RuntimeError(msg)
# bindings/python/bt2/test_python_bt2: raise RuntimeError(msg)
# RuntimeError: Some auto source component specs did not produce any component: /home/builder/package/src/babeltrace2-2.0.3/tests/data/auto-source-discovery/params-log-level/dir-ab, /home/builder/package/src/babeltrace2-2.0.3/tests/data/auto-source-discovery/params-log-level/dir-a
# bindings/python/bt2/test_python_bt2: RuntimeError: Some auto source component specs did not produce any component: /home/builder/package/src/babeltrace2-2.0.3/tests/data/auto-source-discovery/params-log-level/dir-ab, /home/builder/package/src/babeltrace2-2.0.3/tests/data/auto-source-discovery/params-log-level/dir-a

Could you please assist in what this could be? I have uploaded the test-suite.log.

Thank you,

Russ


Files

test-suite.log (3.87 MB) test-suite.log Russ W, 06/07/2020 04:30 AM
job.log (2.6 MB) job.log Russ W, 06/07/2020 09:35 AM

Related issues 1 (0 open1 closed)

Has duplicate Babeltrace - Bug #1401: Tests fail with `--enable-python-bindings`, but without `--enable-python-plugins`Invalid10/29/2023

Actions
Actions

Also available in: Atom PDF