2021.5.0: build and test suite are fails
Looks like build fails probably because I'm using latest gcc 12.0.1
[ 9%] Building CXX object test/CMakeFiles/test_tick_count.dir/tbb/test_tick_count.cpp.o
cd /home/tkloczko/rpmbuild/BUILD/oneTBB-2021.5.0/x86_64-redhat-linux-gnu/test && /usr/bin/g++ -I/home/tkloczko/rpmbuild/BUILD/oneTBB-2021.5.0/test/.. -I/home/tkloczko/rpmbuild/BUILD/oneTBB-2021.5.0/test -I/home/tkloczko/rpmbuild/BUILD/oneTBB-2021.5.0/src/tbb/../../include -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -DNDEBUG -Wall -Wextra -Werror -Wfatal-errors -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -mrtm -mwaitpkg -std=c++11 -MD -MT test/CMakeFiles/test_tick_count.dir/tbb/test_tick_count.cpp.o -MF CMakeFiles/test_tick_count.dir/tbb/test_tick_count.cpp.o.d -o CMakeFiles/test_tick_count.dir/tbb/test_tick_count.cpp.o -c /home/tkloczko/rpmbuild/BUILD/oneTBB-2021.5.0/test/tbb/test_tick_count.cpp
In file included from /home/tkloczko/rpmbuild/BUILD/oneTBB-2021.5.0/src/tbb/../../include/oneapi/tbb/concurrent_vector.h:24,
from /home/tkloczko/rpmbuild/BUILD/oneTBB-2021.5.0/src/tbb/../../include/oneapi/tbb/enumerable_thread_specific.h:26,
from /home/tkloczko/rpmbuild/BUILD/oneTBB-2021.5.0/test/common/utils_concurrency_limit.h:25,
from /home/tkloczko/rpmbuild/BUILD/oneTBB-2021.5.0/test/tbb/test_tick_count.cpp:19:
/home/tkloczko/rpmbuild/BUILD/oneTBB-2021.5.0/src/tbb/../../include/oneapi/tbb/detail/_segment_table.h: In instantiation of ‘tbb::detail::d1::segment_table<T, Allocator, DerivedType, PointersPerEmbeddedTable>::segment_table(const allocator_type&) [with T = tbb::detail::d0::padded<tbb::detail::d1::ets_element<bool>, 128>; Allocator = tbb::detail::d1::cache_aligned_allocator<tbb::detail::d0::padded<tbb::detail::d1::ets_element<bool>, 128> >; DerivedType = tbb::detail::d1::concurrent_vector<tbb::detail::d0::padded<tbb::detail::d1::ets_element<bool>, 128>, tbb::detail::d1::cache_aligned_allocator<tbb::detail::d0::padded<tbb::detail::d1::ets_element<bool>, 128> > >; long unsigned int PointersPerEmbeddedTable = 3; allocator_type = tbb::detail::d1::cache_aligned_allocator<tbb::detail::d0::padded<tbb::detail::d1::ets_element<bool>, 128> >]’:
/home/tkloczko/rpmbuild/BUILD/oneTBB-2021.5.0/src/tbb/../../include/oneapi/tbb/concurrent_vector.h:284:26: required from ‘tbb::detail::d1::concurrent_vector<T, Allocator>::concurrent_vector(const allocator_type&) [with T = tbb::detail::d0::padded<tbb::detail::d1::ets_element<bool>, 128>; Allocator = tbb::detail::d1::cache_aligned_allocator<tbb::detail::d0::padded<tbb::detail::d1::ets_element<bool>, 128> >; allocator_type = tbb::detail::d1::cache_aligned_allocator<tbb::detail::d0::padded<tbb::detail::d1::ets_element<bool>, 128> >]’
/home/tkloczko/rpmbuild/BUILD/oneTBB-2021.5.0/src/tbb/../../include/oneapi/tbb/concurrent_vector.h:281:61: required from ‘tbb::detail::d1::concurrent_vector<T, Allocator>::concurrent_vector() [with T = tbb::detail::d0::padded<tbb::detail::d1::ets_element<bool>, 128>; Allocator = tbb::detail::d1::cache_aligned_allocator<tbb::detail::d0::padded<tbb::detail::d1::ets_element<bool>, 128> >]’
/home/tkloczko/rpmbuild/BUILD/oneTBB-2021.5.0/src/tbb/../../include/oneapi/tbb/enumerable_thread_specific.h:843:5: required from ‘tbb::detail::d1::enumerable_thread_specific<T, Allocator, ETS_key_type>::enumerable_thread_specific() [with T = bool; Allocator = tbb::detail::d1::cache_aligned_allocator<bool>; tbb::detail::d1::ets_key_usage_type ETS_key_type = tbb::detail::d1::ets_no_key]’
/home/tkloczko/rpmbuild/BUILD/oneTBB-2021.5.0/test/common/utils_concurrency_limit.h:248:92: required from here
/home/tkloczko/rpmbuild/BUILD/oneTBB-2021.5.0/src/tbb/../../include/oneapi/tbb/detail/_segment_table.h:63:63: error: member ‘tbb::detail::d1::segment_table<tbb::detail::d0::padded<tbb::detail::d1::ets_element<bool>, 128>, tbb::detail::d1::cache_aligned_allocator<tbb::detail::d0::padded<tbb::detail::d1::ets_element<bool>, 128> >, tbb::detail::d1::concurrent_vector<tbb::detail::d0::padded<tbb::detail::d1::ets_element<bool>, 128>, tbb::detail::d1::cache_aligned_allocator<tbb::detail::d0::padded<tbb::detail::d1::ets_element<bool>, 128> > >, 3>::my_embedded_table’ is used uninitialized [-Werror=uninitialized]
63 | : my_segment_table_allocator(alloc), my_segment_table(my_embedded_table)
| ^~~~~~~~~~~~~~~~~
compilation terminated due to -Wfatal-errors.
cc1plus: all warnings being treated as errors
make[2]: *** [test/CMakeFiles/test_tick_count.dir/build.make:79: test/CMakeFiles/test_tick_count.dir/tbb/test_tick_count.cpp.o] Error 1
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/oneTBB-2021.5.0/x86_64-redhat-linux-gnu'
make[1]: *** [CMakeFiles/Makefile2:1109: test/CMakeFiles/test_tick_count.dir/all] Error 2
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/oneTBB-2021.5.0/x86_64-redhat-linux-gnu'
make: *** [Makefile:169: all] Error 2
-Wuninitialized has been extended with GCC 12 to warn about using uninitialized variables in member initializer lists: https://developers.redhat.com/articles/2022/04/25/new-c-features-gcc-12#new_and_improved_warnings
Reordering the members makes the warning go away for me:
--- a/tbb/include/oneapi/tbb/detail/_segment_table.h
+++ b/tbb/include/oneapi/tbb/detail/_segment_table.h
@@ -542,8 +542,8 @@ protected:
}
segment_table_allocator_type my_segment_table_allocator;
- std::atomic<segment_table_type> my_segment_table;
atomic_segment my_embedded_table[pointers_per_embedded_table];
+ std::atomic<segment_table_type> my_segment_table;
// Number of segments in first block
std::atomic<size_type> my_first_block;
// Number of elements in table
gcc12 is not currently part of the support matrix for oneTBB. We will support gcc12 in the future and provide a fix at the time. For now, you can disable the -Wuninitialized warning by adding -Wno-error=uninitialized to the TBB_WARNING_LEVEL variable in the corresponding cmake file. This file is located at <tbb_sources>/cmake/compilers/GNU.cmake. Re-ordering the members could work as well but that could break ABI compatibility.
Last week IIRC Ubuntu as next distro switched to gcc 12.x as default. So ..
-Wuninitializedhas been extended with GCC 12 to warn about using uninitialized variables in member initializer lists: https://developers.redhat.com/articles/2022/04/25/new-c-features-gcc-12#new_and_improved_warnings
I've tested that patch and seems it solved exactly that issu ehowever after that popped out othet
[ 21%] Building CXX object test/CMakeFiles/test_task_group.dir/tbb/test_task_group.cpp.o
cd /home/tkloczko/rpmbuild/BUILD/oneTBB-2021.5.0/x86_64-redhat-linux-gnu/test && /usr/bin/g++ -I/home/tkloczko/rpmbuild/BUILD/oneTBB-2021.5.0/test/.. -I/home/tkloczko/rpmbuild/BUILD/oneTBB-2021.5.0/test -I/home/tkloczko/rpmbuild/BUILD/oneTBB-2021.5.0/src/tbb/../../include -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -DNDEBUG -Wall -Wextra -Werror -Wfatal-errors -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -mrtm -mwaitpkg -std=c++11 -MD -MT test/CMakeFiles/test_task_group.dir/tbb/test_task_group.cpp.o -MF CMakeFiles/test_task_group.dir/tbb/test_task_group.cpp.o.d -o CMakeFiles/test_task_group.dir/tbb/test_task_group.cpp.o -c /home/tkloczko/rpmbuild/BUILD/oneTBB-2021.5.0/test/tbb/test_task_group.cpp
In file included from /home/tkloczko/rpmbuild/BUILD/oneTBB-2021.5.0/test/common/test.h:32,
from /home/tkloczko/rpmbuild/BUILD/oneTBB-2021.5.0/test/tbb/test_task_group.cpp:22:
/home/tkloczko/rpmbuild/BUILD/oneTBB-2021.5.0/test/common/doctest.h: In instantiation of ‘doctest::detail::Expression_lhs<L>::operator doctest::detail::Result() [with L = const char (&)[58]]’:
/home/tkloczko/rpmbuild/BUILD/oneTBB-2021.5.0/test/tbb/test_task_group.cpp:108:17: required from ‘void SharedGroupBodyImpl<task_group_type>::Wait() [with task_group_type = tbb::detail::d1::task_group]’
/home/tkloczko/rpmbuild/BUILD/oneTBB-2021.5.0/test/tbb/test_task_group.cpp:143:13: required from ‘void SharedGroupBodyImpl<task_group_type>::Run(uintptr_t) [with task_group_type = tbb::detail::d1::task_group; uintptr_t = long unsigned int]’
/home/tkloczko/rpmbuild/BUILD/oneTBB-2021.5.0/test/tbb/test_task_group.cpp:193:43: required from ‘void SharedGroupBody<task_group_type>::operator()(uintptr_t) const [with task_group_type = tbb::detail::d1::task_group; uintptr_t = long unsigned int]’
/home/tkloczko/rpmbuild/BUILD/oneTBB-2021.5.0/test/common/utils.h:74:17: required from ‘void utils::NativeParallelFor(Index, const Body&) [with Index = unsigned int; Body = SharedGroupBody<tbb::detail::d1::task_group>]’
/home/tkloczko/rpmbuild/BUILD/oneTBB-2021.5.0/test/tbb/test_task_group.cpp:225:22: required from ‘void TestParallelSpawn() [with task_group_type = tbb::detail::d1::task_group]’
/home/tkloczko/rpmbuild/BUILD/oneTBB-2021.5.0/test/tbb/test_task_group.cpp:252:47: required from ‘void TestThreadSafety() [with task_group_type = tbb::detail::d1::task_group]’
/home/tkloczko/rpmbuild/BUILD/oneTBB-2021.5.0/test/tbb/test_task_group.cpp:784:42: required from here
/home/tkloczko/rpmbuild/BUILD/oneTBB-2021.5.0/test/common/doctest.h:1285:42: error: the compiler can assume that the address of ‘doctest::detail::Expression_lhs<const char (&)[58]>::lhs’ will never be NULL [-Werror=address]
1285 | bool res = static_cast<bool>(lhs);
| ^~~
compilation terminated due to -Wfatal-errors.
cc1plus: all warnings being treated as errors
make[2]: *** [test/CMakeFiles/test_task_group.dir/build.make:79: test/CMakeFiles/test_task_group.dir/tbb/test_task_group.cpp.o] Error 1
make[2]: Target 'test/CMakeFiles/test_task_group.dir/build' not remade because of errors.
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/oneTBB-2021.5.0/x86_64-redhat-linux-gnu'
make[1]: *** [CMakeFiles/Makefile2:1681: test/CMakeFiles/test_task_group.dir/all] Error 2
make -f test/CMakeFiles/test_concurrent_hash_map.dir/build.make test/CMakeFiles/test_concurrent_hash_map.dir/depend
Just FTR: I've tested build with make -k so looks like that issue is probably last one blocking tbb to be build with gcc 12.
By extension, the others can be turned off for now with -Wno-error=array-bounds -Wno-error=use-after-free -Wno-error=address. Add them to the TBB_WARNING_LEVEL variable. As soon as gcc12 is supported, a fix will be provided. Please let me know if you have any further issues.
I know that this can vbe used as woraround (and I'm using it already). However it would be rally way better tweak code to not generate that warning 😝
BTW: IMO all that cmake code handling TBB_WARNING_LEVEL can be removed because cmake accepts OOTB standard set make env variables like $CC, $CXX, $RANLIB, $NM, $LD, $AR, $CFLAGS, $CXXFLAGS, $LDFLAGS.
In other words workaroud can be applied by CXXFLAGS="-Wno-error=address" cmake <all_other_cmake_params>
And another issue .. I just fount that my spec filer had no test suite execution. After enable that I found that three test uniyts of the ctest suite are failing
+ cd oneTBB-2021.5.0
+ /usr/bin/make -O -j48 V=1 VERBOSE=1 -C x86_64-redhat-linux-gnu test ARGS=--output-on-failure
make: Entering directory '/home/tkloczko/rpmbuild/BUILD/oneTBB-2021.5.0/x86_64-redhat-linux-gnu'
Running tests...
/usr/bin/ctest --force-new-ctest-process --output-on-failure
Test project /home/tkloczko/rpmbuild/BUILD/oneTBB-2021.5.0/x86_64-redhat-linux-gnu
Start 1: test_tick_count
1/134 Test #1: test_tick_count .......................... Passed 0.06 sec
Start 2: test_allocators
2/134 Test #2: test_allocators .......................... Passed 0.01 sec
Start 3: test_arena_priorities
3/134 Test #3: test_arena_priorities .................... Passed 0.05 sec
Start 4: test_dynamic_link
4/134 Test #4: test_dynamic_link ........................ Passed 0.00 sec
Start 5: test_collaborative_call_once
5/134 Test #5: test_collaborative_call_once ............. Passed 2.24 sec
Start 6: test_concurrent_lru_cache
6/134 Test #6: test_concurrent_lru_cache ................ Passed 0.00 sec
Start 7: test_concurrent_unordered_map
7/134 Test #7: test_concurrent_unordered_map ............ Passed 1.47 sec
Start 8: test_concurrent_unordered_set
8/134 Test #8: test_concurrent_unordered_set ............ Passed 1.90 sec
Start 9: test_concurrent_map
9/134 Test #9: test_concurrent_map ...................... Passed 0.72 sec
Start 10: test_concurrent_set
10/134 Test #10: test_concurrent_set ...................... Passed 1.32 sec
Start 11: test_concurrent_priority_queue
11/134 Test #11: test_concurrent_priority_queue ........... Passed 0.21 sec
Start 12: test_partitioner
12/134 Test #12: test_partitioner ......................... Passed 0.19 sec
Start 13: test_parallel_for
13/134 Test #13: test_parallel_for ........................ Passed 5.64 sec
Start 14: test_parallel_for_each
14/134 Test #14: test_parallel_for_each ................... Passed 0.41 sec
Start 15: test_parallel_reduce
15/134 Test #15: test_parallel_reduce ..................... Passed 2.56 sec
Start 16: test_parallel_sort
16/134 Test #16: test_parallel_sort ....................... Passed 2.24 sec
Start 17: test_parallel_invoke
17/134 Test #17: test_parallel_invoke ..................... Passed 0.17 sec
Start 18: test_parallel_scan
18/134 Test #18: test_parallel_scan ....................... Passed 11.87 sec
Start 19: test_parallel_pipeline
19/134 Test #19: test_parallel_pipeline ................... Passed 2.46 sec
Start 20: test_eh_algorithms
20/134 Test #20: test_eh_algorithms ....................... Passed 7.05 sec
Start 21: test_blocked_range
21/134 Test #21: test_blocked_range ....................... Passed 0.00 sec
Start 22: test_concurrent_vector
22/134 Test #22: test_concurrent_vector ...................***Failed 0.75 sec
[doctest] doctest version is "2.4.6"
[doctest] run with "--help" for options
===============================================================================
/home/tkloczko/rpmbuild/BUILD/oneTBB-2021.5.0/test/tbb/test_concurrent_vector.cpp:605:
TEST CASE: Whitebox test for segment table extension
/home/tkloczko/rpmbuild/BUILD/oneTBB-2021.5.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.5.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.5.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.5.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.5.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.5.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.5.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.5.0/test/tbb/test_concurrent_vector.cpp:628: FATAL ERROR: REQUIRE( assigned_vector == copy_of_copy ) is NOT correct!
values: REQUIRE( {?} == {?} )
===============================================================================
[doctest] test cases: 13 | 12 passed | 1 failed | 0 skipped
[doctest] assertions: 18795 | 18787 passed | 8 failed |
[doctest] Status: FAILURE!
Start 23: test_task_group
23/134 Test #23: test_task_group .......................... Passed 1.54 sec
Start 24: test_concurrent_hash_map
24/134 Test #24: test_concurrent_hash_map ................. Passed 0.04 sec
Start 25: test_task_arena
25/134 Test #25: test_task_arena .......................... Passed 6.47 sec
Start 26: test_enumerable_thread_specific
26/134 Test #26: test_enumerable_thread_specific .......... Passed 0.28 sec
Start 27: test_concurrent_queue
27/134 Test #27: test_concurrent_queue .................... Passed 0.05 sec
Start 28: test_resumable_tasks
28/134 Test #28: test_resumable_tasks ..................... Passed 21.99 sec
Start 29: test_mutex
29/134 Test #29: test_mutex ............................... Passed 4.86 sec
Start 30: test_adaptive_mutex
30/134 Test #30: test_adaptive_mutex ...................... Passed 2.28 sec
Start 31: test_function_node
31/134 Test #31: test_function_node ....................... Passed 1.82 sec
Start 32: test_multifunction_node
32/134 Test #32: test_multifunction_node .................. Passed 2.01 sec
Start 33: test_broadcast_node
33/134 Test #33: test_broadcast_node ...................... Passed 0.13 sec
Start 34: test_buffer_node
34/134 Test #34: test_buffer_node ......................... Passed 0.11 sec
Start 35: test_composite_node
35/134 Test #35: test_composite_node ...................... Passed 2.02 sec
Start 36: test_continue_node
36/134 Test #36: test_continue_node ....................... Passed 4.10 sec
Start 37: test_eh_flow_graph
37/134 Test #37: test_eh_flow_graph ....................... Passed 0.23 sec
Start 38: test_flow_graph
38/134 Test #38: test_flow_graph .......................... Passed 0.51 sec
Start 39: test_flow_graph_priorities
39/134 Test #39: test_flow_graph_priorities ............... Passed 1.99 sec
Start 40: test_flow_graph_whitebox
40/134 Test #40: test_flow_graph_whitebox ................. Passed 0.02 sec
Start 41: test_indexer_node
41/134 Test #41: test_indexer_node ........................ Passed 0.16 sec
Start 42: test_join_node
42/134 Test #42: test_join_node ........................... Passed 0.56 sec
Start 43: test_join_node_key_matching
43/134 Test #43: test_join_node_key_matching .............. Passed 0.27 sec
Start 44: test_join_node_msg_key_matching
44/134 Test #44: test_join_node_msg_key_matching .......... Passed 0.28 sec
Start 45: test_limiter_node
45/134 Test #45: test_limiter_node ........................ Passed 1.22 sec
Start 46: test_priority_queue_node
46/134 Test #46: test_priority_queue_node ................. Passed 0.01 sec
Start 47: test_queue_node
47/134 Test #47: test_queue_node .......................... Passed 0.23 sec
Start 48: test_sequencer_node
48/134 Test #48: test_sequencer_node ...................... Passed 0.05 sec
Start 49: test_split_node
49/134 Test #49: test_split_node .......................... Passed 0.13 sec
Start 50: test_tagged_msg
50/134 Test #50: test_tagged_msg .......................... Passed 0.00 sec
Start 51: test_overwrite_node
51/134 Test #51: test_overwrite_node ...................... Passed 0.89 sec
Start 52: test_write_once_node
52/134 Test #52: test_write_once_node ..................... Passed 0.91 sec
Start 53: test_async_node
53/134 Test #53: test_async_node .......................... Passed 8.51 sec
Start 54: test_input_node
54/134 Test #54: test_input_node .......................... Passed 0.04 sec
Start 55: test_profiling
55/134 Test #55: test_profiling ........................... Passed 0.01 sec
Start 56: test_concurrent_queue_whitebox
56/134 Test #56: test_concurrent_queue_whitebox ........... Passed 0.01 sec
Start 57: test_intrusive_list
57/134 Test #57: test_intrusive_list ...................... Passed 0.31 sec
Start 58: test_semaphore
58/134 Test #58: test_semaphore ........................... Passed 3.25 sec
Start 59: test_environment_whitebox
59/134 Test #59: test_environment_whitebox ................ Passed 0.04 sec
Start 60: test_hw_concurrency
60/134 Test #60: test_hw_concurrency ...................... Passed 0.00 sec
Start 61: test_eh_thread
61/134 Test #61: test_eh_thread ........................... Passed 0.06 sec
Start 62: test_global_control
62/134 Test #62: test_global_control ...................... Passed 0.57 sec
Start 63: test_task
63/134 Test #63: test_task ................................ Passed 0.60 sec
Start 64: test_concurrent_monitor
64/134 Test #64: test_concurrent_monitor .................. Passed 0.52 sec
Start 65: test_scheduler_mix
65/134 Test #65: test_scheduler_mix ....................... Passed 0.42 sec
Start 66: test_handle_perror
66/134 Test #66: test_handle_perror ....................... Passed 0.01 sec
Start 67: test_arena_constraints
67/134 Test #67: test_arena_constraints ................... Passed 0.13 sec
Start 68: test_tbb_fork
68/134 Test #68: test_tbb_fork ............................ Passed 1.62 sec
Start 69: test_tbb_header
69/134 Test #69: test_tbb_header .......................... Passed 0.01 sec
Start 70: test_openmp
70/134 Test #70: test_openmp .............................. Passed 0.04 sec
Start 71: conformance_tick_count
71/134 Test #71: conformance_tick_count ................... Passed 0.00 sec
Start 72: conformance_allocators
72/134 Test #72: conformance_allocators ................... Passed 1.35 sec
Start 73: conformance_mutex
73/134 Test #73: conformance_mutex ........................ Passed 0.50 sec
Start 74: conformance_task_group_context
74/134 Test #74: conformance_task_group_context ........... Passed 0.01 sec
Start 75: conformance_task_arena
75/134 Test #75: conformance_task_arena ................... Passed 0.02 sec
Start 76: conformance_concurrent_lru_cache
76/134 Test #76: conformance_concurrent_lru_cache ......... Passed 0.00 sec
Start 77: conformance_concurrent_unordered_map
77/134 Test #77: conformance_concurrent_unordered_map ..... Passed 0.12 sec
Start 78: conformance_concurrent_unordered_set
78/134 Test #78: conformance_concurrent_unordered_set ..... Passed 0.12 sec
Start 79: conformance_concurrent_map
79/134 Test #79: conformance_concurrent_map ............... Passed 0.18 sec
Start 80: conformance_concurrent_set
80/134 Test #80: conformance_concurrent_set ............... Passed 0.23 sec
Start 81: conformance_concurrent_priority_queue
81/134 Test #81: conformance_concurrent_priority_queue .... Passed 0.29 sec
Start 82: conformance_parallel_for
82/134 Test #82: conformance_parallel_for ................. Passed 2.55 sec
Start 83: conformance_parallel_for_each
83/134 Test #83: conformance_parallel_for_each ............ Passed 0.13 sec
Start 84: conformance_parallel_reduce
84/134 Test #84: conformance_parallel_reduce .............. Passed 0.59 sec
Start 85: conformance_parallel_scan
85/134 Test #85: conformance_parallel_scan ................ Passed 0.01 sec
Start 86: conformance_parallel_sort
86/134 Test #86: conformance_parallel_sort ................ Passed 0.06 sec
Start 87: conformance_parallel_pipeline
87/134 Test #87: conformance_parallel_pipeline ............ Passed 1.28 sec
Start 88: conformance_parallel_invoke
88/134 Test #88: conformance_parallel_invoke .............. Passed 0.33 sec
Start 89: conformance_blocked_range
89/134 Test #89: conformance_blocked_range ................ Passed 0.83 sec
Start 90: conformance_blocked_range2d
90/134 Test #90: conformance_blocked_range2d .............. Passed 1.89 sec
Start 91: conformance_blocked_range3d
91/134 Test #91: conformance_blocked_range3d .............. Passed 0.34 sec
Start 92: conformance_blocked_rangeNd
92/134 Test #92: conformance_blocked_rangeNd .............. Passed 0.36 sec
Start 93: conformance_concurrent_vector
93/134 Test #93: conformance_concurrent_vector ............***Failed 2.49 sec
[doctest] doctest version is "2.4.6"
[doctest] run with "--help" for options
===============================================================================
/home/tkloczko/rpmbuild/BUILD/oneTBB-2021.5.0/test/conformance/conformance_concurrent_vector.cpp:1485:
TEST CASE: test exception safety on concurrent_vector move assignment
/home/tkloczko/rpmbuild/BUILD/oneTBB-2021.5.0/test/conformance/conformance_concurrent_vector.cpp:519: ERROR: CHECK_THROWS_AS( (victim.at(victim.size())), std::out_of_range ) did NOT throw at all!
/home/tkloczko/rpmbuild/BUILD/oneTBB-2021.5.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.5.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.5.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.5.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.5.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.5.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.5.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.5.0/test/conformance/conformance_concurrent_vector.cpp:526: FATAL ERROR: REQUIRE( copy_of_victim == victim ) is NOT correct!
values: REQUIRE( {?} == {?} )
logged: copy doesn't match original
===============================================================================
[doctest] test cases: 27 | 26 passed | 1 failed | 0 skipped
[doctest] assertions: 13895188 | 13895179 passed | 9 failed |
[doctest] Status: FAILURE!
Start 94: conformance_global_control
94/134 Test #94: conformance_global_control ............... Passed 0.10 sec
Start 95: conformance_concurrent_hash_map
95/134 Test #95: conformance_concurrent_hash_map .......... Passed 3.80 sec
Start 96: conformance_enumerable_thread_specific
96/134 Test #96: conformance_enumerable_thread_specific ... Passed 1.22 sec
Start 97: conformance_combinable
97/134 Test #97: conformance_combinable ................... Passed 1.36 sec
Start 98: conformance_concurrent_queue
98/134 Test #98: conformance_concurrent_queue ............. Passed 6.72 sec
Start 99: conformance_resumable_tasks
99/134 Test #99: conformance_resumable_tasks .............. Passed 0.02 sec
Start 100: conformance_version
100/134 Test #100: conformance_version ...................... Passed 0.01 sec
Start 101: conformance_function_node
101/134 Test #101: conformance_function_node ................ Passed 0.04 sec
Start 102: conformance_multifunction_node
102/134 Test #102: conformance_multifunction_node ........... Passed 0.02 sec
Start 103: conformance_input_node
103/134 Test #103: conformance_input_node ................... Passed 0.90 sec
Start 104: conformance_continue_node
104/134 Test #104: conformance_continue_node ................ Passed 0.02 sec
Start 105: conformance_async_node
105/134 Test #105: conformance_async_node ................... Passed 0.03 sec
Start 106: conformance_overwrite_node
106/134 Test #106: conformance_overwrite_node ............... Passed 0.01 sec
Start 107: conformance_write_once_node
107/134 Test #107: conformance_write_once_node .............. Passed 0.01 sec
Start 108: conformance_buffer_node
108/134 Test #108: conformance_buffer_node .................. Passed 0.01 sec
Start 109: conformance_queue_node
109/134 Test #109: conformance_queue_node ................... Passed 0.01 sec
Start 110: conformance_priority_queue_node
110/134 Test #110: conformance_priority_queue_node .......... Passed 0.01 sec
Start 111: conformance_sequencer_node
111/134 Test #111: conformance_sequencer_node ............... Passed 0.01 sec
Start 112: conformance_limiter_node
112/134 Test #112: conformance_limiter_node ................. Passed 0.01 sec
Start 113: conformance_broadcast_node
113/134 Test #113: conformance_broadcast_node ............... Passed 0.01 sec
Start 114: conformance_composite_node
114/134 Test #114: conformance_composite_node ............... Passed 0.01 sec
Start 115: conformance_indexer_node
115/134 Test #115: conformance_indexer_node ................. Passed 0.01 sec
Start 116: conformance_split_node
116/134 Test #116: conformance_split_node ................... Passed 0.01 sec
Start 117: conformance_join_node
117/134 Test #117: conformance_join_node .................... Passed 0.01 sec
Start 118: conformance_graph
118/134 Test #118: conformance_graph ........................ Passed 0.01 sec
Start 119: conformance_arena_constraints
119/134 Test #119: conformance_arena_constraints ............ Passed 0.01 sec
Start 120: test_scalable_allocator
120/134 Test #120: test_scalable_allocator .................. Passed 0.84 sec
Start 121: test_malloc_pools
121/134 Test #121: test_malloc_pools ........................ Passed 1.89 sec
Start 122: test_malloc_init_shutdown
122/134 Test #122: test_malloc_init_shutdown ................ Passed 0.01 sec
Start 123: test_malloc_regression
123/134 Test #123: test_malloc_regression ................... Passed 0.05 sec
Start 124: test_malloc_shutdown_hang
124/134 Test #124: test_malloc_shutdown_hang ................ Passed 0.94 sec
Start 125: test_malloc_compliance
125/134 Test #125: test_malloc_compliance ................... Passed 9.92 sec
Start 126: test_malloc_used_by_lib
126/134 Test #126: test_malloc_used_by_lib .................. Passed 0.01 sec
Start 127: test_malloc_lib_unload
127/134 Test #127: test_malloc_lib_unload ................... Passed 0.01 sec
Start 128: test_malloc_pure_c
128/134 Test #128: test_malloc_pure_c ....................... Passed 0.06 sec
Start 129: test_malloc_whitebox
129/134 Test #129: test_malloc_whitebox ..................... Passed 3.12 sec
Start 130: test_malloc_atexit
130/134 Test #130: test_malloc_atexit ....................... Passed 0.01 sec
Start 131: test_malloc_overload
131/134 Test #131: test_malloc_overload ..................... Passed 0.03 sec
Start 132: test_malloc_overload_disable
132/134 Test #132: test_malloc_overload_disable ............. Passed 0.01 sec
Start 133: test_malloc_new_handler
133/134 Test #133: test_malloc_new_handler .................. Passed 0.01 sec
Start 134: python_test
134/134 Test #134: python_test ..............................***Failed 0.07 sec
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.8.13", minimum required is "3.5")
CMake Error at /home/tkloczko/rpmbuild/BUILD/oneTBB-2021.5.0/cmake/python/test_launcher.cmake:21 (message):
Cannot find oneTBB Python module
98% tests passed, 3 tests failed out of 134
Total Test time (real) = 157.79 sec
The following tests FAILED:
22 - test_concurrent_vector (Failed)
93 - conformance_concurrent_vector (Failed)
134 - python_test (Failed)
Errors while running CTest
Temporarry I've added those three units to ctest exclude list.
And yet another issue. My prev tbb rpm package with 2021.4.0 had disabled building python binding (does't matter why). After enable that I found a bit messsy content with python module. Previouselly I was able tu use in %files
%files -n python-tbb
%doc python/README.md
%{python3_sitearch}/TBB*
%{python3_sitearch}/tbb
%{python3_sitearch}/__pycache__/*
Now looks lik emodule name has changed
[tkloczko@devel-g2v tbb-2021.5.0-2.fc35.x86_64]$ find usr/lib64/python3.8/site-packages/ -name \*
usr/lib64/python3.8/site-packages/
usr/lib64/python3.8/site-packages/TBB-0.2-py3.8-linux-x86_64.egg
usr/lib64/python3.8/site-packages/TBB-0.2-py3.8-linux-x86_64.egg/B.py
usr/lib64/python3.8/site-packages/TBB-0.2-py3.8-linux-x86_64.egg/G-INFO
usr/lib64/python3.8/site-packages/TBB-0.2-py3.8-linux-x86_64.egg/G-INFO/PKG-INFO
usr/lib64/python3.8/site-packages/TBB-0.2-py3.8-linux-x86_64.egg/G-INFO/SOURCES.txt
usr/lib64/python3.8/site-packages/TBB-0.2-py3.8-linux-x86_64.egg/G-INFO/dependency_links.txt
usr/lib64/python3.8/site-packages/TBB-0.2-py3.8-linux-x86_64.egg/G-INFO/native_libs.txt
usr/lib64/python3.8/site-packages/TBB-0.2-py3.8-linux-x86_64.egg/G-INFO/not-zip-safe
usr/lib64/python3.8/site-packages/TBB-0.2-py3.8-linux-x86_64.egg/G-INFO/top_level.txt
usr/lib64/python3.8/site-packages/TBB-0.2-py3.8-linux-x86_64.egg/pycache__
usr/lib64/python3.8/site-packages/TBB-0.2-py3.8-linux-x86_64.egg/pycache__/TBB.cpython-38.pyc
usr/lib64/python3.8/site-packages/TBB-0.2-py3.8-linux-x86_64.egg/b
usr/lib64/python3.8/site-packages/TBB-0.2-py3.8-linux-x86_64.egg/b/__init__.py
usr/lib64/python3.8/site-packages/TBB-0.2-py3.8-linux-x86_64.egg/b/__main__.py
usr/lib64/python3.8/site-packages/TBB-0.2-py3.8-linux-x86_64.egg/b/_api.cpython-38-x86_64-linux-gnu.so
usr/lib64/python3.8/site-packages/TBB-0.2-py3.8-linux-x86_64.egg/b/_api.py
usr/lib64/python3.8/site-packages/TBB-0.2-py3.8-linux-x86_64.egg/b/api.py
usr/lib64/python3.8/site-packages/TBB-0.2-py3.8-linux-x86_64.egg/b/pool.py
usr/lib64/python3.8/site-packages/TBB-0.2-py3.8-linux-x86_64.egg/b/test.py
usr/lib64/python3.8/site-packages/TBB-0.2-py3.8-linux-x86_64.egg/b/__pycache__
usr/lib64/python3.8/site-packages/TBB-0.2-py3.8-linux-x86_64.egg/b/__pycache__/__main__.cpython-38.pyc
usr/lib64/python3.8/site-packages/TBB-0.2-py3.8-linux-x86_64.egg/b/__pycache__/__main__.cpython-38.opt-1.pyc
usr/lib64/python3.8/site-packages/TBB-0.2-py3.8-linux-x86_64.egg/b/__pycache__/__main__.cpython-38.opt-2.pyc
usr/lib64/python3.8/site-packages/TBB-0.2-py3.8-linux-x86_64.egg/b/__pycache__/_api.cpython-38.pyc
usr/lib64/python3.8/site-packages/TBB-0.2-py3.8-linux-x86_64.egg/b/__pycache__/_api.cpython-38.opt-1.pyc
usr/lib64/python3.8/site-packages/TBB-0.2-py3.8-linux-x86_64.egg/b/__pycache__/_api.cpython-38.opt-2.pyc
usr/lib64/python3.8/site-packages/TBB-0.2-py3.8-linux-x86_64.egg/b/__pycache__/api.cpython-38.pyc
usr/lib64/python3.8/site-packages/TBB-0.2-py3.8-linux-x86_64.egg/b/__pycache__/__init__.cpython-38.pyc
usr/lib64/python3.8/site-packages/TBB-0.2-py3.8-linux-x86_64.egg/b/__pycache__/test.cpython-38.pyc
usr/lib64/python3.8/site-packages/TBB-0.2-py3.8-linux-x86_64.egg/b/__pycache__/api.cpython-38.opt-1.pyc
usr/lib64/python3.8/site-packages/TBB-0.2-py3.8-linux-x86_64.egg/b/__pycache__/pool.cpython-38.pyc
usr/lib64/python3.8/site-packages/TBB-0.2-py3.8-linux-x86_64.egg/b/__pycache__/test.cpython-38.opt-1.pyc
usr/lib64/python3.8/site-packages/TBB-0.2-py3.8-linux-x86_64.egg/b/__pycache__/api.cpython-38.opt-2.pyc
usr/lib64/python3.8/site-packages/TBB-0.2-py3.8-linux-x86_64.egg/b/__pycache__/__init__.cpython-38.opt-1.pyc
usr/lib64/python3.8/site-packages/TBB-0.2-py3.8-linux-x86_64.egg/b/__pycache__/test.cpython-38.opt-2.pyc
usr/lib64/python3.8/site-packages/TBB-0.2-py3.8-linux-x86_64.egg/b/__pycache__/pool.cpython-38.opt-1.pyc
usr/lib64/python3.8/site-packages/TBB-0.2-py3.8-linux-x86_64.egg/b/__pycache__/__init__.cpython-38.opt-2.pyc
usr/lib64/python3.8/site-packages/TBB-0.2-py3.8-linux-x86_64.egg/b/__pycache__/pool.cpython-38.opt-2.pyc
usr/lib64/python3.8/site-packages/TBB-0.2-py3.8-linux-x86_64.egg/__pycache__
usr/lib64/python3.8/site-packages/TBB-0.2-py3.8-linux-x86_64.egg/__pycache__/B.cpython-38.pyc
usr/lib64/python3.8/site-packages/TBB-0.2-py3.8-linux-x86_64.egg/__pycache__/B.cpython-38.opt-1.pyc
usr/lib64/python3.8/site-packages/TBB-0.2-py3.8-linux-x86_64.egg/__pycache__/B.cpython-38.opt-2.pyc
Metadata shoud be in TBB-0.2-py3.8-linux-x86_64.info-egg or TBB-0.2-py3.8-linux-x86_64.dist-egg. Module name changed from TBB to B and b.
Back wrong .. was module TBB no is TBB-0.2-py3.8-linux-x86_64.egg and metadata instead been installed in python sitearch base directory are installed in TBB-0.2-py3.8-linux-x86_64.egg/.
I think that way better would be just remove pthon builkding from oneTBB and separate and make it as regular pypi project to be able build and install it using pep517 build procedure (instead cmake).
Just tested 2021.6.0 and test suite is failing in two units
+ cd oneTBB-2021.6.0
+ /usr/bin/make -O -j48 V=1 VERBOSE=1 -C x86_64-redhat-linux-gnu test ARGS=--output-on-failure
make: Entering directory '/home/tkloczko/rpmbuild/BUILD/oneTBB-2021.6.0/x86_64-redhat-linux-gnu'
Running tests...
/usr/bin/ctest --force-new-ctest-process --output-on-failure
Test project /home/tkloczko/rpmbuild/BUILD/oneTBB-2021.6.0/x86_64-redhat-linux-gnu
Start 1: test_tick_count
1/136 Test #1: test_tick_count .......................... Passed 0.06 sec
Start 2: test_allocators
2/136 Test #2: test_allocators .......................... Passed 0.01 sec
Start 3: test_arena_priorities
3/136 Test #3: test_arena_priorities .................... Passed 0.05 sec
Start 4: test_dynamic_link
4/136 Test #4: test_dynamic_link ........................ Passed 0.00 sec
Start 5: test_collaborative_call_once
5/136 Test #5: test_collaborative_call_once ............. Passed 1.92 sec
Start 6: test_concurrent_lru_cache
6/136 Test #6: test_concurrent_lru_cache ................ Passed 0.01 sec
Start 7: test_concurrent_unordered_map
7/136 Test #7: test_concurrent_unordered_map ............ Passed 1.51 sec
Start 8: test_concurrent_unordered_set
8/136 Test #8: test_concurrent_unordered_set ............ Passed 1.90 sec
Start 9: test_concurrent_map
9/136 Test #9: test_concurrent_map ...................... Passed 0.77 sec
Start 10: test_concurrent_set
10/136 Test #10: test_concurrent_set ...................... Passed 1.39 sec
Start 11: test_concurrent_priority_queue
11/136 Test #11: test_concurrent_priority_queue ........... Passed 0.22 sec
Start 12: test_partitioner
12/136 Test #12: test_partitioner ......................... Passed 0.22 sec
Start 13: test_parallel_for
13/136 Test #13: test_parallel_for ........................ Passed 3.22 sec
Start 14: test_parallel_for_each
14/136 Test #14: test_parallel_for_each ................... Passed 0.42 sec
Start 15: test_parallel_reduce
15/136 Test #15: test_parallel_reduce ..................... Passed 2.45 sec
Start 16: test_parallel_sort
16/136 Test #16: test_parallel_sort ....................... Passed 5.93 sec
Start 17: test_parallel_invoke
17/136 Test #17: test_parallel_invoke ..................... Passed 0.16 sec
Start 18: test_parallel_scan
18/136 Test #18: test_parallel_scan ....................... Passed 11.85 sec
Start 19: test_parallel_pipeline
19/136 Test #19: test_parallel_pipeline ................... Passed 2.95 sec
Start 20: test_eh_algorithms
20/136 Test #20: test_eh_algorithms ....................... Passed 8.46 sec
Start 21: test_blocked_range
21/136 Test #21: test_blocked_range ....................... Passed 0.00 sec
Start 22: test_concurrent_vector
22/136 Test #22: test_concurrent_vector ...................***Failed 0.76 sec
[doctest] doctest version is "2.4.7"
[doctest] run with "--help" for options
===============================================================================
/home/tkloczko/rpmbuild/BUILD/oneTBB-2021.6.0/test/tbb/test_concurrent_vector.cpp:605:
TEST CASE: Whitebox test for segment table extension
/home/tkloczko/rpmbuild/BUILD/oneTBB-2021.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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!
Start 23: test_task_group
23/136 Test #23: test_task_group .......................... Passed 1.48 sec
Start 24: test_concurrent_hash_map
24/136 Test #24: test_concurrent_hash_map ................. Passed 0.04 sec
Start 25: test_task_arena
25/136 Test #25: test_task_arena .......................... Passed 6.22 sec
Start 26: test_enumerable_thread_specific
26/136 Test #26: test_enumerable_thread_specific .......... Passed 0.31 sec
Start 27: test_concurrent_queue
27/136 Test #27: test_concurrent_queue .................... Passed 0.05 sec
Start 28: test_resumable_tasks
28/136 Test #28: test_resumable_tasks ..................... Passed 21.88 sec
Start 29: test_mutex
29/136 Test #29: test_mutex ............................... Passed 7.22 sec
Start 30: test_function_node
30/136 Test #30: test_function_node ....................... Passed 2.16 sec
Start 31: test_multifunction_node
31/136 Test #31: test_multifunction_node .................. Passed 2.75 sec
Start 32: test_broadcast_node
32/136 Test #32: test_broadcast_node ...................... Passed 0.17 sec
Start 33: test_buffer_node
33/136 Test #33: test_buffer_node ......................... Passed 0.12 sec
Start 34: test_composite_node
34/136 Test #34: test_composite_node ...................... Passed 2.08 sec
Start 35: test_continue_node
35/136 Test #35: test_continue_node ....................... Passed 5.58 sec
Start 36: test_eh_flow_graph
36/136 Test #36: test_eh_flow_graph ....................... Passed 0.24 sec
Start 37: test_flow_graph
37/136 Test #37: test_flow_graph .......................... Passed 0.52 sec
Start 38: test_flow_graph_priorities
38/136 Test #38: test_flow_graph_priorities ............... Passed 1.75 sec
Start 39: test_flow_graph_whitebox
39/136 Test #39: test_flow_graph_whitebox ................. Passed 0.01 sec
Start 40: test_indexer_node
40/136 Test #40: test_indexer_node ........................ Passed 0.15 sec
Start 41: test_join_node
41/136 Test #41: test_join_node ........................... Passed 0.59 sec
Start 42: test_join_node_key_matching
42/136 Test #42: test_join_node_key_matching .............. Passed 0.30 sec
Start 43: test_join_node_msg_key_matching
43/136 Test #43: test_join_node_msg_key_matching .......... Passed 0.05 sec
Start 44: test_join_node_msg_key_matching_n_args
44/136 Test #44: test_join_node_msg_key_matching_n_args ... Passed 0.28 sec
Start 45: test_join_node_preview
45/136 Test #45: test_join_node_preview ................... Passed 0.01 sec
Start 46: test_limiter_node
46/136 Test #46: test_limiter_node ........................ Passed 2.10 sec
Start 47: test_priority_queue_node
47/136 Test #47: test_priority_queue_node ................. Passed 0.01 sec
Start 48: test_queue_node
48/136 Test #48: test_queue_node .......................... Passed 0.25 sec
Start 49: test_sequencer_node
49/136 Test #49: test_sequencer_node ...................... Passed 0.05 sec
Start 50: test_split_node
50/136 Test #50: test_split_node .......................... Passed 0.13 sec
Start 51: test_tagged_msg
51/136 Test #51: test_tagged_msg .......................... Passed 0.00 sec
Start 52: test_overwrite_node
52/136 Test #52: test_overwrite_node ...................... Passed 0.91 sec
Start 53: test_write_once_node
53/136 Test #53: test_write_once_node ..................... Passed 0.91 sec
Start 54: test_async_node
54/136 Test #54: test_async_node .......................... Passed 8.52 sec
Start 55: test_input_node
55/136 Test #55: test_input_node .......................... Passed 0.04 sec
Start 56: test_profiling
56/136 Test #56: test_profiling ........................... Passed 0.00 sec
Start 57: test_concurrent_queue_whitebox
57/136 Test #57: test_concurrent_queue_whitebox ........... Passed 0.00 sec
Start 58: test_intrusive_list
58/136 Test #58: test_intrusive_list ...................... Passed 0.31 sec
Start 59: test_semaphore
59/136 Test #59: test_semaphore ........................... Passed 3.26 sec
Start 60: test_environment_whitebox
60/136 Test #60: test_environment_whitebox ................ Passed 0.04 sec
Start 61: test_hw_concurrency
61/136 Test #61: test_hw_concurrency ...................... Passed 0.01 sec
Start 62: test_eh_thread
62/136 Test #62: test_eh_thread ........................... Passed 0.06 sec
Start 63: test_global_control
63/136 Test #63: test_global_control ...................... Passed 0.62 sec
Start 64: test_task
64/136 Test #64: test_task ................................ Passed 0.57 sec
Start 65: test_concurrent_monitor
65/136 Test #65: test_concurrent_monitor .................. Passed 0.59 sec
Start 66: test_scheduler_mix
66/136 Test #66: test_scheduler_mix ....................... Passed 0.48 sec
Start 67: test_handle_perror
67/136 Test #67: test_handle_perror ....................... Passed 0.01 sec
Start 68: test_arena_constraints
68/136 Test #68: test_arena_constraints ................... Passed 0.18 sec
Start 69: test_tbb_fork
69/136 Test #69: test_tbb_fork ............................ Passed 1.82 sec
Start 70: test_tbb_header
70/136 Test #70: test_tbb_header .......................... Passed 0.01 sec
Start 71: test_openmp
71/136 Test #71: test_openmp .............................. Passed 0.03 sec
Start 72: conformance_tick_count
72/136 Test #72: conformance_tick_count ................... Passed 0.00 sec
Start 73: conformance_allocators
73/136 Test #73: conformance_allocators ................... Passed 1.30 sec
Start 74: conformance_mutex
74/136 Test #74: conformance_mutex ........................ Passed 0.90 sec
Start 75: conformance_task_group
75/136 Test #75: conformance_task_group ................... Passed 0.01 sec
Start 76: conformance_task_group_context
76/136 Test #76: conformance_task_group_context ........... Passed 0.01 sec
Start 77: conformance_task_arena
77/136 Test #77: conformance_task_arena ................... Passed 0.02 sec
Start 78: conformance_collaborative_call_once
78/136 Test #78: conformance_collaborative_call_once ...... Passed 0.04 sec
Start 79: conformance_concurrent_lru_cache
79/136 Test #79: conformance_concurrent_lru_cache ......... Passed 0.01 sec
Start 80: conformance_concurrent_unordered_map
80/136 Test #80: conformance_concurrent_unordered_map ..... Passed 0.13 sec
Start 81: conformance_concurrent_unordered_set
81/136 Test #81: conformance_concurrent_unordered_set ..... Passed 0.13 sec
Start 82: conformance_concurrent_map
82/136 Test #82: conformance_concurrent_map ............... Passed 0.23 sec
Start 83: conformance_concurrent_set
83/136 Test #83: conformance_concurrent_set ............... Passed 0.20 sec
Start 84: conformance_concurrent_priority_queue
84/136 Test #84: conformance_concurrent_priority_queue .... Passed 0.30 sec
Start 85: conformance_parallel_for
85/136 Test #85: conformance_parallel_for ................. Passed 2.55 sec
Start 86: conformance_parallel_for_each
86/136 Test #86: conformance_parallel_for_each ............ Passed 0.13 sec
Start 87: conformance_parallel_reduce
87/136 Test #87: conformance_parallel_reduce .............. Passed 0.57 sec
Start 88: conformance_parallel_scan
88/136 Test #88: conformance_parallel_scan ................ Passed 0.00 sec
Start 89: conformance_parallel_sort
89/136 Test #89: conformance_parallel_sort ................ Passed 0.06 sec
Start 90: conformance_parallel_pipeline
90/136 Test #90: conformance_parallel_pipeline ............ Passed 1.35 sec
Start 91: conformance_parallel_invoke
91/136 Test #91: conformance_parallel_invoke .............. Passed 0.33 sec
Start 92: conformance_blocked_range
92/136 Test #92: conformance_blocked_range ................ Passed 0.56 sec
Start 93: conformance_blocked_range2d
93/136 Test #93: conformance_blocked_range2d .............. Passed 1.82 sec
Start 94: conformance_blocked_range3d
94/136 Test #94: conformance_blocked_range3d .............. Passed 0.37 sec
Start 95: conformance_blocked_rangeNd
95/136 Test #95: conformance_blocked_rangeNd .............. Passed 0.34 sec
Start 96: conformance_concurrent_vector
96/136 Test #96: conformance_concurrent_vector ............Subprocess aborted***Exception: 0.38 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.6.0/test/conformance/conformance_concurrent_vector.cpp:1453:
TEST CASE: testing exceptions
/home/tkloczko/rpmbuild/BUILD/oneTBB-2021.6.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.6.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 97: conformance_global_control
97/136 Test #97: conformance_global_control ............... Passed 0.11 sec
Start 98: conformance_concurrent_hash_map
98/136 Test #98: conformance_concurrent_hash_map .......... Passed 2.65 sec
Start 99: conformance_enumerable_thread_specific
99/136 Test #99: conformance_enumerable_thread_specific ... Passed 1.19 sec
Start 100: conformance_combinable
100/136 Test #100: conformance_combinable ................... Passed 1.43 sec
Start 101: conformance_concurrent_queue
101/136 Test #101: conformance_concurrent_queue ............. Passed 6.79 sec
Start 102: conformance_resumable_tasks
102/136 Test #102: conformance_resumable_tasks .............. Passed 0.02 sec
Start 103: conformance_version
103/136 Test #103: conformance_version ...................... Passed 0.01 sec
Start 104: conformance_function_node
104/136 Test #104: conformance_function_node ................ Passed 0.04 sec
Start 105: conformance_multifunction_node
105/136 Test #105: conformance_multifunction_node ........... Passed 0.02 sec
Start 106: conformance_input_node
106/136 Test #106: conformance_input_node ................... Passed 0.88 sec
Start 107: conformance_continue_node
107/136 Test #107: conformance_continue_node ................ Passed 0.01 sec
Start 108: conformance_async_node
108/136 Test #108: conformance_async_node ................... Passed 0.03 sec
Start 109: conformance_overwrite_node
109/136 Test #109: conformance_overwrite_node ............... Passed 0.01 sec
Start 110: conformance_write_once_node
110/136 Test #110: conformance_write_once_node .............. Passed 0.01 sec
Start 111: conformance_buffer_node
111/136 Test #111: conformance_buffer_node .................. Passed 0.00 sec
Start 112: conformance_queue_node
112/136 Test #112: conformance_queue_node ................... Passed 0.01 sec
Start 113: conformance_priority_queue_node
113/136 Test #113: conformance_priority_queue_node .......... Passed 0.01 sec
Start 114: conformance_sequencer_node
114/136 Test #114: conformance_sequencer_node ............... Passed 0.01 sec
Start 115: conformance_limiter_node
115/136 Test #115: conformance_limiter_node ................. Passed 0.01 sec
Start 116: conformance_broadcast_node
116/136 Test #116: conformance_broadcast_node ............... Passed 0.01 sec
Start 117: conformance_composite_node
117/136 Test #117: conformance_composite_node ............... Passed 0.01 sec
Start 118: conformance_indexer_node
118/136 Test #118: conformance_indexer_node ................. Passed 0.01 sec
Start 119: conformance_split_node
119/136 Test #119: conformance_split_node ................... Passed 0.01 sec
Start 120: conformance_join_node
120/136 Test #120: conformance_join_node .................... Passed 0.01 sec
Start 121: conformance_graph
121/136 Test #121: conformance_graph ........................ Passed 0.02 sec
Start 122: conformance_arena_constraints
122/136 Test #122: conformance_arena_constraints ............ Passed 0.01 sec
Start 123: test_scalable_allocator
123/136 Test #123: test_scalable_allocator .................. Passed 0.84 sec
Start 124: test_malloc_pools
124/136 Test #124: test_malloc_pools ........................ Passed 1.90 sec
Start 125: test_malloc_init_shutdown
125/136 Test #125: test_malloc_init_shutdown ................ Passed 0.01 sec
Start 126: test_malloc_regression
126/136 Test #126: test_malloc_regression ................... Passed 0.05 sec
Start 127: test_malloc_shutdown_hang
127/136 Test #127: test_malloc_shutdown_hang ................ Passed 0.92 sec
Start 128: test_malloc_compliance
128/136 Test #128: test_malloc_compliance ................... Passed 10.18 sec
Start 129: test_malloc_used_by_lib
129/136 Test #129: test_malloc_used_by_lib .................. Passed 0.01 sec
Start 130: test_malloc_lib_unload
130/136 Test #130: test_malloc_lib_unload ................... Passed 0.01 sec
Start 131: test_malloc_pure_c
131/136 Test #131: test_malloc_pure_c ....................... Passed 0.05 sec
Start 132: test_malloc_whitebox
132/136 Test #132: test_malloc_whitebox ..................... Passed 3.54 sec
Start 133: test_malloc_atexit
133/136 Test #133: test_malloc_atexit ....................... Passed 0.01 sec
Start 134: test_malloc_overload
134/136 Test #134: test_malloc_overload ..................... Passed 0.03 sec
Start 135: test_malloc_overload_disable
135/136 Test #135: test_malloc_overload_disable ............. Passed 0.01 sec
Start 136: test_malloc_new_handler
136/136 Test #136: test_malloc_new_handler .................. Passed 0.01 sec
99% tests passed, 2 tests failed out of 136
Total Test time (real) = 161.89 sec
The following tests FAILED:
22 - test_concurrent_vector (Failed)
96 - conformance_concurrent_vector (Subprocess aborted)
Errors while running CTest
make: *** [Makefile:94: test] Error 8
make: Leaving directory '/home/tkloczko/rpmbuild/BUILD/oneTBB-2021.6.0/x86_64-redhat-linux-gnu'
GCC12 related warnings were fixed by PRs #958 and #866