We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test failed on mac: https://github.com/alibaba/yalantinglibs/actions/runs/12191981434/job/34011812504?pr=841
2: /Users/runner/work/yalantinglibs/yalantinglibs/src/coro_io/tests/test_client_pool.cpp:113: 2: TEST CASE: test idle timeout yield 2: 2: /Users/runner/work/yalantinglibs/yalantinglibs/src/coro_io/tests/test_client_pool.cpp:128: ERROR: CHECK( pool->free_client_count() == 0 ) is NOT correct! 2: values: CHECK( 13 == 0 ) 2: #2 0x104ad65d4 in std::__1::thread::thread<coro_io::io_context_pool::run()::'lambda'(std::__1::shared_ptr<asio::io_context>), std::__1::shared_ptr<asio::io_context>&, void>(coro_io::io_context_pool::run()::'lambda'(std::__1::shared_ptr<asio::io_context>)&&, std::__1::shared_ptr<asio::io_context>&) thread.h:254 2: #3 0x104ad63f0 in std::__1::thread::thread<coro_io::io_context_pool::run()::'lambda'(std::__1::shared_ptr<asio::io_context>), std::__1::shared_ptr<asio::io_context>&, void>(coro_io::io_context_pool::run()::'lambda'(std::__1::shared_ptr<asio::io_context>)&&, std::__1::shared_ptr<asio::io_context>&) thread.h:246 2: #4 0x104ad63b4 in std::__1::thread* std::__1::construct_at[abi:ue170006]<std::__1::thread, coro_io::io_context_pool::run()::'lambda'(std::__1::shared_ptr<asio::io_context>), std::__1::shared_ptr<asio::io_context>&, std::__1::thread*>(std::__1::thread*, coro_io::io_context_pool::run()::'lambda'(std::__1::shared_ptr<asio::io_context>)&&, std::__1::shared_ptr<asio::io_context>&) construct_at.h:41 2: #5 0x104ad5e64 in void std::__1::allocator_traits<std::__1::allocator<std::__1::thread>>::construct[abi:ue170006]<std::__1::thread, coro_io::io_context_pool::run()::'lambda'(std::__1::shared_ptr<asio::io_context>), std::__1::shared_ptr<asio::io_context>&, void, void>(std::__1::allocator<std::__1::thread>&, std::__1::thread*, coro_io::io_context_pool::run()::'lambda'(std::__1::shared_ptr<asio::io_context>)&&, std::__1::shared_ptr<asio::io_context>&) allocator_traits.h:304 2: #6 0x104ad5c88 in std::__1::__shared_ptr_emplace<std::__1::thread, std::__1::allocator<std::__1::thread>>::__shared_ptr_emplace[abi:ue170006]<coro_io::io_context_pool::run()::'lambda'(std::__1::shared_ptr<asio::io_context>), std::__1::shared_ptr<asio::io_context>&>(std::__1::allocator<std::__1::thread>, coro_io::io_context_pool::run()::'lambda'(std::__1::shared_ptr<asio::io_context>)&&, std::__1::shared_ptr<asio::io_context>&) shared_ptr.h:300 2: #7 0x104ad5460 in std::__1::__shared_ptr_emplace<std::__1::thread, std::__1::allocator<std::__1::thread>>::__shared_ptr_emplace[abi:ue170006]<coro_io::io_context_pool::run()::'lambda'(std::__1::shared_ptr<asio::io_context>), std::__1::shared_ptr<asio::io_context>&>(std::__1::allocator<std::__1::thread>, coro_io::io_context_pool::run()::'lambda'(std::__1::shared_ptr<asio::io_context>)&&, std::__1::shared_ptr<asio::io_context>&) shared_ptr.h:292 2: #8 0x104ad51dc in std::__1::shared_ptr<std::__1::thread> std::__1::allocate_shared[abi:ue170006]<std::__1::thread, std::__1::allocator<std::__1::thread>, coro_io::io_context_pool::run()::'lambda'(std::__1::shared_ptr<asio::io_context>), std::__1::shared_ptr<asio::io_context>&, void>(std::__1::allocator<std::__1::thread> const&, coro_io::io_context_pool::run()::'lambda'(std::__1::shared_ptr<asio::io_context>)&&, std::__1::shared_ptr<asio::io_context>&) shared_ptr.h:1023 2: #9 0x104acf27c in std::__1::shared_ptr<std::__1::thread> std::__1::make_shared[abi:ue170006]<std::__1::thread, coro_io::io_context_pool::run()::'lambda'(std::__1::shared_ptr<asio::io_context>), std::__1::shared_ptr<asio::io_context>&, void>(coro_io::io_context_pool::run()::'lambda'(std::__1::shared_ptr<asio::io_context>)&&, std::__1::shared_ptr<asio::io_context>&) shared_ptr.h:1032 2: #10 0x104aced44 in coro_io::io_context_pool::run() io_context_pool.hpp:143 2: #11 0x104d4a5fc in auto coro_io::io_context_pool& coro_io::g_io_context_pool<coro_io::io_context_pool>(unsigned int)::'lambda'(coro_io::io_context_pool)::operator()<std::__1::shared_ptr<coro_io::io_context_pool>>(coro_io::io_context_pool) const::'lambda'()::operator()() const io_context_pool.hpp:280 2: #12 0x104d4a5ac in decltype(std::declval<coro_io::io_context_pool>()()) std::__1::__invoke[abi:ue170006]<auto coro_io::io_context_pool& coro_io::g_io_context_pool<coro_io::io_context_pool>(unsigned int)::'lambda'(coro_io::io_context_pool)::operator()<std::__1::shared_ptr<coro_io::io_context_pool>>(coro_io::io_context_pool) const::'lambda'()>(coro_io::io_context_pool&&, decltype(std::declval<coro_io::io_context_pool>()())&&...) invoke.h:340 2: #13 0x104d4a588 in void std::__1::__thread_execute[abi:ue170006]<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, auto coro_io::io_context_pool& coro_io::g_io_context_pool<coro_io::io_context_pool>(unsigned int)::'lambda'(coro_io::io_context_pool)::operator()<std::__1::shared_ptr<coro_io::io_context_pool>>(coro_io::io_context_pool) const::'lambda'()>(std::__1::tuple<coro_io::io_context_pool, auto coro_io::io_context_pool& coro_io::g_io_context_pool<coro_io::io_context_pool>(unsigned int)::'lambda'(coro_io::io_context_pool)::operator()<std::__1::shared_ptr<coro_io::io_context_pool>>(coro_io::io_context_pool) const::'lambda'()>&, std::__1::__tuple_indices<>) thread.h:227 2: #14 0x104d49dbc in _ZNSt3__114__thread_proxyB8ue170006INS_5tupleIJNS_10unique_ptrINS_15__thread_structENS_14default_deleteIS3_EEEEZZN7coro_io17g_io_context_poolINS7_15io_context_poolEEERT_jENKUlSA_E_clINS_10shared_ptrIS9_EEEEDaSA_EUlvE_EEEEEPvSJ_ thread.h:238 2: #15 0x192b11f90 in _pthread_start+0x84 (libsystem_pthread.dylib:arm64e+0x6f90) 2: #16 0x192b0cd30 in thread_start+0x4 (libsystem_pthread.dylib:arm64e+0x1d30) 2: 2: Thread T4 created by T0 here: 2: #0 0x106893d6c in wrap_pthread_create+0x54 (libclang_rt.asan_osx_dynamic.dylib:arm64e+0x4bd6c) 2: #1 0x1049e24c0 in std::__1::__libcpp_thread_create[abi:ue170006](_opaque_pthread_t**, void* (*)(void*), void*) __threading_support:371 2: #2 0x104d499c0 in std::__1::thread::thread<auto coro_io::io_context_pool& coro_io::g_io_context_pool<coro_io::io_context_pool>(unsigned int)::'lambda'(coro_io::io_context_pool)::operator()<std::__1::shared_ptr<coro_io::io_context_pool>>(coro_io::io_context_pool) const::'lambda'(), void>(coro_io::io_context_pool&&) thread.h:254 2: #3 0x104d497b8 in std::__1::thread::thread<auto coro_io::io_context_pool& coro_io::g_io_context_pool<coro_io::io_context_pool>(unsigned int)::'lambda'(coro_io::io_context_pool)::operator()<std::__1::shared_ptr<coro_io::io_context_pool>>(coro_io::io_context_pool) const::'lambda'(), void>(coro_io::io_context_pool&&) thread.h:246 2: #4 0x104d495dc in auto coro_io::io_context_pool& coro_io::g_io_context_pool<coro_io::io_context_pool>(unsigned int)::'lambda'(coro_io::io_context_pool)::operator()<std::__1::shared_ptr<coro_io::io_context_pool>>(coro_io::io_context_pool) const io_context_pool.hpp:279 2: #5 0x104bdbcb8 in coro_io::io_context_pool& coro_io::g_io_context_pool<coro_io::io_context_pool>(unsigned int) io_context_pool.hpp:278 2: #6 0x104fcb508 in DOCTEST_ANON_FUNC_2()::$_0::operator()() const (.resume) test_channel.cpp:32 2: #7 0x104adcd20 in _ZZN12async_simple4coro6detail8LazyBaseIvLb0EE5startIZNS0_9syncAwaitINS0_4LazyIvEEEEDaOT_EUlNS_3TryIvEEE_EEvSA_ENKUlS3_SD_E_clES3_SD_ Lazy.h:370 2: #8 0x104adc038 in void async_simple::coro::detail::LazyBase<void, false>::start<auto async_simple::coro::syncAwait<async_simple::coro::Lazy<void>>(async_simple::coro::Lazy<void>&&)::'lambda'(async_simple::Try<void>)>(async_simple::Try) Lazy.h:373 2: #9 0x104adbbb8 in auto async_simple::coro::syncAwait<async_simple::coro::Lazy<void>>(async_simple::coro::Lazy<void>&&) SyncAwait.h:44 2: #10 0x104bd5988 in DOCTEST_ANON_FUNC_2() test_channel.cpp:25 2: #11 0x1053b3c44 in doctest::Context::run() doctest.h:6727 2: #12 0x1053bb1b8 in main main.cpp:23 2: #13 0x192787150 in start+0x9a8 (dyld:arm64e+0xfffffffffff4d150) 2: 2: 2024-12-06 02:58:29.405 INFO [19183] [coro_rpc_server.hpp:225] server's thread-pool finished. 2: 2024-12-06 02:58:29.405 INFO [19183] [coro_rpc_server.hpp:231] stop coro_rpc_server ok 2: 2024-12-06 02:58:29.405 INFO [19183] [coro_rpc_server.hpp:120] coro_rpc_server will quit 2: 2024-12-06 02:58:29.407 DEBUG [19174] [test_client_pool.cpp:131] test idle timeout yield over. 2: ==4427==ABORTING 2: =============================================================================== 2: /Users/runner/work/yalantinglibs/yalantinglibs/src/coro_io/tests/test_client_pool.cpp:134: 2: TEST CASE: test reconnect 2: 2: /Users/runner/work/yalantinglibs/yalantinglibs/src/coro_io/tests/test_client_pool.cpp:134: FATAL ERROR: test case CRASHED: SIGABRT - Abort (abnormal termination) signal 2: 2: =============================================================================== 2: [doctest] test cases: 9 | 7 passed | 2 failed | 23 skipped 2: [doctest] assertions: 1447 | 1446 passed | 1 failed | 2: [doctest] Status: FAILURE! 2/11 Test #2: coro_io_test .....................Subprocess aborted***Exception: 5.64 sec test 3 Start 3: coro_rpc_test
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Search before asking
What happened + What you expected to happen
test failed on mac: https://github.com/alibaba/yalantinglibs/actions/runs/12191981434/job/34011812504?pr=841
Reproduction way
Anything else
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: