2021.8.0: test suite is failing in 3 units
cmake settings
-- Cache values
CMAKE_BUILD_TYPE:STRING=RelWithDebInfo
CMAKE_INSTALL_PREFIX:PATH=/usr
EXAMPLES_UI_MODE:STRING=con
MKL_CORE_LIB:FILEPATH=MKL_CORE_LIB-NOTFOUND
MKL_INTEL_LP64_LIB:FILEPATH=MKL_INTEL_LP64_LIB-NOTFOUND
MKL_SEQUENTIAL_LIB:FILEPATH=MKL_SEQUENTIAL_LIB-NOTFOUND
SDE_EXE:FILEPATH=SDE_EXE-NOTFOUND
TACHYON_VERSION:STRING=tbb
TBB4PY_BUILD:BOOL=OFF
TBBMALLOC_BUILD:BOOL=ON
TBBMALLOC_PROXY_BUILD:BOOL=ON
TBB_BUILD:BOOL=ON
TBB_CPF:BOOL=OFF
TBB_DISABLE_HWLOC_AUTOMATIC_SEARCH:BOOL=OFF
TBB_ENABLE_IPO:BOOL=ON
TBB_EXAMPLES:BOOL=ON
TBB_FIND_PACKAGE:BOOL=OFF
TBB_INSTALL_VARS:BOOL=OFF
TBB_NO_APPCONTAINER:BOOL=OFF
TBB_SANITIZE:STRING=
TBB_STRICT:BOOL=ON
TBB_TEST:BOOL=ON
TBB_TEST_SPEC:BOOL=ON
TBB_VALGRIND_MEMCHECK:BOOL=OFF
TBB_WINDOWS_DRIVER:BOOL=OFF
And test suite is failing:
+ cd oneTBB-2021.8.0
+ /usr/bin/ctest --test-dir x86_64-redhat-linux-gnu --output-on-failure --force-new-ctest-process -j48 ' '
Internal ctest changing into directory: /home/tkloczko/rpmbuild/BUILD/oneTBB-2021.8.0/x86_64-redhat-linux-gnu
Test project /home/tkloczko/rpmbuild/BUILD/oneTBB-2021.8.0/x86_64-redhat-linux-gnu
Start 1: test_tick_count
Start 2: test_allocators
Start 3: test_arena_priorities
Start 4: test_dynamic_link
Start 5: test_collaborative_call_once
Start 6: test_concurrent_lru_cache
Start 7: test_concurrent_unordered_map
Start 8: test_concurrent_unordered_set
Start 9: test_concurrent_map
Start 10: test_concurrent_set
Start 11: test_concurrent_priority_queue
Start 12: test_partitioner
Start 13: test_parallel_for
Start 14: test_parallel_for_each
Start 15: test_parallel_reduce
Start 16: test_parallel_sort
Start 17: test_parallel_invoke
Start 18: test_parallel_scan
Start 19: test_parallel_pipeline
Start 20: test_eh_algorithms
Start 21: test_blocked_range
Start 22: test_concurrent_vector
Start 23: test_task_group
Start 24: test_concurrent_hash_map
Start 25: test_task_arena
Start 26: test_enumerable_thread_specific
Start 27: test_concurrent_queue
Start 28: test_resumable_tasks
Start 29: test_mutex
Start 30: test_function_node
Start 31: test_multifunction_node
Start 32: test_broadcast_node
Start 33: test_buffer_node
Start 34: test_composite_node
Start 35: test_continue_node
Start 36: test_eh_flow_graph
Start 37: test_flow_graph
Start 38: test_flow_graph_priorities
Start 39: test_flow_graph_whitebox
Start 40: test_indexer_node
Start 41: test_join_node
Start 42: test_join_node_key_matching
Start 43: test_join_node_msg_key_matching
Start 44: test_join_node_msg_key_matching_n_args
Start 45: test_join_node_preview
Start 46: test_limiter_node
Start 47: test_priority_queue_node
Start 48: test_queue_node
1/136 Test #1: test_tick_count .......................... Passed 1.32 sec
Start 49: test_sequencer_node
2/136 Test #2: test_allocators .......................... Passed 1.43 sec
Start 50: test_split_node
3/136 Test #3: test_arena_priorities .................... Passed 1.61 sec
Start 51: test_tagged_msg
4/136 Test #4: test_dynamic_link ........................ Passed 1.64 sec
Start 52: test_overwrite_node
5/136 Test #6: test_concurrent_lru_cache ................ Passed 1.66 sec
Start 53: test_write_once_node
6/136 Test #21: test_blocked_range ....................... Passed 1.53 sec
Start 54: test_async_node
7/136 Test #45: test_join_node_preview ................... Passed 0.90 sec
Start 55: test_input_node
8/136 Test #11: test_concurrent_priority_queue ........... Passed 1.93 sec
Start 56: test_profiling
9/136 Test #43: test_join_node_msg_key_matching .......... Passed 1.15 sec
Start 57: test_concurrent_queue_whitebox
10/136 Test #39: test_flow_graph_whitebox ................. Passed 1.44 sec
Start 58: test_intrusive_list
11/136 Test #51: test_tagged_msg .......................... Passed 0.61 sec
Start 59: test_semaphore
12/136 Test #56: test_profiling ........................... Passed 0.30 sec
Start 60: test_environment_whitebox
13/136 Test #57: test_concurrent_queue_whitebox ........... Passed 0.26 sec
Start 61: test_hw_concurrency
14/136 Test #61: test_hw_concurrency ...................... Passed 0.06 sec
Start 62: test_eh_thread
15/136 Test #62: test_eh_thread ...........................***Failed 0.06 sec
[doctest] doctest version is "2.4.7"
[doctest] run with "--help" for options
===============================================================================
/home/tkloczko/rpmbuild/BUILD/oneTBB-2021.8.0/test/tbb/test_eh_thread.cpp:90:
TEST CASE: Too many threads
/home/tkloczko/rpmbuild/BUILD/oneTBB-2021.8.0/test/tbb/test_eh_thread.cpp:90: ERROR: test case THREW exception: Resource temporarily unavailable
===============================================================================
[doctest] test cases: 1 | 0 passed | 1 failed | 0 skipped
[doctest] assertions: 2 | 2 passed | 0 failed |
[doctest] Status: FAILURE!
Start 63: test_global_control
16/136 Test #55: test_input_node .......................... Passed 0.65 sec
Start 64: test_task
17/136 Test #47: test_priority_queue_node ................. Passed 1.60 sec
Start 65: test_concurrent_monitor
18/136 Test #24: test_concurrent_hash_map ................. Passed 2.78 sec
Start 66: test_scheduler_mix
19/136 Test #17: test_parallel_invoke ..................... Passed 3.36 sec
Start 67: test_handle_perror
20/136 Test #60: test_environment_whitebox ................ Passed 1.25 sec
Start 68: test_arena_constraints
21/136 Test #67: test_handle_perror ....................... Passed 0.18 sec
Start 69: test_tbb_fork
22/136 Test #33: test_buffer_node ......................... Passed 3.09 sec
Start 70: test_tbb_header
23/136 Test #70: test_tbb_header .......................... Passed 0.36 sec
Start 71: test_openmp
24/136 Test #32: test_broadcast_node ...................... Passed 3.51 sec
Start 72: conformance_tick_count
25/136 Test #14: test_parallel_for_each ................... Passed 4.54 sec
Start 73: conformance_allocators
26/136 Test #72: conformance_tick_count ................... Passed 0.54 sec
Start 74: conformance_mutex
27/136 Test #37: test_flow_graph .......................... Passed 4.71 sec
Start 75: conformance_task_group
28/136 Test #50: test_split_node .......................... Passed 4.52 sec
Start 76: conformance_task_group_context
29/136 Test #76: conformance_task_group_context ........... Passed 0.27 sec
Start 77: conformance_task_arena
30/136 Test #49: test_sequencer_node ...................... Passed 5.26 sec
Start 78: conformance_collaborative_call_once
31/136 Test #75: conformance_task_group ................... Passed 1.34 sec
Start 79: conformance_concurrent_lru_cache
32/136 Test #79: conformance_concurrent_lru_cache ......... Passed 0.28 sec
Start 80: conformance_concurrent_unordered_map
33/136 Test #77: conformance_task_arena ................... Passed 1.51 sec
Start 81: conformance_concurrent_unordered_set
34/136 Test #59: test_semaphore ........................... Passed 5.81 sec
Start 82: conformance_concurrent_map
35/136 Test #13: test_parallel_for ........................ Passed 8.38 sec
Start 83: conformance_concurrent_set
36/136 Test #42: test_join_node_key_matching .............. Passed 7.70 sec
Start 84: conformance_concurrent_priority_queue
37/136 Test #48: test_queue_node .......................... Passed 7.50 sec
Start 85: conformance_parallel_for
38/136 Test #10: test_concurrent_set ...................... Passed 8.99 sec
Start 86: conformance_parallel_for_each
39/136 Test #78: conformance_collaborative_call_once ...... Passed 2.63 sec
Start 87: conformance_parallel_reduce
40/136 Test #9: test_concurrent_map ...................... Passed 9.24 sec
Start 88: conformance_parallel_scan
41/136 Test #40: test_indexer_node ........................ Passed 8.66 sec
Start 89: conformance_parallel_sort
42/136 Test #68: test_arena_constraints ................... Passed 6.06 sec
Start 90: conformance_parallel_pipeline
43/136 Test #88: conformance_parallel_scan ................ Passed 0.88 sec
Start 91: conformance_parallel_invoke
44/136 Test #44: test_join_node_msg_key_matching_n_args ... Passed 10.86 sec
Start 92: conformance_blocked_range
45/136 Test #80: conformance_concurrent_unordered_map ..... Passed 5.62 sec
Start 93: conformance_blocked_range2d
46/136 Test #81: conformance_concurrent_unordered_set ..... Passed 5.48 sec
Start 94: conformance_blocked_range3d
47/136 Test #83: conformance_concurrent_set ............... Passed 5.13 sec
Start 95: conformance_blocked_rangeNd
48/136 Test #84: conformance_concurrent_priority_queue .... Passed 6.04 sec
Start 96: conformance_concurrent_vector
49/136 Test #82: conformance_concurrent_map ............... Passed 6.58 sec
Start 97: conformance_global_control
50/136 Test #86: conformance_parallel_for_each ............ Passed 6.52 sec
Start 98: conformance_concurrent_hash_map
51/136 Test #73: conformance_allocators ................... Passed 11.10 sec
Start 99: conformance_enumerable_thread_specific
52/136 Test #89: conformance_parallel_sort ................ Passed 6.53 sec
Start 100: conformance_combinable
53/136 Test #54: test_async_node .......................... Passed 14.79 sec
Start 101: conformance_concurrent_queue
54/136 Test #19: test_parallel_pipeline ................... Passed 17.11 sec
Start 102: conformance_resumable_tasks
55/136 Test #102: conformance_resumable_tasks .............. Passed 0.79 sec
Start 103: conformance_version
56/136 Test #103: conformance_version ...................... Passed 0.32 sec
Start 104: conformance_function_node
57/136 Test #104: conformance_function_node ................ Passed 0.48 sec
Start 105: conformance_multifunction_node
58/136 Test #36: test_eh_flow_graph ....................... Passed 18.51 sec
Start 106: conformance_input_node
59/136 Test #95: conformance_blocked_rangeNd .............. Passed 5.95 sec
Start 107: conformance_continue_node
60/136 Test #107: conformance_continue_node ................ Passed 0.25 sec
Start 108: conformance_async_node
61/136 Test #97: conformance_global_control ............... Passed 5.24 sec
Start 109: conformance_overwrite_node
62/136 Test #105: conformance_multifunction_node ........... Passed 2.07 sec
Start 110: conformance_write_once_node
63/136 Test #108: conformance_async_node ................... Passed 1.17 sec
Start 111: conformance_buffer_node
64/136 Test #110: conformance_write_once_node .............. Passed 0.51 sec
Start 112: conformance_queue_node
65/136 Test #109: conformance_overwrite_node ............... Passed 1.58 sec
Start 113: conformance_priority_queue_node
66/136 Test #111: conformance_buffer_node .................. Passed 0.65 sec
Start 114: conformance_sequencer_node
67/136 Test #113: conformance_priority_queue_node .......... Passed 0.42 sec
Start 115: conformance_limiter_node
68/136 Test #114: conformance_sequencer_node ............... Passed 0.36 sec
Start 116: conformance_broadcast_node
69/136 Test #115: conformance_limiter_node ................. Passed 0.18 sec
Start 117: conformance_composite_node
70/136 Test #112: conformance_queue_node ................... Passed 1.12 sec
Start 118: conformance_indexer_node
71/136 Test #116: conformance_broadcast_node ............... Passed 0.68 sec
Start 119: conformance_split_node
72/136 Test #117: conformance_composite_node ............... Passed 1.00 sec
Start 120: conformance_join_node
73/136 Test #119: conformance_split_node ................... Passed 0.69 sec
Start 121: conformance_graph
74/136 Test #118: conformance_indexer_node ................. Passed 0.88 sec
Start 122: conformance_arena_constraints
75/136 Test #122: conformance_arena_constraints ............ Passed 0.11 sec
Start 123: test_scalable_allocator
76/136 Test #120: conformance_join_node .................... Passed 0.50 sec
Start 124: test_malloc_pools
77/136 Test #91: conformance_parallel_invoke .............. Passed 13.42 sec
Start 125: test_malloc_init_shutdown
78/136 Test #121: conformance_graph ........................ Passed 0.29 sec
Start 126: test_malloc_regression
79/136 Test #41: test_join_node ........................... Passed 22.80 sec
Start 127: test_malloc_shutdown_hang
80/136 Test #125: test_malloc_init_shutdown ................ Passed 0.43 sec
Start 128: test_malloc_compliance
81/136 Test #58: test_intrusive_list ...................... Passed 22.11 sec
Start 129: test_malloc_used_by_lib
82/136 Test #46: test_limiter_node ........................ Passed 23.57 sec
Start 130: test_malloc_lib_unload
83/136 Test #5: test_collaborative_call_once ............. Passed 24.55 sec
Start 131: test_malloc_pure_c
84/136 Test #129: test_malloc_used_by_lib .................. Passed 0.29 sec
Start 132: test_malloc_whitebox
85/136 Test #130: test_malloc_lib_unload ................... Passed 0.20 sec
Start 133: test_malloc_atexit
86/136 Test #133: test_malloc_atexit ....................... Passed 0.01 sec
Start 134: test_malloc_overload
87/136 Test #134: test_malloc_overload ..................... Passed 0.14 sec
Start 135: test_malloc_overload_disable
88/136 Test #135: test_malloc_overload_disable ............. Passed 0.02 sec
Start 136: test_malloc_new_handler
89/136 Test #66: test_scheduler_mix ....................... Passed 21.80 sec
90/136 Test #131: test_malloc_pure_c ....................... Passed 0.33 sec
91/136 Test #94: conformance_blocked_range3d .............. Passed 11.68 sec
92/136 Test #96: conformance_concurrent_vector ............Subprocess aborted***Exception: 10.34 sec
terminate called after throwing an instance of 'doctest::detail::TestFailureException'
[doctest] doctest version is "2.4.7"
[doctest] run with "--help" for options
===============================================================================
/home/tkloczko/rpmbuild/BUILD/oneTBB-2021.8.0/test/conformance/conformance_concurrent_vector.cpp:1453:
TEST CASE: testing exceptions
/home/tkloczko/rpmbuild/BUILD/oneTBB-2021.8.0/test/common/container_move_support.h:95: FATAL ERROR: REQUIRE( static_counter_allocator_type::items_allocated == static_counter_allocator_type::items_freed ) is NOT correct!
values: REQUIRE( 0 == 64 )
logged: memory leak?
/home/tkloczko/rpmbuild/BUILD/oneTBB-2021.8.0/test/conformance/conformance_concurrent_vector.cpp:1453: FATAL ERROR: test case CRASHED: SIGABRT - Abort (abnormal termination) signal
logged: memory leak?
===============================================================================
[doctest] test cases: 7 | 6 passed | 1 failed | 20 skipped
[doctest] assertions: 2221055 | 2221054 passed | 1 failed |
[doctest] Status: FAILURE!
93/136 Test #136: test_malloc_new_handler .................. Passed 0.19 sec
94/136 Test #64: test_task ................................ Passed 23.11 sec
95/136 Test #126: test_malloc_regression ................... Passed 2.55 sec
96/136 Test #27: test_concurrent_queue .................... Passed 26.10 sec
97/136 Test #87: conformance_parallel_reduce .............. Passed 19.00 sec
98/136 Test #7: test_concurrent_unordered_map ............ Passed 28.68 sec
99/136 Test #8: test_concurrent_unordered_set ............ Passed 29.19 sec
100/136 Test #127: test_malloc_shutdown_hang ................ Passed 6.88 sec
101/136 Test #26: test_enumerable_thread_specific .......... Passed 30.32 sec
102/136 Test #106: conformance_input_node ................... Passed 11.95 sec
103/136 Test #23: test_task_group .......................... Passed 31.72 sec
104/136 Test #34: test_composite_node ...................... Passed 32.24 sec
105/136 Test #71: test_openmp .............................. Passed 29.24 sec
106/136 Test #63: test_global_control ...................... Passed 31.37 sec
107/136 Test #92: conformance_blocked_range ................ Passed 22.14 sec
108/136 Test #98: conformance_concurrent_hash_map .......... Passed 18.55 sec
109/136 Test #53: test_write_once_node ..................... Passed 33.23 sec
110/136 Test #123: test_scalable_allocator .................. Passed 12.02 sec
111/136 Test #65: test_concurrent_monitor .................. Passed 32.98 sec
112/136 Test #38: test_flow_graph_priorities ............... Passed 35.00 sec
113/136 Test #52: test_overwrite_node ...................... Passed 34.37 sec
114/136 Test #22: test_concurrent_vector ...................***Failed 35.97 sec
[doctest] doctest version is "2.4.7"
[doctest] run with "--help" for options
===============================================================================
/home/tkloczko/rpmbuild/BUILD/oneTBB-2021.8.0/test/tbb/test_concurrent_vector.cpp:605:
TEST CASE: Whitebox test for segment table extension
/home/tkloczko/rpmbuild/BUILD/oneTBB-2021.8.0/test/common/state_trackable.h:116: ERROR: CHECK( false ) is NOT correct!
values: CHECK( false )
logged: Bad source for copy ctor
/home/tkloczko/rpmbuild/BUILD/oneTBB-2021.8.0/test/common/state_trackable.h:116: ERROR: CHECK( false ) is NOT correct!
values: CHECK( false )
logged: Bad source for copy ctor
/home/tkloczko/rpmbuild/BUILD/oneTBB-2021.8.0/test/common/state_trackable.h:116: ERROR: CHECK( false ) is NOT correct!
values: CHECK( false )
logged: Bad source for copy ctor
/home/tkloczko/rpmbuild/BUILD/oneTBB-2021.8.0/test/common/state_trackable.h:116: ERROR: CHECK( false ) is NOT correct!
values: CHECK( false )
logged: Bad source for copy ctor
/home/tkloczko/rpmbuild/BUILD/oneTBB-2021.8.0/test/common/state_trackable.h:116: ERROR: CHECK( false ) is NOT correct!
values: CHECK( false )
logged: Bad source for copy ctor
/home/tkloczko/rpmbuild/BUILD/oneTBB-2021.8.0/test/common/state_trackable.h:116: ERROR: CHECK( false ) is NOT correct!
values: CHECK( false )
logged: Bad source for copy ctor
/home/tkloczko/rpmbuild/BUILD/oneTBB-2021.8.0/test/common/state_trackable.h:116: ERROR: CHECK( false ) is NOT correct!
values: CHECK( false )
logged: Bad source for copy ctor
/home/tkloczko/rpmbuild/BUILD/oneTBB-2021.8.0/test/tbb/test_concurrent_vector.cpp:628: FATAL ERROR: REQUIRE( assigned_vector == copy_of_copy ) is NOT correct!
values: REQUIRE( {?} == {?} )
===============================================================================
[doctest] test cases: 14 | 13 passed | 1 failed | 0 skipped
[doctest] assertions: 18804 | 18796 passed | 8 failed |
[doctest] Status: FAILURE!
115/136 Test #124: test_malloc_pools ........................ Passed 13.59 sec
116/136 Test #90: conformance_parallel_pipeline ............ Passed 27.64 sec
117/136 Test #12: test_partitioner ......................... Passed 38.07 sec
118/136 Test #100: conformance_combinable ................... Passed 22.53 sec
119/136 Test #69: test_tbb_fork ............................ Passed 35.60 sec
120/136 Test #99: conformance_enumerable_thread_specific ... Passed 24.44 sec
121/136 Test #85: conformance_parallel_for ................. Passed 34.11 sec
122/136 Test #93: conformance_blocked_range2d .............. Passed 30.72 sec
123/136 Test #74: conformance_mutex ........................ Passed 38.83 sec
124/136 Test #15: test_parallel_reduce ..................... Passed 44.00 sec
125/136 Test #101: conformance_concurrent_queue ............. Passed 31.19 sec
126/136 Test #132: test_malloc_whitebox ..................... Passed 28.31 sec
127/136 Test #18: test_parallel_scan ....................... Passed 54.60 sec
128/136 Test #35: test_continue_node ....................... Passed 55.52 sec
129/136 Test #16: test_parallel_sort ....................... Passed 59.65 sec
130/136 Test #20: test_eh_algorithms ....................... Passed 63.13 sec
131/136 Test #30: test_function_node ....................... Passed 63.06 sec
132/136 Test #31: test_multifunction_node .................. Passed 64.10 sec
133/136 Test #25: test_task_arena .......................... Passed 65.84 sec
134/136 Test #128: test_malloc_compliance ................... Passed 44.66 sec
135/136 Test #29: test_mutex ............................... Passed 75.96 sec
136/136 Test #28: test_resumable_tasks ..................... Passed 80.97 sec
98% tests passed, 3 tests failed out of 136
Total Test time (real) = 81.52 sec
The following tests FAILED:
22 - test_concurrent_vector (Failed)
62 - test_eh_thread (Failed)
96 - conformance_concurrent_vector (Subprocess aborted)
Errors while running CTest
Hi @kloczek, could you please provide more detail regarding the environment you using?
Hmm .. what kind of details you need? 🤔 I'm usig my own distribution which is relatively close to Fedora rawhide.
Let's start with: CPU version. cmake build command
CPU:
model name : Intel(R) Xeon(R) Silver 4116 CPU @ 2.10GHz
cmake params (from rpm spec file)
%build
%cmake \
-D TBB4PY_BUILD=OFF \
-D TBB_EXAMPLES=ON \
-D TBB_TEST=ON \
-D TBB_TEST_SPEC=ON \
%{nil}
Addionally I've lready reported cmake -L output.
Is that enough? 🤔
Since we don't have similar environment. We can try to debug it here. Could you please provide the threads stack for test_eh_thread ?
/usr/bin/ctest ... -j48
Do oneTBB tests support parallel execution?
That probably might be the root cause. We don't know :)
I've checked test suite execution with -j1 and result is the same.
Those units are failing because they cannot find files.
I'm using off-tree buod procedure so probably that is the cause.
Could you plse try to run cmake -B build <params>; cmake --build build; ctest --test-dir build?
After eneble uilding python module looks like ctest is failimg on python_test unit as well.
88/134 Test #134: python_test ..............................***Failed 0.40 sec
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.8.16", minimum required is "3.5")
CMake Error at /home/tkloczko/rpmbuild/BUILD/oneTBB-2021.8.0/cmake/python/test_launcher.cmake:21 (message):
Cannot find oneTBB Python module
@kloczek I don't quite understand what files test units can't find. Based on initial message, there are particular test cases that are failing, not the whole test unit. I tried the command you provided. Didn't face those issues you mentioned first...
I just checked what installed `install' target.
[tkloczko@devel-g2v SPECS]$ ls -lR /home/tkloczko/rpmbuild/BUILDROOT/tbb-2021.8.0-2.fc35.x86_64/usr/lib64/python3.8/
/home/tkloczko/rpmbuild/BUILDROOT/tbb-2021.8.0-2.fc35.x86_64/usr/lib64/python3.8/:
total 0
drwxr-xr-x 1 tkloczko tkloczko 60 Jan 18 17:21 site-packages
/home/tkloczko/rpmbuild/BUILDROOT/tbb-2021.8.0-2.fc35.x86_64/usr/lib64/python3.8/site-packages:
total 0
drwxr-xr-x 1 tkloczko tkloczko 62 Jan 18 17:21 TBB-0.2-py3.8-linux-x86_64.egg
/home/tkloczko/rpmbuild/BUILDROOT/tbb-2021.8.0-2.fc35.x86_64/usr/lib64/python3.8/site-packages/TBB-0.2-py3.8-linux-x86_64.egg:
total 4
-rw-r--r-- 1 tkloczko tkloczko 755 Jan 18 17:20 B.py
drwxr-xr-x 1 tkloczko tkloczko 158 Jan 18 17:21 G-INFO
drwxr-xr-x 1 tkloczko tkloczko 120 Jan 18 17:21 __pycache__
drwxr-xr-x 1 tkloczko tkloczko 190 Jan 18 17:21 b
drwxr-xr-x 1 tkloczko tkloczko 36 Jan 18 17:21 pycache__
/home/tkloczko/rpmbuild/BUILDROOT/tbb-2021.8.0-2.fc35.x86_64/usr/lib64/python3.8/site-packages/TBB-0.2-py3.8-linux-x86_64.egg/G-INFO:
total 24
-rw-r--r-- 1 tkloczko tkloczko 1227 Jan 18 17:20 PKG-INFO
-rw-r--r-- 1 tkloczko tkloczko 200 Jan 18 17:20 SOURCES.txt
-rw-r--r-- 1 tkloczko tkloczko 1 Jan 18 17:20 dependency_links.txt
-rw-r--r-- 1 tkloczko tkloczko 40 Jan 18 17:20 native_libs.txt
-rw-r--r-- 1 tkloczko tkloczko 1 Jan 18 17:20 not-zip-safe
-rw-r--r-- 1 tkloczko tkloczko 8 Jan 18 17:20 top_level.txt
/home/tkloczko/rpmbuild/BUILDROOT/tbb-2021.8.0-2.fc35.x86_64/usr/lib64/python3.8/site-packages/TBB-0.2-py3.8-linux-x86_64.egg/__pycache__:
total 12
-rw-r--r-- 1 tkloczko tkloczko 322 Jan 18 17:21 B.cpython-38.opt-1.pyc
-rw-r--r-- 1 tkloczko tkloczko 322 Jan 18 17:21 B.cpython-38.opt-2.pyc
-rw-r--r-- 1 tkloczko tkloczko 322 Jan 18 17:21 B.cpython-38.pyc
/home/tkloczko/rpmbuild/BUILDROOT/tbb-2021.8.0-2.fc35.x86_64/usr/lib64/python3.8/site-packages/TBB-0.2-py3.8-linux-x86_64.egg/b:
total 648
-rw-r--r-- 1 tkloczko tkloczko 13120 Jan 18 17:20 __init__.py
-rw-r--r-- 1 tkloczko tkloczko 672 Jan 18 17:20 __main__.py
drwxr-xr-x 1 tkloczko tkloczko 870 Jan 18 17:21 __pycache__
-rw-r--r-- 1 tkloczko tkloczko 589928 Jan 18 17:20 _api.cpython-38-x86_64-linux-gnu.so
-rw-r--r-- 1 tkloczko tkloczko 429 Jan 18 17:20 _api.py
-rw-r--r-- 1 tkloczko tkloczko 5455 Jan 18 17:20 api.py
-rw-r--r-- 1 tkloczko tkloczko 24993 Jan 18 17:20 pool.py
-rw-r--r-- 1 tkloczko tkloczko 7132 Jan 18 17:20 test.py
/home/tkloczko/rpmbuild/BUILDROOT/tbb-2021.8.0-2.fc35.x86_64/usr/lib64/python3.8/site-packages/TBB-0.2-py3.8-linux-x86_64.egg/b/__pycache__:
total 160
-rw-r--r-- 1 tkloczko tkloczko 10375 Jan 18 17:21 __init__.cpython-38.opt-1.pyc
-rw-r--r-- 1 tkloczko tkloczko 9472 Jan 18 17:21 __init__.cpython-38.opt-2.pyc
-rw-r--r-- 1 tkloczko tkloczko 10653 Jan 18 17:21 __init__.cpython-38.pyc
-rw-r--r-- 1 tkloczko tkloczko 249 Jan 18 17:21 __main__.cpython-38.opt-1.pyc
-rw-r--r-- 1 tkloczko tkloczko 249 Jan 18 17:21 __main__.cpython-38.opt-2.pyc
-rw-r--r-- 1 tkloczko tkloczko 249 Jan 18 17:21 __main__.cpython-38.pyc
-rw-r--r-- 1 tkloczko tkloczko 601 Jan 18 17:21 _api.cpython-38.opt-1.pyc
-rw-r--r-- 1 tkloczko tkloczko 601 Jan 18 17:21 _api.cpython-38.opt-2.pyc
-rw-r--r-- 1 tkloczko tkloczko 601 Jan 18 17:21 _api.cpython-38.pyc
-rw-r--r-- 1 tkloczko tkloczko 5529 Jan 18 17:21 api.cpython-38.opt-1.pyc
-rw-r--r-- 1 tkloczko tkloczko 5328 Jan 18 17:21 api.cpython-38.opt-2.pyc
-rw-r--r-- 1 tkloczko tkloczko 5529 Jan 18 17:21 api.cpython-38.pyc
-rw-r--r-- 1 tkloczko tkloczko 20565 Jan 18 17:21 pool.cpython-38.opt-1.pyc
-rw-r--r-- 1 tkloczko tkloczko 10831 Jan 18 17:21 pool.cpython-38.opt-2.pyc
-rw-r--r-- 1 tkloczko tkloczko 20737 Jan 18 17:21 pool.cpython-38.pyc
-rw-r--r-- 1 tkloczko tkloczko 3787 Jan 18 17:21 test.cpython-38.opt-1.pyc
-rw-r--r-- 1 tkloczko tkloczko 3787 Jan 18 17:21 test.cpython-38.opt-2.pyc
-rw-r--r-- 1 tkloczko tkloczko 4521 Jan 18 17:21 test.cpython-38.pyc
/home/tkloczko/rpmbuild/BUILDROOT/tbb-2021.8.0-2.fc35.x86_64/usr/lib64/python3.8/site-packages/TBB-0.2-py3.8-linux-x86_64.egg/pycache__:
total 4
-rw-r--r-- 1 tkloczko tkloczko 283 Jan 18 17:20 TBB.cpython-38.pyc
As you see module is installed in wron location in TBB-0.2-py3.8-linux-x86_64.egg directory instead level up.
OK I'm going to disable package python module in my spec file until that will be sorted out. BTW. It would be good to switch use pep517 build procedure.
It is yet another issue. Looks lie module name has been changed.
In one of my older packages I see
%files -n python-tbb
%doc python/README.md
%{python3_sitearch}/TBB*
%{python3_sitearch}/tbb
%{python3_sitearch}/__pycache__/*
Now looks like oneTBB is tryig to install its python bindings =under b and B names
[tkloczko@devel-g2v TBB-0.2-py3.8-linux-x86_64.egg]$ ls -1 /home/tkloczko/rpmbuild/BUILDROOT/tbb-2021.8.0-2.fc35.x86_64/usr/lib64/python3.8/site-packages/TBB-0.2-py3.8-linux-x86_64.egg
B.py
G-INFO
__pycache__
b
pycache__
It is yet another issue. Looks lie module name has been changed.
In one of my older packages I see
%files -n python-tbb %doc python/README.md %{python3_sitearch}/TBB* %{python3_sitearch}/tbb %{python3_sitearch}/__pycache__/*Now looks like oneTBB is tryig to install its python bindings =under
bandBnames[tkloczko@devel-g2v TBB-0.2-py3.8-linux-x86_64.egg]$ ls -1 /home/tkloczko/rpmbuild/BUILDROOT/tbb-2021.8.0-2.fc35.x86_64/usr/lib64/python3.8/site-packages/TBB-0.2-py3.8-linux-x86_64.egg B.py G-INFO __pycache__ b pycache__
Could you please tell me the version of setuptools package?
I'm using setuptools 65.6.3.
BTW https://github.com/oneapi-src/oneTBB/compare/v2021.8.0...master shows now alredy +330 commits since last release. Longer that will be held than harder will be make the decision about release new version 🤔
@kloczek Sorry for late response. I have prepared a patch that should fix issues with Python installation file names. May I ask you to also try this patch on your side #1072?
Just tested 2021.9.0. Firsst plain without that PR and still two units have been failing
The following tests FAILED:
22 - test_concurrent_vector (Failed)
96 - conformance_concurrent_vector (Subprocess aborted)
Errors while running CTest
Than with that PR. Hee is full ctest output
+ cd oneTBB-2021.9.0
+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/tbb-2021.9.0-2.fc35.x86_64/usr/lib64/python3.8/site-packages
+ /usr/bin/ctest --test-dir x86_64-redhat-linux-gnu --output-on-failure --force-new-ctest-process -j48 ' '
Internal ctest changing into directory: /home/tkloczko/rpmbuild/BUILD/oneTBB-2021.9.0/x86_64-redhat-linux-gnu
Test project /home/tkloczko/rpmbuild/BUILD/oneTBB-2021.9.0/x86_64-redhat-linux-gnu
Start 1: test_tick_count
Start 2: test_allocators
Start 3: test_arena_priorities
Start 4: test_dynamic_link
Start 5: test_collaborative_call_once
Start 6: test_concurrent_lru_cache
Start 7: test_concurrent_unordered_map
Start 8: test_concurrent_unordered_set
Start 9: test_concurrent_map
Start 10: test_concurrent_set
Start 11: test_concurrent_priority_queue
Start 12: test_partitioner
Start 13: test_parallel_for
Start 14: test_parallel_for_each
Start 15: test_parallel_reduce
Start 16: test_parallel_sort
Start 17: test_parallel_invoke
Start 18: test_parallel_scan
Start 19: test_parallel_pipeline
Start 20: test_eh_algorithms
Start 21: test_blocked_range
Start 22: test_concurrent_vector
Start 23: test_task_group
Start 24: test_concurrent_hash_map
Start 25: test_task_arena
Start 26: test_enumerable_thread_specific
Start 27: test_concurrent_queue
Start 28: test_resumable_tasks
Start 29: test_mutex
Start 30: test_function_node
Start 31: test_multifunction_node
Start 32: test_broadcast_node
Start 33: test_buffer_node
Start 34: test_composite_node
Start 35: test_continue_node
Start 36: test_eh_flow_graph
Start 37: test_flow_graph
Start 38: test_flow_graph_priorities
Start 39: test_flow_graph_whitebox
Start 40: test_indexer_node
Start 41: test_join_node
Start 42: test_join_node_key_matching
Start 43: test_join_node_msg_key_matching
Start 44: test_join_node_msg_key_matching_n_args
Start 45: test_join_node_preview
Start 46: test_limiter_node
Start 47: test_priority_queue_node
Start 48: test_queue_node
1/136 Test #1: test_tick_count .......................... Passed 1.20 sec
Start 49: test_sequencer_node
2/136 Test #2: test_allocators .......................... Passed 1.21 sec
Start 50: test_split_node
3/136 Test #3: test_arena_priorities .................... Passed 1.23 sec
Start 51: test_tagged_msg
4/136 Test #4: test_dynamic_link ........................ Passed 1.43 sec
Start 52: test_overwrite_node
5/136 Test #6: test_concurrent_lru_cache ................ Passed 1.54 sec
Start 53: test_write_once_node
6/136 Test #11: test_concurrent_priority_queue ........... Passed 1.52 sec
Start 54: test_async_node
7/136 Test #21: test_blocked_range ....................... Passed 1.52 sec
Start 55: test_input_node
8/136 Test #24: test_concurrent_hash_map ................. Passed 1.43 sec
Start 56: test_profiling
9/136 Test #45: test_join_node_preview ................... Passed 0.69 sec
Start 57: test_concurrent_queue_whitebox
10/136 Test #51: test_tagged_msg .......................... Passed 0.41 sec
Start 58: test_intrusive_list
11/136 Test #56: test_profiling ........................... Passed 0.02 sec
Start 59: test_semaphore
12/136 Test #55: test_input_node .......................... Passed 0.13 sec
Start 60: test_environment_whitebox
13/136 Test #43: test_join_node_msg_key_matching .......... Passed 1.26 sec
Start 61: test_hw_concurrency
14/136 Test #60: test_environment_whitebox ................ Passed 0.23 sec
Start 62: test_eh_thread
15/136 Test #61: test_hw_concurrency ...................... Passed 0.12 sec
Start 63: test_global_control
16/136 Test #39: test_flow_graph_whitebox ................. Passed 1.57 sec
Start 64: test_task
17/136 Test #33: test_buffer_node ......................... Passed 1.79 sec
Start 65: test_concurrent_monitor
18/136 Test #62: test_eh_thread ........................... Passed 0.31 sec
Start 66: test_scheduler_mix
19/136 Test #32: test_broadcast_node ...................... Passed 2.04 sec
Start 67: test_handle_perror
20/136 Test #67: test_handle_perror ....................... Passed 0.23 sec
Start 68: test_arena_constraints
21/136 Test #49: test_sequencer_node ...................... Passed 1.60 sec
Start 69: test_tbb_fork
22/136 Test #50: test_split_node .......................... Passed 2.51 sec
Start 70: test_tbb_header
23/136 Test #70: test_tbb_header .......................... Passed 0.05 sec
Start 71: test_openmp
24/136 Test #17: test_parallel_invoke ..................... Passed 4.37 sec
Start 72: conformance_tick_count
25/136 Test #72: conformance_tick_count ................... Passed 0.19 sec
Start 73: conformance_allocators
26/136 Test #47: test_priority_queue_node ................. Passed 4.11 sec
Start 74: conformance_mutex
27/136 Test #48: test_queue_node .......................... Passed 4.56 sec
Start 75: conformance_task_group
28/136 Test #9: test_concurrent_map ...................... Passed 5.94 sec
Start 76: conformance_task_group_context
29/136 Test #76: conformance_task_group_context ........... Passed 0.02 sec
Start 77: conformance_task_arena
30/136 Test #75: conformance_task_group ................... Passed 0.33 sec
Start 78: conformance_collaborative_call_once
31/136 Test #59: test_semaphore ........................... Passed 4.71 sec
Start 79: conformance_concurrent_lru_cache
32/136 Test #77: conformance_task_arena ................... Passed 0.41 sec
Start 80: conformance_concurrent_unordered_map
33/136 Test #79: conformance_concurrent_lru_cache ......... Passed 0.19 sec
Start 81: conformance_concurrent_unordered_set
34/136 Test #78: conformance_collaborative_call_once ...... Passed 0.66 sec
Start 82: conformance_concurrent_map
35/136 Test #80: conformance_concurrent_unordered_map ..... Passed 2.10 sec
Start 83: conformance_concurrent_set
36/136 Test #37: test_flow_graph .......................... Passed 8.15 sec
Start 84: conformance_concurrent_priority_queue
37/136 Test #81: conformance_concurrent_unordered_set ..... Passed 2.27 sec
Start 85: conformance_parallel_for
38/136 Test #13: test_parallel_for ........................ Passed 9.66 sec
Start 86: conformance_parallel_for_each
39/136 Test #82: conformance_concurrent_map ............... Passed 3.41 sec
Start 87: conformance_parallel_reduce
40/136 Test #83: conformance_concurrent_set ............... Passed 2.71 sec
Start 88: conformance_parallel_scan
41/136 Test #40: test_indexer_node ........................ Passed 10.89 sec
Start 89: conformance_parallel_sort
42/136 Test #88: conformance_parallel_scan ................ Passed 0.33 sec
Start 90: conformance_parallel_pipeline
43/136 Test #14: test_parallel_for_each ................... Passed 12.44 sec
Start 91: conformance_parallel_invoke
44/136 Test #54: test_async_node .......................... Passed 11.24 sec
Start 92: conformance_blocked_range
45/136 Test #44: test_join_node_msg_key_matching_n_args ... Passed 12.17 sec
Start 93: conformance_blocked_range2d
46/136 Test #68: test_arena_constraints ................... Passed 10.94 sec
Start 94: conformance_blocked_range3d
47/136 Test #89: conformance_parallel_sort ................ Passed 3.09 sec
Start 95: conformance_blocked_rangeNd
48/136 Test #84: conformance_concurrent_priority_queue .... Passed 6.68 sec
Start 96: conformance_concurrent_vector
49/136 Test #27: test_concurrent_queue .................... Passed 15.18 sec
Start 97: conformance_global_control
50/136 Test #58: test_intrusive_list ...................... Passed 13.83 sec
Start 98: conformance_concurrent_hash_map
51/136 Test #42: test_join_node_key_matching .............. Passed 15.48 sec
Start 99: conformance_enumerable_thread_specific
52/136 Test #86: conformance_parallel_for_each ............ Passed 6.50 sec
Start 100: conformance_combinable
53/136 Test #5: test_collaborative_call_once ............. Passed 16.69 sec
Start 101: conformance_concurrent_queue
54/136 Test #36: test_eh_flow_graph ....................... Passed 16.24 sec
Start 102: conformance_resumable_tasks
55/136 Test #102: conformance_resumable_tasks .............. Passed 0.17 sec
Start 103: conformance_version
56/136 Test #103: conformance_version ...................... Passed 0.15 sec
Start 104: conformance_function_node
57/136 Test #97: conformance_global_control ............... Passed 1.70 sec
Start 105: conformance_multifunction_node
58/136 Test #104: conformance_function_node ................ Passed 0.17 sec
Start 106: conformance_input_node
59/136 Test #105: conformance_multifunction_node ........... Passed 0.41 sec
Start 107: conformance_continue_node
60/136 Test #107: conformance_continue_node ................ Passed 0.26 sec
Start 108: conformance_async_node
61/136 Test #10: test_concurrent_set ...................... Passed 17.94 sec
Start 109: conformance_overwrite_node
62/136 Test #109: conformance_overwrite_node ............... Passed 0.16 sec
Start 110: conformance_write_once_node
63/136 Test #108: conformance_async_node ................... Passed 0.40 sec
Start 111: conformance_buffer_node
64/136 Test #110: conformance_write_once_node .............. Passed 0.26 sec
Start 112: conformance_queue_node
65/136 Test #111: conformance_buffer_node .................. Passed 0.32 sec
Start 113: conformance_priority_queue_node
66/136 Test #112: conformance_queue_node ................... Passed 0.27 sec
Start 114: conformance_sequencer_node
67/136 Test #113: conformance_priority_queue_node .......... Passed 0.17 sec
Start 115: conformance_limiter_node
68/136 Test #66: test_scheduler_mix ....................... Passed 16.72 sec
Start 116: conformance_broadcast_node
69/136 Test #114: conformance_sequencer_node ............... Passed 0.40 sec
Start 117: conformance_composite_node
70/136 Test #115: conformance_limiter_node ................. Passed 0.41 sec
Start 118: conformance_indexer_node
71/136 Test #116: conformance_broadcast_node ............... Passed 0.13 sec
Start 119: conformance_split_node
72/136 Test #117: conformance_composite_node ............... Passed 0.11 sec
Start 120: conformance_join_node
73/136 Test #118: conformance_indexer_node ................. Passed 0.09 sec
Start 121: conformance_graph
74/136 Test #119: conformance_split_node ................... Passed 0.07 sec
Start 122: conformance_arena_constraints
75/136 Test #122: conformance_arena_constraints ............ Passed 0.02 sec
Start 123: test_scalable_allocator
76/136 Test #120: conformance_join_node .................... Passed 0.13 sec
Start 124: test_malloc_pools
77/136 Test #64: test_task ................................ Passed 17.27 sec
Start 125: test_malloc_init_shutdown
78/136 Test #121: conformance_graph ........................ Passed 0.24 sec
Start 126: test_malloc_regression
79/136 Test #125: test_malloc_init_shutdown ................ Passed 0.53 sec
Start 127: test_malloc_shutdown_hang
80/136 Test #41: test_join_node ........................... Passed 19.43 sec
Start 128: test_malloc_compliance
81/136 Test #96: conformance_concurrent_vector ............Subprocess aborted***Exception: 5.53 sec
terminate called after throwing an instance of 'doctest::detail::TestFailureException'
[doctest] doctest version is "2.4.7"
[doctest] run with "--help" for options
===============================================================================
/home/tkloczko/rpmbuild/BUILD/oneTBB-2021.9.0/test/conformance/conformance_concurrent_vector.cpp:1453:
TEST CASE: testing exceptions
/home/tkloczko/rpmbuild/BUILD/oneTBB-2021.9.0/test/common/container_move_support.h:95: FATAL ERROR: REQUIRE( static_counter_allocator_type::items_allocated == static_counter_allocator_type::items_freed ) is NOT correct!
values: REQUIRE( 0 == 64 )
logged: memory leak?
/home/tkloczko/rpmbuild/BUILD/oneTBB-2021.9.0/test/conformance/conformance_concurrent_vector.cpp:1453: FATAL ERROR: test case CRASHED: SIGABRT - Abort (abnormal termination) signal
logged: memory leak?
===============================================================================
[doctest] test cases: 7 | 6 passed | 1 failed | 20 skipped
[doctest] assertions: 2221055 | 2221054 passed | 1 failed |
[doctest] Status: FAILURE!
Start 129: test_malloc_used_by_lib
82/136 Test #129: test_malloc_used_by_lib .................. Passed 0.14 sec
Start 130: test_malloc_lib_unload
83/136 Test #130: test_malloc_lib_unload ................... Passed 0.14 sec
Start 131: test_malloc_pure_c
84/136 Test #131: test_malloc_pure_c ....................... Passed 0.11 sec
Start 132: test_malloc_whitebox
85/136 Test #91: conformance_parallel_invoke .............. Passed 8.82 sec
Start 133: test_malloc_atexit
86/136 Test #133: test_malloc_atexit ....................... Passed 0.02 sec
Start 134: test_malloc_overload
87/136 Test #46: test_limiter_node ........................ Passed 20.43 sec
Start 135: test_malloc_overload_disable
88/136 Test #135: test_malloc_overload_disable ............. Passed 0.05 sec
Start 136: test_malloc_new_handler
89/136 Test #136: test_malloc_new_handler .................. Passed 0.19 sec
90/136 Test #87: conformance_parallel_reduce .............. Passed 11.62 sec
91/136 Test #134: test_malloc_overload ..................... Passed 0.46 sec
92/136 Test #95: conformance_blocked_rangeNd .............. Passed 7.88 sec
93/136 Test #126: test_malloc_regression ................... Passed 2.95 sec
94/136 Test #26: test_enumerable_thread_specific .......... Passed 22.49 sec
95/136 Test #94: conformance_blocked_range3d .............. Passed 9.18 sec
96/136 Test #127: test_malloc_shutdown_hang ................ Passed 5.75 sec
97/136 Test #92: conformance_blocked_range ................ Passed 14.07 sec
98/136 Test #7: test_concurrent_unordered_map ............ Passed 26.93 sec
99/136 Test #63: test_global_control ...................... Passed 25.73 sec
100/136 Test #8: test_concurrent_unordered_set ............ Passed 28.91 sec
101/136 Test #34: test_composite_node ...................... Passed 28.56 sec
102/136 Test #12: test_partitioner ......................... Passed 29.21 sec
103/136 Test #123: test_scalable_allocator .................. Passed 10.80 sec
104/136 Test #106: conformance_input_node ................... Passed 13.45 sec
105/136 Test #98: conformance_concurrent_hash_map .......... Passed 15.33 sec
106/136 Test #52: test_overwrite_node ...................... Passed 29.80 sec
107/136 Test #90: conformance_parallel_pipeline ............ Passed 19.91 sec
108/136 Test #71: test_openmp .............................. Passed 28.68 sec
109/136 Test #22: test_concurrent_vector ...................***Failed 32.61 sec
[doctest] doctest version is "2.4.7"
[doctest] run with "--help" for options
===============================================================================
/home/tkloczko/rpmbuild/BUILD/oneTBB-2021.9.0/test/tbb/test_concurrent_vector.cpp:605:
TEST CASE: Whitebox test for segment table extension
/home/tkloczko/rpmbuild/BUILD/oneTBB-2021.9.0/test/common/state_trackable.h:116: ERROR: CHECK( false ) is NOT correct!
values: CHECK( false )
logged: Bad source for copy ctor
/home/tkloczko/rpmbuild/BUILD/oneTBB-2021.9.0/test/common/state_trackable.h:116: ERROR: CHECK( false ) is NOT correct!
values: CHECK( false )
logged: Bad source for copy ctor
/home/tkloczko/rpmbuild/BUILD/oneTBB-2021.9.0/test/common/state_trackable.h:116: ERROR: CHECK( false ) is NOT correct!
values: CHECK( false )
logged: Bad source for copy ctor
/home/tkloczko/rpmbuild/BUILD/oneTBB-2021.9.0/test/common/state_trackable.h:116: ERROR: CHECK( false ) is NOT correct!
values: CHECK( false )
logged: Bad source for copy ctor
/home/tkloczko/rpmbuild/BUILD/oneTBB-2021.9.0/test/common/state_trackable.h:116: ERROR: CHECK( false ) is NOT correct!
values: CHECK( false )
logged: Bad source for copy ctor
/home/tkloczko/rpmbuild/BUILD/oneTBB-2021.9.0/test/common/state_trackable.h:116: ERROR: CHECK( false ) is NOT correct!
values: CHECK( false )
logged: Bad source for copy ctor
/home/tkloczko/rpmbuild/BUILD/oneTBB-2021.9.0/test/common/state_trackable.h:116: ERROR: CHECK( false ) is NOT correct!
values: CHECK( false )
logged: Bad source for copy ctor
/home/tkloczko/rpmbuild/BUILD/oneTBB-2021.9.0/test/tbb/test_concurrent_vector.cpp:628: FATAL ERROR: REQUIRE( assigned_vector == copy_of_copy ) is NOT correct!
values: REQUIRE( {?} == {?} )
===============================================================================
[doctest] test cases: 14 | 13 passed | 1 failed | 0 skipped
[doctest] assertions: 18804 | 18796 passed | 8 failed |
[doctest] Status: FAILURE!
110/136 Test #53: test_write_once_node ..................... Passed 31.47 sec
111/136 Test #65: test_concurrent_monitor .................. Passed 31.02 sec
112/136 Test #73: conformance_allocators ................... Passed 29.71 sec
113/136 Test #124: test_malloc_pools ........................ Passed 15.19 sec
114/136 Test #99: conformance_enumerable_thread_specific ... Passed 18.75 sec
115/136 Test #100: conformance_combinable ................... Passed 18.81 sec
116/136 Test #69: test_tbb_fork ............................ Passed 32.32 sec
117/136 Test #38: test_flow_graph_priorities ............... Passed 34.69 sec
118/136 Test #23: test_task_group .......................... Passed 35.34 sec
119/136 Test #93: conformance_blocked_range2d .............. Passed 22.57 sec
120/136 Test #85: conformance_parallel_for ................. Passed 28.23 sec
121/136 Test #19: test_parallel_pipeline ................... Passed 39.08 sec
122/136 Test #15: test_parallel_reduce ..................... Passed 40.66 sec
123/136 Test #57: test_concurrent_queue_whitebox ........... Passed 40.56 sec
124/136 Test #101: conformance_concurrent_queue ............. Passed 28.64 sec
125/136 Test #132: test_malloc_whitebox ..................... Passed 24.19 sec
126/136 Test #74: conformance_mutex ........................ Passed 40.22 sec
127/136 Test #18: test_parallel_scan ....................... Passed 49.50 sec
128/136 Test #16: test_parallel_sort ....................... Passed 52.31 sec
129/136 Test #35: test_continue_node ....................... Passed 52.99 sec
130/136 Test #30: test_function_node ....................... Passed 59.09 sec
131/136 Test #31: test_multifunction_node .................. Passed 60.22 sec
132/136 Test #20: test_eh_algorithms ....................... Passed 60.79 sec
133/136 Test #25: test_task_arena .......................... Passed 63.15 sec
134/136 Test #128: test_malloc_compliance ................... Passed 46.66 sec
135/136 Test #28: test_resumable_tasks ..................... Passed 70.09 sec
136/136 Test #29: test_mutex ............................... Passed 70.70 sec
99% tests passed, 2 tests failed out of 136
Total Test time (real) = 71.04 sec
The following tests FAILED:
22 - test_concurrent_vector (Failed)
96 - conformance_concurrent_vector (Subprocess aborted)
Errors while running CTest
@kloczek as I can see, this is on Fedora 35? May I know the version of compiler you use? You can also share call stacks of failing tests.
No it is not Fedora. It is my own distribution which is relatively close to current Fedora rawhide.
Mon 2023-04-17 09:33:38 BST 2489229 1000 1000 SIGABRT present /home/tkloczko/rpmbuild/BUILD/oneTBB-2021.9.0/x86_64-redhat-linux-gnu/gnu_13.0_cxx11_64_relwithdebinfo/conformance_concurrent
[tkloczko@barrel ~]$ echo "bt full"| coredumpctl gdb 2489229
PID: 2489229 (conformance_con)
UID: 1000 (tkloczko)
GID: 1000 (tkloczko)
Signal: 6 (ABRT)
Timestamp: Mon 2023-04-17 09:33:38 BST (2min 13s ago)
Command Line: /home/tkloczko/rpmbuild/BUILD/oneTBB-2021.9.0/x86_64-redhat-linux-gnu/gnu_13.0_cxx11_64_relwithdebinfo/conformance_concurrent_vector --force-colors=1
Executable: /home/tkloczko/rpmbuild/BUILD/oneTBB-2021.9.0/x86_64-redhat-linux-gnu/gnu_13.0_cxx11_64_relwithdebinfo/conformance_concurrent_vector
Control Group: /lxc.payload.pers-jacek/user.slice/user-1000.slice/session-28.scope
Slice: -.slice
Boot ID: 9550adef788a4d829b3ee0639b3c602e
Machine ID: 1e3406b3ce714f53abecf7641173d045
Hostname: pers-jacek
Storage: /var/lib/systemd/coredump/core.conformance_con.1000.9550adef788a4d829b3ee0639b3c602e.2489229.1681720418000000.zst (present)
Size on Disk: 85.1K
Message: Process 2489229 (conformance_con) of user 1000 dumped core.
Stack trace of thread 31342:
#0 0x00007f535248f7b4 __pthread_kill_implementation (libc.so.6 + 0x8f7b4)
#1 0x00007f535243e1ce raise (libc.so.6 + 0x3e1ce)
#2 0x00007f535242687f abort (libc.so.6 + 0x2687f)
#3 0x00007f53528a4cf9 _ZN9__gnu_cxx27__verbose_terminate_handlerEv.cold (libstdc++.so.6 + 0xa4cf9)
#4 0x00007f53528b4f6c _ZN10__cxxabiv111__terminateEPFvvE (libstdc++.so.6 + 0xb4f6c)
#5 0x00007f53528b3fe9 __cxa_call_terminate (libstdc++.so.6 + 0xb3fe9)
#6 0x00007f53528b46f6 __gxx_personality_v0 (libstdc++.so.6 + 0xb46f6)
#7 0x00007f5352afba99 _Unwind_RaiseException_Phase2 (libgcc_s.so.1 + 0x19a99)
#8 0x00007f5352afc58d _Unwind_Resume (libgcc_s.so.1 + 0x1a58d)
#9 0x000055a9abce8f7e n/a (/home/tkloczko/rpmbuild/BUILD/oneTBB-2021.9.0/x86_64-redhat-linux-gnu/gnu_13.0_cxx11_64_relwithdebinfo/conformance_concurrent_vector + 0x29f7e)
#10 0x000055a9abd635d2 n/a (/home/tkloczko/rpmbuild/BUILD/oneTBB-2021.9.0/x86_64-redhat-linux-gnu/gnu_13.0_cxx11_64_relwithdebinfo/conformance_concurrent_vector + 0xa45d2)
#11 0x000055a9abd66f97 n/a (/home/tkloczko/rpmbuild/BUILD/oneTBB-2021.9.0/x86_64-redhat-linux-gnu/gnu_13.0_cxx11_64_relwithdebinfo/conformance_concurrent_vector + 0xa7f97)
#12 0x000055a9abcf4c57 n/a (/home/tkloczko/rpmbuild/BUILD/oneTBB-2021.9.0/x86_64-redhat-linux-gnu/gnu_13.0_cxx11_64_relwithdebinfo/conformance_concurrent_vector + 0x35c57)
#13 0x00007f5352427b4a __libc_start_call_main (libc.so.6 + 0x27b4a)
#14 0x00007f5352427c0b __libc_start_main@@GLIBC_2.34 (libc.so.6 + 0x27c0b)
#15 0x000055a9abcf4ce5 n/a (/home/tkloczko/rpmbuild/BUILD/oneTBB-2021.9.0/x86_64-redhat-linux-gnu/gnu_13.0_cxx11_64_relwithdebinfo/conformance_concurrent_vector + 0x35ce5)
ELF object binary architecture: AMD x86-64
GNU gdb (Fedora Linux) 13.1-4.fc39
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /home/tkloczko/rpmbuild/BUILD/oneTBB-2021.9.0/x86_64-redhat-linux-gnu/gnu_13.0_cxx11_64_relwithdebinfo/conformance_concurrent_vector...
[New LWP 31342]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/home/tkloczko/rpmbuild/BUILD/oneTBB-2021.9.0/x86_64-redhat-linux-gnu/gnu_13.0_'.
Program terminated with signal SIGABRT, Aborted.
#0 0x00007f535248f7b4 in __pthread_kill_implementation () from /lib64/libc.so.6
Missing separate debuginfos, use: dnf debuginfo-install glibc-2.37.9000-5.fc39.x86_64 libgcc-13.0.1-0.13.fc39.x86_64 libstdc++-13.0.1-0.13.fc39.x86_64
(gdb) #0 0x00007f535248f7b4 in __pthread_kill_implementation () from /lib64/libc.so.6
No symbol table info available.
#1 0x00007f535243e1ce in raise () from /lib64/libc.so.6
No symbol table info available.
#2 0x00007f535242687f in abort () from /lib64/libc.so.6
No symbol table info available.
#3 0x00007f53528a4cf9 in __gnu_cxx::__verbose_terminate_handler() [clone .cold] () from /lib64/libstdc++.so.6
No symbol table info available.
#4 0x00007f53528b4f6c in __cxxabiv1::__terminate(void (*)()) () from /lib64/libstdc++.so.6
No symbol table info available.
#5 0x00007f53528b3fe9 in __cxa_call_terminate () from /lib64/libstdc++.so.6
No symbol table info available.
#6 0x00007f53528b46f6 in __gxx_personality_v0 () from /lib64/libstdc++.so.6
No symbol table info available.
#7 0x00007f5352afba99 in _Unwind_RaiseException_Phase2 () from /lib64/libgcc_s.so.1
No symbol table info available.
#8 0x00007f5352afc58d in _Unwind_Resume () from /lib64/libgcc_s.so.1
No symbol table info available.
#9 0x000055a9abce8f7e in doctest::detail::ContextScope<move_support_tests::track_allocator_memory<StaticSharedCountingAllocator<std::allocator<move_support_tests::FooWithAssign> > >::verify_no_allocator_memory_leaks() const::{lambda(std::basic_ostream<char, std::char_traits<char> >*)#1}>::~ContextScope() (this=<optimized out>, this=<optimized out>)
at /home/tkloczko/rpmbuild/BUILD/oneTBB-2021.9.0/test/common/doctest.h:1747
No locals.
#10 move_support_tests::track_allocator_memory<StaticSharedCountingAllocator<std::allocator<move_support_tests::FooWithAssign> > >::verify_no_allocator_memory_leaks (this=<optimized out>)
at /home/tkloczko/rpmbuild/BUILD/oneTBB-2021.9.0/test/common/container_move_support.h:95
DOCTEST_CAPTURE_97 = {<doctest::detail::ContextScopeBase> = {<doctest::IContextScope> = {
_vptr.IContextScope = 0x55a9abd99010 <vtable for doctest::detail::ContextScope<move_support_tests::track_allocator_memory<StaticSharedCountingAllocator<std::allocator<move_support_tests::FooWithAssign> > >::verify_no_allocator_memory_leaks() const::{lambda(std::basic_ostream<char, std::char_traits<char> >*)#1}>+16>}, need_to_destroy = true},
lambda_ = {<No data fields>}}
DOCTEST_RB = {<doctest::AssertData> = {m_test_case = 0x55a9abf7fd70, m_at = doctest::assertType::DT_REQUIRE,
m_file = 0x55a9abd6dd90 "/home/tkloczko/rpmbuild/BUILD/oneTBB-2021.9.0/test/common/container_move_support.h", m_line = 95,
m_expr = 0x55a9abd6fd00 "static_counter_allocator_type::items_allocated == static_counter_allocator_type::items_freed", m_failed = true, m_threw = false, m_exception = {
static len = 24, static last = 23, {buf = "\000b\000k\377\177\000\000\000\215\261rKuhd\000b\000k\377\177\000\027", data = {ptr = 0x7fff6b006200 "pe", size = 1924238592,
capacity = 1684567371}}}, m_decomp = {static len = 24, static last = 23, {buf = "0 == 64\000\001\000\000\000\000\000\000\000\340`\000k\377\177\000\020", data = {
ptr = 0x3436203d3d2030 <error: Cannot access memory at address 0x3436203d3d2030>, size = 1, capacity = 0}}}, m_threw_as = false, m_exception_type = 0x55a9abd6dd88 "",
m_exception_string = 0x55a9abd6dd88 ""}, <No data fields>}
#11 0x000055a9abd635d2 in move_support_tests::track_allocator_memory<StaticSharedCountingAllocator<std::allocator<move_support_tests::FooWithAssign> > >::~track_allocator_memory (
this=<optimized out>, this=<optimized out>) at /home/tkloczko/rpmbuild/BUILD/oneTBB-2021.9.0/test/common/container_move_support.h:92
No locals.
#12 TestExceptions () at /home/tkloczko/rpmbuild/BUILD/oneTBB-2021.9.0/test/conformance/conformance_concurrent_vector.cpp:490
check_all_foo_destroyed_on_exit = {active = true, previous_state = 8192}
verify_no_leak_at_exit = <optimized out>
victim = {<tbb::detail::d1::segment_table<move_support_tests::FooWithAssign, StaticSharedCountingAllocator<std::allocator<move_support_tests::FooWithAssign> >, tbb::detail::d1::concurrent_vector<move_support_tests::FooWithAssign, StaticSharedCountingAllocator<std::allocator<move_support_tests::FooWithAssign> > >, 3>> = {static pointers_per_embedded_table = 3,
static pointers_per_long_table = 64, segment_allocation_failure_tag = 0x1, static embedded_table_size = 8, my_segment_table_allocator = {<StaticSharedCountingAllocatorBase> = {
static max_items = 0, static items_allocated = {<std::__atomic_base<unsigned long>> = {static _S_alignment = 8, _M_i = 0}, <No data fields>},
static items_freed = {<std::__atomic_base<unsigned long>> = {static _S_alignment = 8, _M_i = 64}, <No data fields>},
static items_constructed = {<std::__atomic_base<unsigned long>> = {static _S_alignment = 8, _M_i = 0}, <No data fields>},
static items_destroyed = {<std::__atomic_base<unsigned long>> = {static _S_alignment = 8, _M_i = 64}, <No data fields>},
static allocations = {<std::__atomic_base<unsigned long>> = {static _S_alignment = 8, _M_i = 0}, <No data fields>}, static frees = {<std::__atomic_base<unsigned long>> = {
static _S_alignment = 8, _M_i = 1}, <No data fields>},
static throwing = true}, <std::allocator<std::atomic<move_support_tests::FooWithAssign*> >> = {<std::__new_allocator<std::atomic<move_support_tests::FooWithAssign*> >> = {<No data fields>}, <No data fields>}, <No data fields>}, my_embedded_table = {std::atomic<move_support_tests::FooWithAssign *> = { 0x0 },
std::atomic<move_support_tests::FooWithAssign *> = { 0x0 }, std::atomic<move_support_tests::FooWithAssign *> = { 0x0 }},
my_segment_table = std::atomic<std::atomic<move_support_tests::FooWithAssign*> *> = { 0x7fff6b006480 }, my_first_block = std::atomic<unsigned long> = { 0 },
my_size = std::atomic<unsigned long> = { 0 }, my_segment_table_allocation_failed = std::atomic<bool> = { false }}, static allow_table_extending = true}
m = 5
t = <optimized out>
src = {<tbb::detail::d1::segment_table<move_support_tests::FooWithAssign, StaticSharedCountingAllocator<std::allocator<move_support_tests::FooWithAssign> >, tbb::detail::d1::concurrent_vector<move_support_tests::FooWithAssign, StaticSharedCountingAllocator<std::allocator<move_support_tests::FooWithAssign> > >, 3>> = {static pointers_per_embedded_table = 3,
--Type <RET> for more, q to quit, c to continue without paging-- static pointers_per_long_table = 64, segment_allocation_failure_tag = 0x1, static embedded_table_size = 8, my_segment_table_allocator = {<StaticSharedCountingAllocatorBase> = {
static max_items = 0, static items_allocated = {<std::__atomic_base<unsigned long>> = {static _S_alignment = 8, _M_i = 0}, <No data fields>},
static items_freed = {<std::__atomic_base<unsigned long>> = {static _S_alignment = 8, _M_i = 64}, <No data fields>},
static items_constructed = {<std::__atomic_base<unsigned long>> = {static _S_alignment = 8, _M_i = 0}, <No data fields>},
static items_destroyed = {<std::__atomic_base<unsigned long>> = {static _S_alignment = 8, _M_i = 64}, <No data fields>},
static allocations = {<std::__atomic_base<unsigned long>> = {static _S_alignment = 8, _M_i = 0}, <No data fields>}, static frees = {<std::__atomic_base<unsigned long>> = {
static _S_alignment = 8, _M_i = 1}, <No data fields>},
static throwing = true}, <std::allocator<std::atomic<move_support_tests::FooWithAssign*> >> = {<std::__new_allocator<std::atomic<move_support_tests::FooWithAssign*> >> = {<No data fields>}, <No data fields>}, <No data fields>}, my_embedded_table = {std::atomic<move_support_tests::FooWithAssign *> = { 0x0 },
std::atomic<move_support_tests::FooWithAssign *> = { 0x55a9abf96ba0 }, std::atomic<move_support_tests::FooWithAssign *> = { 0x55a9abf96ba0 }},
my_segment_table = std::atomic<std::atomic<move_support_tests::FooWithAssign*> *> = { 0x55a9abf939f0 }, my_first_block = std::atomic<unsigned long> = { 13 },
my_size = std::atomic<unsigned long> = { 8192 }, my_segment_table_allocation_failed = std::atomic<bool> = { false }}, static allow_table_extending = true}
zero_method = zero_method
ctor_copy = ctor_copy
ctor_size = ctor_size
assign_nt = assign_nt
assign_ir = assign_ir
reserve = reserve
compact = compact
all_methods = all_methods
#13 0x000055a9abd66f97 in doctest::Context::run (this=this@entry=0x7fff6b006960) at /home/tkloczko/rpmbuild/BUILD/oneTBB-2021.9.0/test/common/doctest.h:6728
fatalConditionHandler = <optimized out>
run_test = true
tc = @0x55a9abf7fd70: {<doctest::TestCaseData> = {m_file = {static len = 24, static last = 23, {
buf = "\000\376\367\253\251U\000\000`\000\000\000a\000\000\000\000\000\000\000\000\000\000\200", data = {
ptr = 0x55a9abf7fe00 "/home/tkloczko/rpmbuild/BUILD/oneTBB-2021.9.0/test/conformance/conformance_concurrent_vector.cpp", size = 96, capacity = 97}}}, m_line = 1453,
m_name = 0x55a9abd70212 "testing exceptions", m_test_suite = 0x55a9abd6dd88 "", m_description = 0x0, m_skip = false, m_no_breaks = false, m_no_output = false,
m_may_fail = false, m_should_fail = false, m_expected_failures = 0, m_timeout = 0}, m_test = 0x55a9abd63c40 <DOCTEST_ANON_FUNC_428()>, m_type = 0x55a9abd6dd88 "",
m_template_id = -1, m_full_name = {static len = 24, static last = 23, {buf = "\000\000\000\000\000\000\000\000 j\000k\377\177\000\000\241\001DRS\177\000\027", data = {ptr = 0x0,
size = 1795189280, capacity = 32767}}}}
skip_me = <optimized out>
curr = <optimized out>
__for_range = <optimized out>
__for_begin = <optimized out>
__for_end = <optimized out>
old_cs = <optimized out>
fstr = <incomplete type>
cleanup_and_return = <optimized out>
testArray = <optimized out>
testSuitesPassingFilt = std::set with 0 elements
query_mode = <optimized out>
queryResults = std::vector of length 0, capacity 0
DOCTEST_FIX_FOR_MACOS_LIBCPP_IOSFWD_STRING_LINK_ERRORS = <optimized out>
#14 0x000055a9abcf4c57 in main (argc=<optimized out>, argv=<optimized out>) at /home/tkloczko/rpmbuild/BUILD/oneTBB-2021.9.0/test/common/doctest.h:6813
No locals.
@kloczek is this issue still relevant?
If anyone encounter this issue in the future please open new issue with a link to this one