Tests started on Sat Jun 18 10:10:08 PDT 2022 and finished on Sat Jun 18 10:10:58 PDT 2022
Start running eventdispatcher tests v1.1.52 on Sat Jun 18 10:10:23 PDT 2022 eventdispatcher v1.1.52 [61064]:unittest: seed is 1655572223 source directory: "/home/snapwebsites/snapcpp/contrib/eventdispatcher" temporary directory: "/home/snapwebsites/snapcpp/BUILD/Debug/contrib/eventdispatcher/tmp" Randomness seeded to: 4055525295 SECTION: Simple message fields SECTION: To & From Messages (simple) SECTION: To & From Messages (full message) JSON [{"command":"FIRE","parameters":{"correct":false,"length":-35,"name":"Charles","range":101,"valid":true,"void":""}}] 2022/06/18 17:10:23 monster [61064]: error: a server name cannot be empty when specified, also it cannot include two server names and a server name after a service name was specified. (in function "from_string()") (message.cpp:286) SECTION: simple cat 2022/06/18 17:10:23 monster [61064]: trace: added 1 connection, "", there is now 1 connections (including this one). (in function "add_connection()") (communicator.cpp:227) 2022/06/18 17:10:23 monster [61064]: trace: added 1 connection, "", there is now 2 connections (including this one). (in function "add_connection()") (communicator.cpp:227) 2022/06/18 17:10:23 monster [61064]: trace: removing 1 connection, "", of 2 connections (including this one). (in function "remove_connection()") (communicator.cpp:256) 2022/06/18 17:10:23 monster [61064]: trace: removing 1 connection, "", of 1 connections (including this one). (in function "remove_connection()") (communicator.cpp:256) SECTION: simple logger, we pipe the input as the message 2022/06/18 17:10:23 monster [61064]: trace: added 1 connection, "", there is now 1 connections (including this one). (in function "add_connection()") (communicator.cpp:227) 2022/06/18 17:10:23 monster [61064]: trace: added 1 connection, "", there is now 2 connections (including this one). (in function "add_connection()") (communicator.cpp:227) 2022/06/18 17:10:23 monster [61064]: trace: removing 1 connection, "", of 2 connections (including this one). (in function "remove_connection()") (communicator.cpp:256) 2022/06/18 17:10:23 monster [61064]: trace: removing 1 connection, "", of 1 connections (including this one). (in function "remove_connection()") (communicator.cpp:256) SECTION: in | sed | out 2022/06/18 17:10:23 monster [61064]: trace: added 1 connection, "", there is now 1 connections (including this one). (in function "add_connection()") (communicator.cpp:227) 2022/06/18 17:10:23 monster [61064]: trace: added 1 connection, "", there is now 2 connections (including this one). (in function "add_connection()") (communicator.cpp:227) 2022/06/18 17:10:23 monster [61064]: trace: added 1 connection, "", there is now 3 connections (including this one). (in function "add_connection()") (communicator.cpp:227) 2022/06/18 17:10:23 monster [61064]: trace: removing 1 connection, "", of 3 connections (including this one). (in function "remove_connection()") (communicator.cpp:256) 2022/06/18 17:10:23 monster [61064]: trace: removing 1 connection, "", of 2 connections (including this one). (in function "remove_connection()") (communicator.cpp:256) 2022/06/18 17:10:23 monster [61064]: trace: removing 1 connection, "", of 1 connections (including this one). (in function "remove_connection()") (communicator.cpp:256) SECTION: ls unknown-file, expect an error 2022/06/18 17:10:23 monster [61064]: trace: added 1 connection, "", there is now 1 connections (including this one). (in function "add_connection()") (communicator.cpp:227) 2022/06/18 17:10:23 monster [61064]: trace: added 1 connection, "", there is now 2 connections (including this one). (in function "add_connection()") (communicator.cpp:227) 2022/06/18 17:10:23 monster [61064]: trace: removing 1 connection, "", of 2 connections (including this one). (in function "remove_connection()") (communicator.cpp:256) 2022/06/18 17:10:23 monster [61064]: trace: removing 1 connection, "", of 1 connections (including this one). (in function "remove_connection()") (communicator.cpp:256) SECTION: cat | tr 2022/06/18 17:10:23 monster [61064]: trace: added 1 connection, "", there is now 1 connections (including this one). (in function "add_connection()") (communicator.cpp:227) 2022/06/18 17:10:23 monster [61064]: trace: added 1 connection, "", there is now 2 connections (including this one). (in function "add_connection()") (communicator.cpp:227) 2022/06/18 17:10:23 monster [61064]: trace: added 1 connection, "", there is now 3 connections (including this one). (in function "add_connection()") (communicator.cpp:227) 2022/06/18 17:10:23 monster [61064]: trace: removing 1 connection, "", of 3 connections (including this one). (in function "remove_connection()") (communicator.cpp:256) 2022/06/18 17:10:23 monster [61064]: trace: removing 1 connection, "", of 2 connections (including this one). (in function "remove_connection()") (communicator.cpp:256) 2022/06/18 17:10:23 monster [61064]: trace: removing 1 connection, "", of 1 connections (including this one). (in function "remove_connection()") (communicator.cpp:256) SECTION: file based: cat | tr 2022/06/18 17:10:23 monster [61064]: trace: added 1 connection, "", there is now 1 connections (including this one). (in function "add_connection()") (communicator.cpp:227) 2022/06/18 17:10:23 monster [61064]: trace: removing 1 connection, "", of 1 connections (including this one). (in function "remove_connection()") (communicator.cpp:256) SECTION: check ourselves SECTION: Create a Server, Client, Connect & Send Messages 2022/06/18 17:10:23 monster [61064]: trace: added 1 connection, "unix-dgram-server", there is now 1 connections (including this one). (in function "add_connection()") (communicator.cpp:227) 2022/06/18 17:10:23 monster [61064]: trace: added 1 connection, "unix-dgram-client", there is now 2 connections (including this one). (in function "add_connection()") (communicator.cpp:227) 2022/06/18 17:10:23 monster [61064]: trace: dispatch message "HELLO". (in function "dispatch()") (dispatcher.h:688) 2022/06/18 17:10:23 monster [61064]: trace: dispatch message "HI". (in function "dispatch()") (dispatcher.h:688) 2022/06/18 17:10:23 monster [61064]: trace: removing 1 connection, "unix-dgram-client", of 2 connections (including this one). (in function "remove_connection()") (communicator.cpp:256) 2022/06/18 17:10:23 monster [61064]: trace: dispatch message "DOWN". (in function "dispatch()") (dispatcher.h:688) 2022/06/18 17:10:23 monster [61064]: trace: removing 1 connection, "unix-dgram-server", of 1 connections (including this one). (in function "remove_connection()") (communicator.cpp:256) SECTION: Create a Server, Client, Connect & Send Messages 2022/06/18 17:10:23 monster [61064]: trace: added 1 connection, "", there is now 1 connections (including this one). (in function "add_connection()") (communicator.cpp:227) 2022/06/18 17:10:23 monster [61064]: trace: added 1 connection, "unix-client", there is now 2 connections (including this one). (in function "add_connection()") (communicator.cpp:227) 2022/06/18 17:10:23 monster [61064]: trace: added 1 connection, "local_stream_client_permanent_message_connection_impl::thread_signal_handler", there is now 3 connections (including this one). (in function "add_connection()") (communicator.cpp:227) 2022/06/18 17:10:23 monster [61064]: information: entering thread "background local_stream_client_permanent_message_connection for asynchronous connections" #61080. (in function "getopt_logs()") (private_logger.cpp:87) 2022/06/18 17:10:23 monster [61064]: information: leaving thread "background local_stream_client_permanent_message_connection for asynchronous connections" #61080 with status 0. (in function "getopt_logs()") (private_logger.cpp:87) 2022/06/18 17:10:23 monster [61064]: trace: added 1 connection, "unix-server-client", there is now 4 connections (including this one). (in function "add_connection()") (communicator.cpp:227) 2022/06/18 17:10:23 monster [61064]: trace: removing 1 connection, "local_stream_client_permanent_message_connection_impl::thread_signal_handler", of 4 connections (including this one). (in function "remove_connection()") (communicator.cpp:256) 2022/06/18 17:10:23 monster [61064]: trace: added 1 connection, "local_stream_client_permanent_message_connection_impl::messenger", there is now 4 connections (including this one). (in function "add_connection()") (communicator.cpp:227) 2022/06/18 17:10:23 monster [61064]: trace: dispatch message "HELLO". (in function "dispatch()") (dispatcher.h:688) 2022/06/18 17:10:23 monster [61064]: trace: dispatch message "HI". (in function "dispatch()") (dispatcher.h:688) 2022/06/18 17:10:23 monster [61064]: debug: socket 7 of connection "local_stream_client_permanent_message_connection_impl::messenger" was marked as done, removing in process_empty_buffer(). (in function "process_empty_buffer()") (connection.cpp:902) 2022/06/18 17:10:23 monster [61064]: trace: removing 1 connection, "local_stream_client_permanent_message_connection_impl::messenger", of 4 connections (including this one). (in function "remove_connection()") (communicator.cpp:256) 2022/06/18 17:10:23 monster [61064]: debug: socket -1 of connection "unix-client" was marked as done, removing in process_empty_buffer(). (in function "process_empty_buffer()") (connection.cpp:902) 2022/06/18 17:10:23 monster [61064]: trace: removing 1 connection, "unix-client", of 3 connections (including this one). (in function "remove_connection()") (communicator.cpp:256) 2022/06/18 17:10:23 monster [61064]: trace: dispatch message "DOWN". (in function "dispatch()") (dispatcher.h:688) 2022/06/18 17:10:23 monster [61064]: trace: removing 1 connection, "unix-server-client", of 2 connections (including this one). (in function "remove_connection()") (communicator.cpp:256) 2022/06/18 17:10:23 monster [61064]: trace: removing 1 connection, "", of 1 connections (including this one). (in function "remove_connection()") (communicator.cpp:256) SECTION: verify runtime vs compile time eventdispatcher version numbers SECTION: verify runtime vs compile time cppprocess version numbers =============================================================================== All tests passed (302 assertions in 6 test cases) Finished running eventdispatcher tests v1.1.52 on Sat Jun 18 10:10:23 PDT 2022