{ "coverage_information": [ { "branch_coverage": 98.65, "filepath": "/user_data/data/dirk/prj/unittest/socket_protocol/pylibs/socket_protocol", "files": [ { "branch_coverage": 98.65, "filepath": "/user_data/data/dirk/prj/unittest/socket_protocol/pylibs/socket_protocol/__init__.py", "fragments": [ { "coverage_state": "clean", "end": 3, "start": 1 }, { "coverage_state": "covered", "end": 4, "start": 4 }, { "coverage_state": "clean", "end": 24, "start": 5 }, { "coverage_state": "covered", "end": 25, "start": 25 }, { "coverage_state": "clean", "end": 26, "start": 26 }, { "coverage_state": "covered", "end": 27, "start": 27 }, { "coverage_state": "clean", "end": 28, "start": 28 }, { "coverage_state": "covered", "end": 36, "start": 29 }, { "coverage_state": "clean", "end": 38, "start": 37 }, { "coverage_state": "covered", "end": 43, "start": 39 }, { "coverage_state": "clean", "end": 45, "start": 44 }, { "coverage_state": "covered", "end": 46, "start": 46 }, { "coverage_state": "clean", "end": 48, "start": 47 }, { "coverage_state": "covered", "end": 49, "start": 49 }, { "coverage_state": "clean", "end": 52, "start": 50 }, { "coverage_state": "covered", "end": 55, "start": 53 }, { "coverage_state": "clean", "end": 56, "start": 56 }, { "coverage_state": "covered", "end": 77, "start": 57 }, { "coverage_state": "clean", "end": 78, "start": 78 }, { "coverage_state": "covered", "end": 85, "start": 79 }, { "coverage_state": "clean", "end": 87, "start": 86 }, { "coverage_state": "covered", "end": 92, "start": 88 }, { "coverage_state": "clean", "end": 93, "start": 93 }, { "coverage_state": "covered", "end": 95, "start": 94 }, { "coverage_state": "clean", "end": 96, "start": 96 }, { "coverage_state": "covered", "end": 98, "start": 97 }, { "coverage_state": "clean", "end": 99, "start": 99 }, { "coverage_state": "covered", "end": 101, "start": 100 }, { "coverage_state": "clean", "end": 102, "start": 102 }, { "coverage_state": "covered", "end": 104, "start": 103 }, { "coverage_state": "clean", "end": 105, "start": 105 }, { "coverage_state": "covered", "end": 107, "start": 106 }, { "coverage_state": "clean", "end": 109, "start": 108 }, { "coverage_state": "covered", "end": 110, "start": 110 }, { "coverage_state": "clean", "end": 136, "start": 111 }, { "coverage_state": "covered", "end": 148, "start": 137 }, { "coverage_state": "clean", "end": 149, "start": 149 }, { "coverage_state": "covered", "end": 150, "start": 150 }, { "coverage_state": "clean", "end": 157, "start": 151 }, { "coverage_state": "covered", "end": 158, "start": 158 }, { "coverage_state": "clean", "end": 159, "start": 159 }, { "coverage_state": "covered", "end": 166, "start": 160 }, { "coverage_state": "clean", "end": 172, "start": 167 }, { "coverage_state": "covered", "end": 178, "start": 173 }, { "coverage_state": "clean", "end": 183, "start": 179 }, { "coverage_state": "covered", "end": 188, "start": 184 }, { "coverage_state": "clean", "end": 189, "start": 189 }, { "coverage_state": "covered", "end": 202, "start": 190 }, { "coverage_state": "clean", "end": 203, "start": 203 }, { "coverage_state": "covered", "end": 207, "start": 204 }, { "coverage_state": "clean", "end": 208, "start": 208 }, { "coverage_state": "covered", "end": 209, "start": 209 }, { "coverage_state": "clean", "end": 210, "start": 210 }, { "coverage_state": "covered", "end": 211, "start": 211 }, { "coverage_state": "uncovered", "end": 212, "start": 212 }, { "coverage_state": "clean", "end": 213, "start": 213 }, { "coverage_state": "covered", "end": 214, "start": 214 }, { "coverage_state": "uncovered", "end": 215, "start": 215 }, { "coverage_state": "clean", "end": 216, "start": 216 }, { "coverage_state": "covered", "end": 217, "start": 217 }, { "coverage_state": "uncovered", "end": 218, "start": 218 }, { "coverage_state": "clean", "end": 219, "start": 219 }, { "coverage_state": "covered", "end": 223, "start": 220 }, { "coverage_state": "partially-covered", "end": 224, "start": 224 }, { "coverage_state": "uncovered", "end": 225, "start": 225 }, { "coverage_state": "clean", "end": 226, "start": 226 }, { "coverage_state": "covered", "end": 230, "start": 227 }, { "coverage_state": "clean", "end": 231, "start": 231 }, { "coverage_state": "covered", "end": 238, "start": 232 }, { "coverage_state": "clean", "end": 239, "start": 239 }, { "coverage_state": "covered", "end": 245, "start": 240 }, { "coverage_state": "clean", "end": 246, "start": 246 }, { "coverage_state": "covered", "end": 249, "start": 247 }, { "coverage_state": "clean", "end": 250, "start": 250 }, { "coverage_state": "covered", "end": 254, "start": 251 }, { "coverage_state": "clean", "end": 255, "start": 255 }, { "coverage_state": "covered", "end": 257, "start": 256 }, { "coverage_state": "clean", "end": 258, "start": 258 }, { "coverage_state": "covered", "end": 263, "start": 259 }, { "coverage_state": "clean", "end": 264, "start": 264 }, { "coverage_state": "covered", "end": 267, "start": 265 }, { "coverage_state": "clean", "end": 268, "start": 268 }, { "coverage_state": "covered", "end": 273, "start": 269 }, { "coverage_state": "clean", "end": 274, "start": 274 }, { "coverage_state": "covered", "end": 277, "start": 275 }, { "coverage_state": "clean", "end": 278, "start": 278 }, { "coverage_state": "covered", "end": 279, "start": 279 }, { "coverage_state": "clean", "end": 280, "start": 280 }, { "coverage_state": "covered", "end": 282, "start": 281 }, { "coverage_state": "clean", "end": 283, "start": 283 }, { "coverage_state": "covered", "end": 287, "start": 284 }, { "coverage_state": "clean", "end": 288, "start": 288 }, { "coverage_state": "covered", "end": 290, "start": 289 }, { "coverage_state": "clean", "end": 297, "start": 291 }, { "coverage_state": "covered", "end": 299, "start": 298 }, { "coverage_state": "clean", "end": 302, "start": 300 }, { "coverage_state": "covered", "end": 310, "start": 303 }, { "coverage_state": "clean", "end": 311, "start": 311 }, { "coverage_state": "covered", "end": 317, "start": 312 }, { "coverage_state": "clean", "end": 321, "start": 318 }, { "coverage_state": "covered", "end": 327, "start": 322 }, { "coverage_state": "clean", "end": 328, "start": 328 }, { "coverage_state": "covered", "end": 333, "start": 329 }, { "coverage_state": "clean", "end": 334, "start": 334 }, { "coverage_state": "covered", "end": 341, "start": 335 }, { "coverage_state": "clean", "end": 342, "start": 342 }, { "coverage_state": "covered", "end": 345, "start": 343 }, { "coverage_state": "clean", "end": 346, "start": 346 }, { "coverage_state": "covered", "end": 359, "start": 347 }, { "coverage_state": "clean", "end": 360, "start": 360 }, { "coverage_state": "covered", "end": 362, "start": 361 }, { "coverage_state": "clean", "end": 363, "start": 363 }, { "coverage_state": "covered", "end": 364, "start": 364 }, { "coverage_state": "clean", "end": 382, "start": 365 }, { "coverage_state": "covered", "end": 384, "start": 383 }, { "coverage_state": "clean", "end": 385, "start": 385 }, { "coverage_state": "covered", "end": 386, "start": 386 }, { "coverage_state": "clean", "end": 409, "start": 387 }, { "coverage_state": "covered", "end": 410, "start": 410 }, { "coverage_state": "clean", "end": 411, "start": 411 }, { "coverage_state": "covered", "end": 412, "start": 412 }, { "coverage_state": "clean", "end": 424, "start": 413 }, { "coverage_state": "covered", "end": 437, "start": 425 }, { "coverage_state": "clean", "end": 438, "start": 438 }, { "coverage_state": "covered", "end": 439, "start": 439 }, { "coverage_state": "clean", "end": 443, "start": 440 }, { "coverage_state": "covered", "end": 444, "start": 444 }, { "coverage_state": "clean", "end": 445, "start": 445 }, { "coverage_state": "covered", "end": 448, "start": 446 }, { "coverage_state": "clean", "end": 449, "start": 449 }, { "coverage_state": "covered", "end": 450, "start": 450 }, { "coverage_state": "clean", "end": 451, "start": 451 }, { "coverage_state": "covered", "end": 456, "start": 452 }, { "coverage_state": "clean", "end": 457, "start": 457 }, { "coverage_state": "covered", "end": 459, "start": 458 }, { "coverage_state": "clean", "end": 460, "start": 460 }, { "coverage_state": "covered", "end": 466, "start": 461 }, { "coverage_state": "clean", "end": 467, "start": 467 }, { "coverage_state": "covered", "end": 473, "start": 468 }, { "coverage_state": "clean", "end": 474, "start": 474 }, { "coverage_state": "covered", "end": 477, "start": 475 }, { "coverage_state": "clean", "end": 478, "start": 478 }, { "coverage_state": "covered", "end": 483, "start": 479 }, { "coverage_state": "clean", "end": 484, "start": 484 }, { "coverage_state": "covered", "end": 487, "start": 485 }, { "coverage_state": "clean", "end": 489, "start": 488 }, { "coverage_state": "covered", "end": 490, "start": 490 }, { "coverage_state": "clean", "end": 513, "start": 491 }, { "coverage_state": "covered", "end": 515, "start": 514 }, { "coverage_state": "clean", "end": 516, "start": 516 }, { "coverage_state": "covered", "end": 522, "start": 517 }, { "coverage_state": "clean", "end": 523, "start": 523 }, { "coverage_state": "covered", "end": 526, "start": 524 }, { "coverage_state": "clean", "end": 527, "start": 527 }, { "coverage_state": "covered", "end": 528, "start": 528 }, { "coverage_state": "clean", "end": 529, "start": 529 }, { "coverage_state": "covered", "end": 531, "start": 530 }, { "coverage_state": "clean", "end": 532, "start": 532 }, { "coverage_state": "covered", "end": 534, "start": 533 }, { "coverage_state": "clean", "end": null, "start": 535 } ], "line_coverage": 98.68, "name": "socket_protocol.__init__.py" } ], "line_coverage": 98.68, "name": "socket_protocol" } ], "lost_souls": { "item_list": [], "testcase_list": [ "socket_protocol.pure_json_protocol: Authentification processed without secret.", "socket_protocol.pure_json_protocol: Authentification required, but not processed/ correctly processed.", "socket_protocol.pure_json_protocol: Checksum corumpation while sending.", "socket_protocol.pure_json_protocol: Incompatible Callback return value(s).", "socket_protocol.pure_json_protocol: No Callback at response instance for the request.", "socket_protocol.pure_json_protocol: Register a second Callback with the same service_id.", "socket_protocol.pure_json_protocol: Send and receive check including authentification.", "socket_protocol.pure_json_protocol: Send and receive check.", "socket_protocol.pure_json_protocol: Timeout measurement for authentification and send method.", "socket_protocol.pure_json_protocol: Wildcard Callback registration for data_id.", "socket_protocol.pure_json_protocol: Wildcard Callback registration for service_id and data_id.", "socket_protocol.pure_json_protocol: Wildcard Callback registration for service_id.", "socket_protocol.struct_json_protocol: Send and receive check (Twice for coverage of buffer initialisation).", "socket_protocol.struct_json_protocol: Send and receive check.", "socket_protocol: Client setting the channel name.", "socket_protocol: Server and Client setting different channel names.", "socket_protocol: Server and Client setting the same channel name.", "socket_protocol: Server setting the channel name." ] }, "specification": {}, "system_information": { "Architecture": "64bit", "Distribution": "Linux Mint 20 ulyana", "Hostname": "ahorn", "Kernel": "5.4.0-58-generic (#64-Ubuntu SMP Wed Dec 9 08:16:25 UTC 2020)", "Machine": "x86_64", "Path": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest", "System": "Linux", "Username": "dirk" }, "testobject_information": { "Dependencies": [ [ "stringtools", "3eac28a80770a728e1f521fadb92868d" ] ], "Description": "The Module {\\tt socket\\_protocol} is designed to pack and unpack data for serial transportation.\nFor more Information read the sphinx documentation.", "Name": "socket_protocol", "State": "Released", "Supported Interpreters": "python2, python3", "Version": "1ef858a12d357a31af69d84774037597" }, "testrun_list": [ { "heading_dict": {}, "interpreter": "python 2.7.18 (final)", "name": "Default Testsession name", "number_of_failed_tests": 0, "number_of_possibly_failed_tests": 0, "number_of_successfull_tests": 18, "number_of_tests": 18, "testcase_execution_level": 90, "testcase_names": { "0": "Single Test", "10": "Smoke Test (Minumum subset)", "50": "Short Test (Subset)", "90": "Full Test (all defined tests)" }, "testcases": { "socket_protocol.pure_json_protocol: Authentification processed without secret.": { "args": null, "asctime": "2020-12-25 15:03:34,394", "created": 1608905014.394057, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 44, "message": "socket_protocol.pure_json_protocol: Authentification processed without secret.", "module": "__init__", "moduleLogger": [], "msecs": 394.057035446167, "msg": "socket_protocol.pure_json_protocol: Authentification processed without secret.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest/src/tests/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10975.873947143555, "testcaseLogger": [ { "args": [], "asctime": "2020-12-25 15:03:34,395", "created": 1608905014.395718, "exc_info": null, "exc_text": null, "filename": "test_handling_errors.py", "funcName": "authentification_no_secret", "levelname": "DEBUG", "levelno": 10, "lineno": 90, "message": "Authentification with no secret definition (pure_json_protocol).", "module": "test_handling_errors", "moduleLogger": [ { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:34,394", "created": 1608905014.394405, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "socket_protocol (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 394.4048881530762, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10976.221799850464, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:34,394", "created": 1608905014.394866, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "socket_protocol (server): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 394.8659896850586, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10976.682901382446, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:34,395", "created": 1608905014.395098, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "socket_protocol (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 395.0979709625244, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10976.914882659912, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:34,395", "created": 1608905014.395499, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "socket_protocol (server): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 395.49899101257324, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10977.315902709961, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 395.7180976867676, "msg": "Authentification with no secret definition (pure_json_protocol).", "name": "__tLogger__", "pathname": "src/tests/test_handling_errors.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10977.535009384155, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.00021910667419433594 }, { "args": [ "False", "" ], "asctime": "2020-12-25 15:03:34,396", "created": 1608905014.39633, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return value of authentification is correct (Content False and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Return value of authentification", "False", "" ], "asctime": "2020-12-25 15:03:34,395", "created": 1608905014.395997, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return value of authentification): False ()", "module": "test", "msecs": 395.9970474243164, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10977.813959121704, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Return value of authentification", "False", "" ], "asctime": "2020-12-25 15:03:34,396", "created": 1608905014.396167, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return value of authentification): result = False ()", "module": "test", "msecs": 396.1670398712158, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10977.983951568604, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 396.3301181793213, "msg": "Return value of authentification is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10978.147029876709, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.00016307830810546875 } ], "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.002273082733154297, "time_finished": "2020-12-25 15:03:34,396", "time_start": "2020-12-25 15:03:34,394" }, "socket_protocol.pure_json_protocol: Authentification required, but not processed/ correctly processed.": { "args": null, "asctime": "2020-12-25 15:03:32,979", "created": 1608905012.979097, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 43, "message": "socket_protocol.pure_json_protocol: Authentification required, but not processed/ correctly processed.", "module": "__init__", "moduleLogger": [], "msecs": 979.0968894958496, "msg": "socket_protocol.pure_json_protocol: Authentification required, but not processed/ correctly processed.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest/src/tests/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 9560.913801193237, "testcaseLogger": [ { "args": [], "asctime": "2020-12-25 15:03:34,187", "created": 1608905014.187964, "exc_info": null, "exc_text": null, "filename": "test_handling_errors.py", "funcName": "authentification_error", "levelname": "DEBUG", "levelno": 10, "lineno": 67, "message": "Authentification with different secrets for request and response instance (pure_json_protocol).", "module": "test_handling_errors", "moduleLogger": [ { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:32,979", "created": 1608905012.979499, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "socket_protocol (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 979.499101638794, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 9561.316013336182, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:32,980", "created": 1608905012.980614, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "socket_protocol (server): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 980.6139469146729, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 9562.43085861206, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:32,980", "created": 1608905012.980873, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "socket_protocol (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 980.8731079101562, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 9562.690019607544, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:32,981", "created": 1608905012.981291, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "socket_protocol (server): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 981.2910556793213, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 9563.107967376709, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:32,981", "created": 1608905012.981552, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "authentificate", "levelname": "INFO", "levelno": 20, "lineno": 427, "message": "socket_protocol (server): Requesting seed for authentification", "module": "__init__", "msecs": 981.5518856048584, "msg": "%s Requesting seed for authentification", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 9563.368797302246, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):", 0, 1, 0, "None" ], "asctime": "2020-12-25 15:03:32,981", "created": 1608905012.98178, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 0, service_id: 1, data_id: 0, data: \"None\"", "module": "__init__", "msecs": 981.7800521850586, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 9563.596963882446, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:32,982", "created": 1608905012.982247, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (62): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 2c 2d 2e 5d", "module": "test_helpers", "msecs": 982.2471141815186, "msg": "Send data: (62): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 2c 2d 2e 5d", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 9564.064025878906, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:33,133", "created": 1608905013.133505, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (62): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 2c 2d 2e 5d", "module": "test_helpers", "msecs": 133.50510597229004, "msg": "Receive data (62): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 2c 2d 2e 5d", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 9715.322017669678, "thread": 140137890617088, "threadName": "Thread-26" }, { "args": [ "socket_protocol (server):", "0", "1", "0", "None" ], "asctime": "2020-12-25 15:03:33,134", "created": 1608905013.13411, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 296, "message": "socket_protocol (server): RX <- status: 0, service_id: 1, data_id: 0, data: \"None\"", "module": "__init__", "msecs": 134.1099739074707, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 9715.926885604858, "thread": 140137890617088, "threadName": "Thread-26" }, { "args": [ "socket_protocol (server):", "__authentificate_create_seed__" ], "asctime": "2020-12-25 15:03:33,134", "created": 1608905013.134401, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 313, "message": "socket_protocol (server): Executing callback __authentificate_create_seed__ to process received data", "module": "__init__", "msecs": 134.4010829925537, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 9716.217994689941, "thread": 140137890617088, "threadName": "Thread-26" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:33,134", "created": 1608905013.134592, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentificate_create_seed__", "levelname": "INFO", "levelno": 20, "lineno": 453, "message": "socket_protocol (server): Got seed request, sending seed for authentification", "module": "__init__", "msecs": 134.59205627441406, "msg": "%s Got seed request, sending seed for authentification", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 9716.408967971802, "thread": 140137890617088, "threadName": "Thread-26" }, { "args": [ "socket_protocol (server):", 0, 2, 0, "'c212ab22451532ff9781a3147283982d1a3d1776430fb3743fd31bd934162933'" ], "asctime": "2020-12-25 15:03:33,134", "created": 1608905013.134894, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 0, service_id: 2, data_id: 0, data: \"'c212ab22451532ff9781a3147283982d1a3d1776430fb3743fd31bd934162933'\"", "module": "__init__", "msecs": 134.89389419555664, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 9716.710805892944, "thread": 140137890617088, "threadName": "Thread-26" }, { "args": [], "asctime": "2020-12-25 15:03:33,135", "created": 1608905013.135557, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (124): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 32 2c 20 22 64 61 74 61 22 3a 20 22 63 32 31 32 61 62 32 32 34 35 31 35 33 32 66 66 39 37 38 31 61 33 31 34 37 32 38 33 39 38 32 64 31 61 33 64 31 37 37 36 34 33 30 66 62 33 37 34 33 66 64 33 31 62 64 39 33 34 31 36 32 39 33 33 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 68 96 22 b0", "module": "test_helpers", "msecs": 135.5569362640381, "msg": "Send data: (124): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 32 2c 20 22 64 61 74 61 22 3a 20 22 63 32 31 32 61 62 32 32 34 35 31 35 33 32 66 66 39 37 38 31 61 33 31 34 37 32 38 33 39 38 32 64 31 61 33 64 31 37 37 36 34 33 30 66 62 33 37 34 33 66 64 33 31 62 64 39 33 34 31 36 32 39 33 33 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 68 96 22 b0", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 9717.373847961426, "thread": 140137890617088, "threadName": "Thread-26" }, { "args": [], "asctime": "2020-12-25 15:03:33,286", "created": 1608905013.286884, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (124): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 32 2c 20 22 64 61 74 61 22 3a 20 22 63 32 31 32 61 62 32 32 34 35 31 35 33 32 66 66 39 37 38 31 61 33 31 34 37 32 38 33 39 38 32 64 31 61 33 64 31 37 37 36 34 33 30 66 62 33 37 34 33 66 64 33 31 62 64 39 33 34 31 36 32 39 33 33 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 68 96 22 b0", "module": "test_helpers", "msecs": 286.884069442749, "msg": "Receive data (124): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 32 2c 20 22 64 61 74 61 22 3a 20 22 63 32 31 32 61 62 32 32 34 35 31 35 33 32 66 66 39 37 38 31 61 33 31 34 37 32 38 33 39 38 32 64 31 61 33 64 31 37 37 36 34 33 30 66 62 33 37 34 33 66 64 33 31 62 64 39 33 34 31 36 32 39 33 33 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 68 96 22 b0", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 9868.700981140137, "thread": 140137899009792, "threadName": "Thread-27" }, { "args": [ "socket_protocol (server):", "0", "2", "0", "u'c212ab22451532ff9781a3147283982d1a3d1776430fb3743fd31bd934162933'" ], "asctime": "2020-12-25 15:03:33,287", "created": 1608905013.287333, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 296, "message": "socket_protocol (server): RX <- status: 0, service_id: 2, data_id: 0, data: \"u'c212ab22451532ff9781a3147283982d1a3d1776430fb3743fd31bd934162933'\"", "module": "__init__", "msecs": 287.33301162719727, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 9869.149923324585, "thread": 140137899009792, "threadName": "Thread-27" }, { "args": [ "socket_protocol (server):", "__authentificate_create_key__" ], "asctime": "2020-12-25 15:03:33,287", "created": 1608905013.287591, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 313, "message": "socket_protocol (server): Executing callback __authentificate_create_key__ to process received data", "module": "__init__", "msecs": 287.59098052978516, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 9869.407892227173, "thread": 140137899009792, "threadName": "Thread-27" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:33,287", "created": 1608905013.287778, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentificate_create_key__", "levelname": "INFO", "levelno": 20, "lineno": 462, "message": "socket_protocol (server): Got seed, sending key for authentification", "module": "__init__", "msecs": 287.7779006958008, "msg": "%s Got seed, sending key for authentification", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 9869.594812393188, "thread": 140137899009792, "threadName": "Thread-27" }, { "args": [ "socket_protocol (server):", 0, 3, 0, "'201d6224fcd5ca1c5c10f23d5ca000620b0953e3290f2b3eba5a0f67cfef4126e9b5cc8b8e5b7040b29bd79507e8071d0d2687146c78fa1a0b7625e6ecbfe6f2'" ], "asctime": "2020-12-25 15:03:33,288", "created": 1608905013.288082, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 0, service_id: 3, data_id: 0, data: \"'201d6224fcd5ca1c5c10f23d5ca000620b0953e3290f2b3eba5a0f67cfef4126e9b5cc8b8e5b7040b29bd79507e8071d0d2687146c78fa1a0b7625e6ecbfe6f2'\"", "module": "__init__", "msecs": 288.0818843841553, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 9869.898796081543, "thread": 140137899009792, "threadName": "Thread-27" }, { "args": [], "asctime": "2020-12-25 15:03:33,288", "created": 1608905013.288905, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (188): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 33 2c 20 22 64 61 74 61 22 3a 20 22 32 30 31 64 36 32 32 34 66 63 64 35 63 61 31 63 35 63 31 30 66 32 33 64 35 63 61 30 30 30 36 32 30 62 30 39 35 33 65 33 32 39 30 66 32 62 33 65 62 61 35 61 30 66 36 37 63 66 65 66 34 31 32 36 65 39 62 35 63 63 38 62 38 65 35 62 37 30 34 30 62 32 39 62 64 37 39 35 30 37 65 38 30 37 31 64 30 64 32 36 38 37 31 34 36 63 37 38 66 61 31 61 30 62 37 36 32 35 65 36 65 63 62 66 65 36 66 32 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 5f 83 0f d9", "module": "test_helpers", "msecs": 288.90490531921387, "msg": "Send data: (188): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 33 2c 20 22 64 61 74 61 22 3a 20 22 32 30 31 64 36 32 32 34 66 63 64 35 63 61 31 63 35 63 31 30 66 32 33 64 35 63 61 30 30 30 36 32 30 62 30 39 35 33 65 33 32 39 30 66 32 62 33 65 62 61 35 61 30 66 36 37 63 66 65 66 34 31 32 36 65 39 62 35 63 63 38 62 38 65 35 62 37 30 34 30 62 32 39 62 64 37 39 35 30 37 65 38 30 37 31 64 30 64 32 36 38 37 31 34 36 63 37 38 66 61 31 61 30 62 37 36 32 35 65 36 65 63 62 66 65 36 66 32 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 5f 83 0f d9", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 9870.721817016602, "thread": 140137899009792, "threadName": "Thread-27" }, { "args": [], "asctime": "2020-12-25 15:03:33,440", "created": 1608905013.44035, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (188): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 33 2c 20 22 64 61 74 61 22 3a 20 22 32 30 31 64 36 32 32 34 66 63 64 35 63 61 31 63 35 63 31 30 66 32 33 64 35 63 61 30 30 30 36 32 30 62 30 39 35 33 65 33 32 39 30 66 32 62 33 65 62 61 35 61 30 66 36 37 63 66 65 66 34 31 32 36 65 39 62 35 63 63 38 62 38 65 35 62 37 30 34 30 62 32 39 62 64 37 39 35 30 37 65 38 30 37 31 64 30 64 32 36 38 37 31 34 36 63 37 38 66 61 31 61 30 62 37 36 32 35 65 36 65 63 62 66 65 36 66 32 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 5f 83 0f d9", "module": "test_helpers", "msecs": 440.3500556945801, "msg": "Receive data (188): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 33 2c 20 22 64 61 74 61 22 3a 20 22 32 30 31 64 36 32 32 34 66 63 64 35 63 61 31 63 35 63 31 30 66 32 33 64 35 63 61 30 30 30 36 32 30 62 30 39 35 33 65 33 32 39 30 66 32 62 33 65 62 61 35 61 30 66 36 37 63 66 65 66 34 31 32 36 65 39 62 35 63 63 38 62 38 65 35 62 37 30 34 30 62 32 39 62 64 37 39 35 30 37 65 38 30 37 31 64 30 64 32 36 38 37 31 34 36 63 37 38 66 61 31 61 30 62 37 36 32 35 65 36 65 63 62 66 65 36 66 32 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 5f 83 0f d9", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10022.166967391968, "thread": 140137890617088, "threadName": "Thread-28" }, { "args": [ "socket_protocol (server):", "0", "3", "0", "u'201d6224fcd5ca1c5c10f23d5ca000620b0953e3290f2b3eba5a0f67cfef4126e9b5cc8b8e5b7040b29bd79507e8071d0d2687146c78fa1a0b7625e6ecbfe6f2'" ], "asctime": "2020-12-25 15:03:33,440", "created": 1608905013.440687, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 296, "message": "socket_protocol (server): RX <- status: 0, service_id: 3, data_id: 0, data: \"u'201d6224fcd5ca1c5c10f23d5ca000620b0953e3290f2b3eba5a0f67cfef4126e9b5cc8b8e5b7040b29bd79507e8071d0d2687146c78fa1a0b7625e6ecbfe6f2'\"", "module": "__init__", "msecs": 440.6869411468506, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10022.503852844238, "thread": 140137890617088, "threadName": "Thread-28" }, { "args": [ "socket_protocol (server):", "__authentificate_check_key__" ], "asctime": "2020-12-25 15:03:33,440", "created": 1608905013.440863, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 313, "message": "socket_protocol (server): Executing callback __authentificate_check_key__ to process received data", "module": "__init__", "msecs": 440.86289405822754, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10022.679805755615, "thread": 140137890617088, "threadName": "Thread-28" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:33,441", "created": 1608905013.441109, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentificate_check_key__", "levelname": "INFO", "levelno": 20, "lineno": 476, "message": "socket_protocol (server): Got incorrect key, sending negative authentification feedback", "module": "__init__", "msecs": 441.10894203186035, "msg": "%s Got incorrect key, sending negative authentification feedback", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10022.925853729248, "thread": 140137890617088, "threadName": "Thread-28" }, { "args": [ "socket_protocol (server):", 0, 4, 0, "False" ], "asctime": "2020-12-25 15:03:33,441", "created": 1608905013.441278, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 0, service_id: 4, data_id: 0, data: \"False\"", "module": "__init__", "msecs": 441.27798080444336, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10023.094892501831, "thread": 140137890617088, "threadName": "Thread-28" }, { "args": [], "asctime": "2020-12-25 15:03:33,441", "created": 1608905013.441588, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (63): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 34 2c 20 22 64 61 74 61 22 3a 20 66 61 6c 73 65 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 8d 2b 5d a9", "module": "test_helpers", "msecs": 441.5879249572754, "msg": "Send data: (63): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 34 2c 20 22 64 61 74 61 22 3a 20 66 61 6c 73 65 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 8d 2b 5d a9", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10023.404836654663, "thread": 140137890617088, "threadName": "Thread-28" }, { "args": [], "asctime": "2020-12-25 15:03:33,592", "created": 1608905013.592494, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (63): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 34 2c 20 22 64 61 74 61 22 3a 20 66 61 6c 73 65 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 8d 2b 5d a9", "module": "test_helpers", "msecs": 592.494010925293, "msg": "Receive data (63): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 34 2c 20 22 64 61 74 61 22 3a 20 66 61 6c 73 65 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 8d 2b 5d a9", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10174.31092262268, "thread": 140137899009792, "threadName": "Thread-29" }, { "args": [ "socket_protocol (server):", "0", "4", "0", "False" ], "asctime": "2020-12-25 15:03:33,592", "created": 1608905013.592805, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 296, "message": "socket_protocol (server): RX <- status: 0, service_id: 4, data_id: 0, data: \"False\"", "module": "__init__", "msecs": 592.8049087524414, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10174.62182044983, "thread": 140137899009792, "threadName": "Thread-29" }, { "args": [ "socket_protocol (server):", "__authentificate_process_feedback__" ], "asctime": "2020-12-25 15:03:33,592", "created": 1608905013.592962, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 330, "message": "socket_protocol (server): Executing callback __authentificate_process_feedback__ to process received data", "module": "__init__", "msecs": 592.9620265960693, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10174.778938293457, "thread": 140137899009792, "threadName": "Thread-29" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:33,593", "created": 1608905013.593083, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentificate_process_feedback__", "levelname": "WARNING", "levelno": 30, "lineno": 486, "message": "socket_protocol (server): Got negative authentification feedback", "module": "__init__", "msecs": 593.0829048156738, "msg": "%s Got negative authentification feedback", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10174.899816513062, "thread": 140137899009792, "threadName": "Thread-29" }, { "args": [ "socket_protocol (server):", 0, 10, 45054, "{u'test': u'test'}" ], "asctime": "2020-12-25 15:03:33,684", "created": 1608905013.684937, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 0, service_id: 10, data_id: 45054, data: \"{u'test': u'test'}\"", "module": "__init__", "msecs": 684.9370002746582, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10266.753911972046, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:33,685", "created": 1608905013.685622, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (79): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d 63 ee c4 24", "module": "test_helpers", "msecs": 685.621976852417, "msg": "Send data: (79): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d 63 ee c4 24", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10267.438888549805, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:33,836", "created": 1608905013.836949, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (79): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d 63 ee c4 24", "module": "test_helpers", "msecs": 836.9491100311279, "msg": "Receive data (79): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d 63 ee c4 24", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10418.766021728516, "thread": 140137899009792, "threadName": "Thread-30" }, { "args": [ "socket_protocol (server):", "0", "10", "45054", "{u'test': u'test'}" ], "asctime": "2020-12-25 15:03:33,837", "created": 1608905013.837431, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 296, "message": "socket_protocol (server): RX <- status: 0, service_id: 10, data_id: 45054, data: \"{u'test': u'test'}\"", "module": "__init__", "msecs": 837.4309539794922, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10419.24786567688, "thread": 140137899009792, "threadName": "Thread-30" }, { "args": [ "socket_protocol (server):", "Unknown Client" ], "asctime": "2020-12-25 15:03:33,837", "created": 1608905013.83772, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 306, "message": "socket_protocol (server): Received message needs authentification: Unknown Client. Sending negative response.", "module": "__init__", "msecs": 837.7199172973633, "msg": "%s Received message needs authentification: %s. Sending negative response.", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10419.536828994751, "thread": 140137899009792, "threadName": "Thread-30" }, { "args": [ "socket_protocol (server):", 2, 11, 45054, "None" ], "asctime": "2020-12-25 15:03:33,837", "created": 1608905013.837925, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 2, service_id: 11, data_id: 45054, data: \"None\"", "module": "__init__", "msecs": 837.9249572753906, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10419.741868972778, "thread": 140137899009792, "threadName": "Thread-30" }, { "args": [], "asctime": "2020-12-25 15:03:33,838", "created": 1608905013.838403, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (67): 7b 22 73 74 61 74 75 73 22 3a 20 32 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d 0b 25 14 73", "module": "test_helpers", "msecs": 838.4029865264893, "msg": "Send data: (67): 7b 22 73 74 61 74 75 73 22 3a 20 32 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d 0b 25 14 73", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10420.219898223877, "thread": 140137899009792, "threadName": "Thread-30" }, { "args": [], "asctime": "2020-12-25 15:03:33,989", "created": 1608905013.989658, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (67): 7b 22 73 74 61 74 75 73 22 3a 20 32 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d 0b 25 14 73", "module": "test_helpers", "msecs": 989.6581172943115, "msg": "Receive data (67): 7b 22 73 74 61 74 75 73 22 3a 20 32 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d 0b 25 14 73", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10571.4750289917, "thread": 140137890617088, "threadName": "Thread-31" }, { "args": [ "socket_protocol (server):", "2", "11", "45054", "None" ], "asctime": "2020-12-25 15:03:33,990", "created": 1608905013.990123, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 296, "message": "socket_protocol (server): RX <- status: 2, service_id: 11, data_id: 45054, data: \"None\"", "module": "__init__", "msecs": 990.1230335235596, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10571.939945220947, "thread": 140137890617088, "threadName": "Thread-31" }, { "args": [ "socket_protocol (server):", "Authentification required" ], "asctime": "2020-12-25 15:03:33,990", "created": 1608905013.990417, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 323, "message": "socket_protocol (server): Received message has a peculiar status: Authentification required", "module": "__init__", "msecs": 990.4170036315918, "msg": "%s Received message has a peculiar status: %s", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10572.23391532898, "thread": 140137890617088, "threadName": "Thread-31" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:33,990", "created": 1608905013.990646, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__buffer_received_data__", "levelname": "DEBUG", "levelno": 10, "lineno": 341, "message": "socket_protocol (server): Message data is stored in buffer and is now ready to be retrieved by receive method", "module": "__init__", "msecs": 990.6458854675293, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10572.462797164917, "thread": 140137890617088, "threadName": "Thread-31" } ], "msecs": 187.96396255493164, "msg": "Authentification with different secrets for request and response instance (pure_json_protocol).", "name": "__tLogger__", "pathname": "src/tests/test_handling_errors.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10769.78087425232, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.19731807708740234 }, { "args": [ "False", "" ], "asctime": "2020-12-25 15:03:34,188", "created": 1608905014.188913, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return value of authentification is correct (Content False and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Return value of authentification", "False", "" ], "asctime": "2020-12-25 15:03:34,188", "created": 1608905014.188487, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return value of authentification): False ()", "module": "test", "msecs": 188.48705291748047, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10770.303964614868, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Return value of authentification", "False", "" ], "asctime": "2020-12-25 15:03:34,188", "created": 1608905014.188729, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return value of authentification): result = False ()", "module": "test", "msecs": 188.72904777526855, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10770.545959472656, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 188.91310691833496, "msg": "Return value of authentification is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10770.730018615723, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.00018405914306640625 }, { "args": [ "True", "" ], "asctime": "2020-12-25 15:03:34,189", "created": 1608905014.189513, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return value of send method is correct (Content True and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-12-25 15:03:34,189", "created": 1608905014.18919, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return value of send method): True ()", "module": "test", "msecs": 189.18991088867188, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10771.00682258606, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-12-25 15:03:34,189", "created": 1608905014.189353, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return value of send method): result = True ()", "module": "test", "msecs": 189.35298919677734, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10771.169900894165, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 189.5129680633545, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10771.329879760742, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.00015997886657714844 }, { "args": [ "2", "" ], "asctime": "2020-12-25 15:03:34,190", "created": 1608905014.190117, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Response Status (Authentification required) transfered via pure_json_protocol is correct (Content 2 and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Response Status (Authentification required) transfered via pure_json_protocol", "2", "" ], "asctime": "2020-12-25 15:03:34,189", "created": 1608905014.189798, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Response Status (Authentification required) transfered via pure_json_protocol): 2 ()", "module": "test", "msecs": 189.79811668395996, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10771.615028381348, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Response Status (Authentification required) transfered via pure_json_protocol", "2", "" ], "asctime": "2020-12-25 15:03:34,189", "created": 1608905014.189959, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Response Status (Authentification required) transfered via pure_json_protocol): result = 2 ()", "module": "test", "msecs": 189.95904922485352, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10771.775960922241, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 190.11688232421875, "msg": "Response Status (Authentification required) transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10771.933794021606, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.00015783309936523438 }, { "args": [ "None", "" ], "asctime": "2020-12-25 15:03:34,190", "created": 1608905014.190696, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Response Data (no data) transfered via pure_json_protocol is correct (Content None and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Response Data (no data) transfered via pure_json_protocol", "None", "" ], "asctime": "2020-12-25 15:03:34,190", "created": 1608905014.190378, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Response Data (no data) transfered via pure_json_protocol): None ()", "module": "test", "msecs": 190.37795066833496, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10772.194862365723, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Response Data (no data) transfered via pure_json_protocol", "None", "" ], "asctime": "2020-12-25 15:03:34,190", "created": 1608905014.190539, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Response Data (no data) transfered via pure_json_protocol): result = None ()", "module": "test", "msecs": 190.53888320922852, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10772.355794906616, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 190.69600105285645, "msg": "Response Data (no data) transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10772.512912750244, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.0001571178436279297 }, { "args": [ "None", "" ], "asctime": "2020-12-25 15:03:34,292", "created": 1608905014.292065, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content None and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "socket_protocol (server):", "0.1", "11", "45054" ], "asctime": "2020-12-25 15:03:34,291", "created": 1608905014.291324, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 358, "message": "socket_protocol (server): TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 291.3239002227783, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10873.140811920166, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:34,291", "created": 1608905014.291683, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe): None ()", "module": "test", "msecs": 291.6829586029053, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10873.499870300293, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:34,291", "created": 1608905014.291884, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe): result = None ()", "module": "test", "msecs": 291.8839454650879, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10873.700857162476, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 292.064905166626, "msg": "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10873.881816864014, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.00018095970153808594 }, { "args": [ "None", "" ], "asctime": "2020-12-25 15:03:34,393", "created": 1608905014.393455, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content None and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "socket_protocol (server):", "0.1", "10", "45054" ], "asctime": "2020-12-25 15:03:34,392", "created": 1608905014.392721, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 358, "message": "socket_protocol (server): TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 392.72093772888184, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10974.53784942627, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:34,393", "created": 1608905014.393069, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe): None ()", "module": "test", "msecs": 393.0690288543701, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10974.885940551758, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:34,393", "created": 1608905014.393269, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe): result = None ()", "module": "test", "msecs": 393.2690620422363, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10975.085973739624, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 393.45502853393555, "msg": "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10975.271940231323, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.00018596649169921875 } ], "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 1.414358139038086, "time_finished": "2020-12-25 15:03:34,393", "time_start": "2020-12-25 15:03:32,979" }, "socket_protocol.pure_json_protocol: Checksum corumpation while sending.": { "args": null, "asctime": "2020-12-25 15:03:30,348", "created": 1608905010.34847, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 37, "message": "socket_protocol.pure_json_protocol: Checksum corumpation while sending.", "module": "__init__", "moduleLogger": [], "msecs": 348.46997261047363, "msg": "socket_protocol.pure_json_protocol: Checksum corumpation while sending.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest/src/tests/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 6930.286884307861, "testcaseLogger": [ { "args": [], "asctime": "2020-12-25 15:03:30,652", "created": 1608905010.652152, "exc_info": null, "exc_text": null, "filename": "test_communication_errors.py", "funcName": "send_checksum_error", "levelname": "DEBUG", "levelno": 10, "lineno": 40, "message": "Send data with wrong checksum by pure_json_protocol.", "module": "test_communication_errors", "moduleLogger": [ { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:30,348", "created": 1608905010.348825, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "socket_protocol (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 348.82497787475586, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 6930.641889572144, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:30,349", "created": 1608905010.34931, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "socket_protocol (server): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 349.30992126464844, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 6931.126832962036, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:30,349", "created": 1608905010.34955, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "socket_protocol (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 349.5500087738037, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 6931.366920471191, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:30,349", "created": 1608905010.349999, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "socket_protocol (server): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 349.99895095825195, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 6931.81586265564, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):", 0, 10, 45054, "{u'test': u'test'}" ], "asctime": "2020-12-25 15:03:30,350", "created": 1608905010.350278, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 0, service_id: 10, data_id: 45054, data: \"{u'test': u'test'}\"", "module": "__init__", "msecs": 350.2779006958008, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 6932.0948123931885, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:30,350", "created": 1608905010.350898, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (79): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d 63 ee c4 24", "module": "test_helpers", "msecs": 350.89802742004395, "msg": "Send data: (79): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d 63 ee c4 24", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 6932.714939117432, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:30,502", "created": 1608905010.502029, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (79): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d 63 ee c4 25", "module": "test_helpers", "msecs": 502.0289421081543, "msg": "Receive data (79): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d 63 ee c4 25", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 7083.845853805542, "thread": 140137899009792, "threadName": "Thread-23" }, { "args": [ "socket_protocol (server):", "(79): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d 63 ee c4 25" ], "asctime": "2020-12-25 15:03:30,502", "created": 1608905010.502326, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 287, "message": "socket_protocol (server): Received message has a wrong checksum and will be ignored: (79): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d 63 ee c4 25.", "module": "__init__", "msecs": 502.32601165771484, "msg": "%s Received message has a wrong checksum and will be ignored: %s.", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 7084.1429233551025, "thread": 140137899009792, "threadName": "Thread-23" } ], "msecs": 652.1520614624023, "msg": "Send data with wrong checksum by pure_json_protocol.", "name": "__tLogger__", "pathname": "src/tests/test_communication_errors.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 7233.96897315979, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.1498260498046875 }, { "args": [ "True", "" ], "asctime": "2020-12-25 15:03:30,652", "created": 1608905010.652879, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return value of send method is correct (Content True and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-12-25 15:03:30,652", "created": 1608905010.65256, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return value of send method): True ()", "module": "test", "msecs": 652.5599956512451, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 7234.376907348633, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-12-25 15:03:30,652", "created": 1608905010.652721, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return value of send method): result = True ()", "module": "test", "msecs": 652.7209281921387, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 7234.537839889526, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 652.878999710083, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 7234.695911407471, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.00015807151794433594 }, { "args": [ "False", "" ], "asctime": "2020-12-25 15:03:30,653", "created": 1608905010.653504, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Callback executed variable is correct (Content False and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Callback executed variable", "False", "" ], "asctime": "2020-12-25 15:03:30,653", "created": 1608905010.653098, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Callback executed variable): False ()", "module": "test", "msecs": 653.0981063842773, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 7234.915018081665, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Callback executed variable", "False", "" ], "asctime": "2020-12-25 15:03:30,653", "created": 1608905010.653231, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Callback executed variable): result = False ()", "module": "test", "msecs": 653.2309055328369, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 7235.047817230225, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 653.5038948059082, "msg": "Callback executed variable is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 7235.320806503296, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.00027298927307128906 }, { "args": [ "None", "" ], "asctime": "2020-12-25 15:03:30,754", "created": 1608905010.754886, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content None and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "socket_protocol (server):", "0.1", "11", "45054" ], "asctime": "2020-12-25 15:03:30,754", "created": 1608905010.754089, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 358, "message": "socket_protocol (server): TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 754.0891170501709, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 7335.906028747559, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:30,754", "created": 1608905010.754446, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe): None ()", "module": "test", "msecs": 754.4460296630859, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 7336.262941360474, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:30,754", "created": 1608905010.754667, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe): result = None ()", "module": "test", "msecs": 754.6670436859131, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 7336.483955383301, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 754.8859119415283, "msg": "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 7336.702823638916, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.00021886825561523438 }, { "args": [ "None", "" ], "asctime": "2020-12-25 15:03:30,856", "created": 1608905010.856511, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content None and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "socket_protocol (server):", "0.1", "10", "45054" ], "asctime": "2020-12-25 15:03:30,855", "created": 1608905010.855537, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 358, "message": "socket_protocol (server): TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 855.536937713623, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 7437.353849411011, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:30,855", "created": 1608905010.855892, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe): None ()", "module": "test", "msecs": 855.8919429779053, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 7437.708854675293, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:30,856", "created": 1608905010.856115, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe): result = None ()", "module": "test", "msecs": 856.1151027679443, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 7437.932014465332, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 856.511116027832, "msg": "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 7438.32802772522, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.0003960132598876953 } ], "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.5080411434173584, "time_finished": "2020-12-25 15:03:30,856", "time_start": "2020-12-25 15:03:30,348" }, "socket_protocol.pure_json_protocol: Incompatible Callback return value(s).": { "args": null, "asctime": "2020-12-25 15:03:34,396", "created": 1608905014.396775, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 45, "message": "socket_protocol.pure_json_protocol: Incompatible Callback return value(s).", "module": "__init__", "moduleLogger": [], "msecs": 396.7750072479248, "msg": "socket_protocol.pure_json_protocol: Incompatible Callback return value(s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest/src/tests/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10978.591918945312, "testcaseLogger": [ { "args": [], "asctime": "2020-12-25 15:03:34,403", "created": 1608905014.403289, "exc_info": null, "exc_text": null, "filename": "test_handling_errors.py", "funcName": "callback_rv_error", "levelname": "DEBUG", "levelno": 10, "lineno": 125, "message": "Send and received data with incompatible callback (pure_json_protocol).", "module": "test_handling_errors", "moduleLogger": [ { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:34,397", "created": 1608905014.397101, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "socket_protocol (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 397.10092544555664, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10978.917837142944, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:34,397", "created": 1608905014.39752, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "socket_protocol (server): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 397.5200653076172, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10979.336977005005, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:34,397", "created": 1608905014.39779, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "socket_protocol (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 397.78995513916016, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10979.606866836548, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:34,398", "created": 1608905014.398185, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "socket_protocol (server): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 398.18501472473145, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10980.00192642212, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):", 0, 10, 45054, "None" ], "asctime": "2020-12-25 15:03:34,398", "created": 1608905014.398484, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 0, service_id: 10, data_id: 45054, data: \"None\"", "module": "__init__", "msecs": 398.4839916229248, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10980.300903320312, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:34,398", "created": 1608905014.398986, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (67): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d fc 3e bd 5f", "module": "test_helpers", "msecs": 398.9861011505127, "msg": "Send data: (67): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d fc 3e bd 5f", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10980.8030128479, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:34,399", "created": 1608905014.399361, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (67): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d fc 3e bd 5f", "module": "test_helpers", "msecs": 399.36089515686035, "msg": "Receive data (67): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d fc 3e bd 5f", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10981.177806854248, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):", "0", "10", "45054", "None" ], "asctime": "2020-12-25 15:03:34,399", "created": 1608905014.399653, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 296, "message": "socket_protocol (server): RX <- status: 0, service_id: 10, data_id: 45054, data: \"None\"", "module": "__init__", "msecs": 399.65295791625977, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10981.469869613647, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):", "response_data_method_fail" ], "asctime": "2020-12-25 15:03:34,399", "created": 1608905014.399858, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 313, "message": "socket_protocol (server): Executing callback response_data_method_fail to process received data", "module": "__init__", "msecs": 399.8579978942871, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10981.674909591675, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):", 0, 10, 48879, "None" ], "asctime": "2020-12-25 15:03:34,400", "created": 1608905014.400082, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 0, service_id: 10, data_id: 48879, data: \"None\"", "module": "__init__", "msecs": 400.0821113586426, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10981.89902305603, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:34,400", "created": 1608905014.400534, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (67): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 7d 77 30 fb 22", "module": "test_helpers", "msecs": 400.53391456604004, "msg": "Send data: (67): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 7d 77 30 fb 22", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10982.350826263428, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:34,400", "created": 1608905014.400903, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (67): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 7d 77 30 fb 22", "module": "test_helpers", "msecs": 400.90298652648926, "msg": "Receive data (67): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 7d 77 30 fb 22", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10982.719898223877, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):", "0", "10", "48879", "None" ], "asctime": "2020-12-25 15:03:34,401", "created": 1608905014.401173, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 296, "message": "socket_protocol (server): RX <- status: 0, service_id: 10, data_id: 48879, data: \"None\"", "module": "__init__", "msecs": 401.1731147766113, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10982.990026473999, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:34,401", "created": 1608905014.401404, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 308, "message": "socket_protocol (server): Received message with no registered callback. Sending negative response.", "module": "__init__", "msecs": 401.40390396118164, "msg": "%s Received message with no registered callback. Sending negative response.", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10983.22081565857, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):", 1, 11, 48879, "None" ], "asctime": "2020-12-25 15:03:34,401", "created": 1608905014.401612, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 1, service_id: 11, data_id: 48879, data: \"None\"", "module": "__init__", "msecs": 401.6120433807373, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10983.428955078125, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:34,402", "created": 1608905014.402076, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (67): 7b 22 73 74 61 74 75 73 22 3a 20 31 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 7d 3a 7e 56 19", "module": "test_helpers", "msecs": 402.07600593566895, "msg": "Send data: (67): 7b 22 73 74 61 74 75 73 22 3a 20 31 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 7d 3a 7e 56 19", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10983.892917633057, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:34,402", "created": 1608905014.402451, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (67): 7b 22 73 74 61 74 75 73 22 3a 20 31 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 7d 3a 7e 56 19", "module": "test_helpers", "msecs": 402.4510383605957, "msg": "Receive data (67): 7b 22 73 74 61 74 75 73 22 3a 20 31 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 7d 3a 7e 56 19", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10984.267950057983, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):", "1", "11", "48879", "None" ], "asctime": "2020-12-25 15:03:34,402", "created": 1608905014.402715, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 296, "message": "socket_protocol (server): RX <- status: 1, service_id: 11, data_id: 48879, data: \"None\"", "module": "__init__", "msecs": 402.71496772766113, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10984.531879425049, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):", "Request has no callback. Data buffered." ], "asctime": "2020-12-25 15:03:34,402", "created": 1608905014.40292, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 323, "message": "socket_protocol (server): Received message has a peculiar status: Request has no callback. Data buffered.", "module": "__init__", "msecs": 402.9200077056885, "msg": "%s Received message has a peculiar status: %s", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10984.736919403076, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):", "response_data_method_fail" ], "asctime": "2020-12-25 15:03:34,403", "created": 1608905014.403086, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 330, "message": "socket_protocol (server): Executing callback response_data_method_fail to process received data", "module": "__init__", "msecs": 403.08594703674316, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10984.90285873413, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 403.2890796661377, "msg": "Send and received data with incompatible callback (pure_json_protocol).", "name": "__tLogger__", "pathname": "src/tests/test_handling_errors.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10985.105991363525, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.00020313262939453125 }, { "args": [ "True", "" ], "asctime": "2020-12-25 15:03:34,403", "created": 1608905014.403935, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Exception (TypeError) detection variable is correct (Content True and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Exception (TypeError) detection variable", "True", "" ], "asctime": "2020-12-25 15:03:34,403", "created": 1608905014.403605, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Exception (TypeError) detection variable): True ()", "module": "test", "msecs": 403.60498428344727, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10985.421895980835, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Exception (TypeError) detection variable", "True", "" ], "asctime": "2020-12-25 15:03:34,403", "created": 1608905014.403772, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Exception (TypeError) detection variable): result = True ()", "module": "test", "msecs": 403.77211570739746, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10985.589027404785, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 403.9349555969238, "msg": "Exception (TypeError) detection variable is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 10985.751867294312, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.0001628398895263672 }, { "args": [ "None", "" ], "asctime": "2020-12-25 15:03:34,504", "created": 1608905014.504909, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content None and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "socket_protocol (server):", "0.1", "11", "45054" ], "asctime": "2020-12-25 15:03:34,504", "created": 1608905014.504449, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 358, "message": "socket_protocol (server): TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 504.44889068603516, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 11086.265802383423, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:34,504", "created": 1608905014.504677, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe): None ()", "module": "test", "msecs": 504.67705726623535, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 11086.493968963623, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:34,504", "created": 1608905014.504801, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe): result = None ()", "module": "test", "msecs": 504.80103492736816, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 11086.617946624756, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 504.9090385437012, "msg": "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 11086.725950241089, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.00010800361633300781 }, { "args": [ "None", "" ], "asctime": "2020-12-25 15:03:34,606", "created": 1608905014.606162, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content None and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "socket_protocol (server):", "0.1", "10", "45054" ], "asctime": "2020-12-25 15:03:34,605", "created": 1608905014.605439, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 358, "message": "socket_protocol (server): TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 605.4389476776123, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 11187.255859375, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:34,605", "created": 1608905014.605775, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe): None ()", "module": "test", "msecs": 605.7751178741455, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 11187.592029571533, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:34,605", "created": 1608905014.605977, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe): result = None ()", "module": "test", "msecs": 605.9770584106445, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 11187.793970108032, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 606.1620712280273, "msg": "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 11187.978982925415, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.0001850128173828125 }, { "args": [ "True", "" ], "asctime": "2020-12-25 15:03:34,606", "created": 1608905014.606738, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Exception (TypeError) detection variable is correct (Content True and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Exception (TypeError) detection variable", "True", "" ], "asctime": "2020-12-25 15:03:34,606", "created": 1608905014.606427, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Exception (TypeError) detection variable): True ()", "module": "test", "msecs": 606.4269542694092, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 11188.243865966797, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Exception (TypeError) detection variable", "True", "" ], "asctime": "2020-12-25 15:03:34,606", "created": 1608905014.606576, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Exception (TypeError) detection variable): result = True ()", "module": "test", "msecs": 606.5759658813477, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 11188.392877578735, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 606.7380905151367, "msg": "Exception (TypeError) detection variable is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 11188.555002212524, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.0001621246337890625 }, { "args": [ "None", "" ], "asctime": "2020-12-25 15:03:34,707", "created": 1608905014.707706, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef is correct (Content None and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "socket_protocol (server):", "0.1", "11", "48879" ], "asctime": "2020-12-25 15:03:34,707", "created": 1608905014.707262, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 358, "message": "socket_protocol (server): TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 48879) not in buffer.", "module": "__init__", "msecs": 707.2620391845703, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 11289.078950881958, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-12-25 15:03:34,707", "created": 1608905014.707485, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef): None ()", "module": "test", "msecs": 707.4849605560303, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 11289.301872253418, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-12-25 15:03:34,707", "created": 1608905014.707599, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef): result = None ()", "module": "test", "msecs": 707.5989246368408, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 11289.415836334229, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 707.7059745788574, "msg": "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 11289.522886276245, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.00010704994201660156 }, { "args": [ "None", "" ], "asctime": "2020-12-25 15:03:34,808", "created": 1608905014.808923, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef is correct (Content None and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "socket_protocol (server):", "0.1", "10", "48879" ], "asctime": "2020-12-25 15:03:34,808", "created": 1608905014.808241, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 358, "message": "socket_protocol (server): TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 48879) not in buffer.", "module": "__init__", "msecs": 808.2408905029297, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 11390.057802200317, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-12-25 15:03:34,808", "created": 1608905014.808558, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef): None ()", "module": "test", "msecs": 808.5579872131348, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 11390.374898910522, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-12-25 15:03:34,808", "created": 1608905014.808757, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef): result = None ()", "module": "test", "msecs": 808.7570667266846, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 11390.573978424072, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 808.9230060577393, "msg": "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 11390.739917755127, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.0001659393310546875 } ], "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.41214799880981445, "time_finished": "2020-12-25 15:03:34,808", "time_start": "2020-12-25 15:03:34,396" }, "socket_protocol.pure_json_protocol: No Callback at response instance for the request.": { "args": null, "asctime": "2020-12-25 15:03:32,269", "created": 1608905012.269091, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 42, "message": "socket_protocol.pure_json_protocol: No Callback at response instance for the request.", "module": "__init__", "moduleLogger": [], "msecs": 269.0908908843994, "msg": "socket_protocol.pure_json_protocol: No Callback at response instance for the request.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest/src/tests/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 8850.907802581787, "testcaseLogger": [ { "args": [], "asctime": "2020-12-25 15:03:32,773", "created": 1608905012.773656, "exc_info": null, "exc_text": null, "filename": "test_handling_errors.py", "funcName": "no_callback", "levelname": "DEBUG", "levelno": 10, "lineno": 32, "message": "Send data, but no callback registered (pure_json_protocol).", "module": "test_handling_errors", "moduleLogger": [ { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:32,269", "created": 1608905012.269429, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "socket_protocol (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 269.42896842956543, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 8851.245880126953, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:32,269", "created": 1608905012.269947, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "socket_protocol (server): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 269.9470520019531, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 8851.76396369934, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:32,270", "created": 1608905012.270187, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "socket_protocol (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 270.1869010925293, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 8852.003812789917, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:32,270", "created": 1608905012.270614, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "socket_protocol (server): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 270.6139087677002, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 8852.430820465088, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):", 0, 10, 45054, "{u'test': u'test'}" ], "asctime": "2020-12-25 15:03:32,270", "created": 1608905012.270848, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 0, service_id: 10, data_id: 45054, data: \"{u'test': u'test'}\"", "module": "__init__", "msecs": 270.84803581237793, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 8852.664947509766, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:32,271", "created": 1608905012.271394, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (79): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d 63 ee c4 24", "module": "test_helpers", "msecs": 271.3940143585205, "msg": "Send data: (79): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d 63 ee c4 24", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 8853.210926055908, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:32,422", "created": 1608905012.422864, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (79): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d 63 ee c4 24", "module": "test_helpers", "msecs": 422.8639602661133, "msg": "Receive data (79): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d 63 ee c4 24", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 9004.680871963501, "thread": 140137899009792, "threadName": "Thread-24" }, { "args": [ "socket_protocol (server):", "0", "10", "45054", "{u'test': u'test'}" ], "asctime": "2020-12-25 15:03:32,423", "created": 1608905012.423324, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 296, "message": "socket_protocol (server): RX <- status: 0, service_id: 10, data_id: 45054, data: \"{u'test': u'test'}\"", "module": "__init__", "msecs": 423.3241081237793, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 9005.141019821167, "thread": 140137899009792, "threadName": "Thread-24" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:32,423", "created": 1608905012.423605, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 308, "message": "socket_protocol (server): Received message with no registered callback. Sending negative response.", "module": "__init__", "msecs": 423.60496520996094, "msg": "%s Received message with no registered callback. Sending negative response.", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 9005.421876907349, "thread": 140137899009792, "threadName": "Thread-24" }, { "args": [ "socket_protocol (server):", 1, 11, 45054, "None" ], "asctime": "2020-12-25 15:03:32,423", "created": 1608905012.423871, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 1, service_id: 11, data_id: 45054, data: \"None\"", "module": "__init__", "msecs": 423.8710403442383, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 9005.687952041626, "thread": 140137899009792, "threadName": "Thread-24" }, { "args": [], "asctime": "2020-12-25 15:03:32,424", "created": 1608905012.424366, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (67): 7b 22 73 74 61 74 75 73 22 3a 20 31 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d b1 70 10 64", "module": "test_helpers", "msecs": 424.3659973144531, "msg": "Send data: (67): 7b 22 73 74 61 74 75 73 22 3a 20 31 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d b1 70 10 64", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 9006.18290901184, "thread": 140137899009792, "threadName": "Thread-24" }, { "args": [], "asctime": "2020-12-25 15:03:32,575", "created": 1608905012.575659, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (67): 7b 22 73 74 61 74 75 73 22 3a 20 31 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d b1 70 10 64", "module": "test_helpers", "msecs": 575.6590366363525, "msg": "Receive data (67): 7b 22 73 74 61 74 75 73 22 3a 20 31 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d b1 70 10 64", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 9157.47594833374, "thread": 140137890617088, "threadName": "Thread-25" }, { "args": [ "socket_protocol (server):", "1", "11", "45054", "None" ], "asctime": "2020-12-25 15:03:32,576", "created": 1608905012.576153, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 296, "message": "socket_protocol (server): RX <- status: 1, service_id: 11, data_id: 45054, data: \"None\"", "module": "__init__", "msecs": 576.153039932251, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 9157.969951629639, "thread": 140137890617088, "threadName": "Thread-25" }, { "args": [ "socket_protocol (server):", "Request has no callback. Data buffered." ], "asctime": "2020-12-25 15:03:32,576", "created": 1608905012.576449, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 323, "message": "socket_protocol (server): Received message has a peculiar status: Request has no callback. Data buffered.", "module": "__init__", "msecs": 576.448917388916, "msg": "%s Received message has a peculiar status: %s", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 9158.265829086304, "thread": 140137890617088, "threadName": "Thread-25" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:32,576", "created": 1608905012.576697, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__buffer_received_data__", "levelname": "DEBUG", "levelno": 10, "lineno": 341, "message": "socket_protocol (server): Message data is stored in buffer and is now ready to be retrieved by receive method", "module": "__init__", "msecs": 576.6971111297607, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 9158.514022827148, "thread": 140137890617088, "threadName": "Thread-25" } ], "msecs": 773.655891418457, "msg": "Send data, but no callback registered (pure_json_protocol).", "name": "__tLogger__", "pathname": "src/tests/test_handling_errors.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 9355.472803115845, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.1969587802886963 }, { "args": [ "True", "" ], "asctime": "2020-12-25 15:03:32,774", "created": 1608905012.774564, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return value of send method is correct (Content True and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-12-25 15:03:32,774", "created": 1608905012.774172, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return value of send method): True ()", "module": "test", "msecs": 774.1720676422119, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 9355.9889793396, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-12-25 15:03:32,774", "created": 1608905012.774379, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return value of send method): result = True ()", "module": "test", "msecs": 774.3790149688721, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 9356.19592666626, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 774.5640277862549, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 9356.380939483643, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.0001850128173828125 }, { "args": [ "1", "" ], "asctime": "2020-12-25 15:03:32,775", "created": 1608905012.775207, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Response Status (Request has no callback. Data buffered.) transfered via pure_json_protocol is correct (Content 1 and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Response Status (Request has no callback. Data buffered.) transfered via pure_json_protocol", "1", "" ], "asctime": "2020-12-25 15:03:32,774", "created": 1608905012.774853, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Response Status (Request has no callback. Data buffered.) transfered via pure_json_protocol): 1 ()", "module": "test", "msecs": 774.852991104126, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 9356.669902801514, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Response Status (Request has no callback. Data buffered.) transfered via pure_json_protocol", "1", "" ], "asctime": "2020-12-25 15:03:32,775", "created": 1608905012.775023, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Response Status (Request has no callback. Data buffered.) transfered via pure_json_protocol): result = 1 ()", "module": "test", "msecs": 775.0229835510254, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 9356.839895248413, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 775.2070426940918, "msg": "Response Status (Request has no callback. Data buffered.) transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 9357.02395439148, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.00018405914306640625 }, { "args": [ "None", "" ], "asctime": "2020-12-25 15:03:32,775", "created": 1608905012.775796, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Response Data (no data) transfered via pure_json_protocol is correct (Content None and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Response Data (no data) transfered via pure_json_protocol", "None", "" ], "asctime": "2020-12-25 15:03:32,775", "created": 1608905012.775464, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Response Data (no data) transfered via pure_json_protocol): None ()", "module": "test", "msecs": 775.4640579223633, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 9357.280969619751, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Response Data (no data) transfered via pure_json_protocol", "None", "" ], "asctime": "2020-12-25 15:03:32,775", "created": 1608905012.775625, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Response Data (no data) transfered via pure_json_protocol): result = None ()", "module": "test", "msecs": 775.6249904632568, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 9357.441902160645, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 775.7959365844727, "msg": "Response Data (no data) transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 9357.61284828186, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.0001709461212158203 }, { "args": [ "None", "" ], "asctime": "2020-12-25 15:03:32,877", "created": 1608905012.8771, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content None and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "socket_protocol (server):", "0.1", "11", "45054" ], "asctime": "2020-12-25 15:03:32,876", "created": 1608905012.876335, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 358, "message": "socket_protocol (server): TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 876.3349056243896, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 9458.151817321777, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:32,876", "created": 1608905012.876692, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe): None ()", "module": "test", "msecs": 876.6920566558838, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 9458.508968353271, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:32,876", "created": 1608905012.876914, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe): result = None ()", "module": "test", "msecs": 876.9140243530273, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 9458.730936050415, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 877.0999908447266, "msg": "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 9458.916902542114, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.00018596649169921875 }, { "args": [ "None", "" ], "asctime": "2020-12-25 15:03:32,978", "created": 1608905012.978551, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content None and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "socket_protocol (server):", "0.1", "10", "45054" ], "asctime": "2020-12-25 15:03:32,977", "created": 1608905012.977772, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 358, "message": "socket_protocol (server): TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 977.7719974517822, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 9559.58890914917, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:32,978", "created": 1608905012.978149, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe): None ()", "module": "test", "msecs": 978.1489372253418, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 9559.96584892273, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:32,978", "created": 1608905012.978352, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe): result = None ()", "module": "test", "msecs": 978.3520698547363, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 9560.168981552124, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 978.550910949707, "msg": "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 9560.367822647095, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.00019884109497070312 } ], "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.7094600200653076, "time_finished": "2020-12-25 15:03:32,978", "time_start": "2020-12-25 15:03:32,269" }, "socket_protocol.pure_json_protocol: Register a second Callback with the same service_id.": { "args": null, "asctime": "2020-12-25 15:03:28,422", "created": 1608905008.422639, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 32, "message": "socket_protocol.pure_json_protocol: Register a second Callback with the same service_id.", "module": "__init__", "moduleLogger": [], "msecs": 422.6388931274414, "msg": "socket_protocol.pure_json_protocol: Register a second Callback with the same service_id.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest/src/tests/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 5004.455804824829, "testcaseLogger": [ { "args": [], "asctime": "2020-12-25 15:03:28,927", "created": 1608905008.927089, "exc_info": null, "exc_text": null, "filename": "test_normal_operation.py", "funcName": "second_service_callback", "levelname": "DEBUG", "levelno": 10, "lineno": 140, "message": "Send and received data by pure_json_protocol.", "module": "test_normal_operation", "moduleLogger": [ { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:28,423", "created": 1608905008.423, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "socket_protocol (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 423.0000972747803, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 5004.817008972168, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:28,423", "created": 1608905008.423461, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "socket_protocol (server): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 423.4609603881836, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 5005.277872085571, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:28,423", "created": 1608905008.423695, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "socket_protocol (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 423.6950874328613, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 5005.511999130249, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:28,424", "created": 1608905008.424098, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "socket_protocol (server): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 424.09801483154297, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 5005.914926528931, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):", 0, 10, 45054, "{u'test': u'test'}" ], "asctime": "2020-12-25 15:03:28,424", "created": 1608905008.4244, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 0, service_id: 10, data_id: 45054, data: \"{u'test': u'test'}\"", "module": "__init__", "msecs": 424.40009117126465, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 5006.217002868652, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:28,424", "created": 1608905008.424941, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (79): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d 63 ee c4 24", "module": "test_helpers", "msecs": 424.9410629272461, "msg": "Send data: (79): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d 63 ee c4 24", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 5006.757974624634, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:28,576", "created": 1608905008.57619, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (79): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d 63 ee c4 24", "module": "test_helpers", "msecs": 576.1899948120117, "msg": "Receive data (79): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d 63 ee c4 24", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 5158.006906509399, "thread": 140137890617088, "threadName": "Thread-17" }, { "args": [ "socket_protocol (server):", "0", "10", "45054", "{u'test': u'test'}" ], "asctime": "2020-12-25 15:03:28,576", "created": 1608905008.576659, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 296, "message": "socket_protocol (server): RX <- status: 0, service_id: 10, data_id: 45054, data: \"{u'test': u'test'}\"", "module": "__init__", "msecs": 576.6589641571045, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 5158.475875854492, "thread": 140137890617088, "threadName": "Thread-17" }, { "args": [ "socket_protocol (server):", "response_data_method_2" ], "asctime": "2020-12-25 15:03:28,576", "created": 1608905008.576904, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 313, "message": "socket_protocol (server): Executing callback response_data_method_2 to process received data", "module": "__init__", "msecs": 576.9040584564209, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 5158.720970153809, "thread": 140137890617088, "threadName": "Thread-17" }, { "args": [ "socket_protocol (server):", 5, 11, 45054, "[1, 3, u's']" ], "asctime": "2020-12-25 15:03:28,577", "created": 1608905008.577121, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, u's']\"", "module": "__init__", "msecs": 577.1210193634033, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 5158.937931060791, "thread": 140137890617088, "threadName": "Thread-17" }, { "args": [], "asctime": "2020-12-25 15:03:28,577", "created": 1608905008.577617, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (74): 7b 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d 85 0b b7 34", "module": "test_helpers", "msecs": 577.6169300079346, "msg": "Send data: (74): 7b 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d 85 0b b7 34", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 5159.433841705322, "thread": 140137890617088, "threadName": "Thread-17" }, { "args": [], "asctime": "2020-12-25 15:03:28,728", "created": 1608905008.728882, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (74): 7b 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d 85 0b b7 34", "module": "test_helpers", "msecs": 728.8820743560791, "msg": "Receive data (74): 7b 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d 85 0b b7 34", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 5310.698986053467, "thread": 140137899009792, "threadName": "Thread-18" }, { "args": [ "socket_protocol (server):", "5", "11", "45054", "[1, 3, u's']" ], "asctime": "2020-12-25 15:03:28,729", "created": 1608905008.729337, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 296, "message": "socket_protocol (server): RX <- status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, u's']\"", "module": "__init__", "msecs": 729.3369770050049, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 5311.153888702393, "thread": 140137899009792, "threadName": "Thread-18" }, { "args": [ "socket_protocol (server):", "Operation not permitted" ], "asctime": "2020-12-25 15:03:28,729", "created": 1608905008.729662, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 323, "message": "socket_protocol (server): Received message has a peculiar status: Operation not permitted", "module": "__init__", "msecs": 729.6619415283203, "msg": "%s Received message has a peculiar status: %s", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 5311.478853225708, "thread": 140137899009792, "threadName": "Thread-18" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:28,729", "created": 1608905008.729898, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__buffer_received_data__", "levelname": "DEBUG", "levelno": 10, "lineno": 341, "message": "socket_protocol (server): Message data is stored in buffer and is now ready to be retrieved by receive method", "module": "__init__", "msecs": 729.8979759216309, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 5311.714887619019, "thread": 140137899009792, "threadName": "Thread-18" } ], "msecs": 927.0889759063721, "msg": "Send and received data by pure_json_protocol.", "name": "__tLogger__", "pathname": "src/tests/test_normal_operation.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 5508.90588760376, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.1971909999847412 }, { "args": [ "True", "" ], "asctime": "2020-12-25 15:03:28,928", "created": 1608905008.928026, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return value of send method is correct (Content True and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-12-25 15:03:28,927", "created": 1608905008.927611, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return value of send method): True ()", "module": "test", "msecs": 927.6111125946045, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 5509.428024291992, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-12-25 15:03:28,927", "created": 1608905008.927837, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return value of send method): result = True ()", "module": "test", "msecs": 927.8368949890137, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 5509.653806686401, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 928.0259609222412, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 5509.842872619629, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.00018906593322753906 }, { "args": [ "0", "" ], "asctime": "2020-12-25 15:03:28,928", "created": 1608905008.928656, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Request Status (Okay) transfered via pure_json_protocol is correct (Content 0 and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Request Status (Okay) transfered via pure_json_protocol", "0", "" ], "asctime": "2020-12-25 15:03:28,928", "created": 1608905008.928329, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Request Status (Okay) transfered via pure_json_protocol): 0 ()", "module": "test", "msecs": 928.3289909362793, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 5510.145902633667, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Request Status (Okay) transfered via pure_json_protocol", "0", "" ], "asctime": "2020-12-25 15:03:28,928", "created": 1608905008.928497, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Request Status (Okay) transfered via pure_json_protocol): result = 0 ()", "module": "test", "msecs": 928.4970760345459, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 5510.313987731934, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 928.6561012268066, "msg": "Request Status (Okay) transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 5510.473012924194, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.0001590251922607422 }, { "args": [ "{u'test': u'test'}", "" ], "asctime": "2020-12-25 15:03:28,929", "created": 1608905008.92931, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Request Data transfered via pure_json_protocol is correct (Content {u'test': u'test'} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Request Data transfered via pure_json_protocol", "{ u'test': u'test' }", "" ], "asctime": "2020-12-25 15:03:28,928", "created": 1608905008.928935, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Request Data transfered via pure_json_protocol): { u'test': u'test' } ()", "module": "test", "msecs": 928.9350509643555, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 5510.751962661743, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Request Data transfered via pure_json_protocol", "{ u'test': u'test' }", "" ], "asctime": "2020-12-25 15:03:28,929", "created": 1608905008.929107, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Request Data transfered via pure_json_protocol): result = { u'test': u'test' } ()", "module": "test", "msecs": 929.1069507598877, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 5510.923862457275, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 929.3100833892822, "msg": "Request Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 5511.12699508667, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.00020313262939453125 }, { "args": [ "5", "" ], "asctime": "2020-12-25 15:03:28,929", "created": 1608905008.929946, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Response Status (Operation not permitted) transfered via pure_json_protocol is correct (Content 5 and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Response Status (Operation not permitted) transfered via pure_json_protocol", "5", "" ], "asctime": "2020-12-25 15:03:28,929", "created": 1608905008.929584, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Response Status (Operation not permitted) transfered via pure_json_protocol): 5 ()", "module": "test", "msecs": 929.5840263366699, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 5511.400938034058, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Response Status (Operation not permitted) transfered via pure_json_protocol", "5", "" ], "asctime": "2020-12-25 15:03:28,929", "created": 1608905008.929785, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Response Status (Operation not permitted) transfered via pure_json_protocol): result = 5 ()", "module": "test", "msecs": 929.7850131988525, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 5511.60192489624, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 929.9459457397461, "msg": "Response Status (Operation not permitted) transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 5511.762857437134, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.0001609325408935547 }, { "args": [ "[1, 3, u's']", "" ], "asctime": "2020-12-25 15:03:28,930", "created": 1608905008.930679, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Response Data transfered via pure_json_protocol is correct (Content [1, 3, u's'] and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Response Data transfered via pure_json_protocol", "[ 1, 3, u's' ]", "" ], "asctime": "2020-12-25 15:03:28,930", "created": 1608905008.930246, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Response Data transfered via pure_json_protocol): [ 1, 3, u's' ] ()", "module": "test", "msecs": 930.246114730835, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 5512.063026428223, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Response Data transfered via pure_json_protocol", "[ 1, 3, u's' ]", "" ], "asctime": "2020-12-25 15:03:28,930", "created": 1608905008.930426, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Response Data transfered via pure_json_protocol): result = [ 1, 3, u's' ] ()", "module": "test", "msecs": 930.4258823394775, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 5512.242794036865, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 930.6790828704834, "msg": "Response Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 5512.495994567871, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.0002532005310058594 }, { "args": [ "None", "" ], "asctime": "2020-12-25 15:03:29,032", "created": 1608905009.032088, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content None and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "socket_protocol (server):", "0.1", "11", "45054" ], "asctime": "2020-12-25 15:03:29,031", "created": 1608905009.031351, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 358, "message": "socket_protocol (server): TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 31.351089477539062, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 5613.168001174927, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:29,031", "created": 1608905009.031705, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe): None ()", "module": "test", "msecs": 31.70490264892578, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 5613.5218143463135, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:29,031", "created": 1608905009.031904, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe): result = None ()", "module": "test", "msecs": 31.903982162475586, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 5613.720893859863, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 32.08804130554199, "msg": "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 5613.90495300293, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.00018405914306640625 }, { "args": [ "None", "" ], "asctime": "2020-12-25 15:03:29,133", "created": 1608905009.133509, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content None and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "socket_protocol (server):", "0.1", "10", "45054" ], "asctime": "2020-12-25 15:03:29,132", "created": 1608905009.132766, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 358, "message": "socket_protocol (server): TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 132.7660083770752, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 5714.582920074463, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:29,133", "created": 1608905009.13312, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe): None ()", "module": "test", "msecs": 133.12005996704102, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 5714.936971664429, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:29,133", "created": 1608905009.133321, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe): result = None ()", "module": "test", "msecs": 133.32104682922363, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 5715.137958526611, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 133.50892066955566, "msg": "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 5715.325832366943, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.00018787384033203125 } ], "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.7108700275421143, "time_finished": "2020-12-25 15:03:29,133", "time_start": "2020-12-25 15:03:28,422" }, "socket_protocol.pure_json_protocol: Send and receive check including authentification.": { "args": null, "asctime": "2020-12-25 15:03:24,869", "created": 1608905004.869839, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 28, "message": "socket_protocol.pure_json_protocol: Send and receive check including authentification.", "module": "__init__", "moduleLogger": [], "msecs": 869.8389530181885, "msg": "socket_protocol.pure_json_protocol: Send and receive check including authentification.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest/src/tests/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 1451.6558647155762, "testcaseLogger": [ { "args": [], "asctime": "2020-12-25 15:03:26,077", "created": 1608905006.077776, "exc_info": null, "exc_text": null, "filename": "test_normal_operation.py", "funcName": "send_n_receive", "levelname": "DEBUG", "levelno": 10, "lineno": 42, "message": "Send and received data by pure_json_protocol.", "module": "test_normal_operation", "moduleLogger": [ { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:24,870", "created": 1608905004.870202, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "socket_protocol (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 870.2020645141602, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 1452.0189762115479, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:24,870", "created": 1608905004.870678, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "socket_protocol (server): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 870.6779479980469, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 1452.4948596954346, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:24,871", "created": 1608905004.871003, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "socket_protocol (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 871.0029125213623, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 1452.81982421875, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:24,871", "created": 1608905004.87146, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "socket_protocol (server): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 871.4599609375, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 1453.2768726348877, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:24,871", "created": 1608905004.871743, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "authentificate", "levelname": "INFO", "levelno": 20, "lineno": 427, "message": "socket_protocol (server): Requesting seed for authentification", "module": "__init__", "msecs": 871.7429637908936, "msg": "%s Requesting seed for authentification", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 1453.5598754882812, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):", 0, 1, 0, "None" ], "asctime": "2020-12-25 15:03:24,871", "created": 1608905004.871941, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 0, service_id: 1, data_id: 0, data: \"None\"", "module": "__init__", "msecs": 871.941089630127, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 1453.7580013275146, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:24,872", "created": 1608905004.872419, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (62): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 2c 2d 2e 5d", "module": "test_helpers", "msecs": 872.4191188812256, "msg": "Send data: (62): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 2c 2d 2e 5d", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 1454.2360305786133, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:25,023", "created": 1608905005.023827, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (62): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 2c 2d 2e 5d", "module": "test_helpers", "msecs": 23.827075958251953, "msg": "Receive data (62): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 2c 2d 2e 5d", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 1605.6439876556396, "thread": 140137899009792, "threadName": "Thread-5" }, { "args": [ "socket_protocol (server):", "0", "1", "0", "None" ], "asctime": "2020-12-25 15:03:25,024", "created": 1608905005.024299, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 296, "message": "socket_protocol (server): RX <- status: 0, service_id: 1, data_id: 0, data: \"None\"", "module": "__init__", "msecs": 24.298906326293945, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 1606.1158180236816, "thread": 140137899009792, "threadName": "Thread-5" }, { "args": [ "socket_protocol (server):", "__authentificate_create_seed__" ], "asctime": "2020-12-25 15:03:25,024", "created": 1608905005.024582, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 313, "message": "socket_protocol (server): Executing callback __authentificate_create_seed__ to process received data", "module": "__init__", "msecs": 24.5819091796875, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 1606.3988208770752, "thread": 140137899009792, "threadName": "Thread-5" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:25,024", "created": 1608905005.024789, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentificate_create_seed__", "levelname": "INFO", "levelno": 20, "lineno": 453, "message": "socket_protocol (server): Got seed request, sending seed for authentification", "module": "__init__", "msecs": 24.789094924926758, "msg": "%s Got seed request, sending seed for authentification", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 1606.6060066223145, "thread": 140137899009792, "threadName": "Thread-5" }, { "args": [ "socket_protocol (server):", 0, 2, 0, "'912a5df14734d4547b824eea2ac78565f9c47e224d504156b990bdb30fc10ecc'" ], "asctime": "2020-12-25 15:03:25,025", "created": 1608905005.025045, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 0, service_id: 2, data_id: 0, data: \"'912a5df14734d4547b824eea2ac78565f9c47e224d504156b990bdb30fc10ecc'\"", "module": "__init__", "msecs": 25.044918060302734, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 1606.8618297576904, "thread": 140137899009792, "threadName": "Thread-5" }, { "args": [], "asctime": "2020-12-25 15:03:25,025", "created": 1608905005.025727, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (124): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 32 2c 20 22 64 61 74 61 22 3a 20 22 39 31 32 61 35 64 66 31 34 37 33 34 64 34 35 34 37 62 38 32 34 65 65 61 32 61 63 37 38 35 36 35 66 39 63 34 37 65 32 32 34 64 35 30 34 31 35 36 62 39 39 30 62 64 62 33 30 66 63 31 30 65 63 63 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 1d ec f7 06", "module": "test_helpers", "msecs": 25.727033615112305, "msg": "Send data: (124): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 32 2c 20 22 64 61 74 61 22 3a 20 22 39 31 32 61 35 64 66 31 34 37 33 34 64 34 35 34 37 62 38 32 34 65 65 61 32 61 63 37 38 35 36 35 66 39 63 34 37 65 32 32 34 64 35 30 34 31 35 36 62 39 39 30 62 64 62 33 30 66 63 31 30 65 63 63 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 1d ec f7 06", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 1607.5439453125, "thread": 140137899009792, "threadName": "Thread-5" }, { "args": [], "asctime": "2020-12-25 15:03:25,176", "created": 1608905005.176948, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (124): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 32 2c 20 22 64 61 74 61 22 3a 20 22 39 31 32 61 35 64 66 31 34 37 33 34 64 34 35 34 37 62 38 32 34 65 65 61 32 61 63 37 38 35 36 35 66 39 63 34 37 65 32 32 34 64 35 30 34 31 35 36 62 39 39 30 62 64 62 33 30 66 63 31 30 65 63 63 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 1d ec f7 06", "module": "test_helpers", "msecs": 176.94807052612305, "msg": "Receive data (124): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 32 2c 20 22 64 61 74 61 22 3a 20 22 39 31 32 61 35 64 66 31 34 37 33 34 64 34 35 34 37 62 38 32 34 65 65 61 32 61 63 37 38 35 36 35 66 39 63 34 37 65 32 32 34 64 35 30 34 31 35 36 62 39 39 30 62 64 62 33 30 66 63 31 30 65 63 63 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 1d ec f7 06", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 1758.7649822235107, "thread": 140137890617088, "threadName": "Thread-6" }, { "args": [ "socket_protocol (server):", "0", "2", "0", "u'912a5df14734d4547b824eea2ac78565f9c47e224d504156b990bdb30fc10ecc'" ], "asctime": "2020-12-25 15:03:25,177", "created": 1608905005.177276, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 296, "message": "socket_protocol (server): RX <- status: 0, service_id: 2, data_id: 0, data: \"u'912a5df14734d4547b824eea2ac78565f9c47e224d504156b990bdb30fc10ecc'\"", "module": "__init__", "msecs": 177.2758960723877, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 1759.0928077697754, "thread": 140137890617088, "threadName": "Thread-6" }, { "args": [ "socket_protocol (server):", "__authentificate_create_key__" ], "asctime": "2020-12-25 15:03:25,177", "created": 1608905005.177449, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 313, "message": "socket_protocol (server): Executing callback __authentificate_create_key__ to process received data", "module": "__init__", "msecs": 177.44898796081543, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 1759.2658996582031, "thread": 140137890617088, "threadName": "Thread-6" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:25,177", "created": 1608905005.177583, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentificate_create_key__", "levelname": "INFO", "levelno": 20, "lineno": 462, "message": "socket_protocol (server): Got seed, sending key for authentification", "module": "__init__", "msecs": 177.5829792022705, "msg": "%s Got seed, sending key for authentification", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 1759.3998908996582, "thread": 140137890617088, "threadName": "Thread-6" }, { "args": [ "socket_protocol (server):", 0, 3, 0, "'c3edbfa339b6a4812ad8aadc6aaf8a6f113d9bf1e7761064ed2a04c31ea94e8bea2caa40bec44bcced56c15048934cb57a856465d5b0d47d47dbdfa3aec505c0'" ], "asctime": "2020-12-25 15:03:25,178", "created": 1608905005.178072, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 0, service_id: 3, data_id: 0, data: \"'c3edbfa339b6a4812ad8aadc6aaf8a6f113d9bf1e7761064ed2a04c31ea94e8bea2caa40bec44bcced56c15048934cb57a856465d5b0d47d47dbdfa3aec505c0'\"", "module": "__init__", "msecs": 178.0719757080078, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 1759.8888874053955, "thread": 140137890617088, "threadName": "Thread-6" }, { "args": [], "asctime": "2020-12-25 15:03:25,178", "created": 1608905005.178642, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (188): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 33 2c 20 22 64 61 74 61 22 3a 20 22 63 33 65 64 62 66 61 33 33 39 62 36 61 34 38 31 32 61 64 38 61 61 64 63 36 61 61 66 38 61 36 66 31 31 33 64 39 62 66 31 65 37 37 36 31 30 36 34 65 64 32 61 30 34 63 33 31 65 61 39 34 65 38 62 65 61 32 63 61 61 34 30 62 65 63 34 34 62 63 63 65 64 35 36 63 31 35 30 34 38 39 33 34 63 62 35 37 61 38 35 36 34 36 35 64 35 62 30 64 34 37 64 34 37 64 62 64 66 61 33 61 65 63 35 30 35 63 30 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d d6 e5 e1 72", "module": "test_helpers", "msecs": 178.64203453063965, "msg": "Send data: (188): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 33 2c 20 22 64 61 74 61 22 3a 20 22 63 33 65 64 62 66 61 33 33 39 62 36 61 34 38 31 32 61 64 38 61 61 64 63 36 61 61 66 38 61 36 66 31 31 33 64 39 62 66 31 65 37 37 36 31 30 36 34 65 64 32 61 30 34 63 33 31 65 61 39 34 65 38 62 65 61 32 63 61 61 34 30 62 65 63 34 34 62 63 63 65 64 35 36 63 31 35 30 34 38 39 33 34 63 62 35 37 61 38 35 36 34 36 35 64 35 62 30 64 34 37 64 34 37 64 62 64 66 61 33 61 65 63 35 30 35 63 30 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d d6 e5 e1 72", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 1760.4589462280273, "thread": 140137890617088, "threadName": "Thread-6" }, { "args": [], "asctime": "2020-12-25 15:03:25,329", "created": 1608905005.329791, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (188): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 33 2c 20 22 64 61 74 61 22 3a 20 22 63 33 65 64 62 66 61 33 33 39 62 36 61 34 38 31 32 61 64 38 61 61 64 63 36 61 61 66 38 61 36 66 31 31 33 64 39 62 66 31 65 37 37 36 31 30 36 34 65 64 32 61 30 34 63 33 31 65 61 39 34 65 38 62 65 61 32 63 61 61 34 30 62 65 63 34 34 62 63 63 65 64 35 36 63 31 35 30 34 38 39 33 34 63 62 35 37 61 38 35 36 34 36 35 64 35 62 30 64 34 37 64 34 37 64 62 64 66 61 33 61 65 63 35 30 35 63 30 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d d6 e5 e1 72", "module": "test_helpers", "msecs": 329.7910690307617, "msg": "Receive data (188): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 33 2c 20 22 64 61 74 61 22 3a 20 22 63 33 65 64 62 66 61 33 33 39 62 36 61 34 38 31 32 61 64 38 61 61 64 63 36 61 61 66 38 61 36 66 31 31 33 64 39 62 66 31 65 37 37 36 31 30 36 34 65 64 32 61 30 34 63 33 31 65 61 39 34 65 38 62 65 61 32 63 61 61 34 30 62 65 63 34 34 62 63 63 65 64 35 36 63 31 35 30 34 38 39 33 34 63 62 35 37 61 38 35 36 34 36 35 64 35 62 30 64 34 37 64 34 37 64 62 64 66 61 33 61 65 63 35 30 35 63 30 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d d6 e5 e1 72", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 1911.6079807281494, "thread": 140137899009792, "threadName": "Thread-7" }, { "args": [ "socket_protocol (server):", "0", "3", "0", "u'c3edbfa339b6a4812ad8aadc6aaf8a6f113d9bf1e7761064ed2a04c31ea94e8bea2caa40bec44bcced56c15048934cb57a856465d5b0d47d47dbdfa3aec505c0'" ], "asctime": "2020-12-25 15:03:25,330", "created": 1608905005.330138, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 296, "message": "socket_protocol (server): RX <- status: 0, service_id: 3, data_id: 0, data: \"u'c3edbfa339b6a4812ad8aadc6aaf8a6f113d9bf1e7761064ed2a04c31ea94e8bea2caa40bec44bcced56c15048934cb57a856465d5b0d47d47dbdfa3aec505c0'\"", "module": "__init__", "msecs": 330.1379680633545, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 1911.9548797607422, "thread": 140137899009792, "threadName": "Thread-7" }, { "args": [ "socket_protocol (server):", "__authentificate_check_key__" ], "asctime": "2020-12-25 15:03:25,330", "created": 1608905005.33033, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 313, "message": "socket_protocol (server): Executing callback __authentificate_check_key__ to process received data", "module": "__init__", "msecs": 330.32989501953125, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 1912.146806716919, "thread": 140137899009792, "threadName": "Thread-7" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:25,330", "created": 1608905005.33051, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentificate_check_key__", "levelname": "INFO", "levelno": 20, "lineno": 472, "message": "socket_protocol (server): Got correct key, sending positive authentification feedback", "module": "__init__", "msecs": 330.50990104675293, "msg": "%s Got correct key, sending positive authentification feedback", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 1912.3268127441406, "thread": 140137899009792, "threadName": "Thread-7" }, { "args": [ "socket_protocol (server):", 0, 4, 0, "True" ], "asctime": "2020-12-25 15:03:25,330", "created": 1608905005.330681, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 0, service_id: 4, data_id: 0, data: \"True\"", "module": "__init__", "msecs": 330.68108558654785, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 1912.4979972839355, "thread": 140137899009792, "threadName": "Thread-7" }, { "args": [], "asctime": "2020-12-25 15:03:25,331", "created": 1608905005.331016, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (62): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 34 2c 20 22 64 61 74 61 22 3a 20 74 72 75 65 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d c5 2b 78 11", "module": "test_helpers", "msecs": 331.01606369018555, "msg": "Send data: (62): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 34 2c 20 22 64 61 74 61 22 3a 20 74 72 75 65 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d c5 2b 78 11", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 1912.8329753875732, "thread": 140137899009792, "threadName": "Thread-7" }, { "args": [], "asctime": "2020-12-25 15:03:25,482", "created": 1608905005.482057, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (62): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 34 2c 20 22 64 61 74 61 22 3a 20 74 72 75 65 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d c5 2b 78 11", "module": "test_helpers", "msecs": 482.0570945739746, "msg": "Receive data (62): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 34 2c 20 22 64 61 74 61 22 3a 20 74 72 75 65 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d c5 2b 78 11", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 2063.8740062713623, "thread": 140137890617088, "threadName": "Thread-8" }, { "args": [ "socket_protocol (server):", "0", "4", "0", "True" ], "asctime": "2020-12-25 15:03:25,482", "created": 1608905005.482524, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 296, "message": "socket_protocol (server): RX <- status: 0, service_id: 4, data_id: 0, data: \"True\"", "module": "__init__", "msecs": 482.52391815185547, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 2064.340829849243, "thread": 140137890617088, "threadName": "Thread-8" }, { "args": [ "socket_protocol (server):", "__authentificate_process_feedback__" ], "asctime": "2020-12-25 15:03:25,482", "created": 1608905005.482775, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 330, "message": "socket_protocol (server): Executing callback __authentificate_process_feedback__ to process received data", "module": "__init__", "msecs": 482.7749729156494, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 2064.591884613037, "thread": 140137890617088, "threadName": "Thread-8" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:25,482", "created": 1608905005.482973, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentificate_process_feedback__", "levelname": "INFO", "levelno": 20, "lineno": 483, "message": "socket_protocol (server): Got positive authentification feedback", "module": "__init__", "msecs": 482.9730987548828, "msg": "%s Got positive authentification feedback", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 2064.7900104522705, "thread": 140137890617088, "threadName": "Thread-8" }, { "args": [ "socket_protocol (server):", 0, 10, 45054, "{u'test': u'test'}" ], "asctime": "2020-12-25 15:03:25,574", "created": 1608905005.574895, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 0, service_id: 10, data_id: 45054, data: \"{u'test': u'test'}\"", "module": "__init__", "msecs": 574.894905090332, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 2156.7118167877197, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:25,575", "created": 1608905005.575545, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (79): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d 63 ee c4 24", "module": "test_helpers", "msecs": 575.545072555542, "msg": "Send data: (79): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d 63 ee c4 24", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 2157.3619842529297, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:25,726", "created": 1608905005.726647, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (79): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d 63 ee c4 24", "module": "test_helpers", "msecs": 726.646900177002, "msg": "Receive data (79): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d 63 ee c4 24", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 2308.4638118743896, "thread": 140137890617088, "threadName": "Thread-9" }, { "args": [ "socket_protocol (server):", "0", "10", "45054", "{u'test': u'test'}" ], "asctime": "2020-12-25 15:03:25,727", "created": 1608905005.727133, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 296, "message": "socket_protocol (server): RX <- status: 0, service_id: 10, data_id: 45054, data: \"{u'test': u'test'}\"", "module": "__init__", "msecs": 727.13303565979, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 2308.9499473571777, "thread": 140137890617088, "threadName": "Thread-9" }, { "args": [ "socket_protocol (server):", "response_data_method" ], "asctime": "2020-12-25 15:03:25,727", "created": 1608905005.727383, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 313, "message": "socket_protocol (server): Executing callback response_data_method to process received data", "module": "__init__", "msecs": 727.3828983306885, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 2309.199810028076, "thread": 140137890617088, "threadName": "Thread-9" }, { "args": [ "socket_protocol (server):", 5, 11, 45054, "[1, 3, u's']" ], "asctime": "2020-12-25 15:03:25,727", "created": 1608905005.7276, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, u's']\"", "module": "__init__", "msecs": 727.60009765625, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 2309.4170093536377, "thread": 140137890617088, "threadName": "Thread-9" }, { "args": [], "asctime": "2020-12-25 15:03:25,728", "created": 1608905005.728097, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (74): 7b 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d 85 0b b7 34", "module": "test_helpers", "msecs": 728.0969619750977, "msg": "Send data: (74): 7b 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d 85 0b b7 34", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 2309.9138736724854, "thread": 140137890617088, "threadName": "Thread-9" }, { "args": [], "asctime": "2020-12-25 15:03:25,879", "created": 1608905005.879315, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (74): 7b 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d 85 0b b7 34", "module": "test_helpers", "msecs": 879.3148994445801, "msg": "Receive data (74): 7b 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d 85 0b b7 34", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 2461.131811141968, "thread": 140137899009792, "threadName": "Thread-10" }, { "args": [ "socket_protocol (server):", "5", "11", "45054", "[1, 3, u's']" ], "asctime": "2020-12-25 15:03:25,879", "created": 1608905005.87977, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 296, "message": "socket_protocol (server): RX <- status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, u's']\"", "module": "__init__", "msecs": 879.770040512085, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 2461.5869522094727, "thread": 140137899009792, "threadName": "Thread-10" }, { "args": [ "socket_protocol (server):", "Operation not permitted" ], "asctime": "2020-12-25 15:03:25,880", "created": 1608905005.88006, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 323, "message": "socket_protocol (server): Received message has a peculiar status: Operation not permitted", "module": "__init__", "msecs": 880.0599575042725, "msg": "%s Received message has a peculiar status: %s", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 2461.87686920166, "thread": 140137899009792, "threadName": "Thread-10" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:25,880", "created": 1608905005.880288, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__buffer_received_data__", "levelname": "DEBUG", "levelno": 10, "lineno": 341, "message": "socket_protocol (server): Message data is stored in buffer and is now ready to be retrieved by receive method", "module": "__init__", "msecs": 880.2878856658936, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 2462.1047973632812, "thread": 140137899009792, "threadName": "Thread-10" } ], "msecs": 77.77595520019531, "msg": "Send and received data by pure_json_protocol.", "name": "__tLogger__", "pathname": "src/tests/test_normal_operation.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 2659.592866897583, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.19748806953430176 }, { "args": [ "True", "" ], "asctime": "2020-12-25 15:03:26,078", "created": 1608905006.078683, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return value of authentification is correct (Content True and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Return value of authentification", "True", "" ], "asctime": "2020-12-25 15:03:26,078", "created": 1608905006.0783, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return value of authentification): True ()", "module": "test", "msecs": 78.29999923706055, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 2660.1169109344482, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Return value of authentification", "True", "" ], "asctime": "2020-12-25 15:03:26,078", "created": 1608905006.078504, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return value of authentification): result = True ()", "module": "test", "msecs": 78.50408554077148, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 2660.320997238159, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 78.68289947509766, "msg": "Return value of authentification is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 2660.4998111724854, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.00017881393432617188 }, { "args": [ "True", "" ], "asctime": "2020-12-25 15:03:26,079", "created": 1608905006.079294, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return value of send method is correct (Content True and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-12-25 15:03:26,078", "created": 1608905006.078968, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return value of send method): True ()", "module": "test", "msecs": 78.96804809570312, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 2660.784959793091, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-12-25 15:03:26,079", "created": 1608905006.079135, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return value of send method): result = True ()", "module": "test", "msecs": 79.13494110107422, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 2660.951852798462, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 79.29396629333496, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 2661.1108779907227, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.0001590251922607422 }, { "args": [ "0", "" ], "asctime": "2020-12-25 15:03:26,079", "created": 1608905006.079871, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Request Status (Okay) transfered via pure_json_protocol is correct (Content 0 and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Request Status (Okay) transfered via pure_json_protocol", "0", "" ], "asctime": "2020-12-25 15:03:26,079", "created": 1608905006.079553, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Request Status (Okay) transfered via pure_json_protocol): 0 ()", "module": "test", "msecs": 79.55288887023926, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 2661.369800567627, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Request Status (Okay) transfered via pure_json_protocol", "0", "" ], "asctime": "2020-12-25 15:03:26,079", "created": 1608905006.079714, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Request Status (Okay) transfered via pure_json_protocol): result = 0 ()", "module": "test", "msecs": 79.71405982971191, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 2661.5309715270996, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 79.87093925476074, "msg": "Request Status (Okay) transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 2661.6878509521484, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.00015687942504882812 }, { "args": [ "{u'test': u'test'}", "" ], "asctime": "2020-12-25 15:03:26,080", "created": 1608905006.080522, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Request Data transfered via pure_json_protocol is correct (Content {u'test': u'test'} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Request Data transfered via pure_json_protocol", "{ u'test': u'test' }", "" ], "asctime": "2020-12-25 15:03:26,080", "created": 1608905006.080147, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Request Data transfered via pure_json_protocol): { u'test': u'test' } ()", "module": "test", "msecs": 80.14702796936035, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 2661.963939666748, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Request Data transfered via pure_json_protocol", "{ u'test': u'test' }", "" ], "asctime": "2020-12-25 15:03:26,080", "created": 1608905006.08032, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Request Data transfered via pure_json_protocol): result = { u'test': u'test' } ()", "module": "test", "msecs": 80.31988143920898, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 2662.1367931365967, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 80.52206039428711, "msg": "Request Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 2662.338972091675, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.000202178955078125 }, { "args": [ "5", "" ], "asctime": "2020-12-25 15:03:26,081", "created": 1608905006.081122, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Response Status (Operation not permitted) transfered via pure_json_protocol is correct (Content 5 and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Response Status (Operation not permitted) transfered via pure_json_protocol", "5", "" ], "asctime": "2020-12-25 15:03:26,080", "created": 1608905006.080795, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Response Status (Operation not permitted) transfered via pure_json_protocol): 5 ()", "module": "test", "msecs": 80.7950496673584, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 2662.611961364746, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Response Status (Operation not permitted) transfered via pure_json_protocol", "5", "" ], "asctime": "2020-12-25 15:03:26,080", "created": 1608905006.080966, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Response Status (Operation not permitted) transfered via pure_json_protocol): result = 5 ()", "module": "test", "msecs": 80.96599578857422, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 2662.782907485962, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 81.12192153930664, "msg": "Response Status (Operation not permitted) transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 2662.9388332366943, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.00015592575073242188 }, { "args": [ "[1, 3, u's']", "" ], "asctime": "2020-12-25 15:03:26,081", "created": 1608905006.081836, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Response Data transfered via pure_json_protocol is correct (Content [1, 3, u's'] and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Response Data transfered via pure_json_protocol", "[ 1, 3, u's' ]", "" ], "asctime": "2020-12-25 15:03:26,081", "created": 1608905006.081405, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Response Data transfered via pure_json_protocol): [ 1, 3, u's' ] ()", "module": "test", "msecs": 81.4049243927002, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 2663.221836090088, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Response Data transfered via pure_json_protocol", "[ 1, 3, u's' ]", "" ], "asctime": "2020-12-25 15:03:26,081", "created": 1608905006.081581, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Response Data transfered via pure_json_protocol): result = [ 1, 3, u's' ] ()", "module": "test", "msecs": 81.58111572265625, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 2663.398027420044, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 81.83598518371582, "msg": "Response Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 2663.6528968811035, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.0002548694610595703 }, { "args": [ "None", "" ], "asctime": "2020-12-25 15:03:26,183", "created": 1608905006.18316, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content None and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "socket_protocol (server):", "0.1", "11", "45054" ], "asctime": "2020-12-25 15:03:26,182", "created": 1608905006.182402, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 358, "message": "socket_protocol (server): TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 182.4018955230713, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 2764.218807220459, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:26,182", "created": 1608905006.182755, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe): None ()", "module": "test", "msecs": 182.7549934387207, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 2764.5719051361084, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:26,182", "created": 1608905006.182954, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe): result = None ()", "module": "test", "msecs": 182.9540729522705, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 2764.770984649658, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 183.16006660461426, "msg": "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 2764.976978302002, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.00020599365234375 }, { "args": [ "None", "" ], "asctime": "2020-12-25 15:03:26,284", "created": 1608905006.284591, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content None and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "socket_protocol (server):", "0.1", "10", "45054" ], "asctime": "2020-12-25 15:03:26,283", "created": 1608905006.283829, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 358, "message": "socket_protocol (server): TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 283.8289737701416, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 2865.6458854675293, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:26,284", "created": 1608905006.284184, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe): None ()", "module": "test", "msecs": 284.1839790344238, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 2866.0008907318115, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:26,284", "created": 1608905006.284404, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe): result = None ()", "module": "test", "msecs": 284.40403938293457, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 2866.2209510803223, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 284.5909595489502, "msg": "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 2866.407871246338, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.000186920166015625 } ], "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 1.4147520065307617, "time_finished": "2020-12-25 15:03:26,284", "time_start": "2020-12-25 15:03:24,869" }, "socket_protocol.pure_json_protocol: Send and receive check.": { "args": null, "asctime": "2020-12-25 15:03:24,158", "created": 1608905004.158203, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 27, "message": "socket_protocol.pure_json_protocol: Send and receive check.", "module": "__init__", "moduleLogger": [], "msecs": 158.2028865814209, "msg": "socket_protocol.pure_json_protocol: Send and receive check.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest/src/tests/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 740.0197982788086, "testcaseLogger": [ { "args": [], "asctime": "2020-12-25 15:03:24,662", "created": 1608905004.662693, "exc_info": null, "exc_text": null, "filename": "test_normal_operation.py", "funcName": "send_n_receive", "levelname": "DEBUG", "levelno": 10, "lineno": 42, "message": "Send and received data by pure_json_protocol.", "module": "test_normal_operation", "moduleLogger": [ { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:24,158", "created": 1608905004.158583, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "socket_protocol (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 158.5829257965088, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 740.3998374938965, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:24,159", "created": 1608905004.159069, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "socket_protocol (server): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 159.06906127929688, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 740.8859729766846, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:24,159", "created": 1608905004.159314, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "socket_protocol (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 159.31391716003418, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 741.1308288574219, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:24,159", "created": 1608905004.159739, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "socket_protocol (server): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 159.73901748657227, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 741.55592918396, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):", 0, 10, 45054, "{u'test': u'test'}" ], "asctime": "2020-12-25 15:03:24,160", "created": 1608905004.16001, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 0, service_id: 10, data_id: 45054, data: \"{u'test': u'test'}\"", "module": "__init__", "msecs": 160.01009941101074, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 741.8270111083984, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:24,160", "created": 1608905004.160552, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (79): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d 63 ee c4 24", "module": "test_helpers", "msecs": 160.5520248413086, "msg": "Send data: (79): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d 63 ee c4 24", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 742.3689365386963, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:24,311", "created": 1608905004.311791, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (79): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d 63 ee c4 24", "module": "test_helpers", "msecs": 311.79094314575195, "msg": "Receive data (79): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d 63 ee c4 24", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 893.6078548431396, "thread": 140137890617088, "threadName": "Thread-3" }, { "args": [ "socket_protocol (server):", "0", "10", "45054", "{u'test': u'test'}" ], "asctime": "2020-12-25 15:03:24,312", "created": 1608905004.312256, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 296, "message": "socket_protocol (server): RX <- status: 0, service_id: 10, data_id: 45054, data: \"{u'test': u'test'}\"", "module": "__init__", "msecs": 312.2560977935791, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 894.0730094909668, "thread": 140137890617088, "threadName": "Thread-3" }, { "args": [ "socket_protocol (server):", "response_data_method" ], "asctime": "2020-12-25 15:03:24,312", "created": 1608905004.312504, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 313, "message": "socket_protocol (server): Executing callback response_data_method to process received data", "module": "__init__", "msecs": 312.5040531158447, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 894.3209648132324, "thread": 140137890617088, "threadName": "Thread-3" }, { "args": [ "socket_protocol (server):", 5, 11, 45054, "[1, 3, u's']" ], "asctime": "2020-12-25 15:03:24,312", "created": 1608905004.312729, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, u's']\"", "module": "__init__", "msecs": 312.7288818359375, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 894.5457935333252, "thread": 140137890617088, "threadName": "Thread-3" }, { "args": [], "asctime": "2020-12-25 15:03:24,313", "created": 1608905004.313238, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (74): 7b 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d 85 0b b7 34", "module": "test_helpers", "msecs": 313.23790550231934, "msg": "Send data: (74): 7b 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d 85 0b b7 34", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 895.054817199707, "thread": 140137890617088, "threadName": "Thread-3" }, { "args": [], "asctime": "2020-12-25 15:03:24,464", "created": 1608905004.464516, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (74): 7b 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d 85 0b b7 34", "module": "test_helpers", "msecs": 464.51592445373535, "msg": "Receive data (74): 7b 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d 85 0b b7 34", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 1046.332836151123, "thread": 140137899009792, "threadName": "Thread-4" }, { "args": [ "socket_protocol (server):", "5", "11", "45054", "[1, 3, u's']" ], "asctime": "2020-12-25 15:03:24,464", "created": 1608905004.464995, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 296, "message": "socket_protocol (server): RX <- status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, u's']\"", "module": "__init__", "msecs": 464.9949073791504, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 1046.811819076538, "thread": 140137899009792, "threadName": "Thread-4" }, { "args": [ "socket_protocol (server):", "Operation not permitted" ], "asctime": "2020-12-25 15:03:24,465", "created": 1608905004.465289, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 323, "message": "socket_protocol (server): Received message has a peculiar status: Operation not permitted", "module": "__init__", "msecs": 465.2891159057617, "msg": "%s Received message has a peculiar status: %s", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 1047.1060276031494, "thread": 140137899009792, "threadName": "Thread-4" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:24,465", "created": 1608905004.465519, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__buffer_received_data__", "levelname": "DEBUG", "levelno": 10, "lineno": 341, "message": "socket_protocol (server): Message data is stored in buffer and is now ready to be retrieved by receive method", "module": "__init__", "msecs": 465.5189514160156, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 1047.3358631134033, "thread": 140137899009792, "threadName": "Thread-4" } ], "msecs": 662.6930236816406, "msg": "Send and received data by pure_json_protocol.", "name": "__tLogger__", "pathname": "src/tests/test_normal_operation.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 1244.5099353790283, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.197174072265625 }, { "args": [ "True", "" ], "asctime": "2020-12-25 15:03:24,663", "created": 1608905004.663631, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return value of send method is correct (Content True and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-12-25 15:03:24,663", "created": 1608905004.663212, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return value of send method): True ()", "module": "test", "msecs": 663.2120609283447, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 1245.0289726257324, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-12-25 15:03:24,663", "created": 1608905004.663422, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return value of send method): result = True ()", "module": "test", "msecs": 663.4221076965332, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 1245.239019393921, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 663.6309623718262, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 1245.4478740692139, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.00020885467529296875 }, { "args": [ "0", "" ], "asctime": "2020-12-25 15:03:24,664", "created": 1608905004.664245, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Request Status (Okay) transfered via pure_json_protocol is correct (Content 0 and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Request Status (Okay) transfered via pure_json_protocol", "0", "" ], "asctime": "2020-12-25 15:03:24,663", "created": 1608905004.663917, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Request Status (Okay) transfered via pure_json_protocol): 0 ()", "module": "test", "msecs": 663.917064666748, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 1245.7339763641357, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Request Status (Okay) transfered via pure_json_protocol", "0", "" ], "asctime": "2020-12-25 15:03:24,664", "created": 1608905004.664086, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Request Status (Okay) transfered via pure_json_protocol): result = 0 ()", "module": "test", "msecs": 664.086103439331, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 1245.9030151367188, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 664.2448902130127, "msg": "Request Status (Okay) transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 1246.0618019104004, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.00015878677368164062 }, { "args": [ "{u'test': u'test'}", "" ], "asctime": "2020-12-25 15:03:24,664", "created": 1608905004.664894, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Request Data transfered via pure_json_protocol is correct (Content {u'test': u'test'} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Request Data transfered via pure_json_protocol", "{ u'test': u'test' }", "" ], "asctime": "2020-12-25 15:03:24,664", "created": 1608905004.66452, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Request Data transfered via pure_json_protocol): { u'test': u'test' } ()", "module": "test", "msecs": 664.5200252532959, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 1246.3369369506836, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Request Data transfered via pure_json_protocol", "{ u'test': u'test' }", "" ], "asctime": "2020-12-25 15:03:24,664", "created": 1608905004.664691, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Request Data transfered via pure_json_protocol): result = { u'test': u'test' } ()", "module": "test", "msecs": 664.6909713745117, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 1246.5078830718994, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 664.8941040039062, "msg": "Request Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 1246.711015701294, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.00020313262939453125 }, { "args": [ "5", "" ], "asctime": "2020-12-25 15:03:24,665", "created": 1608905004.665496, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Response Status (Operation not permitted) transfered via pure_json_protocol is correct (Content 5 and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Response Status (Operation not permitted) transfered via pure_json_protocol", "5", "" ], "asctime": "2020-12-25 15:03:24,665", "created": 1608905004.665167, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Response Status (Operation not permitted) transfered via pure_json_protocol): 5 ()", "module": "test", "msecs": 665.1670932769775, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 1246.9840049743652, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Response Status (Operation not permitted) transfered via pure_json_protocol", "5", "" ], "asctime": "2020-12-25 15:03:24,665", "created": 1608905004.665338, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Response Status (Operation not permitted) transfered via pure_json_protocol): result = 5 ()", "module": "test", "msecs": 665.3380393981934, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 1247.154951095581, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 665.4961109161377, "msg": "Response Status (Operation not permitted) transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 1247.3130226135254, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.00015807151794433594 }, { "args": [ "[1, 3, u's']", "" ], "asctime": "2020-12-25 15:03:24,666", "created": 1608905004.666229, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Response Data transfered via pure_json_protocol is correct (Content [1, 3, u's'] and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Response Data transfered via pure_json_protocol", "[ 1, 3, u's' ]", "" ], "asctime": "2020-12-25 15:03:24,665", "created": 1608905004.665816, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Response Data transfered via pure_json_protocol): [ 1, 3, u's' ] ()", "module": "test", "msecs": 665.816068649292, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 1247.6329803466797, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Response Data transfered via pure_json_protocol", "[ 1, 3, u's' ]", "" ], "asctime": "2020-12-25 15:03:24,665", "created": 1608905004.665994, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Response Data transfered via pure_json_protocol): result = [ 1, 3, u's' ] ()", "module": "test", "msecs": 665.9939289093018, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 1247.8108406066895, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 666.2290096282959, "msg": "Response Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 1248.0459213256836, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.00023508071899414062 }, { "args": [ "None", "" ], "asctime": "2020-12-25 15:03:24,767", "created": 1608905004.767748, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content None and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "socket_protocol (server):", "0.1", "11", "45054" ], "asctime": "2020-12-25 15:03:24,766", "created": 1608905004.766914, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 358, "message": "socket_protocol (server): TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 766.913890838623, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 1348.7308025360107, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:24,767", "created": 1608905004.767326, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe): None ()", "module": "test", "msecs": 767.3261165618896, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 1349.1430282592773, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:24,767", "created": 1608905004.767557, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe): result = None ()", "module": "test", "msecs": 767.55690574646, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 1349.3738174438477, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 767.7481174468994, "msg": "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 1349.565029144287, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.00019121170043945312 }, { "args": [ "None", "" ], "asctime": "2020-12-25 15:03:24,869", "created": 1608905004.869207, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content None and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "socket_protocol (server):", "0.1", "10", "45054" ], "asctime": "2020-12-25 15:03:24,868", "created": 1608905004.868428, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 358, "message": "socket_protocol (server): TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 868.4279918670654, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 1450.2449035644531, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:24,868", "created": 1608905004.868788, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe): None ()", "module": "test", "msecs": 868.7880039215088, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 1450.6049156188965, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:24,869", "created": 1608905004.869011, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe): result = None ()", "module": "test", "msecs": 869.0109252929688, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 1450.8278369903564, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 869.2069053649902, "msg": "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 1451.023817062378, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.00019598007202148438 } ], "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.7110040187835693, "time_finished": "2020-12-25 15:03:24,869", "time_start": "2020-12-25 15:03:24,158" }, "socket_protocol.pure_json_protocol: Timeout measurement for authentification and send method.": { "args": null, "asctime": "2020-12-25 15:03:30,857", "created": 1608905010.857222, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 38, "message": "socket_protocol.pure_json_protocol: Timeout measurement for authentification and send method.", "module": "__init__", "moduleLogger": [], "msecs": 857.2220802307129, "msg": "socket_protocol.pure_json_protocol: Timeout measurement for authentification and send method.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest/src/tests/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 7439.038991928101, "testcaseLogger": [ { "args": [ "0.2013099193572998", "0.2", "0.22000000000000003", "" ], "asctime": "2020-12-25 15:03:31,060", "created": 1608905011.060976, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "range_chk", "levelname": "INFO", "levelno": 20, "lineno": 218, "message": "Timeout for authentification is correct (Content 0.2013099193572998 in [0.2 ... 0.22000000000000003] and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:30,857", "created": 1608905010.857614, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "socket_protocol (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 857.6140403747559, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 7439.430952072144, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:30,858", "created": 1608905010.858157, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "socket_protocol (server): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 858.1569194793701, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 7439.973831176758, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:30,858", "created": 1608905010.858413, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "socket_protocol (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 858.4129810333252, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 7440.229892730713, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:30,858", "created": 1608905010.858865, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "socket_protocol (server): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 858.8650226593018, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 7440.681934356689, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:30,859", "created": 1608905010.859098, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "authentificate", "levelname": "INFO", "levelno": 20, "lineno": 427, "message": "socket_protocol (server): Requesting seed for authentification", "module": "__init__", "msecs": 859.097957611084, "msg": "%s Requesting seed for authentification", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 7440.914869308472, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):", 0, 1, 0, "None" ], "asctime": "2020-12-25 15:03:30,859", "created": 1608905010.85929, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 0, service_id: 1, data_id: 0, data: \"None\"", "module": "__init__", "msecs": 859.2898845672607, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 7441.106796264648, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:30,859", "created": 1608905010.859775, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (62): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 2c 2d 2e 5d", "module": "test_helpers", "msecs": 859.7750663757324, "msg": "Send data: (62): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 2c 2d 2e 5d", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 7441.59197807312, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Timeout for authentification", "0.2013099193572998", "" ], "asctime": "2020-12-25 15:03:31,060", "created": 1608905011.060464, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Timeout for authentification): 0.2013099193572998 ()", "module": "test", "msecs": 60.463905334472656, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 7642.28081703186, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Timeout for authentification", "0.2", "0.22000000000000003" ], "asctime": "2020-12-25 15:03:31,060", "created": 1608905011.060779, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_range__", "levelname": "DEBUG", "levelno": 10, "lineno": 30, "message": "Expectation (Timeout for authentification): 0.2 <= result <= 0.22000000000000003", "module": "test", "msecs": 60.77909469604492, "msg": "Expectation (%s): %s <= result <= %s", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 7642.596006393433, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 60.97602844238281, "msg": "Timeout for authentification is correct (Content %s in [%s ... %s] and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 7642.7929401397705, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.00019693374633789062 }, { "args": [ "0.502190113067627", "0.5", "0.55", "" ], "asctime": "2020-12-25 15:03:31,564", "created": 1608905011.564085, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "range_chk", "levelname": "INFO", "levelno": 20, "lineno": 218, "message": "Timeout for authentification is correct (Content 0.502190113067627 in [0.5 ... 0.55] and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:31,061", "created": 1608905011.061285, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "authentificate", "levelname": "INFO", "levelno": 20, "lineno": 427, "message": "socket_protocol (server): Requesting seed for authentification", "module": "__init__", "msecs": 61.28501892089844, "msg": "%s Requesting seed for authentification", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 7643.101930618286, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):", 0, 1, 0, "None" ], "asctime": "2020-12-25 15:03:31,061", "created": 1608905011.06148, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 0, service_id: 1, data_id: 0, data: \"None\"", "module": "__init__", "msecs": 61.480045318603516, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 7643.296957015991, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:31,061", "created": 1608905011.061969, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (62): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 2c 2d 2e 5d", "module": "test_helpers", "msecs": 61.96904182434082, "msg": "Send data: (62): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 2c 2d 2e 5d", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 7643.7859535217285, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Timeout for authentification", "0.502190113067627", "" ], "asctime": "2020-12-25 15:03:31,563", "created": 1608905011.563529, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Timeout for authentification): 0.502190113067627 ()", "module": "test", "msecs": 563.5290145874023, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 8145.34592628479, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Timeout for authentification", "0.5", "0.55" ], "asctime": "2020-12-25 15:03:31,563", "created": 1608905011.563867, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_range__", "levelname": "DEBUG", "levelno": 10, "lineno": 30, "message": "Expectation (Timeout for authentification): 0.5 <= result <= 0.55", "module": "test", "msecs": 563.8670921325684, "msg": "Expectation (%s): %s <= result <= %s", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 8145.684003829956, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 564.0850067138672, "msg": "Timeout for authentification is correct (Content %s in [%s ... %s] and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 8145.901918411255, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.00021791458129882812 }, { "args": [ "0.20104289054870605", "0.2", "0.22000000000000003", "" ], "asctime": "2020-12-25 15:03:31,765", "created": 1608905011.765952, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "range_chk", "levelname": "INFO", "levelno": 20, "lineno": 218, "message": "Timeout for send method is correct (Content 0.20104289054870605 in [0.2 ... 0.22000000000000003] and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "socket_protocol (server):", "0.2", "30", "0" ], "asctime": "2020-12-25 15:03:31,765", "created": 1608905011.765128, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 358, "message": "socket_protocol (server): TIMEOUT (0.2s): Requested data (service_id: 30; data_id: 0) not in buffer.", "module": "__init__", "msecs": 765.1278972625732, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 8346.944808959961, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Timeout for send method", "0.20104289054870605", "" ], "asctime": "2020-12-25 15:03:31,765", "created": 1608905011.765515, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Timeout for send method): 0.20104289054870605 ()", "module": "test", "msecs": 765.5150890350342, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 8347.332000732422, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Timeout for send method", "0.2", "0.22000000000000003" ], "asctime": "2020-12-25 15:03:31,765", "created": 1608905011.765753, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_range__", "levelname": "DEBUG", "levelno": 10, "lineno": 30, "message": "Expectation (Timeout for send method): 0.2 <= result <= 0.22000000000000003", "module": "test", "msecs": 765.7530307769775, "msg": "Expectation (%s): %s <= result <= %s", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 8347.569942474365, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 765.9521102905273, "msg": "Timeout for send method is correct (Content %s in [%s ... %s] and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 8347.769021987915, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.0001990795135498047 }, { "args": [ "0.501816987991333", "0.5", "0.55", "" ], "asctime": "2020-12-25 15:03:32,268", "created": 1608905012.268559, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "range_chk", "levelname": "INFO", "levelno": 20, "lineno": 218, "message": "Timeout for send method is correct (Content 0.501816987991333 in [0.5 ... 0.55] and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "socket_protocol (server):", "0.5", "30", "0" ], "asctime": "2020-12-25 15:03:32,267", "created": 1608905012.267744, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 358, "message": "socket_protocol (server): TIMEOUT (0.5s): Requested data (service_id: 30; data_id: 0) not in buffer.", "module": "__init__", "msecs": 267.7440643310547, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 8849.560976028442, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Timeout for send method", "0.501816987991333", "" ], "asctime": "2020-12-25 15:03:32,268", "created": 1608905012.268103, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Timeout for send method): 0.501816987991333 ()", "module": "test", "msecs": 268.10288429260254, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 8849.91979598999, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Timeout for send method", "0.5", "0.55" ], "asctime": "2020-12-25 15:03:32,268", "created": 1608905012.268349, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_range__", "levelname": "DEBUG", "levelno": 10, "lineno": 30, "message": "Expectation (Timeout for send method): 0.5 <= result <= 0.55", "module": "test", "msecs": 268.34893226623535, "msg": "Expectation (%s): %s <= result <= %s", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 8850.165843963623, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 268.5589790344238, "msg": "Timeout for send method is correct (Content %s in [%s ... %s] and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 8850.375890731812, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.00021004676818847656 } ], "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 1.411336898803711, "time_finished": "2020-12-25 15:03:32,268", "time_start": "2020-12-25 15:03:30,857" }, "socket_protocol.pure_json_protocol: Wildcard Callback registration for data_id.": { "args": null, "asctime": "2020-12-25 15:03:27,708", "created": 1608905007.708108, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 31, "message": "socket_protocol.pure_json_protocol: Wildcard Callback registration for data_id.", "module": "__init__", "moduleLogger": [], "msecs": 708.1079483032227, "msg": "socket_protocol.pure_json_protocol: Wildcard Callback registration for data_id.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest/src/tests/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 4289.92486000061, "testcaseLogger": [ { "args": [], "asctime": "2020-12-25 15:03:28,212", "created": 1608905008.212812, "exc_info": null, "exc_text": null, "filename": "test_normal_operation.py", "funcName": "wildcard_callback", "levelname": "DEBUG", "levelno": 10, "lineno": 96, "message": "Send and received data by pure_json_protocol. Wildcard callback registerd for .", "module": "test_normal_operation", "moduleLogger": [ { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:27,708", "created": 1608905007.708463, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "socket_protocol (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 708.4629535675049, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 4290.279865264893, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:27,708", "created": 1608905007.708951, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "socket_protocol (server): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 708.9509963989258, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 4290.7679080963135, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:27,709", "created": 1608905007.709189, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "socket_protocol (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 709.1889381408691, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 4291.005849838257, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:27,709", "created": 1608905007.709611, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "socket_protocol (server): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 709.6109390258789, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 4291.427850723267, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):", 0, 10, 48879, "{u'test': u'test'}" ], "asctime": "2020-12-25 15:03:27,709", "created": 1608905007.709912, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 0, service_id: 10, data_id: 48879, data: \"{u'test': u'test'}\"", "module": "__init__", "msecs": 709.9120616912842, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 4291.728973388672, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:27,710", "created": 1608905007.710481, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (79): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 7d e8 e0 82 59", "module": "test_helpers", "msecs": 710.4809284210205, "msg": "Send data: (79): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 7d e8 e0 82 59", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 4292.297840118408, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:27,861", "created": 1608905007.861751, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (79): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 7d e8 e0 82 59", "module": "test_helpers", "msecs": 861.7510795593262, "msg": "Receive data (79): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 7d e8 e0 82 59", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 4443.567991256714, "thread": 140137899009792, "threadName": "Thread-15" }, { "args": [ "socket_protocol (server):", "0", "10", "48879", "{u'test': u'test'}" ], "asctime": "2020-12-25 15:03:27,862", "created": 1608905007.862234, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 296, "message": "socket_protocol (server): RX <- status: 0, service_id: 10, data_id: 48879, data: \"{u'test': u'test'}\"", "module": "__init__", "msecs": 862.2341156005859, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 4444.051027297974, "thread": 140137899009792, "threadName": "Thread-15" }, { "args": [ "socket_protocol (server):", "response_data_method" ], "asctime": "2020-12-25 15:03:27,862", "created": 1608905007.862481, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 313, "message": "socket_protocol (server): Executing callback response_data_method to process received data", "module": "__init__", "msecs": 862.4811172485352, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 4444.298028945923, "thread": 140137899009792, "threadName": "Thread-15" }, { "args": [ "socket_protocol (server):", 5, 11, 48879, "[1, 3, u's']" ], "asctime": "2020-12-25 15:03:27,862", "created": 1608905007.862704, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 5, service_id: 11, data_id: 48879, data: \"[1, 3, u's']\"", "module": "__init__", "msecs": 862.7040386199951, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 4444.520950317383, "thread": 140137899009792, "threadName": "Thread-15" }, { "args": [], "asctime": "2020-12-25 15:03:27,863", "created": 1608905007.863218, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (74): 7b 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 7d 0e 05 f1 49", "module": "test_helpers", "msecs": 863.2180690765381, "msg": "Send data: (74): 7b 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 7d 0e 05 f1 49", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 4445.034980773926, "thread": 140137899009792, "threadName": "Thread-15" }, { "args": [], "asctime": "2020-12-25 15:03:28,014", "created": 1608905008.014501, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (74): 7b 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 7d 0e 05 f1 49", "module": "test_helpers", "msecs": 14.501094818115234, "msg": "Receive data (74): 7b 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 7d 0e 05 f1 49", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 4596.318006515503, "thread": 140137890617088, "threadName": "Thread-16" }, { "args": [ "socket_protocol (server):", "5", "11", "48879", "[1, 3, u's']" ], "asctime": "2020-12-25 15:03:28,014", "created": 1608905008.014969, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 296, "message": "socket_protocol (server): RX <- status: 5, service_id: 11, data_id: 48879, data: \"[1, 3, u's']\"", "module": "__init__", "msecs": 14.969110488891602, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 4596.786022186279, "thread": 140137890617088, "threadName": "Thread-16" }, { "args": [ "socket_protocol (server):", "Operation not permitted" ], "asctime": "2020-12-25 15:03:28,015", "created": 1608905008.015276, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 323, "message": "socket_protocol (server): Received message has a peculiar status: Operation not permitted", "module": "__init__", "msecs": 15.275955200195312, "msg": "%s Received message has a peculiar status: %s", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 4597.092866897583, "thread": 140137890617088, "threadName": "Thread-16" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:28,015", "created": 1608905008.015508, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__buffer_received_data__", "levelname": "DEBUG", "levelno": 10, "lineno": 341, "message": "socket_protocol (server): Message data is stored in buffer and is now ready to be retrieved by receive method", "module": "__init__", "msecs": 15.507936477661133, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 4597.324848175049, "thread": 140137890617088, "threadName": "Thread-16" } ], "msecs": 212.81194686889648, "msg": "Send and received data by pure_json_protocol. Wildcard callback registerd for .", "name": "__tLogger__", "pathname": "src/tests/test_normal_operation.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 4794.628858566284, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.19730401039123535 }, { "args": [ "True", "" ], "asctime": "2020-12-25 15:03:28,213", "created": 1608905008.213732, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return value of send method is correct (Content True and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-12-25 15:03:28,213", "created": 1608905008.213314, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return value of send method): True ()", "module": "test", "msecs": 213.31405639648438, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 4795.130968093872, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-12-25 15:03:28,213", "created": 1608905008.213522, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return value of send method): result = True ()", "module": "test", "msecs": 213.52195739746094, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 4795.338869094849, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 213.7320041656494, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 4795.548915863037, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.00021004676818847656 }, { "args": [ "0", "" ], "asctime": "2020-12-25 15:03:28,214", "created": 1608905008.21436, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Request Status (Okay) transfered via pure_json_protocol is correct (Content 0 and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Request Status (Okay) transfered via pure_json_protocol", "0", "" ], "asctime": "2020-12-25 15:03:28,214", "created": 1608905008.214028, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Request Status (Okay) transfered via pure_json_protocol): 0 ()", "module": "test", "msecs": 214.02788162231445, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 4795.844793319702, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Request Status (Okay) transfered via pure_json_protocol", "0", "" ], "asctime": "2020-12-25 15:03:28,214", "created": 1608905008.2142, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Request Status (Okay) transfered via pure_json_protocol): result = 0 ()", "module": "test", "msecs": 214.20001983642578, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 4796.0169315338135, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 214.35999870300293, "msg": "Request Status (Okay) transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 4796.176910400391, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.00015997886657714844 }, { "args": [ "{u'test': u'test'}", "" ], "asctime": "2020-12-25 15:03:28,215", "created": 1608905008.215025, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Request Data transfered via pure_json_protocol is correct (Content {u'test': u'test'} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Request Data transfered via pure_json_protocol", "{ u'test': u'test' }", "" ], "asctime": "2020-12-25 15:03:28,214", "created": 1608905008.214634, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Request Data transfered via pure_json_protocol): { u'test': u'test' } ()", "module": "test", "msecs": 214.63394165039062, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 4796.450853347778, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Request Data transfered via pure_json_protocol", "{ u'test': u'test' }", "" ], "asctime": "2020-12-25 15:03:28,214", "created": 1608905008.214808, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Request Data transfered via pure_json_protocol): result = { u'test': u'test' } ()", "module": "test", "msecs": 214.80798721313477, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 4796.6248989105225, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 215.0249481201172, "msg": "Request Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 4796.841859817505, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.00021696090698242188 }, { "args": [ "5", "" ], "asctime": "2020-12-25 15:03:28,215", "created": 1608905008.215613, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Response Status (Operation not permitted) transfered via pure_json_protocol is correct (Content 5 and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Response Status (Operation not permitted) transfered via pure_json_protocol", "5", "" ], "asctime": "2020-12-25 15:03:28,215", "created": 1608905008.215295, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Response Status (Operation not permitted) transfered via pure_json_protocol): 5 ()", "module": "test", "msecs": 215.29507637023926, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 4797.111988067627, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Response Status (Operation not permitted) transfered via pure_json_protocol", "5", "" ], "asctime": "2020-12-25 15:03:28,215", "created": 1608905008.215456, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Response Status (Operation not permitted) transfered via pure_json_protocol): result = 5 ()", "module": "test", "msecs": 215.4560089111328, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 4797.2729206085205, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 215.61288833618164, "msg": "Response Status (Operation not permitted) transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 4797.429800033569, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.00015687942504882812 }, { "args": [ "[1, 3, u's']", "" ], "asctime": "2020-12-25 15:03:28,219", "created": 1608905008.219249, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Response Data transfered via pure_json_protocol is correct (Content [1, 3, u's'] and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Response Data transfered via pure_json_protocol", "[ 1, 3, u's' ]", "" ], "asctime": "2020-12-25 15:03:28,218", "created": 1608905008.218737, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Response Data transfered via pure_json_protocol): [ 1, 3, u's' ] ()", "module": "test", "msecs": 218.7368869781494, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 4800.553798675537, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Response Data transfered via pure_json_protocol", "[ 1, 3, u's' ]", "" ], "asctime": "2020-12-25 15:03:28,218", "created": 1608905008.218996, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Response Data transfered via pure_json_protocol): result = [ 1, 3, u's' ] ()", "module": "test", "msecs": 218.9960479736328, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 4800.8129596710205, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 219.24901008605957, "msg": "Response Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 4801.065921783447, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.0002529621124267578 }, { "args": [ "None", "" ], "asctime": "2020-12-25 15:03:28,320", "created": 1608905008.320549, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef is correct (Content None and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "socket_protocol (server):", "0.1", "11", "48879" ], "asctime": "2020-12-25 15:03:28,319", "created": 1608905008.319806, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 358, "message": "socket_protocol (server): TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 48879) not in buffer.", "module": "__init__", "msecs": 319.8060989379883, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 4901.623010635376, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-12-25 15:03:28,320", "created": 1608905008.320133, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef): None ()", "module": "test", "msecs": 320.1329708099365, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 4901.949882507324, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-12-25 15:03:28,320", "created": 1608905008.320346, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef): result = None ()", "module": "test", "msecs": 320.3461170196533, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 4902.163028717041, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 320.54901123046875, "msg": "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 4902.365922927856, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.0002028942108154297 }, { "args": [ "None", "" ], "asctime": "2020-12-25 15:03:28,422", "created": 1608905008.422083, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef is correct (Content None and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "socket_protocol (server):", "0.1", "10", "48879" ], "asctime": "2020-12-25 15:03:28,421", "created": 1608905008.421316, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 358, "message": "socket_protocol (server): TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 48879) not in buffer.", "module": "__init__", "msecs": 421.31590843200684, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 5003.1328201293945, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-12-25 15:03:28,421", "created": 1608905008.421698, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef): None ()", "module": "test", "msecs": 421.69809341430664, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 5003.515005111694, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-12-25 15:03:28,421", "created": 1608905008.421898, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef): result = None ()", "module": "test", "msecs": 421.89788818359375, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 5003.714799880981, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 422.08290100097656, "msg": "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 5003.899812698364, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.0001850128173828125 } ], "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.7139749526977539, "time_finished": "2020-12-25 15:03:28,422", "time_start": "2020-12-25 15:03:27,708" }, "socket_protocol.pure_json_protocol: Wildcard Callback registration for service_id and data_id.": { "args": null, "asctime": "2020-12-25 15:03:26,285", "created": 1608905006.285171, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 29, "message": "socket_protocol.pure_json_protocol: Wildcard Callback registration for service_id and data_id.", "module": "__init__", "moduleLogger": [], "msecs": 285.1710319519043, "msg": "socket_protocol.pure_json_protocol: Wildcard Callback registration for service_id and data_id.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest/src/tests/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 2866.987943649292, "testcaseLogger": [ { "args": [], "asctime": "2020-12-25 15:03:26,789", "created": 1608905006.789791, "exc_info": null, "exc_text": null, "filename": "test_normal_operation.py", "funcName": "wildcard_callback", "levelname": "DEBUG", "levelno": 10, "lineno": 96, "message": "Send and received data by pure_json_protocol. Wildcard callback registerd for service_id and data_id.", "module": "test_normal_operation", "moduleLogger": [ { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:26,285", "created": 1608905006.285527, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "socket_protocol (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 285.52699089050293, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 2867.3439025878906, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:26,286", "created": 1608905006.286027, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "socket_protocol (server): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 286.0269546508789, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 2867.8438663482666, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:26,286", "created": 1608905006.286285, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "socket_protocol (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 286.2849235534668, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 2868.1018352508545, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:26,286", "created": 1608905006.286717, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "socket_protocol (server): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 286.7169380187988, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 2868.5338497161865, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):", 0, 10, 48879, "{u'test': u'test'}" ], "asctime": "2020-12-25 15:03:26,286", "created": 1608905006.286979, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 0, service_id: 10, data_id: 48879, data: \"{u'test': u'test'}\"", "module": "__init__", "msecs": 286.97896003723145, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 2868.795871734619, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:26,287", "created": 1608905006.28753, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (79): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 7d e8 e0 82 59", "module": "test_helpers", "msecs": 287.52994537353516, "msg": "Send data: (79): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 7d e8 e0 82 59", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 2869.346857070923, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:26,438", "created": 1608905006.438804, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (79): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 7d e8 e0 82 59", "module": "test_helpers", "msecs": 438.80391120910645, "msg": "Receive data (79): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 7d e8 e0 82 59", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 3020.620822906494, "thread": 140137899009792, "threadName": "Thread-11" }, { "args": [ "socket_protocol (server):", "0", "10", "48879", "{u'test': u'test'}" ], "asctime": "2020-12-25 15:03:26,439", "created": 1608905006.439264, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 296, "message": "socket_protocol (server): RX <- status: 0, service_id: 10, data_id: 48879, data: \"{u'test': u'test'}\"", "module": "__init__", "msecs": 439.26405906677246, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 3021.08097076416, "thread": 140137899009792, "threadName": "Thread-11" }, { "args": [ "socket_protocol (server):", "response_data_method" ], "asctime": "2020-12-25 15:03:26,439", "created": 1608905006.439546, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 313, "message": "socket_protocol (server): Executing callback response_data_method to process received data", "module": "__init__", "msecs": 439.5461082458496, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 3021.3630199432373, "thread": 140137899009792, "threadName": "Thread-11" }, { "args": [ "socket_protocol (server):", 5, 11, 48879, "[1, 3, u's']" ], "asctime": "2020-12-25 15:03:26,439", "created": 1608905006.43977, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 5, service_id: 11, data_id: 48879, data: \"[1, 3, u's']\"", "module": "__init__", "msecs": 439.769983291626, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 3021.5868949890137, "thread": 140137899009792, "threadName": "Thread-11" }, { "args": [], "asctime": "2020-12-25 15:03:26,440", "created": 1608905006.4403, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (74): 7b 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 7d 0e 05 f1 49", "module": "test_helpers", "msecs": 440.29998779296875, "msg": "Send data: (74): 7b 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 7d 0e 05 f1 49", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 3022.1168994903564, "thread": 140137899009792, "threadName": "Thread-11" }, { "args": [], "asctime": "2020-12-25 15:03:26,591", "created": 1608905006.591435, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (74): 7b 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 7d 0e 05 f1 49", "module": "test_helpers", "msecs": 591.4349555969238, "msg": "Receive data (74): 7b 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 7d 0e 05 f1 49", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 3173.2518672943115, "thread": 140137890617088, "threadName": "Thread-12" }, { "args": [ "socket_protocol (server):", "5", "11", "48879", "[1, 3, u's']" ], "asctime": "2020-12-25 15:03:26,591", "created": 1608905006.591831, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 296, "message": "socket_protocol (server): RX <- status: 5, service_id: 11, data_id: 48879, data: \"[1, 3, u's']\"", "module": "__init__", "msecs": 591.8309688568115, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 3173.647880554199, "thread": 140137890617088, "threadName": "Thread-12" }, { "args": [ "socket_protocol (server):", "Operation not permitted" ], "asctime": "2020-12-25 15:03:26,592", "created": 1608905006.592071, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 323, "message": "socket_protocol (server): Received message has a peculiar status: Operation not permitted", "module": "__init__", "msecs": 592.0710563659668, "msg": "%s Received message has a peculiar status: %s", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 3173.8879680633545, "thread": 140137890617088, "threadName": "Thread-12" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:26,592", "created": 1608905006.592254, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__buffer_received_data__", "levelname": "DEBUG", "levelno": 10, "lineno": 341, "message": "socket_protocol (server): Message data is stored in buffer and is now ready to be retrieved by receive method", "module": "__init__", "msecs": 592.2539234161377, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 3174.0708351135254, "thread": 140137890617088, "threadName": "Thread-12" } ], "msecs": 789.7911071777344, "msg": "Send and received data by pure_json_protocol. Wildcard callback registerd for service_id and data_id.", "name": "__tLogger__", "pathname": "src/tests/test_normal_operation.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 3371.608018875122, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.19753718376159668 }, { "args": [ "True", "" ], "asctime": "2020-12-25 15:03:26,790", "created": 1608905006.790675, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return value of send method is correct (Content True and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-12-25 15:03:26,790", "created": 1608905006.790289, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return value of send method): True ()", "module": "test", "msecs": 790.2889251708984, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 3372.105836868286, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-12-25 15:03:26,790", "created": 1608905006.790493, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return value of send method): result = True ()", "module": "test", "msecs": 790.4930114746094, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 3372.309923171997, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 790.6749248504639, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 3372.4918365478516, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.0001819133758544922 }, { "args": [ "0", "" ], "asctime": "2020-12-25 15:03:26,791", "created": 1608905006.7913, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Request Status (Okay) transfered via pure_json_protocol is correct (Content 0 and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Request Status (Okay) transfered via pure_json_protocol", "0", "" ], "asctime": "2020-12-25 15:03:26,790", "created": 1608905006.790975, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Request Status (Okay) transfered via pure_json_protocol): 0 ()", "module": "test", "msecs": 790.9750938415527, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 3372.7920055389404, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Request Status (Okay) transfered via pure_json_protocol", "0", "" ], "asctime": "2020-12-25 15:03:26,791", "created": 1608905006.791141, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Request Status (Okay) transfered via pure_json_protocol): result = 0 ()", "module": "test", "msecs": 791.1410331726074, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 3372.957944869995, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 791.3000583648682, "msg": "Request Status (Okay) transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 3373.116970062256, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.0001590251922607422 }, { "args": [ "{u'test': u'test'}", "" ], "asctime": "2020-12-25 15:03:26,791", "created": 1608905006.791977, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Request Data transfered via pure_json_protocol is correct (Content {u'test': u'test'} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Request Data transfered via pure_json_protocol", "{ u'test': u'test' }", "" ], "asctime": "2020-12-25 15:03:26,791", "created": 1608905006.791578, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Request Data transfered via pure_json_protocol): { u'test': u'test' } ()", "module": "test", "msecs": 791.5780544281006, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 3373.3949661254883, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Request Data transfered via pure_json_protocol", "{ u'test': u'test' }", "" ], "asctime": "2020-12-25 15:03:26,791", "created": 1608905006.791763, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Request Data transfered via pure_json_protocol): result = { u'test': u'test' } ()", "module": "test", "msecs": 791.7630672454834, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 3373.579978942871, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 791.9769287109375, "msg": "Request Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 3373.793840408325, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.00021386146545410156 }, { "args": [ "5", "" ], "asctime": "2020-12-25 15:03:26,792", "created": 1608905006.792561, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Response Status (Operation not permitted) transfered via pure_json_protocol is correct (Content 5 and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Response Status (Operation not permitted) transfered via pure_json_protocol", "5", "" ], "asctime": "2020-12-25 15:03:26,792", "created": 1608905006.792248, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Response Status (Operation not permitted) transfered via pure_json_protocol): 5 ()", "module": "test", "msecs": 792.248010635376, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 3374.0649223327637, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Response Status (Operation not permitted) transfered via pure_json_protocol", "5", "" ], "asctime": "2020-12-25 15:03:26,792", "created": 1608905006.792406, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Response Status (Operation not permitted) transfered via pure_json_protocol): result = 5 ()", "module": "test", "msecs": 792.4060821533203, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 3374.222993850708, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 792.5610542297363, "msg": "Response Status (Operation not permitted) transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 3374.377965927124, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.00015497207641601562 }, { "args": [ "[1, 3, u's']", "" ], "asctime": "2020-12-25 15:03:26,793", "created": 1608905006.793231, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Response Data transfered via pure_json_protocol is correct (Content [1, 3, u's'] and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Response Data transfered via pure_json_protocol", "[ 1, 3, u's' ]", "" ], "asctime": "2020-12-25 15:03:26,792", "created": 1608905006.792844, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Response Data transfered via pure_json_protocol): [ 1, 3, u's' ] ()", "module": "test", "msecs": 792.8440570831299, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 3374.6609687805176, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Response Data transfered via pure_json_protocol", "[ 1, 3, u's' ]", "" ], "asctime": "2020-12-25 15:03:26,793", "created": 1608905006.793019, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Response Data transfered via pure_json_protocol): result = [ 1, 3, u's' ] ()", "module": "test", "msecs": 793.0190563201904, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 3374.835968017578, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 793.2310104370117, "msg": "Response Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 3375.0479221343994, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.00021195411682128906 }, { "args": [ "None", "" ], "asctime": "2020-12-25 15:03:26,894", "created": 1608905006.894659, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef is correct (Content None and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "socket_protocol (server):", "0.1", "11", "48879" ], "asctime": "2020-12-25 15:03:26,893", "created": 1608905006.893866, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 358, "message": "socket_protocol (server): TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 48879) not in buffer.", "module": "__init__", "msecs": 893.8660621643066, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 3475.6829738616943, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-12-25 15:03:26,894", "created": 1608905006.894249, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef): None ()", "module": "test", "msecs": 894.2489624023438, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 3476.0658740997314, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-12-25 15:03:26,894", "created": 1608905006.894462, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef): result = None ()", "module": "test", "msecs": 894.4621086120605, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 3476.2790203094482, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 894.6590423583984, "msg": "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 3476.475954055786, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.00019693374633789062 }, { "args": [ "None", "" ], "asctime": "2020-12-25 15:03:26,996", "created": 1608905006.996075, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef is correct (Content None and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "socket_protocol (server):", "0.1", "10", "48879" ], "asctime": "2020-12-25 15:03:26,995", "created": 1608905006.995328, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 358, "message": "socket_protocol (server): TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 48879) not in buffer.", "module": "__init__", "msecs": 995.3279495239258, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 3577.1448612213135, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-12-25 15:03:26,995", "created": 1608905006.995683, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef): None ()", "module": "test", "msecs": 995.682954788208, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 3577.4998664855957, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-12-25 15:03:26,995", "created": 1608905006.995888, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef): result = None ()", "module": "test", "msecs": 995.8879947662354, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 3577.704906463623, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 996.074914932251, "msg": "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 3577.8918266296387, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.000186920166015625 } ], "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.7109038829803467, "time_finished": "2020-12-25 15:03:26,996", "time_start": "2020-12-25 15:03:26,285" }, "socket_protocol.pure_json_protocol: Wildcard Callback registration for service_id.": { "args": null, "asctime": "2020-12-25 15:03:26,996", "created": 1608905006.996643, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 30, "message": "socket_protocol.pure_json_protocol: Wildcard Callback registration for service_id.", "module": "__init__", "moduleLogger": [], "msecs": 996.64306640625, "msg": "socket_protocol.pure_json_protocol: Wildcard Callback registration for service_id.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest/src/tests/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 3578.4599781036377, "testcaseLogger": [ { "args": [], "asctime": "2020-12-25 15:03:27,501", "created": 1608905007.501232, "exc_info": null, "exc_text": null, "filename": "test_normal_operation.py", "funcName": "wildcard_callback", "levelname": "DEBUG", "levelno": 10, "lineno": 96, "message": "Send and received data by pure_json_protocol. Wildcard callback registerd for service_id.", "module": "test_normal_operation", "moduleLogger": [ { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:26,997", "created": 1608905006.997015, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "socket_protocol (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 997.0149993896484, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 3578.831911087036, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:26,997", "created": 1608905006.997501, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "socket_protocol (server): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 997.5008964538574, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 3579.317808151245, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:26,997", "created": 1608905006.997772, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "socket_protocol (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 997.7719783782959, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 3579.5888900756836, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:26,998", "created": 1608905006.998193, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "socket_protocol (server): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 998.1930255889893, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 3580.009937286377, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):", 0, 10, 48879, "{u'test': u'test'}" ], "asctime": "2020-12-25 15:03:26,998", "created": 1608905006.998463, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 0, service_id: 10, data_id: 48879, data: \"{u'test': u'test'}\"", "module": "__init__", "msecs": 998.4629154205322, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 3580.27982711792, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:26,999", "created": 1608905006.999022, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (79): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 7d e8 e0 82 59", "module": "test_helpers", "msecs": 999.0220069885254, "msg": "Send data: (79): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 7d e8 e0 82 59", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 3580.838918685913, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:27,150", "created": 1608905007.150376, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (79): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 7d e8 e0 82 59", "module": "test_helpers", "msecs": 150.3760814666748, "msg": "Receive data (79): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 7d e8 e0 82 59", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 3732.1929931640625, "thread": 140137890617088, "threadName": "Thread-13" }, { "args": [ "socket_protocol (server):", "0", "10", "48879", "{u'test': u'test'}" ], "asctime": "2020-12-25 15:03:27,150", "created": 1608905007.150889, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 296, "message": "socket_protocol (server): RX <- status: 0, service_id: 10, data_id: 48879, data: \"{u'test': u'test'}\"", "module": "__init__", "msecs": 150.88891983032227, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 3732.70583152771, "thread": 140137890617088, "threadName": "Thread-13" }, { "args": [ "socket_protocol (server):", "response_data_method" ], "asctime": "2020-12-25 15:03:27,151", "created": 1608905007.151165, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 313, "message": "socket_protocol (server): Executing callback response_data_method to process received data", "module": "__init__", "msecs": 151.16500854492188, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 3732.9819202423096, "thread": 140137890617088, "threadName": "Thread-13" }, { "args": [ "socket_protocol (server):", 5, 11, 48879, "[1, 3, u's']" ], "asctime": "2020-12-25 15:03:27,151", "created": 1608905007.151393, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 5, service_id: 11, data_id: 48879, data: \"[1, 3, u's']\"", "module": "__init__", "msecs": 151.39293670654297, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 3733.2098484039307, "thread": 140137890617088, "threadName": "Thread-13" }, { "args": [], "asctime": "2020-12-25 15:03:27,151", "created": 1608905007.151925, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (74): 7b 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 7d 0e 05 f1 49", "module": "test_helpers", "msecs": 151.92508697509766, "msg": "Send data: (74): 7b 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 7d 0e 05 f1 49", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 3733.7419986724854, "thread": 140137890617088, "threadName": "Thread-13" }, { "args": [], "asctime": "2020-12-25 15:03:27,303", "created": 1608905007.303162, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (74): 7b 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 7d 0e 05 f1 49", "module": "test_helpers", "msecs": 303.1620979309082, "msg": "Receive data (74): 7b 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 7d 0e 05 f1 49", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 3884.979009628296, "thread": 140137899009792, "threadName": "Thread-14" }, { "args": [ "socket_protocol (server):", "5", "11", "48879", "[1, 3, u's']" ], "asctime": "2020-12-25 15:03:27,303", "created": 1608905007.303626, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 296, "message": "socket_protocol (server): RX <- status: 5, service_id: 11, data_id: 48879, data: \"[1, 3, u's']\"", "module": "__init__", "msecs": 303.62606048583984, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 3885.4429721832275, "thread": 140137899009792, "threadName": "Thread-14" }, { "args": [ "socket_protocol (server):", "Operation not permitted" ], "asctime": "2020-12-25 15:03:27,303", "created": 1608905007.303919, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 323, "message": "socket_protocol (server): Received message has a peculiar status: Operation not permitted", "module": "__init__", "msecs": 303.91907691955566, "msg": "%s Received message has a peculiar status: %s", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 3885.7359886169434, "thread": 140137899009792, "threadName": "Thread-14" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:27,304", "created": 1608905007.304149, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__buffer_received_data__", "levelname": "DEBUG", "levelno": 10, "lineno": 341, "message": "socket_protocol (server): Message data is stored in buffer and is now ready to be retrieved by receive method", "module": "__init__", "msecs": 304.14891242980957, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 3885.9658241271973, "thread": 140137899009792, "threadName": "Thread-14" } ], "msecs": 501.2319087982178, "msg": "Send and received data by pure_json_protocol. Wildcard callback registerd for service_id.", "name": "__tLogger__", "pathname": "src/tests/test_normal_operation.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 4083.0488204956055, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.1970829963684082 }, { "args": [ "True", "" ], "asctime": "2020-12-25 15:03:27,502", "created": 1608905007.502169, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return value of send method is correct (Content True and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-12-25 15:03:27,501", "created": 1608905007.501767, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return value of send method): True ()", "module": "test", "msecs": 501.7669200897217, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 4083.5838317871094, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-12-25 15:03:27,501", "created": 1608905007.501972, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return value of send method): result = True ()", "module": "test", "msecs": 501.971960067749, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 4083.7888717651367, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 502.1688938140869, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 4083.9858055114746, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.00019693374633789062 }, { "args": [ "0", "" ], "asctime": "2020-12-25 15:03:27,502", "created": 1608905007.502778, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Request Status (Okay) transfered via pure_json_protocol is correct (Content 0 and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Request Status (Okay) transfered via pure_json_protocol", "0", "" ], "asctime": "2020-12-25 15:03:27,502", "created": 1608905007.502448, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Request Status (Okay) transfered via pure_json_protocol): 0 ()", "module": "test", "msecs": 502.44808197021484, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 4084.2649936676025, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Request Status (Okay) transfered via pure_json_protocol", "0", "" ], "asctime": "2020-12-25 15:03:27,502", "created": 1608905007.502616, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Request Status (Okay) transfered via pure_json_protocol): result = 0 ()", "module": "test", "msecs": 502.61592864990234, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 4084.43284034729, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 502.7780532836914, "msg": "Request Status (Okay) transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 4084.594964981079, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.0001621246337890625 }, { "args": [ "{u'test': u'test'}", "" ], "asctime": "2020-12-25 15:03:27,503", "created": 1608905007.503433, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Request Data transfered via pure_json_protocol is correct (Content {u'test': u'test'} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Request Data transfered via pure_json_protocol", "{ u'test': u'test' }", "" ], "asctime": "2020-12-25 15:03:27,503", "created": 1608905007.503058, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Request Data transfered via pure_json_protocol): { u'test': u'test' } ()", "module": "test", "msecs": 503.05795669555664, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 4084.8748683929443, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Request Data transfered via pure_json_protocol", "{ u'test': u'test' }", "" ], "asctime": "2020-12-25 15:03:27,503", "created": 1608905007.503231, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Request Data transfered via pure_json_protocol): result = { u'test': u'test' } ()", "module": "test", "msecs": 503.2310485839844, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 4085.047960281372, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 503.4329891204834, "msg": "Request Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 4085.249900817871, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.00020194053649902344 }, { "args": [ "5", "" ], "asctime": "2020-12-25 15:03:27,504", "created": 1608905007.504041, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Response Status (Operation not permitted) transfered via pure_json_protocol is correct (Content 5 and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Response Status (Operation not permitted) transfered via pure_json_protocol", "5", "" ], "asctime": "2020-12-25 15:03:27,503", "created": 1608905007.503719, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Response Status (Operation not permitted) transfered via pure_json_protocol): 5 ()", "module": "test", "msecs": 503.7190914154053, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 4085.536003112793, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Response Status (Operation not permitted) transfered via pure_json_protocol", "5", "" ], "asctime": "2020-12-25 15:03:27,503", "created": 1608905007.503881, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Response Status (Operation not permitted) transfered via pure_json_protocol): result = 5 ()", "module": "test", "msecs": 503.88097763061523, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 4085.697889328003, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 504.0409564971924, "msg": "Response Status (Operation not permitted) transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 4085.85786819458, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.00015997886657714844 }, { "args": [ "[1, 3, u's']", "" ], "asctime": "2020-12-25 15:03:27,504", "created": 1608905007.504735, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Response Data transfered via pure_json_protocol is correct (Content [1, 3, u's'] and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Response Data transfered via pure_json_protocol", "[ 1, 3, u's' ]", "" ], "asctime": "2020-12-25 15:03:27,504", "created": 1608905007.504338, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Response Data transfered via pure_json_protocol): [ 1, 3, u's' ] ()", "module": "test", "msecs": 504.33802604675293, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 4086.1549377441406, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Response Data transfered via pure_json_protocol", "[ 1, 3, u's' ]", "" ], "asctime": "2020-12-25 15:03:27,504", "created": 1608905007.50451, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Response Data transfered via pure_json_protocol): result = [ 1, 3, u's' ] ()", "module": "test", "msecs": 504.50992584228516, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 4086.326837539673, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 504.73499298095703, "msg": "Response Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 4086.5519046783447, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.000225067138671875 }, { "args": [ "None", "" ], "asctime": "2020-12-25 15:03:27,606", "created": 1608905007.606174, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef is correct (Content None and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "socket_protocol (server):", "0.1", "11", "48879" ], "asctime": "2020-12-25 15:03:27,605", "created": 1608905007.605379, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 358, "message": "socket_protocol (server): TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 48879) not in buffer.", "module": "__init__", "msecs": 605.3791046142578, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 4187.1960163116455, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-12-25 15:03:27,605", "created": 1608905007.605764, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef): None ()", "module": "test", "msecs": 605.7639122009277, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 4187.580823898315, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-12-25 15:03:27,605", "created": 1608905007.605988, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef): result = None ()", "module": "test", "msecs": 605.9880256652832, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 4187.804937362671, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 606.1739921569824, "msg": "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 4187.99090385437, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.00018596649169921875 }, { "args": [ "None", "" ], "asctime": "2020-12-25 15:03:27,707", "created": 1608905007.707566, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef is correct (Content None and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "socket_protocol (server):", "0.1", "10", "48879" ], "asctime": "2020-12-25 15:03:27,706", "created": 1608905007.706801, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 358, "message": "socket_protocol (server): TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 48879) not in buffer.", "module": "__init__", "msecs": 706.8009376525879, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 4288.617849349976, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-12-25 15:03:27,707", "created": 1608905007.707154, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef): None ()", "module": "test", "msecs": 707.1540355682373, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 4288.970947265625, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-12-25 15:03:27,707", "created": 1608905007.707355, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef): result = None ()", "module": "test", "msecs": 707.3550224304199, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 4289.171934127808, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 707.5660228729248, "msg": "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 4289.3829345703125, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.0002110004425048828 } ], "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.7109229564666748, "time_finished": "2020-12-25 15:03:27,707", "time_start": "2020-12-25 15:03:26,996" }, "socket_protocol.struct_json_protocol: Send and receive check (Twice for coverage of buffer initialisation).": { "args": null, "asctime": "2020-12-25 15:03:29,134", "created": 1608905009.134106, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 33, "message": "socket_protocol.struct_json_protocol: Send and receive check (Twice for coverage of buffer initialisation).", "module": "__init__", "moduleLogger": [], "msecs": 134.10592079162598, "msg": "socket_protocol.struct_json_protocol: Send and receive check (Twice for coverage of buffer initialisation).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest/src/tests/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 5715.922832489014, "testcaseLogger": [ { "args": [], "asctime": "2020-12-25 15:03:30,141", "created": 1608905010.141509, "exc_info": null, "exc_text": null, "filename": "test_normal_operation.py", "funcName": "send_n_receive", "levelname": "DEBUG", "levelno": 10, "lineno": 42, "message": "Send and received data by struct_json_protocol.", "module": "test_normal_operation", "moduleLogger": [ { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:29,134", "created": 1608905009.134471, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "socket_protocol (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 134.47093963623047, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 5716.287851333618, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:29,134", "created": 1608905009.134933, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "socket_protocol (server): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 134.9329948425293, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 5716.749906539917, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:29,135", "created": 1608905009.135173, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "socket_protocol (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 135.17308235168457, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 5716.989994049072, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:29,135", "created": 1608905009.135575, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "socket_protocol (server): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 135.5750560760498, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 5717.3919677734375, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):", 0, 10, 45054, "{u'test': u'test'}" ], "asctime": "2020-12-25 15:03:29,135", "created": 1608905009.135837, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 0, service_id: 10, data_id: 45054, data: \"{u'test': u'test'}\"", "module": "__init__", "msecs": 135.83707809448242, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 5717.65398979187, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:29,136", "created": 1608905009.136287, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (29): 00 00 00 00 00 00 00 0a 00 00 af fe 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 47", "module": "test_helpers", "msecs": 136.28697395324707, "msg": "Send data: (29): 00 00 00 00 00 00 00 0a 00 00 af fe 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 47", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 5718.103885650635, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:29,287", "created": 1608905009.287632, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (29): 00 00 00 00 00 00 00 0a 00 00 af fe 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 47", "module": "test_helpers", "msecs": 287.6319885253906, "msg": "Receive data (29): 00 00 00 00 00 00 00 0a 00 00 af fe 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 47", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 5869.448900222778, "thread": 140137899009792, "threadName": "Thread-19" }, { "args": [ "socket_protocol (server):", "0", "10", "45054", "{u'test': u'test'}" ], "asctime": "2020-12-25 15:03:29,288", "created": 1608905009.28818, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 296, "message": "socket_protocol (server): RX <- status: 0, service_id: 10, data_id: 45054, data: \"{u'test': u'test'}\"", "module": "__init__", "msecs": 288.1801128387451, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 5869.997024536133, "thread": 140137899009792, "threadName": "Thread-19" }, { "args": [ "socket_protocol (server):", "response_data_method" ], "asctime": "2020-12-25 15:03:29,288", "created": 1608905009.288424, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 313, "message": "socket_protocol (server): Executing callback response_data_method to process received data", "module": "__init__", "msecs": 288.424015045166, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 5870.240926742554, "thread": 140137899009792, "threadName": "Thread-19" }, { "args": [ "socket_protocol (server):", 5, 11, 45054, "[1, 3, u's']" ], "asctime": "2020-12-25 15:03:29,288", "created": 1608905009.288641, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, u's']\"", "module": "__init__", "msecs": 288.64097595214844, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 5870.457887649536, "thread": 140137899009792, "threadName": "Thread-19" }, { "args": [], "asctime": "2020-12-25 15:03:29,289", "created": 1608905009.289032, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (24): 00 00 00 05 00 00 00 0b 00 00 af fe 5b 31 2c 20 33 2c 20 22 73 22 5d 28", "module": "test_helpers", "msecs": 289.031982421875, "msg": "Send data: (24): 00 00 00 05 00 00 00 0b 00 00 af fe 5b 31 2c 20 33 2c 20 22 73 22 5d 28", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 5870.848894119263, "thread": 140137899009792, "threadName": "Thread-19" }, { "args": [], "asctime": "2020-12-25 15:03:29,440", "created": 1608905009.440122, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (24): 00 00 00 05 00 00 00 0b 00 00 af fe 5b 31 2c 20 33 2c 20 22 73 22 5d 28", "module": "test_helpers", "msecs": 440.1218891143799, "msg": "Receive data (24): 00 00 00 05 00 00 00 0b 00 00 af fe 5b 31 2c 20 33 2c 20 22 73 22 5d 28", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 6021.938800811768, "thread": 140137890617088, "threadName": "Thread-20" }, { "args": [ "socket_protocol (server):", "5", "11", "45054", "[1, 3, u's']" ], "asctime": "2020-12-25 15:03:29,440", "created": 1608905009.44065, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 296, "message": "socket_protocol (server): RX <- status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, u's']\"", "module": "__init__", "msecs": 440.64998626708984, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 6022.4668979644775, "thread": 140137890617088, "threadName": "Thread-20" }, { "args": [ "socket_protocol (server):", "Operation not permitted" ], "asctime": "2020-12-25 15:03:29,440", "created": 1608905009.440937, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 323, "message": "socket_protocol (server): Received message has a peculiar status: Operation not permitted", "module": "__init__", "msecs": 440.9370422363281, "msg": "%s Received message has a peculiar status: %s", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 6022.753953933716, "thread": 140137890617088, "threadName": "Thread-20" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:29,441", "created": 1608905009.441175, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__buffer_received_data__", "levelname": "DEBUG", "levelno": 10, "lineno": 341, "message": "socket_protocol (server): Message data is stored in buffer and is now ready to be retrieved by receive method", "module": "__init__", "msecs": 441.1749839782715, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 6022.991895675659, "thread": 140137890617088, "threadName": "Thread-20" }, { "args": [ "socket_protocol (server):", 0, 10, 45054, "{u'test': u'test'}" ], "asctime": "2020-12-25 15:03:29,638", "created": 1608905009.638661, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 0, service_id: 10, data_id: 45054, data: \"{u'test': u'test'}\"", "module": "__init__", "msecs": 638.6609077453613, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 6220.477819442749, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:29,639", "created": 1608905009.639273, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (29): 00 00 00 00 00 00 00 0a 00 00 af fe 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 47", "module": "test_helpers", "msecs": 639.272928237915, "msg": "Send data: (29): 00 00 00 00 00 00 00 0a 00 00 af fe 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 47", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 6221.089839935303, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:29,790", "created": 1608905009.790568, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (29): 00 00 00 00 00 00 00 0a 00 00 af fe 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 47", "module": "test_helpers", "msecs": 790.5681133270264, "msg": "Receive data (29): 00 00 00 00 00 00 00 0a 00 00 af fe 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 47", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 6372.385025024414, "thread": 140137890617088, "threadName": "Thread-21" }, { "args": [ "socket_protocol (server):", "0", "10", "45054", "{u'test': u'test'}" ], "asctime": "2020-12-25 15:03:29,791", "created": 1608905009.791115, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 296, "message": "socket_protocol (server): RX <- status: 0, service_id: 10, data_id: 45054, data: \"{u'test': u'test'}\"", "module": "__init__", "msecs": 791.1150455474854, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 6372.931957244873, "thread": 140137890617088, "threadName": "Thread-21" }, { "args": [ "socket_protocol (server):", "response_data_method" ], "asctime": "2020-12-25 15:03:29,791", "created": 1608905009.791362, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 313, "message": "socket_protocol (server): Executing callback response_data_method to process received data", "module": "__init__", "msecs": 791.3620471954346, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 6373.178958892822, "thread": 140137890617088, "threadName": "Thread-21" }, { "args": [ "socket_protocol (server):", 5, 11, 45054, "[1, 3, u's']" ], "asctime": "2020-12-25 15:03:29,791", "created": 1608905009.791577, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, u's']\"", "module": "__init__", "msecs": 791.5771007537842, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 6373.394012451172, "thread": 140137890617088, "threadName": "Thread-21" }, { "args": [], "asctime": "2020-12-25 15:03:29,791", "created": 1608905009.791986, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (24): 00 00 00 05 00 00 00 0b 00 00 af fe 5b 31 2c 20 33 2c 20 22 73 22 5d 28", "module": "test_helpers", "msecs": 791.9859886169434, "msg": "Send data: (24): 00 00 00 05 00 00 00 0b 00 00 af fe 5b 31 2c 20 33 2c 20 22 73 22 5d 28", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 6373.802900314331, "thread": 140137890617088, "threadName": "Thread-21" }, { "args": [], "asctime": "2020-12-25 15:03:29,943", "created": 1608905009.943089, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (24): 00 00 00 05 00 00 00 0b 00 00 af fe 5b 31 2c 20 33 2c 20 22 73 22 5d 28", "module": "test_helpers", "msecs": 943.0890083312988, "msg": "Receive data (24): 00 00 00 05 00 00 00 0b 00 00 af fe 5b 31 2c 20 33 2c 20 22 73 22 5d 28", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 6524.9059200286865, "thread": 140137899009792, "threadName": "Thread-22" }, { "args": [ "socket_protocol (server):", "5", "11", "45054", "[1, 3, u's']" ], "asctime": "2020-12-25 15:03:29,943", "created": 1608905009.943568, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 296, "message": "socket_protocol (server): RX <- status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, u's']\"", "module": "__init__", "msecs": 943.5679912567139, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 6525.384902954102, "thread": 140137899009792, "threadName": "Thread-22" }, { "args": [ "socket_protocol (server):", "Operation not permitted" ], "asctime": "2020-12-25 15:03:29,943", "created": 1608905009.943826, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 323, "message": "socket_protocol (server): Received message has a peculiar status: Operation not permitted", "module": "__init__", "msecs": 943.8259601593018, "msg": "%s Received message has a peculiar status: %s", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 6525.642871856689, "thread": 140137899009792, "threadName": "Thread-22" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:29,944", "created": 1608905009.944022, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__buffer_received_data__", "levelname": "DEBUG", "levelno": 10, "lineno": 341, "message": "socket_protocol (server): Message data is stored in buffer and is now ready to be retrieved by receive method", "module": "__init__", "msecs": 944.0219402313232, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 6525.838851928711, "thread": 140137899009792, "threadName": "Thread-22" } ], "msecs": 141.5090560913086, "msg": "Send and received data by struct_json_protocol.", "name": "__tLogger__", "pathname": "src/tests/test_normal_operation.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 6723.325967788696, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.19748711585998535 }, { "args": [ "True", "" ], "asctime": "2020-12-25 15:03:30,142", "created": 1608905010.142461, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return value of send method is correct (Content True and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-12-25 15:03:30,142", "created": 1608905010.142067, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return value of send method): True ()", "module": "test", "msecs": 142.06695556640625, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 6723.883867263794, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-12-25 15:03:30,142", "created": 1608905010.142275, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return value of send method): result = True ()", "module": "test", "msecs": 142.2750949859619, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 6724.09200668335, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 142.46106147766113, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 6724.277973175049, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.00018596649169921875 }, { "args": [ "0", "" ], "asctime": "2020-12-25 15:03:30,143", "created": 1608905010.143074, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Request Status (Okay) transfered via struct_json_protocol is correct (Content 0 and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Request Status (Okay) transfered via struct_json_protocol", "0", "" ], "asctime": "2020-12-25 15:03:30,142", "created": 1608905010.142744, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Request Status (Okay) transfered via struct_json_protocol): 0 ()", "module": "test", "msecs": 142.7440643310547, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 6724.560976028442, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Request Status (Okay) transfered via struct_json_protocol", "0", "" ], "asctime": "2020-12-25 15:03:30,142", "created": 1608905010.142913, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Request Status (Okay) transfered via struct_json_protocol): result = 0 ()", "module": "test", "msecs": 142.9131031036377, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 6724.730014801025, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 143.07403564453125, "msg": "Request Status (Okay) transfered via struct_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 6724.890947341919, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.0001609325408935547 }, { "args": [ "{u'test': u'test'}", "" ], "asctime": "2020-12-25 15:03:30,143", "created": 1608905010.143749, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Request Data transfered via struct_json_protocol is correct (Content {u'test': u'test'} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Request Data transfered via struct_json_protocol", "{ u'test': u'test' }", "" ], "asctime": "2020-12-25 15:03:30,143", "created": 1608905010.143358, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Request Data transfered via struct_json_protocol): { u'test': u'test' } ()", "module": "test", "msecs": 143.3579921722412, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 6725.174903869629, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Request Data transfered via struct_json_protocol", "{ u'test': u'test' }", "" ], "asctime": "2020-12-25 15:03:30,143", "created": 1608905010.143531, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Request Data transfered via struct_json_protocol): result = { u'test': u'test' } ()", "module": "test", "msecs": 143.53108406066895, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 6725.347995758057, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 143.74899864196777, "msg": "Request Data transfered via struct_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 6725.5659103393555, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.00021791458129882812 }, { "args": [ "5", "" ], "asctime": "2020-12-25 15:03:30,144", "created": 1608905010.144335, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Response Status (Operation not permitted) transfered via struct_json_protocol is correct (Content 5 and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Response Status (Operation not permitted) transfered via struct_json_protocol", "5", "" ], "asctime": "2020-12-25 15:03:30,144", "created": 1608905010.14402, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Response Status (Operation not permitted) transfered via struct_json_protocol): 5 ()", "module": "test", "msecs": 144.02008056640625, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 6725.836992263794, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Response Status (Operation not permitted) transfered via struct_json_protocol", "5", "" ], "asctime": "2020-12-25 15:03:30,144", "created": 1608905010.144179, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Response Status (Operation not permitted) transfered via struct_json_protocol): result = 5 ()", "module": "test", "msecs": 144.179105758667, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 6725.996017456055, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 144.3350315093994, "msg": "Response Status (Operation not permitted) transfered via struct_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 6726.151943206787, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.00015592575073242188 }, { "args": [ "[1, 3, u's']", "" ], "asctime": "2020-12-25 15:03:30,145", "created": 1608905010.145016, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Response Data transfered via struct_json_protocol is correct (Content [1, 3, u's'] and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Response Data transfered via struct_json_protocol", "[ 1, 3, u's' ]", "" ], "asctime": "2020-12-25 15:03:30,144", "created": 1608905010.144623, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Response Data transfered via struct_json_protocol): [ 1, 3, u's' ] ()", "module": "test", "msecs": 144.6230411529541, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 6726.439952850342, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Response Data transfered via struct_json_protocol", "[ 1, 3, u's' ]", "" ], "asctime": "2020-12-25 15:03:30,144", "created": 1608905010.144799, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Response Data transfered via struct_json_protocol): result = [ 1, 3, u's' ] ()", "module": "test", "msecs": 144.79899406433105, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 6726.615905761719, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 145.01595497131348, "msg": "Response Data transfered via struct_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 6726.832866668701, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.00021696090698242188 }, { "args": [ "None", "" ], "asctime": "2020-12-25 15:03:30,246", "created": 1608905010.246465, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return Value (request instance) for struct_json_protocol.receive with data data_id 0xaffe is correct (Content None and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "socket_protocol (server):", "0.1", "11", "45054" ], "asctime": "2020-12-25 15:03:30,245", "created": 1608905010.245692, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 358, "message": "socket_protocol (server): TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 245.69201469421387, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 6827.508926391602, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for struct_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:30,246", "created": 1608905010.246052, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return Value (request instance) for struct_json_protocol.receive with data data_id 0xaffe): None ()", "module": "test", "msecs": 246.05202674865723, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 6827.868938446045, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for struct_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:30,246", "created": 1608905010.246276, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return Value (request instance) for struct_json_protocol.receive with data data_id 0xaffe): result = None ()", "module": "test", "msecs": 246.2759017944336, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 6828.092813491821, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 246.46496772766113, "msg": "Return Value (request instance) for struct_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 6828.281879425049, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.00018906593322753906 }, { "args": [ "None", "" ], "asctime": "2020-12-25 15:03:30,347", "created": 1608905010.347907, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return Value (response instance) for struct_json_protocol.receive with data data_id 0xaffe is correct (Content None and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "socket_protocol (server):", "0.1", "10", "45054" ], "asctime": "2020-12-25 15:03:30,347", "created": 1608905010.347142, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 358, "message": "socket_protocol (server): TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 347.14198112487793, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 6928.958892822266, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for struct_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:30,347", "created": 1608905010.347517, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return Value (response instance) for struct_json_protocol.receive with data data_id 0xaffe): None ()", "module": "test", "msecs": 347.5170135498047, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 6929.333925247192, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for struct_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:30,347", "created": 1608905010.347725, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return Value (response instance) for struct_json_protocol.receive with data data_id 0xaffe): result = None ()", "module": "test", "msecs": 347.72491455078125, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 6929.541826248169, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 347.90706634521484, "msg": "Return Value (response instance) for struct_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 6929.7239780426025, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.00018215179443359375 } ], "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 1.2138011455535889, "time_finished": "2020-12-25 15:03:30,347", "time_start": "2020-12-25 15:03:29,134" }, "socket_protocol.struct_json_protocol: Send and receive check.": { "args": null, "asctime": "2020-12-25 15:03:23,448", "created": 1608905003.448631, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 26, "message": "socket_protocol.struct_json_protocol: Send and receive check.", "module": "__init__", "moduleLogger": [], "msecs": 448.63104820251465, "msg": "socket_protocol.struct_json_protocol: Send and receive check.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest/src/tests/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 30.447959899902344, "testcaseLogger": [ { "args": [], "asctime": "2020-12-25 15:03:23,951", "created": 1608905003.951312, "exc_info": null, "exc_text": null, "filename": "test_normal_operation.py", "funcName": "send_n_receive", "levelname": "DEBUG", "levelno": 10, "lineno": 42, "message": "Send and received data by struct_json_protocol.", "module": "test_normal_operation", "moduleLogger": [ { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:23,448", "created": 1608905003.448836, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "socket_protocol (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 448.836088180542, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 30.652999877929688, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:23,449", "created": 1608905003.449034, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "socket_protocol (server): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 449.0339756011963, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 30.850887298583984, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:23,449", "created": 1608905003.449104, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "socket_protocol (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 449.10407066345215, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 30.920982360839844, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:23,449", "created": 1608905003.449308, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "socket_protocol (server): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 449.307918548584, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 31.12483024597168, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):", 0, 10, 45054, "{u'test': u'test'}" ], "asctime": "2020-12-25 15:03:23,449", "created": 1608905003.44939, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 0, service_id: 10, data_id: 45054, data: \"{u'test': u'test'}\"", "module": "__init__", "msecs": 449.3899345397949, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 31.206846237182617, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:23,449", "created": 1608905003.449518, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (29): 00 00 00 00 00 00 00 0a 00 00 af fe 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 47", "module": "test_helpers", "msecs": 449.51796531677246, "msg": "Send data: (29): 00 00 00 00 00 00 00 0a 00 00 af fe 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 47", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 31.334877014160156, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:23,600", "created": 1608905003.600323, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (29): 00 00 00 00 00 00 00 0a 00 00 af fe 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 47", "module": "test_helpers", "msecs": 600.322961807251, "msg": "Receive data (29): 00 00 00 00 00 00 00 0a 00 00 af fe 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 47", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 182.13987350463867, "thread": 140137899009792, "threadName": "Thread-1" }, { "args": [ "socket_protocol (server):", "0", "10", "45054", "{u'test': u'test'}" ], "asctime": "2020-12-25 15:03:23,600", "created": 1608905003.600894, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 296, "message": "socket_protocol (server): RX <- status: 0, service_id: 10, data_id: 45054, data: \"{u'test': u'test'}\"", "module": "__init__", "msecs": 600.8939743041992, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 182.7108860015869, "thread": 140137899009792, "threadName": "Thread-1" }, { "args": [ "socket_protocol (server):", "response_data_method" ], "asctime": "2020-12-25 15:03:23,601", "created": 1608905003.601165, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 313, "message": "socket_protocol (server): Executing callback response_data_method to process received data", "module": "__init__", "msecs": 601.1650562286377, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 182.9819679260254, "thread": 140137899009792, "threadName": "Thread-1" }, { "args": [ "socket_protocol (server):", 5, 11, 45054, "[1, 3, u's']" ], "asctime": "2020-12-25 15:03:23,601", "created": 1608905003.60139, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, u's']\"", "module": "__init__", "msecs": 601.3898849487305, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 183.20679664611816, "thread": 140137899009792, "threadName": "Thread-1" }, { "args": [], "asctime": "2020-12-25 15:03:23,601", "created": 1608905003.601825, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (24): 00 00 00 05 00 00 00 0b 00 00 af fe 5b 31 2c 20 33 2c 20 22 73 22 5d 28", "module": "test_helpers", "msecs": 601.8249988555908, "msg": "Send data: (24): 00 00 00 05 00 00 00 0b 00 00 af fe 5b 31 2c 20 33 2c 20 22 73 22 5d 28", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 183.64191055297852, "thread": 140137899009792, "threadName": "Thread-1" }, { "args": [], "asctime": "2020-12-25 15:03:23,753", "created": 1608905003.753079, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (24): 00 00 00 05 00 00 00 0b 00 00 af fe 5b 31 2c 20 33 2c 20 22 73 22 5d 28", "module": "test_helpers", "msecs": 753.0789375305176, "msg": "Receive data (24): 00 00 00 05 00 00 00 0b 00 00 af fe 5b 31 2c 20 33 2c 20 22 73 22 5d 28", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 334.8958492279053, "thread": 140137890617088, "threadName": "Thread-2" }, { "args": [ "socket_protocol (server):", "5", "11", "45054", "[1, 3, u's']" ], "asctime": "2020-12-25 15:03:23,753", "created": 1608905003.753605, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 296, "message": "socket_protocol (server): RX <- status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, u's']\"", "module": "__init__", "msecs": 753.6048889160156, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 335.4218006134033, "thread": 140137890617088, "threadName": "Thread-2" }, { "args": [ "socket_protocol (server):", "Operation not permitted" ], "asctime": "2020-12-25 15:03:23,753", "created": 1608905003.75395, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 323, "message": "socket_protocol (server): Received message has a peculiar status: Operation not permitted", "module": "__init__", "msecs": 753.9501190185547, "msg": "%s Received message has a peculiar status: %s", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 335.7670307159424, "thread": 140137890617088, "threadName": "Thread-2" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:23,754", "created": 1608905003.754191, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__buffer_received_data__", "levelname": "DEBUG", "levelno": 10, "lineno": 341, "message": "socket_protocol (server): Message data is stored in buffer and is now ready to be retrieved by receive method", "module": "__init__", "msecs": 754.1909217834473, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 336.00783348083496, "thread": 140137890617088, "threadName": "Thread-2" } ], "msecs": 951.3120651245117, "msg": "Send and received data by struct_json_protocol.", "name": "__tLogger__", "pathname": "src/tests/test_normal_operation.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 533.1289768218994, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.19712114334106445 }, { "args": [ "True", "" ], "asctime": "2020-12-25 15:03:23,952", "created": 1608905003.952222, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return value of send method is correct (Content True and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-12-25 15:03:23,951", "created": 1608905003.951807, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return value of send method): True ()", "module": "test", "msecs": 951.8070220947266, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 533.6239337921143, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-12-25 15:03:23,952", "created": 1608905003.952037, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return value of send method): result = True ()", "module": "test", "msecs": 952.0370960235596, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 533.8540077209473, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 952.2221088409424, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 534.0390205383301, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.0001850128173828125 }, { "args": [ "0", "" ], "asctime": "2020-12-25 15:03:23,952", "created": 1608905003.952826, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Request Status (Okay) transfered via struct_json_protocol is correct (Content 0 and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Request Status (Okay) transfered via struct_json_protocol", "0", "" ], "asctime": "2020-12-25 15:03:23,952", "created": 1608905003.952495, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Request Status (Okay) transfered via struct_json_protocol): 0 ()", "module": "test", "msecs": 952.4950981140137, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 534.3120098114014, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Request Status (Okay) transfered via struct_json_protocol", "0", "" ], "asctime": "2020-12-25 15:03:23,952", "created": 1608905003.952663, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Request Status (Okay) transfered via struct_json_protocol): result = 0 ()", "module": "test", "msecs": 952.6629447937012, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 534.4798564910889, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 952.8260231018066, "msg": "Request Status (Okay) transfered via struct_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 534.6429347991943, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.00016307830810546875 }, { "args": [ "{u'test': u'test'}", "" ], "asctime": "2020-12-25 15:03:23,953", "created": 1608905003.953504, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Request Data transfered via struct_json_protocol is correct (Content {u'test': u'test'} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Request Data transfered via struct_json_protocol", "{ u'test': u'test' }", "" ], "asctime": "2020-12-25 15:03:23,953", "created": 1608905003.953095, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Request Data transfered via struct_json_protocol): { u'test': u'test' } ()", "module": "test", "msecs": 953.0949592590332, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 534.9118709564209, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Request Data transfered via struct_json_protocol", "{ u'test': u'test' }", "" ], "asctime": "2020-12-25 15:03:23,953", "created": 1608905003.953285, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Request Data transfered via struct_json_protocol): result = { u'test': u'test' } ()", "module": "test", "msecs": 953.2849788665771, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 535.1018905639648, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 953.5040855407715, "msg": "Request Data transfered via struct_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 535.3209972381592, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.00021910667419433594 }, { "args": [ "5", "" ], "asctime": "2020-12-25 15:03:23,954", "created": 1608905003.954141, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Response Status (Operation not permitted) transfered via struct_json_protocol is correct (Content 5 and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Response Status (Operation not permitted) transfered via struct_json_protocol", "5", "" ], "asctime": "2020-12-25 15:03:23,953", "created": 1608905003.95382, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Response Status (Operation not permitted) transfered via struct_json_protocol): 5 ()", "module": "test", "msecs": 953.819990158081, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 535.6369018554688, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Response Status (Operation not permitted) transfered via struct_json_protocol", "5", "" ], "asctime": "2020-12-25 15:03:23,953", "created": 1608905003.953983, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Response Status (Operation not permitted) transfered via struct_json_protocol): result = 5 ()", "module": "test", "msecs": 953.9830684661865, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 535.7999801635742, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 954.1409015655518, "msg": "Response Status (Operation not permitted) transfered via struct_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 535.9578132629395, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.00015783309936523438 }, { "args": [ "[1, 3, u's']", "" ], "asctime": "2020-12-25 15:03:23,954", "created": 1608905003.954794, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Response Data transfered via struct_json_protocol is correct (Content [1, 3, u's'] and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Response Data transfered via struct_json_protocol", "[ 1, 3, u's' ]", "" ], "asctime": "2020-12-25 15:03:23,954", "created": 1608905003.954406, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Response Data transfered via struct_json_protocol): [ 1, 3, u's' ] ()", "module": "test", "msecs": 954.4060230255127, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 536.2229347229004, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Response Data transfered via struct_json_protocol", "[ 1, 3, u's' ]", "" ], "asctime": "2020-12-25 15:03:23,954", "created": 1608905003.954578, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Response Data transfered via struct_json_protocol): result = [ 1, 3, u's' ] ()", "module": "test", "msecs": 954.5779228210449, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 536.3948345184326, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 954.7939300537109, "msg": "Response Data transfered via struct_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 536.6108417510986, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.00021600723266601562 }, { "args": [ "None", "" ], "asctime": "2020-12-25 15:03:24,056", "created": 1608905004.056221, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return Value (request instance) for struct_json_protocol.receive with data data_id 0xaffe is correct (Content None and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "socket_protocol (server):", "0.1", "11", "45054" ], "asctime": "2020-12-25 15:03:24,055", "created": 1608905004.05543, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 358, "message": "socket_protocol (server): TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 55.429935455322266, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 637.24684715271, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for struct_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:24,055", "created": 1608905004.055788, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return Value (request instance) for struct_json_protocol.receive with data data_id 0xaffe): None ()", "module": "test", "msecs": 55.78804016113281, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 637.6049518585205, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for struct_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:24,056", "created": 1608905004.056021, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return Value (request instance) for struct_json_protocol.receive with data data_id 0xaffe): result = None ()", "module": "test", "msecs": 56.02097511291504, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 637.8378868103027, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 56.22100830078125, "msg": "Return Value (request instance) for struct_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 638.037919998169, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.00020003318786621094 }, { "args": [ "None", "" ], "asctime": "2020-12-25 15:03:24,157", "created": 1608905004.157651, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return Value (response instance) for struct_json_protocol.receive with data data_id 0xaffe is correct (Content None and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "socket_protocol (server):", "0.1", "10", "45054" ], "asctime": "2020-12-25 15:03:24,156", "created": 1608905004.156885, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 358, "message": "socket_protocol (server): TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 156.88490867614746, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 738.7018203735352, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for struct_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:24,157", "created": 1608905004.157238, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return Value (response instance) for struct_json_protocol.receive with data data_id 0xaffe): None ()", "module": "test", "msecs": 157.23800659179688, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 739.0549182891846, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for struct_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:24,157", "created": 1608905004.157438, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return Value (response instance) for struct_json_protocol.receive with data data_id 0xaffe): result = None ()", "module": "test", "msecs": 157.4380397796631, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 739.2549514770508, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 157.65094757080078, "msg": "Return Value (response instance) for struct_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 739.4678592681885, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.0002129077911376953 } ], "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.7090198993682861, "time_finished": "2020-12-25 15:03:24,157", "time_start": "2020-12-25 15:03:23,448" }, "socket_protocol: Client setting the channel name.": { "args": null, "asctime": "2020-12-25 15:03:35,121", "created": 1608905015.121032, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 50, "message": "socket_protocol: Client setting the channel name.", "module": "__init__", "moduleLogger": [], "msecs": 121.0319995880127, "msg": "socket_protocol: Client setting the channel name.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest/src/tests/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 11702.8489112854, "testcaseLogger": [ { "args": [], "asctime": "2020-12-25 15:03:35,430", "created": 1608905015.430627, "exc_info": null, "exc_text": null, "filename": "test_channel_name.py", "funcName": "test_channel_name", "levelname": "DEBUG", "levelno": 10, "lineno": 58, "message": "Initiating communication including channel_name exchange.", "module": "test_channel_name", "moduleLogger": [ { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:35,121", "created": 1608905015.121378, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "socket_protocol (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 121.37794494628906, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 11703.194856643677, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:35,121", "created": 1608905015.121914, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "socket_protocol (server): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 121.91390991210938, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 11703.730821609497, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "'__channel_name_response__'", "6", "0", "'ut_response_callback'" ], "asctime": "2020-12-25 15:03:35,122", "created": 1608905015.12216, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "add", "levelname": "WARNING", "levelno": 30, "lineno": 82, "message": "Overwriting existing callback '__channel_name_response__' for service_id (6) and data_id (0) to 'ut_response_callback'!", "module": "__init__", "msecs": 122.15995788574219, "msg": "Overwriting existing callback %s for service_id (%s) and data_id (%s) to %s!", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 11703.97686958313, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "ut_client_set_channel_name (client):" ], "asctime": "2020-12-25 15:03:35,122", "created": 1608905015.122373, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "ut_client_set_channel_name (client): Cleaning up receive-buffer", "module": "__init__", "msecs": 122.37310409545898, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 11704.190015792847, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "ut_client_set_channel_name (client):" ], "asctime": "2020-12-25 15:03:35,122", "created": 1608905015.122823, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "ut_client_set_channel_name (client): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 122.82299995422363, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 11704.639911651611, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:35,123", "created": 1608905015.123072, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "socket_protocol (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 123.07190895080566, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 11704.888820648193, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):", 0, 5, 0, "None" ], "asctime": "2020-12-25 15:03:35,123", "created": 1608905015.123278, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 0, service_id: 5, data_id: 0, data: \"None\"", "module": "__init__", "msecs": 123.27790260314941, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 11705.094814300537, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:35,123", "created": 1608905015.123739, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (62): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 35 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d dd ae a2 7d", "module": "test_helpers", "msecs": 123.73900413513184, "msg": "Send data: (62): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 35 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d dd ae a2 7d", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 11705.55591583252, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "ut_client_set_channel_name (client):" ], "asctime": "2020-12-25 15:03:35,124", "created": 1608905015.124533, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "ut_client_set_channel_name (client): Cleaning up receive-buffer", "module": "__init__", "msecs": 124.53293800354004, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 11706.349849700928, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:35,274", "created": 1608905015.274944, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (62): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 35 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d dd ae a2 7d", "module": "test_helpers", "msecs": 274.9440670013428, "msg": "Receive data (62): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 35 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d dd ae a2 7d", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 11856.76097869873, "thread": 140137899009792, "threadName": "Thread-34" }, { "args": [ "ut_client_set_channel_name (client):", "0", "5", "0", "None" ], "asctime": "2020-12-25 15:03:35,275", "created": 1608905015.275414, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 296, "message": "ut_client_set_channel_name (client): RX <- status: 0, service_id: 5, data_id: 0, data: \"None\"", "module": "__init__", "msecs": 275.41399002075195, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 11857.23090171814, "thread": 140137899009792, "threadName": "Thread-34" }, { "args": [ "ut_client_set_channel_name (client):", "__channel_name_request__" ], "asctime": "2020-12-25 15:03:35,275", "created": 1608905015.275677, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 313, "message": "ut_client_set_channel_name (client): Executing callback __channel_name_request__ to process received data", "module": "__init__", "msecs": 275.676965713501, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 11857.493877410889, "thread": 140137899009792, "threadName": "Thread-34" }, { "args": [ "ut_client_set_channel_name (client):", 0, 6, 0, "u'ut_client_set_channel_name'" ], "asctime": "2020-12-25 15:03:35,275", "created": 1608905015.275915, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "ut_client_set_channel_name (client): TX -> status: 0, service_id: 6, data_id: 0, data: \"u'ut_client_set_channel_name'\"", "module": "__init__", "msecs": 275.91490745544434, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 11857.731819152832, "thread": 140137899009792, "threadName": "Thread-34" }, { "args": [], "asctime": "2020-12-25 15:03:35,276", "created": 1608905015.276486, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (86): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 36 2c 20 22 64 61 74 61 22 3a 20 22 75 74 5f 63 6c 69 65 6e 74 5f 73 65 74 5f 63 68 61 6e 6e 65 6c 5f 6e 61 6d 65 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 71 b2 b8 9d", "module": "test_helpers", "msecs": 276.4859199523926, "msg": "Send data: (86): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 36 2c 20 22 64 61 74 61 22 3a 20 22 75 74 5f 63 6c 69 65 6e 74 5f 73 65 74 5f 63 68 61 6e 6e 65 6c 5f 6e 61 6d 65 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 71 b2 b8 9d", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 11858.30283164978, "thread": 140137899009792, "threadName": "Thread-34" }, { "args": [], "asctime": "2020-12-25 15:03:35,427", "created": 1608905015.427782, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (86): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 36 2c 20 22 64 61 74 61 22 3a 20 22 75 74 5f 63 6c 69 65 6e 74 5f 73 65 74 5f 63 68 61 6e 6e 65 6c 5f 6e 61 6d 65 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 71 b2 b8 9d", "module": "test_helpers", "msecs": 427.7820587158203, "msg": "Receive data (86): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 36 2c 20 22 64 61 74 61 22 3a 20 22 75 74 5f 63 6c 69 65 6e 74 5f 73 65 74 5f 63 68 61 6e 6e 65 6c 5f 6e 61 6d 65 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 71 b2 b8 9d", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 12009.598970413208, "thread": 140137890617088, "threadName": "Thread-35" }, { "args": [ "socket_protocol (server):", "0", "6", "0", "u'ut_client_set_channel_name'" ], "asctime": "2020-12-25 15:03:35,428", "created": 1608905015.428217, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 296, "message": "socket_protocol (server): RX <- status: 0, service_id: 6, data_id: 0, data: \"u'ut_client_set_channel_name'\"", "module": "__init__", "msecs": 428.21693420410156, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 12010.03384590149, "thread": 140137890617088, "threadName": "Thread-35" }, { "args": [ "socket_protocol (server):", "ut_response_callback" ], "asctime": "2020-12-25 15:03:35,428", "created": 1608905015.428467, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 330, "message": "socket_protocol (server): Executing callback ut_response_callback to process received data", "module": "__init__", "msecs": 428.4670352935791, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 12010.283946990967, "thread": 140137890617088, "threadName": "Thread-35" }, { "args": [ "ut_client_set_channel_name (server):", "u'ut_client_set_channel_name'" ], "asctime": "2020-12-25 15:03:35,428", "created": 1608905015.428671, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__channel_name_response__", "levelname": "INFO", "levelno": 20, "lineno": 244, "message": "ut_client_set_channel_name (server): channel name is now u'ut_client_set_channel_name'", "module": "__init__", "msecs": 428.67088317871094, "msg": "%s channel name is now %s", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 12010.487794876099, "thread": 140137890617088, "threadName": "Thread-35" } ], "msecs": 430.62710762023926, "msg": "Initiating communication including channel_name exchange.", "name": "__tLogger__", "pathname": "src/tests/test_channel_name.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 12012.444019317627, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.0019562244415283203 }, { "args": [ "u'ut_client_set_channel_name'", "" ], "asctime": "2020-12-25 15:03:35,431", "created": 1608905015.431541, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Channel name for server is correct (Content u'ut_client_set_channel_name' and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Channel name for server", "u'ut_client_set_channel_name'", "" ], "asctime": "2020-12-25 15:03:35,431", "created": 1608905015.431147, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Channel name for server): u'ut_client_set_channel_name' ()", "module": "test", "msecs": 431.14709854125977, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 12012.964010238647, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Channel name for server", "u'ut_client_set_channel_name'", "" ], "asctime": "2020-12-25 15:03:35,431", "created": 1608905015.431355, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Channel name for server): result = u'ut_client_set_channel_name' ()", "module": "test", "msecs": 431.3549995422363, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 12013.171911239624, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 431.54096603393555, "msg": "Channel name for server is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 12013.357877731323, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.00018596649169921875 }, { "args": [ "u'ut_client_set_channel_name'", "" ], "asctime": "2020-12-25 15:03:35,432", "created": 1608905015.432165, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Channel name for client is correct (Content u'ut_client_set_channel_name' and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Channel name for client", "u'ut_client_set_channel_name'", "" ], "asctime": "2020-12-25 15:03:35,431", "created": 1608905015.431819, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Channel name for client): u'ut_client_set_channel_name' ()", "module": "test", "msecs": 431.81896209716797, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 12013.635873794556, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Channel name for client", "u'ut_client_set_channel_name'", "" ], "asctime": "2020-12-25 15:03:35,431", "created": 1608905015.431989, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Channel name for client): result = u'ut_client_set_channel_name' ()", "module": "test", "msecs": 431.9889545440674, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 12013.805866241455, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 432.16490745544434, "msg": "Channel name for client is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 12013.981819152832, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.00017595291137695312 } ], "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.31113290786743164, "time_finished": "2020-12-25 15:03:35,432", "time_start": "2020-12-25 15:03:35,121" }, "socket_protocol: Server and Client setting different channel names.": { "args": null, "asctime": "2020-12-25 15:03:35,432", "created": 1608905015.432616, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 51, "message": "socket_protocol: Server and Client setting different channel names.", "module": "__init__", "moduleLogger": [], "msecs": 432.6159954071045, "msg": "socket_protocol: Server and Client setting different channel names.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest/src/tests/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 12014.432907104492, "testcaseLogger": [ { "args": [], "asctime": "2020-12-25 15:03:35,743", "created": 1608905015.743026, "exc_info": null, "exc_text": null, "filename": "test_channel_name.py", "funcName": "test_channel_name", "levelname": "DEBUG", "levelno": 10, "lineno": 58, "message": "Initiating communication including channel_name exchange.", "module": "test_channel_name", "moduleLogger": [ { "args": [ "ut_server_and_client_set_channel_name (server):" ], "asctime": "2020-12-25 15:03:35,432", "created": 1608905015.432967, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "ut_server_and_client_set_channel_name (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 432.966947555542, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 12014.78385925293, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "ut_server_and_client_set_channel_name (server):" ], "asctime": "2020-12-25 15:03:35,433", "created": 1608905015.433471, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "ut_server_and_client_set_channel_name (server): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 433.4709644317627, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 12015.28787612915, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "'__channel_name_response__'", "6", "0", "'ut_response_callback'" ], "asctime": "2020-12-25 15:03:35,433", "created": 1608905015.433823, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "add", "levelname": "WARNING", "levelno": 30, "lineno": 82, "message": "Overwriting existing callback '__channel_name_response__' for service_id (6) and data_id (0) to 'ut_response_callback'!", "module": "__init__", "msecs": 433.8231086730957, "msg": "Overwriting existing callback %s for service_id (%s) and data_id (%s) to %s!", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 12015.640020370483, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "foo (client):" ], "asctime": "2020-12-25 15:03:35,434", "created": 1608905015.434037, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "foo (client): Cleaning up receive-buffer", "module": "__init__", "msecs": 434.0369701385498, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 12015.853881835938, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "foo (client):" ], "asctime": "2020-12-25 15:03:35,435", "created": 1608905015.435235, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "foo (client): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 435.23502349853516, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 12017.051935195923, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "ut_server_and_client_set_channel_name (server):" ], "asctime": "2020-12-25 15:03:35,435", "created": 1608905015.435484, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "ut_server_and_client_set_channel_name (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 435.4839324951172, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 12017.300844192505, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "ut_server_and_client_set_channel_name (server):", 0, 5, 0, "u'ut_server_and_client_set_channel_name'" ], "asctime": "2020-12-25 15:03:35,435", "created": 1608905015.435716, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "ut_server_and_client_set_channel_name (server): TX -> status: 0, service_id: 5, data_id: 0, data: \"u'ut_server_and_client_set_channel_name'\"", "module": "__init__", "msecs": 435.715913772583, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 12017.53282546997, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:35,436", "created": 1608905015.436305, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (97): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 35 2c 20 22 64 61 74 61 22 3a 20 22 75 74 5f 73 65 72 76 65 72 5f 61 6e 64 5f 63 6c 69 65 6e 74 5f 73 65 74 5f 63 68 61 6e 6e 65 6c 5f 6e 61 6d 65 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d c6 3d f9 62", "module": "test_helpers", "msecs": 436.30504608154297, "msg": "Send data: (97): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 35 2c 20 22 64 61 74 61 22 3a 20 22 75 74 5f 73 65 72 76 65 72 5f 61 6e 64 5f 63 6c 69 65 6e 74 5f 73 65 74 5f 63 68 61 6e 6e 65 6c 5f 6e 61 6d 65 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d c6 3d f9 62", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 12018.12195777893, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "foo (client):" ], "asctime": "2020-12-25 15:03:35,437", "created": 1608905015.437063, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "foo (client): Cleaning up receive-buffer", "module": "__init__", "msecs": 437.06297874450684, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 12018.879890441895, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:35,587", "created": 1608905015.587574, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (97): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 35 2c 20 22 64 61 74 61 22 3a 20 22 75 74 5f 73 65 72 76 65 72 5f 61 6e 64 5f 63 6c 69 65 6e 74 5f 73 65 74 5f 63 68 61 6e 6e 65 6c 5f 6e 61 6d 65 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d c6 3d f9 62", "module": "test_helpers", "msecs": 587.5740051269531, "msg": "Receive data (97): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 35 2c 20 22 64 61 74 61 22 3a 20 22 75 74 5f 73 65 72 76 65 72 5f 61 6e 64 5f 63 6c 69 65 6e 74 5f 73 65 74 5f 63 68 61 6e 6e 65 6c 5f 6e 61 6d 65 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d c6 3d f9 62", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 12169.39091682434, "thread": 140137890617088, "threadName": "Thread-36" }, { "args": [ "foo (client):", "0", "5", "0", "u'ut_server_and_client_set_channel_name'" ], "asctime": "2020-12-25 15:03:35,588", "created": 1608905015.588014, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 296, "message": "foo (client): RX <- status: 0, service_id: 5, data_id: 0, data: \"u'ut_server_and_client_set_channel_name'\"", "module": "__init__", "msecs": 588.0138874053955, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 12169.830799102783, "thread": 140137890617088, "threadName": "Thread-36" }, { "args": [ "foo (client):", "__channel_name_request__" ], "asctime": "2020-12-25 15:03:35,588", "created": 1608905015.588256, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 313, "message": "foo (client): Executing callback __channel_name_request__ to process received data", "module": "__init__", "msecs": 588.2558822631836, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 12170.072793960571, "thread": 140137890617088, "threadName": "Thread-36" }, { "args": [ "ut_server_and_client_set_channel_name (client):", "'foo'", "u'ut_server_and_client_set_channel_name'" ], "asctime": "2020-12-25 15:03:35,588", "created": 1608905015.588459, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__channel_name_request__", "levelname": "WARNING", "levelno": 30, "lineno": 235, "message": "ut_server_and_client_set_channel_name (client): overwriting user defined channel name from 'foo' to u'ut_server_and_client_set_channel_name'", "module": "__init__", "msecs": 588.4590148925781, "msg": "%s overwriting user defined channel name from %s to %s", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 12170.275926589966, "thread": 140137890617088, "threadName": "Thread-36" }, { "args": [ "ut_server_and_client_set_channel_name (client):", 0, 6, 0, "None" ], "asctime": "2020-12-25 15:03:35,588", "created": 1608905015.588699, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "ut_server_and_client_set_channel_name (client): TX -> status: 0, service_id: 6, data_id: 0, data: \"None\"", "module": "__init__", "msecs": 588.6991024017334, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 12170.516014099121, "thread": 140137890617088, "threadName": "Thread-36" }, { "args": [], "asctime": "2020-12-25 15:03:35,589", "created": 1608905015.589197, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (62): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 36 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 99 0f 87 65", "module": "test_helpers", "msecs": 589.1969203948975, "msg": "Send data: (62): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 36 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 99 0f 87 65", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 12171.013832092285, "thread": 140137890617088, "threadName": "Thread-36" }, { "args": [], "asctime": "2020-12-25 15:03:35,740", "created": 1608905015.740416, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (62): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 36 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 99 0f 87 65", "module": "test_helpers", "msecs": 740.4160499572754, "msg": "Receive data (62): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 36 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 99 0f 87 65", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 12322.232961654663, "thread": 140137899009792, "threadName": "Thread-37" }, { "args": [ "ut_server_and_client_set_channel_name (server):", "0", "6", "0", "None" ], "asctime": "2020-12-25 15:03:35,740", "created": 1608905015.740946, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 296, "message": "ut_server_and_client_set_channel_name (server): RX <- status: 0, service_id: 6, data_id: 0, data: \"None\"", "module": "__init__", "msecs": 740.9460544586182, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 12322.762966156006, "thread": 140137899009792, "threadName": "Thread-37" }, { "args": [ "ut_server_and_client_set_channel_name (server):", "ut_response_callback" ], "asctime": "2020-12-25 15:03:35,741", "created": 1608905015.741262, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 330, "message": "ut_server_and_client_set_channel_name (server): Executing callback ut_response_callback to process received data", "module": "__init__", "msecs": 741.2619590759277, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 12323.078870773315, "thread": 140137899009792, "threadName": "Thread-37" } ], "msecs": 743.0260181427002, "msg": "Initiating communication including channel_name exchange.", "name": "__tLogger__", "pathname": "src/tests/test_channel_name.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 12324.842929840088, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.001764059066772461 }, { "args": [ "u'ut_server_and_client_set_channel_name'", "" ], "asctime": "2020-12-25 15:03:35,743", "created": 1608905015.743953, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Channel name for server is correct (Content u'ut_server_and_client_set_channel_name' and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Channel name for server", "u'ut_server_and_client_set_channel_name'", "" ], "asctime": "2020-12-25 15:03:35,743", "created": 1608905015.743558, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Channel name for server): u'ut_server_and_client_set_channel_name' ()", "module": "test", "msecs": 743.5579299926758, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 12325.374841690063, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Channel name for server", "u'ut_server_and_client_set_channel_name'", "" ], "asctime": "2020-12-25 15:03:35,743", "created": 1608905015.743768, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Channel name for server): result = u'ut_server_and_client_set_channel_name' ()", "module": "test", "msecs": 743.7679767608643, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 12325.584888458252, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 743.9529895782471, "msg": "Channel name for server is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 12325.769901275635, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.0001850128173828125 }, { "args": [ "u'ut_server_and_client_set_channel_name'", "" ], "asctime": "2020-12-25 15:03:35,744", "created": 1608905015.744553, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Channel name for client is correct (Content u'ut_server_and_client_set_channel_name' and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Channel name for client", "u'ut_server_and_client_set_channel_name'", "" ], "asctime": "2020-12-25 15:03:35,744", "created": 1608905015.744221, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Channel name for client): u'ut_server_and_client_set_channel_name' ()", "module": "test", "msecs": 744.2209720611572, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 12326.037883758545, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Channel name for client", "u'ut_server_and_client_set_channel_name'", "" ], "asctime": "2020-12-25 15:03:35,744", "created": 1608905015.744388, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Channel name for client): result = u'ut_server_and_client_set_channel_name' ()", "module": "test", "msecs": 744.3881034851074, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 12326.205015182495, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 744.5530891418457, "msg": "Channel name for client is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 12326.370000839233, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.00016498565673828125 } ], "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.3119370937347412, "time_finished": "2020-12-25 15:03:35,744", "time_start": "2020-12-25 15:03:35,432" }, "socket_protocol: Server and Client setting the same channel name.": { "args": null, "asctime": "2020-12-25 15:03:35,745", "created": 1608905015.745022, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 52, "message": "socket_protocol: Server and Client setting the same channel name.", "module": "__init__", "moduleLogger": [], "msecs": 745.0220584869385, "msg": "socket_protocol: Server and Client setting the same channel name.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest/src/tests/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 12326.838970184326, "testcaseLogger": [ { "args": [], "asctime": "2020-12-25 15:03:36,055", "created": 1608905016.055325, "exc_info": null, "exc_text": null, "filename": "test_channel_name.py", "funcName": "test_channel_name", "levelname": "DEBUG", "levelno": 10, "lineno": 58, "message": "Initiating communication including channel_name exchange.", "module": "test_channel_name", "moduleLogger": [ { "args": [ "ut_server_and_client_set_channel_name (server):" ], "asctime": "2020-12-25 15:03:35,745", "created": 1608905015.745366, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "ut_server_and_client_set_channel_name (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 745.366096496582, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 12327.18300819397, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "ut_server_and_client_set_channel_name (server):" ], "asctime": "2020-12-25 15:03:35,745", "created": 1608905015.745986, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "ut_server_and_client_set_channel_name (server): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 745.9859848022461, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 12327.802896499634, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "'__channel_name_response__'", "6", "0", "'ut_response_callback'" ], "asctime": "2020-12-25 15:03:35,746", "created": 1608905015.746326, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "add", "levelname": "WARNING", "levelno": 30, "lineno": 82, "message": "Overwriting existing callback '__channel_name_response__' for service_id (6) and data_id (0) to 'ut_response_callback'!", "module": "__init__", "msecs": 746.3259696960449, "msg": "Overwriting existing callback %s for service_id (%s) and data_id (%s) to %s!", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 12328.142881393433, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "ut_server_and_client_set_channel_name (client):" ], "asctime": "2020-12-25 15:03:35,746", "created": 1608905015.746538, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "ut_server_and_client_set_channel_name (client): Cleaning up receive-buffer", "module": "__init__", "msecs": 746.5379238128662, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 12328.354835510254, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "ut_server_and_client_set_channel_name (client):" ], "asctime": "2020-12-25 15:03:35,746", "created": 1608905015.746995, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "ut_server_and_client_set_channel_name (client): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 746.9949722290039, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 12328.811883926392, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "ut_server_and_client_set_channel_name (server):" ], "asctime": "2020-12-25 15:03:35,747", "created": 1608905015.747284, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "ut_server_and_client_set_channel_name (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 747.283935546875, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 12329.100847244263, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "ut_server_and_client_set_channel_name (server):", 0, 5, 0, "u'ut_server_and_client_set_channel_name'" ], "asctime": "2020-12-25 15:03:35,747", "created": 1608905015.747538, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "ut_server_and_client_set_channel_name (server): TX -> status: 0, service_id: 5, data_id: 0, data: \"u'ut_server_and_client_set_channel_name'\"", "module": "__init__", "msecs": 747.5380897521973, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 12329.355001449585, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:35,748", "created": 1608905015.748201, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (97): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 35 2c 20 22 64 61 74 61 22 3a 20 22 75 74 5f 73 65 72 76 65 72 5f 61 6e 64 5f 63 6c 69 65 6e 74 5f 73 65 74 5f 63 68 61 6e 6e 65 6c 5f 6e 61 6d 65 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d c6 3d f9 62", "module": "test_helpers", "msecs": 748.2008934020996, "msg": "Send data: (97): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 35 2c 20 22 64 61 74 61 22 3a 20 22 75 74 5f 73 65 72 76 65 72 5f 61 6e 64 5f 63 6c 69 65 6e 74 5f 73 65 74 5f 63 68 61 6e 6e 65 6c 5f 6e 61 6d 65 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d c6 3d f9 62", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 12330.017805099487, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "ut_server_and_client_set_channel_name (client):" ], "asctime": "2020-12-25 15:03:35,749", "created": 1608905015.749011, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "ut_server_and_client_set_channel_name (client): Cleaning up receive-buffer", "module": "__init__", "msecs": 749.0110397338867, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 12330.827951431274, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:35,899", "created": 1608905015.89952, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (97): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 35 2c 20 22 64 61 74 61 22 3a 20 22 75 74 5f 73 65 72 76 65 72 5f 61 6e 64 5f 63 6c 69 65 6e 74 5f 73 65 74 5f 63 68 61 6e 6e 65 6c 5f 6e 61 6d 65 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d c6 3d f9 62", "module": "test_helpers", "msecs": 899.5199203491211, "msg": "Receive data (97): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 35 2c 20 22 64 61 74 61 22 3a 20 22 75 74 5f 73 65 72 76 65 72 5f 61 6e 64 5f 63 6c 69 65 6e 74 5f 73 65 74 5f 63 68 61 6e 6e 65 6c 5f 6e 61 6d 65 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d c6 3d f9 62", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 12481.336832046509, "thread": 140137899009792, "threadName": "Thread-38" }, { "args": [ "ut_server_and_client_set_channel_name (client):", "0", "5", "0", "u'ut_server_and_client_set_channel_name'" ], "asctime": "2020-12-25 15:03:35,899", "created": 1608905015.89997, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 296, "message": "ut_server_and_client_set_channel_name (client): RX <- status: 0, service_id: 5, data_id: 0, data: \"u'ut_server_and_client_set_channel_name'\"", "module": "__init__", "msecs": 899.9700546264648, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 12481.786966323853, "thread": 140137899009792, "threadName": "Thread-38" }, { "args": [ "ut_server_and_client_set_channel_name (client):", "__channel_name_request__" ], "asctime": "2020-12-25 15:03:35,900", "created": 1608905015.900369, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 313, "message": "ut_server_and_client_set_channel_name (client): Executing callback __channel_name_request__ to process received data", "module": "__init__", "msecs": 900.3689289093018, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 12482.18584060669, "thread": 140137899009792, "threadName": "Thread-38" }, { "args": [ "ut_server_and_client_set_channel_name (client):", 0, 6, 0, "None" ], "asctime": "2020-12-25 15:03:35,900", "created": 1608905015.900639, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "ut_server_and_client_set_channel_name (client): TX -> status: 0, service_id: 6, data_id: 0, data: \"None\"", "module": "__init__", "msecs": 900.6390571594238, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 12482.455968856812, "thread": 140137899009792, "threadName": "Thread-38" }, { "args": [], "asctime": "2020-12-25 15:03:35,901", "created": 1608905015.901128, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (62): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 36 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 99 0f 87 65", "module": "test_helpers", "msecs": 901.1280536651611, "msg": "Send data: (62): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 36 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 99 0f 87 65", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 12482.944965362549, "thread": 140137899009792, "threadName": "Thread-38" }, { "args": [], "asctime": "2020-12-25 15:03:36,052", "created": 1608905016.052372, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (62): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 36 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 99 0f 87 65", "module": "test_helpers", "msecs": 52.371978759765625, "msg": "Receive data (62): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 36 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 99 0f 87 65", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 12634.188890457153, "thread": 140137890617088, "threadName": "Thread-39" }, { "args": [ "ut_server_and_client_set_channel_name (server):", "0", "6", "0", "None" ], "asctime": "2020-12-25 15:03:36,052", "created": 1608905016.052837, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 296, "message": "ut_server_and_client_set_channel_name (server): RX <- status: 0, service_id: 6, data_id: 0, data: \"None\"", "module": "__init__", "msecs": 52.83689498901367, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 12634.653806686401, "thread": 140137890617088, "threadName": "Thread-39" }, { "args": [ "ut_server_and_client_set_channel_name (server):", "ut_response_callback" ], "asctime": "2020-12-25 15:03:36,053", "created": 1608905016.053108, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 330, "message": "ut_server_and_client_set_channel_name (server): Executing callback ut_response_callback to process received data", "module": "__init__", "msecs": 53.10797691345215, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 12634.92488861084, "thread": 140137890617088, "threadName": "Thread-39" } ], "msecs": 55.32503128051758, "msg": "Initiating communication including channel_name exchange.", "name": "__tLogger__", "pathname": "src/tests/test_channel_name.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 12637.141942977905, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.0022170543670654297 }, { "args": [ "u'ut_server_and_client_set_channel_name'", "" ], "asctime": "2020-12-25 15:03:36,056", "created": 1608905016.056228, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Channel name for server is correct (Content u'ut_server_and_client_set_channel_name' and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Channel name for server", "u'ut_server_and_client_set_channel_name'", "" ], "asctime": "2020-12-25 15:03:36,055", "created": 1608905016.055835, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Channel name for server): u'ut_server_and_client_set_channel_name' ()", "module": "test", "msecs": 55.83500862121582, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 12637.651920318604, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Channel name for server", "u'ut_server_and_client_set_channel_name'", "" ], "asctime": "2020-12-25 15:03:36,056", "created": 1608905016.056043, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Channel name for server): result = u'ut_server_and_client_set_channel_name' ()", "module": "test", "msecs": 56.04290962219238, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 12637.85982131958, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 56.227922439575195, "msg": "Channel name for server is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 12638.044834136963, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.0001850128173828125 }, { "args": [ "u'ut_server_and_client_set_channel_name'", "" ], "asctime": "2020-12-25 15:03:36,056", "created": 1608905016.056856, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Channel name for client is correct (Content u'ut_server_and_client_set_channel_name' and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Channel name for client", "u'ut_server_and_client_set_channel_name'", "" ], "asctime": "2020-12-25 15:03:36,056", "created": 1608905016.056507, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Channel name for client): u'ut_server_and_client_set_channel_name' ()", "module": "test", "msecs": 56.507110595703125, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 12638.32402229309, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Channel name for client", "u'ut_server_and_client_set_channel_name'", "" ], "asctime": "2020-12-25 15:03:36,056", "created": 1608905016.056678, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Channel name for client): result = u'ut_server_and_client_set_channel_name' ()", "module": "test", "msecs": 56.678056716918945, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 12638.494968414307, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 56.85591697692871, "msg": "Channel name for client is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 12638.672828674316, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.00017786026000976562 } ], "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.31183385848999023, "time_finished": "2020-12-25 15:03:36,056", "time_start": "2020-12-25 15:03:35,745" }, "socket_protocol: Server setting the channel name.": { "args": null, "asctime": "2020-12-25 15:03:34,809", "created": 1608905014.809431, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 49, "message": "socket_protocol: Server setting the channel name.", "module": "__init__", "moduleLogger": [], "msecs": 809.4310760498047, "msg": "socket_protocol: Server setting the channel name.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest/src/tests/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 11391.247987747192, "testcaseLogger": [ { "args": [], "asctime": "2020-12-25 15:03:35,119", "created": 1608905015.119019, "exc_info": null, "exc_text": null, "filename": "test_channel_name.py", "funcName": "test_channel_name", "levelname": "DEBUG", "levelno": 10, "lineno": 58, "message": "Initiating communication including channel_name exchange.", "module": "test_channel_name", "moduleLogger": [ { "args": [ "ut_server_set_channel_name (server):" ], "asctime": "2020-12-25 15:03:34,809", "created": 1608905014.809781, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "ut_server_set_channel_name (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 809.7810745239258, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 11391.597986221313, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "ut_server_set_channel_name (server):" ], "asctime": "2020-12-25 15:03:34,810", "created": 1608905014.810363, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "ut_server_set_channel_name (server): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 810.3630542755127, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 11392.1799659729, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "'__channel_name_response__'", "6", "0", "'ut_response_callback'" ], "asctime": "2020-12-25 15:03:34,810", "created": 1608905014.810614, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "add", "levelname": "WARNING", "levelno": 30, "lineno": 82, "message": "Overwriting existing callback '__channel_name_response__' for service_id (6) and data_id (0) to 'ut_response_callback'!", "module": "__init__", "msecs": 810.6141090393066, "msg": "Overwriting existing callback %s for service_id (%s) and data_id (%s) to %s!", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 11392.431020736694, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (client):" ], "asctime": "2020-12-25 15:03:34,810", "created": 1608905014.810798, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "socket_protocol (client): Cleaning up receive-buffer", "module": "__init__", "msecs": 810.797929763794, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 11392.614841461182, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (client):" ], "asctime": "2020-12-25 15:03:34,811", "created": 1608905014.811172, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "socket_protocol (client): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 811.1720085144043, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 11392.988920211792, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "ut_server_set_channel_name (server):" ], "asctime": "2020-12-25 15:03:34,811", "created": 1608905014.811374, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "ut_server_set_channel_name (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 811.3739490509033, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 11393.190860748291, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "ut_server_set_channel_name (server):", 0, 5, 0, "u'ut_server_set_channel_name'" ], "asctime": "2020-12-25 15:03:34,811", "created": 1608905014.811557, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "ut_server_set_channel_name (server): TX -> status: 0, service_id: 5, data_id: 0, data: \"u'ut_server_set_channel_name'\"", "module": "__init__", "msecs": 811.5570545196533, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 11393.373966217041, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:34,812", "created": 1608905014.812043, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (86): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 35 2c 20 22 64 61 74 61 22 3a 20 22 75 74 5f 73 65 72 76 65 72 5f 73 65 74 5f 63 68 61 6e 6e 65 6c 5f 6e 61 6d 65 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 81 c2 44 8c", "module": "test_helpers", "msecs": 812.0429515838623, "msg": "Send data: (86): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 35 2c 20 22 64 61 74 61 22 3a 20 22 75 74 5f 73 65 72 76 65 72 5f 73 65 74 5f 63 68 61 6e 6e 65 6c 5f 6e 61 6d 65 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 81 c2 44 8c", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 11393.85986328125, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "socket_protocol (client):" ], "asctime": "2020-12-25 15:03:34,812", "created": 1608905014.812806, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "socket_protocol (client): Cleaning up receive-buffer", "module": "__init__", "msecs": 812.8058910369873, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 11394.622802734375, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:34,963", "created": 1608905014.963219, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (86): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 35 2c 20 22 64 61 74 61 22 3a 20 22 75 74 5f 73 65 72 76 65 72 5f 73 65 74 5f 63 68 61 6e 6e 65 6c 5f 6e 61 6d 65 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 81 c2 44 8c", "module": "test_helpers", "msecs": 963.2189273834229, "msg": "Receive data (86): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 35 2c 20 22 64 61 74 61 22 3a 20 22 75 74 5f 73 65 72 76 65 72 5f 73 65 74 5f 63 68 61 6e 6e 65 6c 5f 6e 61 6d 65 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 81 c2 44 8c", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 11545.03583908081, "thread": 140137890617088, "threadName": "Thread-32" }, { "args": [ "socket_protocol (client):", "0", "5", "0", "u'ut_server_set_channel_name'" ], "asctime": "2020-12-25 15:03:34,963", "created": 1608905014.963643, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 296, "message": "socket_protocol (client): RX <- status: 0, service_id: 5, data_id: 0, data: \"u'ut_server_set_channel_name'\"", "module": "__init__", "msecs": 963.6430740356445, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 11545.459985733032, "thread": 140137890617088, "threadName": "Thread-32" }, { "args": [ "socket_protocol (client):", "__channel_name_request__" ], "asctime": "2020-12-25 15:03:34,963", "created": 1608905014.963863, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 313, "message": "socket_protocol (client): Executing callback __channel_name_request__ to process received data", "module": "__init__", "msecs": 963.8628959655762, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 11545.679807662964, "thread": 140137890617088, "threadName": "Thread-32" }, { "args": [ "ut_server_set_channel_name (client):", "u'ut_server_set_channel_name'" ], "asctime": "2020-12-25 15:03:34,964", "created": 1608905014.964043, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__channel_name_request__", "levelname": "INFO", "levelno": 20, "lineno": 237, "message": "ut_server_set_channel_name (client): channel name is now u'ut_server_set_channel_name'", "module": "__init__", "msecs": 964.0429019927979, "msg": "%s channel name is now %s", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 11545.859813690186, "thread": 140137890617088, "threadName": "Thread-32" }, { "args": [ "ut_server_set_channel_name (client):", 0, 6, 0, "None" ], "asctime": "2020-12-25 15:03:34,964", "created": 1608905014.964228, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "ut_server_set_channel_name (client): TX -> status: 0, service_id: 6, data_id: 0, data: \"None\"", "module": "__init__", "msecs": 964.2279148101807, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 11546.044826507568, "thread": 140137890617088, "threadName": "Thread-32" }, { "args": [], "asctime": "2020-12-25 15:03:34,964", "created": 1608905014.964689, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (62): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 36 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 99 0f 87 65", "module": "test_helpers", "msecs": 964.6890163421631, "msg": "Send data: (62): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 36 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 99 0f 87 65", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 11546.50592803955, "thread": 140137890617088, "threadName": "Thread-32" }, { "args": [], "asctime": "2020-12-25 15:03:35,115", "created": 1608905015.115841, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (62): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 36 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 99 0f 87 65", "module": "test_helpers", "msecs": 115.84091186523438, "msg": "Receive data (62): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 36 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 99 0f 87 65", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 11697.657823562622, "thread": 140137899009792, "threadName": "Thread-33" }, { "args": [ "ut_server_set_channel_name (server):", "0", "6", "0", "None" ], "asctime": "2020-12-25 15:03:35,116", "created": 1608905015.11631, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 296, "message": "ut_server_set_channel_name (server): RX <- status: 0, service_id: 6, data_id: 0, data: \"None\"", "module": "__init__", "msecs": 116.30988121032715, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 11698.126792907715, "thread": 140137899009792, "threadName": "Thread-33" }, { "args": [ "ut_server_set_channel_name (server):", "ut_response_callback" ], "asctime": "2020-12-25 15:03:35,116", "created": 1608905015.116585, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 330, "message": "ut_server_set_channel_name (server): Executing callback ut_response_callback to process received data", "module": "__init__", "msecs": 116.58501625061035, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 11698.401927947998, "thread": 140137899009792, "threadName": "Thread-33" } ], "msecs": 119.0190315246582, "msg": "Initiating communication including channel_name exchange.", "name": "__tLogger__", "pathname": "src/tests/test_channel_name.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 11700.835943222046, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.0024340152740478516 }, { "args": [ "u'ut_server_set_channel_name'", "" ], "asctime": "2020-12-25 15:03:35,119", "created": 1608905015.119945, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Channel name for server is correct (Content u'ut_server_set_channel_name' and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Channel name for server", "u'ut_server_set_channel_name'", "" ], "asctime": "2020-12-25 15:03:35,119", "created": 1608905015.119553, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Channel name for server): u'ut_server_set_channel_name' ()", "module": "test", "msecs": 119.5530891418457, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 11701.370000839233, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Channel name for server", "u'ut_server_set_channel_name'", "" ], "asctime": "2020-12-25 15:03:35,119", "created": 1608905015.119762, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Channel name for server): result = u'ut_server_set_channel_name' ()", "module": "test", "msecs": 119.76194381713867, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 11701.578855514526, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 119.94504928588867, "msg": "Channel name for server is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 11701.761960983276, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.00018310546875 }, { "args": [ "u'ut_server_set_channel_name'", "" ], "asctime": "2020-12-25 15:03:35,120", "created": 1608905015.120567, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Channel name for client is correct (Content u'ut_server_set_channel_name' and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Channel name for client", "u'ut_server_set_channel_name'", "" ], "asctime": "2020-12-25 15:03:35,120", "created": 1608905015.120232, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Channel name for client): u'ut_server_set_channel_name' ()", "module": "test", "msecs": 120.23210525512695, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 11702.049016952515, "thread": 140137920038720, "threadName": "MainThread" }, { "args": [ "Channel name for client", "u'ut_server_set_channel_name'", "" ], "asctime": "2020-12-25 15:03:35,120", "created": 1608905015.120402, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Channel name for client): result = u'ut_server_set_channel_name' ()", "module": "test", "msecs": 120.40209770202637, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 11702.219009399414, "thread": 140137920038720, "threadName": "MainThread" } ], "msecs": 120.56708335876465, "msg": "Channel name for client is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219824, "processName": "MainProcess", "relativeCreated": 11702.383995056152, "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.00016498565673828125 } ], "thread": 140137920038720, "threadName": "MainThread", "time_consumption": 0.31113600730895996, "time_finished": "2020-12-25 15:03:35,120", "time_start": "2020-12-25 15:03:34,809" } }, "testrun_id": "p2", "time_consumption": 12.59890604019165, "uid_list_sorted": [ "socket_protocol.struct_json_protocol: Send and receive check.", "socket_protocol.pure_json_protocol: Send and receive check.", "socket_protocol.pure_json_protocol: Send and receive check including authentification.", "socket_protocol.pure_json_protocol: Wildcard Callback registration for service_id and data_id.", "socket_protocol.pure_json_protocol: Wildcard Callback registration for service_id.", "socket_protocol.pure_json_protocol: Wildcard Callback registration for data_id.", "socket_protocol.pure_json_protocol: Register a second Callback with the same service_id.", "socket_protocol.struct_json_protocol: Send and receive check (Twice for coverage of buffer initialisation).", "socket_protocol.pure_json_protocol: Checksum corumpation while sending.", "socket_protocol.pure_json_protocol: Timeout measurement for authentification and send method.", "socket_protocol.pure_json_protocol: No Callback at response instance for the request.", "socket_protocol.pure_json_protocol: Authentification required, but not processed/ correctly processed.", "socket_protocol.pure_json_protocol: Authentification processed without secret.", "socket_protocol.pure_json_protocol: Incompatible Callback return value(s).", "socket_protocol: Server setting the channel name.", "socket_protocol: Client setting the channel name.", "socket_protocol: Server and Client setting different channel names.", "socket_protocol: Server and Client setting the same channel name." ] }, { "heading_dict": {}, "interpreter": "python 3.8.5 (final)", "name": "Default Testsession name", "number_of_failed_tests": 0, "number_of_possibly_failed_tests": 0, "number_of_successfull_tests": 18, "number_of_tests": 18, "testcase_execution_level": 90, "testcase_names": { "0": "Single Test", "10": "Smoke Test (Minumum subset)", "50": "Short Test (Subset)", "90": "Full Test (all defined tests)" }, "testcases": { "socket_protocol.pure_json_protocol: Authentification processed without secret.": { "args": null, "asctime": "2020-12-25 15:03:47,476", "created": 1608905027.4760745, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 44, "message": "socket_protocol.pure_json_protocol: Authentification processed without secret.", "module": "__init__", "moduleLogger": [], "msecs": 476.0744571685791, "msg": "socket_protocol.pure_json_protocol: Authentification processed without secret.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest/src/tests/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 10995.416641235352, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2020-12-25 15:03:47,477", "created": 1608905027.4774368, "exc_info": null, "exc_text": null, "filename": "test_handling_errors.py", "funcName": "authentification_no_secret", "levelname": "DEBUG", "levelno": 10, "lineno": 90, "message": "Authentification with no secret definition (pure_json_protocol).", "module": "test_handling_errors", "moduleLogger": [ { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:47,476", "created": 1608905027.476374, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "socket_protocol (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 476.37391090393066, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 10995.716094970703, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:47,476", "created": 1608905027.4767544, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "socket_protocol (server): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 476.75442695617676, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 10996.09661102295, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:47,476", "created": 1608905027.4769511, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "socket_protocol (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 476.95112228393555, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 10996.293306350708, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:47,477", "created": 1608905027.477274, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "socket_protocol (server): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 477.27394104003906, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 10996.616125106812, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 477.43678092956543, "msg": "Authentification with no secret definition (pure_json_protocol).", "name": "__tLogger__", "pathname": "src/tests/test_handling_errors.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 10996.778964996338, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.0001628398895263672 }, { "args": [ "False", "" ], "asctime": "2020-12-25 15:03:47,477", "created": 1608905027.477983, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return value of authentification is correct (Content False and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Return value of authentification", "False", "" ], "asctime": "2020-12-25 15:03:47,477", "created": 1608905027.4776971, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return value of authentification): False ()", "module": "test", "msecs": 477.69713401794434, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 10997.039318084717, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Return value of authentification", "False", "" ], "asctime": "2020-12-25 15:03:47,477", "created": 1608905027.4778414, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return value of authentification): result = False ()", "module": "test", "msecs": 477.8413772583008, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 10997.183561325073, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 477.9829978942871, "msg": "Return value of authentification is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 10997.32518196106, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.00014162063598632812 } ], "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.0019085407257080078, "time_finished": "2020-12-25 15:03:47,477", "time_start": "2020-12-25 15:03:47,476" }, "socket_protocol.pure_json_protocol: Authentification required, but not processed/ correctly processed.": { "args": null, "asctime": "2020-12-25 15:03:46,063", "created": 1608905026.0630853, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 43, "message": "socket_protocol.pure_json_protocol: Authentification required, but not processed/ correctly processed.", "module": "__init__", "moduleLogger": [], "msecs": 63.085317611694336, "msg": "socket_protocol.pure_json_protocol: Authentification required, but not processed/ correctly processed.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest/src/tests/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 9582.427501678467, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2020-12-25 15:03:47,270", "created": 1608905027.2707965, "exc_info": null, "exc_text": null, "filename": "test_handling_errors.py", "funcName": "authentification_error", "levelname": "DEBUG", "levelno": 10, "lineno": 67, "message": "Authentification with different secrets for request and response instance (pure_json_protocol).", "module": "test_handling_errors", "moduleLogger": [ { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:46,063", "created": 1608905026.0634058, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "socket_protocol (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 63.405752182006836, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 9582.74793624878, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:46,063", "created": 1608905026.0637796, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "socket_protocol (server): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 63.779592514038086, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 9583.12177658081, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:46,064", "created": 1608905026.0645163, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "socket_protocol (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 64.51630592346191, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 9583.858489990234, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:46,064", "created": 1608905026.0648627, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "socket_protocol (server): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 64.86272811889648, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 9584.204912185669, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:46,065", "created": 1608905026.0650804, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "authentificate", "levelname": "INFO", "levelno": 20, "lineno": 427, "message": "socket_protocol (server): Requesting seed for authentification", "module": "__init__", "msecs": 65.08040428161621, "msg": "%s Requesting seed for authentification", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 9584.422588348389, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):", 0, 1, 0, "None" ], "asctime": "2020-12-25 15:03:46,065", "created": 1608905026.0652378, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 0, service_id: 1, data_id: 0, data: \"None\"", "module": "__init__", "msecs": 65.23776054382324, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 9584.579944610596, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:46,065", "created": 1608905026.0656123, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (62): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 7d 9e 85 7b 8d", "module": "test_helpers", "msecs": 65.6123161315918, "msg": "Send data: (62): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 7d 9e 85 7b 8d", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 9584.954500198364, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:46,216", "created": 1608905026.2165337, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (62): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 7d 9e 85 7b 8d", "module": "test_helpers", "msecs": 216.53366088867188, "msg": "Receive data (62): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 7d 9e 85 7b 8d", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 9735.875844955444, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-26" }, { "args": [ "socket_protocol (server):", "0", "1", "0", "None" ], "asctime": "2020-12-25 15:03:46,216", "created": 1608905026.2169552, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 290, "message": "socket_protocol (server): RX <- status: 0, service_id: 1, data_id: 0, data: \"None\"", "module": "__init__", "msecs": 216.95518493652344, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 9736.297369003296, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-26" }, { "args": [ "socket_protocol (server):", "__authentificate_create_seed__" ], "asctime": "2020-12-25 15:03:46,217", "created": 1608905026.2171986, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 313, "message": "socket_protocol (server): Executing callback __authentificate_create_seed__ to process received data", "module": "__init__", "msecs": 217.19861030578613, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 9736.540794372559, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-26" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:46,217", "created": 1608905026.2174532, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentificate_create_seed__", "levelname": "INFO", "levelno": 20, "lineno": 453, "message": "socket_protocol (server): Got seed request, sending seed for authentification", "module": "__init__", "msecs": 217.4532413482666, "msg": "%s Got seed request, sending seed for authentification", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 9736.795425415039, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-26" }, { "args": [ "socket_protocol (server):", 0, 2, 0, "'c40ab7346f50e5b60ae8910a9ec440251cf4dcc13c6ed66d766926bb96d02b92'" ], "asctime": "2020-12-25 15:03:46,217", "created": 1608905026.2177138, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 0, service_id: 2, data_id: 0, data: \"'c40ab7346f50e5b60ae8910a9ec440251cf4dcc13c6ed66d766926bb96d02b92'\"", "module": "__init__", "msecs": 217.7138328552246, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 9737.056016921997, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-26" }, { "args": [], "asctime": "2020-12-25 15:03:46,218", "created": 1608905026.2181745, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (124): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 32 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 22 63 34 30 61 62 37 33 34 36 66 35 30 65 35 62 36 30 61 65 38 39 31 30 61 39 65 63 34 34 30 32 35 31 63 66 34 64 63 63 31 33 63 36 65 64 36 36 64 37 36 36 39 32 36 62 62 39 36 64 30 32 62 39 32 22 7d 96 af 40 61", "module": "test_helpers", "msecs": 218.17445755004883, "msg": "Send data: (124): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 32 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 22 63 34 30 61 62 37 33 34 36 66 35 30 65 35 62 36 30 61 65 38 39 31 30 61 39 65 63 34 34 30 32 35 31 63 66 34 64 63 63 31 33 63 36 65 64 36 36 64 37 36 36 39 32 36 62 62 39 36 64 30 32 62 39 32 22 7d 96 af 40 61", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 9737.516641616821, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-26" }, { "args": [], "asctime": "2020-12-25 15:03:46,369", "created": 1608905026.3692222, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (124): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 32 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 22 63 34 30 61 62 37 33 34 36 66 35 30 65 35 62 36 30 61 65 38 39 31 30 61 39 65 63 34 34 30 32 35 31 63 66 34 64 63 63 31 33 63 36 65 64 36 36 64 37 36 36 39 32 36 62 62 39 36 64 30 32 62 39 32 22 7d 96 af 40 61", "module": "test_helpers", "msecs": 369.22216415405273, "msg": "Receive data (124): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 32 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 22 63 34 30 61 62 37 33 34 36 66 35 30 65 35 62 36 30 61 65 38 39 31 30 61 39 65 63 34 34 30 32 35 31 63 66 34 64 63 63 31 33 63 36 65 64 36 36 64 37 36 36 39 32 36 62 62 39 36 64 30 32 62 39 32 22 7d 96 af 40 61", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 9888.564348220825, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-27" }, { "args": [ "socket_protocol (server):", "0", "2", "0", "'c40ab7346f50e5b60ae8910a9ec440251cf4dcc13c6ed66d766926bb96d02b92'" ], "asctime": "2020-12-25 15:03:46,369", "created": 1608905026.3696594, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 290, "message": "socket_protocol (server): RX <- status: 0, service_id: 2, data_id: 0, data: \"'c40ab7346f50e5b60ae8910a9ec440251cf4dcc13c6ed66d766926bb96d02b92'\"", "module": "__init__", "msecs": 369.659423828125, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 9889.001607894897, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-27" }, { "args": [ "socket_protocol (server):", "__authentificate_create_key__" ], "asctime": "2020-12-25 15:03:46,369", "created": 1608905026.3699112, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 313, "message": "socket_protocol (server): Executing callback __authentificate_create_key__ to process received data", "module": "__init__", "msecs": 369.91119384765625, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 9889.253377914429, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-27" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:46,370", "created": 1608905026.370072, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentificate_create_key__", "levelname": "INFO", "levelno": 20, "lineno": 462, "message": "socket_protocol (server): Got seed, sending key for authentification", "module": "__init__", "msecs": 370.0718879699707, "msg": "%s Got seed, sending key for authentification", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 9889.414072036743, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-27" }, { "args": [ "socket_protocol (server):", 0, 3, 0, "'11d996b5b67233e7fca7b67415b64c59ddb91b794647d88b8fb6164e796bbfcaacadcb03e26fb1343585413357f3381d2e84a663942998b980bee671baa18b2f'" ], "asctime": "2020-12-25 15:03:46,370", "created": 1608905026.3702958, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 0, service_id: 3, data_id: 0, data: \"'11d996b5b67233e7fca7b67415b64c59ddb91b794647d88b8fb6164e796bbfcaacadcb03e26fb1343585413357f3381d2e84a663942998b980bee671baa18b2f'\"", "module": "__init__", "msecs": 370.29576301574707, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 9889.63794708252, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-27" }, { "args": [], "asctime": "2020-12-25 15:03:46,370", "created": 1608905026.370853, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (188): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 33 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 22 31 31 64 39 39 36 62 35 62 36 37 32 33 33 65 37 66 63 61 37 62 36 37 34 31 35 62 36 34 63 35 39 64 64 62 39 31 62 37 39 34 36 34 37 64 38 38 62 38 66 62 36 31 36 34 65 37 39 36 62 62 66 63 61 61 63 61 64 63 62 30 33 65 32 36 66 62 31 33 34 33 35 38 35 34 31 33 33 35 37 66 33 33 38 31 64 32 65 38 34 61 36 36 33 39 34 32 39 39 38 62 39 38 30 62 65 65 36 37 31 62 61 61 31 38 62 32 66 22 7d 96 c4 04 92", "module": "test_helpers", "msecs": 370.8529472351074, "msg": "Send data: (188): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 33 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 22 31 31 64 39 39 36 62 35 62 36 37 32 33 33 65 37 66 63 61 37 62 36 37 34 31 35 62 36 34 63 35 39 64 64 62 39 31 62 37 39 34 36 34 37 64 38 38 62 38 66 62 36 31 36 34 65 37 39 36 62 62 66 63 61 61 63 61 64 63 62 30 33 65 32 36 66 62 31 33 34 33 35 38 35 34 31 33 33 35 37 66 33 33 38 31 64 32 65 38 34 61 36 36 33 39 34 32 39 39 38 62 39 38 30 62 65 65 36 37 31 62 61 61 31 38 62 32 66 22 7d 96 c4 04 92", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 9890.19513130188, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-27" }, { "args": [], "asctime": "2020-12-25 15:03:46,522", "created": 1608905026.522071, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (188): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 33 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 22 31 31 64 39 39 36 62 35 62 36 37 32 33 33 65 37 66 63 61 37 62 36 37 34 31 35 62 36 34 63 35 39 64 64 62 39 31 62 37 39 34 36 34 37 64 38 38 62 38 66 62 36 31 36 34 65 37 39 36 62 62 66 63 61 61 63 61 64 63 62 30 33 65 32 36 66 62 31 33 34 33 35 38 35 34 31 33 33 35 37 66 33 33 38 31 64 32 65 38 34 61 36 36 33 39 34 32 39 39 38 62 39 38 30 62 65 65 36 37 31 62 61 61 31 38 62 32 66 22 7d 96 c4 04 92", "module": "test_helpers", "msecs": 522.0708847045898, "msg": "Receive data (188): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 33 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 22 31 31 64 39 39 36 62 35 62 36 37 32 33 33 65 37 66 63 61 37 62 36 37 34 31 35 62 36 34 63 35 39 64 64 62 39 31 62 37 39 34 36 34 37 64 38 38 62 38 66 62 36 31 36 34 65 37 39 36 62 62 66 63 61 61 63 61 64 63 62 30 33 65 32 36 66 62 31 33 34 33 35 38 35 34 31 33 33 35 37 66 33 33 38 31 64 32 65 38 34 61 36 36 33 39 34 32 39 39 38 62 39 38 30 62 65 65 36 37 31 62 61 61 31 38 62 32 66 22 7d 96 c4 04 92", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 10041.413068771362, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-28" }, { "args": [ "socket_protocol (server):", "0", "3", "0", "'11d996b5b67233e7fca7b67415b64c59ddb91b794647d88b8fb6164e796bbfcaacadcb03e26fb1343585413357f3381d2e84a663942998b980bee671baa18b2f'" ], "asctime": "2020-12-25 15:03:46,522", "created": 1608905026.5225124, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 290, "message": "socket_protocol (server): RX <- status: 0, service_id: 3, data_id: 0, data: \"'11d996b5b67233e7fca7b67415b64c59ddb91b794647d88b8fb6164e796bbfcaacadcb03e26fb1343585413357f3381d2e84a663942998b980bee671baa18b2f'\"", "module": "__init__", "msecs": 522.5124359130859, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 10041.854619979858, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-28" }, { "args": [ "socket_protocol (server):", "__authentificate_check_key__" ], "asctime": "2020-12-25 15:03:46,522", "created": 1608905026.522731, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 313, "message": "socket_protocol (server): Executing callback __authentificate_check_key__ to process received data", "module": "__init__", "msecs": 522.7310657501221, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 10042.073249816895, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-28" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:46,522", "created": 1608905026.5229306, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentificate_check_key__", "levelname": "INFO", "levelno": 20, "lineno": 476, "message": "socket_protocol (server): Got incorrect key, sending negative authentification feedback", "module": "__init__", "msecs": 522.9306221008301, "msg": "%s Got incorrect key, sending negative authentification feedback", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 10042.272806167603, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-28" }, { "args": [ "socket_protocol (server):", 0, 4, 0, "False" ], "asctime": "2020-12-25 15:03:46,523", "created": 1608905026.5231128, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 0, service_id: 4, data_id: 0, data: \"False\"", "module": "__init__", "msecs": 523.1127738952637, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 10042.454957962036, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-28" }, { "args": [], "asctime": "2020-12-25 15:03:46,523", "created": 1608905026.5234663, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (63): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 34 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 66 61 6c 73 65 7d 4e 90 38 f9", "module": "test_helpers", "msecs": 523.4663486480713, "msg": "Send data: (63): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 34 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 66 61 6c 73 65 7d 4e 90 38 f9", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 10042.808532714844, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-28" }, { "args": [], "asctime": "2020-12-25 15:03:46,674", "created": 1608905026.6744676, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (63): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 34 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 66 61 6c 73 65 7d 4e 90 38 f9", "module": "test_helpers", "msecs": 674.4675636291504, "msg": "Receive data (63): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 34 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 66 61 6c 73 65 7d 4e 90 38 f9", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 10193.809747695923, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-29" }, { "args": [ "socket_protocol (server):", "0", "4", "0", "False" ], "asctime": "2020-12-25 15:03:46,674", "created": 1608905026.674899, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 290, "message": "socket_protocol (server): RX <- status: 0, service_id: 4, data_id: 0, data: \"False\"", "module": "__init__", "msecs": 674.8991012573242, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 10194.241285324097, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-29" }, { "args": [ "socket_protocol (server):", "__authentificate_process_feedback__" ], "asctime": "2020-12-25 15:03:46,675", "created": 1608905026.6751125, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 330, "message": "socket_protocol (server): Executing callback __authentificate_process_feedback__ to process received data", "module": "__init__", "msecs": 675.1124858856201, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 10194.454669952393, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-29" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:46,675", "created": 1608905026.6752768, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentificate_process_feedback__", "levelname": "WARNING", "levelno": 30, "lineno": 486, "message": "socket_protocol (server): Got negative authentification feedback", "module": "__init__", "msecs": 675.2767562866211, "msg": "%s Got negative authentification feedback", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 10194.618940353394, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-29" }, { "args": [ "socket_protocol (server):", 0, 10, 45054, "{'test': 'test'}" ], "asctime": "2020-12-25 15:03:46,768", "created": 1608905026.7682824, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 0, service_id: 10, data_id: 45054, data: \"{'test': 'test'}\"", "module": "__init__", "msecs": 768.282413482666, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 10287.624597549438, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:46,768", "created": 1608905026.768846, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (79): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 7d 82 1c 8b 89", "module": "test_helpers", "msecs": 768.8460350036621, "msg": "Send data: (79): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 7d 82 1c 8b 89", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 10288.188219070435, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:46,919", "created": 1608905026.9197857, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (79): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 7d 82 1c 8b 89", "module": "test_helpers", "msecs": 919.785737991333, "msg": "Receive data (79): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 7d 82 1c 8b 89", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 10439.127922058105, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-30" }, { "args": [ "socket_protocol (server):", "0", "10", "45054", "{'test': 'test'}" ], "asctime": "2020-12-25 15:03:46,920", "created": 1608905026.9201288, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 290, "message": "socket_protocol (server): RX <- status: 0, service_id: 10, data_id: 45054, data: \"{'test': 'test'}\"", "module": "__init__", "msecs": 920.1288223266602, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 10439.471006393433, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-30" }, { "args": [ "socket_protocol (server):", "Unknown Client" ], "asctime": "2020-12-25 15:03:46,920", "created": 1608905026.9202793, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 306, "message": "socket_protocol (server): Received message needs authentification: Unknown Client. Sending negative response.", "module": "__init__", "msecs": 920.2792644500732, "msg": "%s Received message needs authentification: %s. Sending negative response.", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 10439.621448516846, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-30" }, { "args": [ "socket_protocol (server):", 2, 11, 45054, "None" ], "asctime": "2020-12-25 15:03:46,920", "created": 1608905026.920394, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 2, service_id: 11, data_id: 45054, data: \"None\"", "module": "__init__", "msecs": 920.3939437866211, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 10439.736127853394, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-30" }, { "args": [], "asctime": "2020-12-25 15:03:46,920", "created": 1608905026.9206448, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (67): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 73 74 61 74 75 73 22 3a 20 32 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 7d 0d 4e 8b 87", "module": "test_helpers", "msecs": 920.6447601318359, "msg": "Send data: (67): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 73 74 61 74 75 73 22 3a 20 32 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 7d 0d 4e 8b 87", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 10439.986944198608, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-30" }, { "args": [], "asctime": "2020-12-25 15:03:47,071", "created": 1608905027.0714946, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (67): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 73 74 61 74 75 73 22 3a 20 32 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 7d 0d 4e 8b 87", "module": "test_helpers", "msecs": 71.49457931518555, "msg": "Receive data (67): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 73 74 61 74 75 73 22 3a 20 32 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 7d 0d 4e 8b 87", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 10590.836763381958, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-31" }, { "args": [ "socket_protocol (server):", "2", "11", "45054", "None" ], "asctime": "2020-12-25 15:03:47,071", "created": 1608905027.0718975, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 290, "message": "socket_protocol (server): RX <- status: 2, service_id: 11, data_id: 45054, data: \"None\"", "module": "__init__", "msecs": 71.89750671386719, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 10591.23969078064, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-31" }, { "args": [ "socket_protocol (server):", "Authentification required" ], "asctime": "2020-12-25 15:03:47,072", "created": 1608905027.0721354, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 323, "message": "socket_protocol (server): Received message has a peculiar status: Authentification required", "module": "__init__", "msecs": 72.13544845581055, "msg": "%s Received message has a peculiar status: %s", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 10591.477632522583, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-31" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:47,072", "created": 1608905027.0723238, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__buffer_received_data__", "levelname": "DEBUG", "levelno": 10, "lineno": 341, "message": "socket_protocol (server): Message data is stored in buffer and is now ready to be retrieved by receive method", "module": "__init__", "msecs": 72.32379913330078, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 10591.665983200073, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-31" } ], "msecs": 270.796537399292, "msg": "Authentification with different secrets for request and response instance (pure_json_protocol).", "name": "__tLogger__", "pathname": "src/tests/test_handling_errors.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 10790.138721466064, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.1984727382659912 }, { "args": [ "False", "" ], "asctime": "2020-12-25 15:03:47,271", "created": 1608905027.2715843, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return value of authentification is correct (Content False and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Return value of authentification", "False", "" ], "asctime": "2020-12-25 15:03:47,271", "created": 1608905027.2712545, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return value of authentification): False ()", "module": "test", "msecs": 271.2545394897461, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 10790.596723556519, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Return value of authentification", "False", "" ], "asctime": "2020-12-25 15:03:47,271", "created": 1608905027.2714312, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return value of authentification): result = False ()", "module": "test", "msecs": 271.43120765686035, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 10790.773391723633, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 271.58427238464355, "msg": "Return value of authentification is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 10790.926456451416, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.00015306472778320312 }, { "args": [ "True", "" ], "asctime": "2020-12-25 15:03:47,272", "created": 1608905027.2721083, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return value of send method is correct (Content True and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-12-25 15:03:47,271", "created": 1608905027.2718062, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return value of send method): True ()", "module": "test", "msecs": 271.8062400817871, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 10791.14842414856, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-12-25 15:03:47,271", "created": 1608905027.271971, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return value of send method): result = True ()", "module": "test", "msecs": 271.9709873199463, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 10791.313171386719, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 272.1083164215088, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 10791.450500488281, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.0001373291015625 }, { "args": [ "2", "" ], "asctime": "2020-12-25 15:03:47,272", "created": 1608905027.2725983, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Response Status (Authentification required) transfered via pure_json_protocol is correct (Content 2 and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Response Status (Authentification required) transfered via pure_json_protocol", "2", "" ], "asctime": "2020-12-25 15:03:47,272", "created": 1608905027.2723262, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Response Status (Authentification required) transfered via pure_json_protocol): 2 ()", "module": "test", "msecs": 272.3262310028076, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 10791.66841506958, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Response Status (Authentification required) transfered via pure_json_protocol", "2", "" ], "asctime": "2020-12-25 15:03:47,272", "created": 1608905027.2724648, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Response Status (Authentification required) transfered via pure_json_protocol): result = 2 ()", "module": "test", "msecs": 272.4647521972656, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 10791.806936264038, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 272.5982666015625, "msg": "Response Status (Authentification required) transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 10791.940450668335, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.000133514404296875 }, { "args": [ "None", "" ], "asctime": "2020-12-25 15:03:47,273", "created": 1608905027.2731059, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Response Data (no data) transfered via pure_json_protocol is correct (Content None and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Response Data (no data) transfered via pure_json_protocol", "None", "" ], "asctime": "2020-12-25 15:03:47,272", "created": 1608905027.272823, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Response Data (no data) transfered via pure_json_protocol): None ()", "module": "test", "msecs": 272.8230953216553, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 10792.165279388428, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Response Data (no data) transfered via pure_json_protocol", "None", "" ], "asctime": "2020-12-25 15:03:47,272", "created": 1608905027.2729607, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Response Data (no data) transfered via pure_json_protocol): result = None ()", "module": "test", "msecs": 272.9606628417969, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 10792.30284690857, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 273.1058597564697, "msg": "Response Data (no data) transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 10792.448043823242, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.00014519691467285156 }, { "args": [ "None", "" ], "asctime": "2020-12-25 15:03:47,374", "created": 1608905027.3743489, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content None and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "socket_protocol (server):", "0.1", "11", "45054" ], "asctime": "2020-12-25 15:03:47,373", "created": 1608905027.3737113, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 358, "message": "socket_protocol (server): TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 373.71134757995605, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 10893.053531646729, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:47,374", "created": 1608905027.374004, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe): None ()", "module": "test", "msecs": 374.0038871765137, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 10893.346071243286, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:47,374", "created": 1608905027.37417, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe): result = None ()", "module": "test", "msecs": 374.17006492614746, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 10893.51224899292, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 374.34887886047363, "msg": "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 10893.691062927246, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.00017881393432617188 }, { "args": [ "None", "" ], "asctime": "2020-12-25 15:03:47,475", "created": 1608905027.4755607, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content None and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "socket_protocol (server):", "0.1", "10", "45054" ], "asctime": "2020-12-25 15:03:47,474", "created": 1608905027.474936, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 358, "message": "socket_protocol (server): TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 474.93600845336914, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 10994.278192520142, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:47,475", "created": 1608905027.4752448, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe): None ()", "module": "test", "msecs": 475.24476051330566, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 10994.586944580078, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:47,475", "created": 1608905027.4754097, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe): result = None ()", "module": "test", "msecs": 475.40974617004395, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 10994.751930236816, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 475.56066513061523, "msg": "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 10994.902849197388, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.00015091896057128906 } ], "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 1.412475347518921, "time_finished": "2020-12-25 15:03:47,475", "time_start": "2020-12-25 15:03:46,063" }, "socket_protocol.pure_json_protocol: Checksum corumpation while sending.": { "args": null, "asctime": "2020-12-25 15:03:43,436", "created": 1608905023.436486, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 37, "message": "socket_protocol.pure_json_protocol: Checksum corumpation while sending.", "module": "__init__", "moduleLogger": [], "msecs": 436.48600578308105, "msg": "socket_protocol.pure_json_protocol: Checksum corumpation while sending.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest/src/tests/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 6955.8281898498535, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2020-12-25 15:03:43,739", "created": 1608905023.7394772, "exc_info": null, "exc_text": null, "filename": "test_communication_errors.py", "funcName": "send_checksum_error", "levelname": "DEBUG", "levelno": 10, "lineno": 40, "message": "Send data with wrong checksum by pure_json_protocol.", "module": "test_communication_errors", "moduleLogger": [ { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:43,436", "created": 1608905023.4367802, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "socket_protocol (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 436.7802143096924, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 6956.122398376465, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:43,437", "created": 1608905023.43716, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "socket_protocol (server): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 437.1600151062012, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 6956.502199172974, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:43,437", "created": 1608905023.4373584, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "socket_protocol (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 437.3583793640137, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 6956.700563430786, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:43,437", "created": 1608905023.437739, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "socket_protocol (server): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 437.73889541625977, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 6957.081079483032, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):", 0, 10, 45054, "{'test': 'test'}" ], "asctime": "2020-12-25 15:03:43,437", "created": 1608905023.4379668, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 0, service_id: 10, data_id: 45054, data: \"{'test': 'test'}\"", "module": "__init__", "msecs": 437.96682357788086, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 6957.309007644653, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:43,438", "created": 1608905023.4383688, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (79): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 7d 82 1c 8b 89", "module": "test_helpers", "msecs": 438.3687973022461, "msg": "Send data: (79): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 7d 82 1c 8b 89", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 6957.710981369019, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:43,589", "created": 1608905023.5893836, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (79): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 7d 82 1c 8b 8a", "module": "test_helpers", "msecs": 589.383602142334, "msg": "Receive data (79): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 7d 82 1c 8b 8a", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 7108.725786209106, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-23" }, { "args": [ "socket_protocol (server):", "(79): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 7d 82 1c 8b 8a" ], "asctime": "2020-12-25 15:03:43,589", "created": 1608905023.5898273, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 287, "message": "socket_protocol (server): Received message has a wrong checksum and will be ignored: (79): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 7d 82 1c 8b 8a.", "module": "__init__", "msecs": 589.827299118042, "msg": "%s Received message has a wrong checksum and will be ignored: %s.", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 7109.169483184814, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-23" } ], "msecs": 739.4771575927734, "msg": "Send data with wrong checksum by pure_json_protocol.", "name": "__tLogger__", "pathname": "src/tests/test_communication_errors.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 7258.819341659546, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.14964985847473145 }, { "args": [ "True", "" ], "asctime": "2020-12-25 15:03:43,740", "created": 1608905023.7402503, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return value of send method is correct (Content True and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-12-25 15:03:43,739", "created": 1608905023.7399085, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return value of send method): True ()", "module": "test", "msecs": 739.9084568023682, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 7259.250640869141, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-12-25 15:03:43,740", "created": 1608905023.7400947, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return value of send method): result = True ()", "module": "test", "msecs": 740.0946617126465, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 7259.436845779419, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 740.2503490447998, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 7259.592533111572, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.0001556873321533203 }, { "args": [ "False", "" ], "asctime": "2020-12-25 15:03:43,740", "created": 1608905023.7407682, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Callback executed variable is correct (Content False and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Callback executed variable", "False", "" ], "asctime": "2020-12-25 15:03:43,740", "created": 1608905023.7404795, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Callback executed variable): False ()", "module": "test", "msecs": 740.4794692993164, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 7259.821653366089, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Callback executed variable", "False", "" ], "asctime": "2020-12-25 15:03:43,740", "created": 1608905023.7406197, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Callback executed variable): result = False ()", "module": "test", "msecs": 740.6196594238281, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 7259.961843490601, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 740.7681941986084, "msg": "Callback executed variable is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 7260.110378265381, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.00014853477478027344 }, { "args": [ "None", "" ], "asctime": "2020-12-25 15:03:43,841", "created": 1608905023.841883, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content None and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "socket_protocol (server):", "0.1", "11", "45054" ], "asctime": "2020-12-25 15:03:43,841", "created": 1608905023.8413131, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 358, "message": "socket_protocol (server): TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 841.3131237030029, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 7360.655307769775, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:43,841", "created": 1608905023.8415992, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe): None ()", "module": "test", "msecs": 841.5992259979248, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 7360.941410064697, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:43,841", "created": 1608905023.8417594, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe): result = None ()", "module": "test", "msecs": 841.759443283081, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 7361.1016273498535, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 841.8829441070557, "msg": "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 7361.225128173828, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.00012350082397460938 }, { "args": [ "None", "" ], "asctime": "2020-12-25 15:03:43,942", "created": 1608905023.942997, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content None and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "socket_protocol (server):", "0.1", "10", "45054" ], "asctime": "2020-12-25 15:03:43,942", "created": 1608905023.942383, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 358, "message": "socket_protocol (server): TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 942.3830509185791, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 7461.725234985352, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:43,942", "created": 1608905023.9426787, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe): None ()", "module": "test", "msecs": 942.678689956665, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 7462.0208740234375, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:43,942", "created": 1608905023.9428444, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe): result = None ()", "module": "test", "msecs": 942.8443908691406, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 7462.186574935913, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 942.9969787597656, "msg": "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 7462.339162826538, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.000152587890625 } ], "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.5065109729766846, "time_finished": "2020-12-25 15:03:43,942", "time_start": "2020-12-25 15:03:43,436" }, "socket_protocol.pure_json_protocol: Incompatible Callback return value(s).": { "args": null, "asctime": "2020-12-25 15:03:47,478", "created": 1608905027.4783497, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 45, "message": "socket_protocol.pure_json_protocol: Incompatible Callback return value(s).", "module": "__init__", "moduleLogger": [], "msecs": 478.3496856689453, "msg": "socket_protocol.pure_json_protocol: Incompatible Callback return value(s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest/src/tests/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 10997.691869735718, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2020-12-25 15:03:47,483", "created": 1608905027.483471, "exc_info": null, "exc_text": null, "filename": "test_handling_errors.py", "funcName": "callback_rv_error", "levelname": "DEBUG", "levelno": 10, "lineno": 125, "message": "Send and received data with incompatible callback (pure_json_protocol).", "module": "test_handling_errors", "moduleLogger": [ { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:47,478", "created": 1608905027.4786234, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "socket_protocol (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 478.6233901977539, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 10997.965574264526, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:47,478", "created": 1608905027.4789982, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "socket_protocol (server): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 478.99818420410156, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 10998.340368270874, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:47,479", "created": 1608905027.4791887, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "socket_protocol (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 479.1886806488037, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 10998.530864715576, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:47,479", "created": 1608905027.479506, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "socket_protocol (server): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 479.5060157775879, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 10998.84819984436, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):", 0, 10, 45054, "None" ], "asctime": "2020-12-25 15:03:47,479", "created": 1608905027.4797387, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 0, service_id: 10, data_id: 45054, data: \"None\"", "module": "__init__", "msecs": 479.738712310791, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 10999.080896377563, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:47,480", "created": 1608905027.48011, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (67): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 7d e9 e9 77 c0", "module": "test_helpers", "msecs": 480.10993003845215, "msg": "Send data: (67): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 7d e9 e9 77 c0", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 10999.452114105225, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:47,480", "created": 1608905027.4803758, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (67): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 7d e9 e9 77 c0", "module": "test_helpers", "msecs": 480.3757667541504, "msg": "Receive data (67): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 7d e9 e9 77 c0", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 10999.717950820923, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):", "0", "10", "45054", "None" ], "asctime": "2020-12-25 15:03:47,480", "created": 1608905027.4806244, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 290, "message": "socket_protocol (server): RX <- status: 0, service_id: 10, data_id: 45054, data: \"None\"", "module": "__init__", "msecs": 480.6244373321533, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 10999.966621398926, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):", "response_data_method_fail" ], "asctime": "2020-12-25 15:03:47,480", "created": 1608905027.4807956, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 313, "message": "socket_protocol (server): Executing callback response_data_method_fail to process received data", "module": "__init__", "msecs": 480.79562187194824, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11000.13780593872, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):", 0, 10, 48879, "None" ], "asctime": "2020-12-25 15:03:47,481", "created": 1608905027.4810026, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 0, service_id: 10, data_id: 48879, data: \"None\"", "module": "__init__", "msecs": 481.0025691986084, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11000.34475326538, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:47,481", "created": 1608905027.481336, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (67): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 7d da 63 1a 84", "module": "test_helpers", "msecs": 481.3361167907715, "msg": "Send data: (67): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 7d da 63 1a 84", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11000.678300857544, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:47,481", "created": 1608905027.481586, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (67): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 7d da 63 1a 84", "module": "test_helpers", "msecs": 481.5859794616699, "msg": "Receive data (67): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 7d da 63 1a 84", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11000.928163528442, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):", "0", "10", "48879", "None" ], "asctime": "2020-12-25 15:03:47,481", "created": 1608905027.4818351, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 290, "message": "socket_protocol (server): RX <- status: 0, service_id: 10, data_id: 48879, data: \"None\"", "module": "__init__", "msecs": 481.83512687683105, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11001.177310943604, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:47,482", "created": 1608905027.4820263, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 308, "message": "socket_protocol (server): Received message with no registered callback. Sending negative response.", "module": "__init__", "msecs": 482.0263385772705, "msg": "%s Received message with no registered callback. Sending negative response.", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11001.368522644043, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):", 1, 11, 48879, "None" ], "asctime": "2020-12-25 15:03:47,482", "created": 1608905027.4821866, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 1, service_id: 11, data_id: 48879, data: \"None\"", "module": "__init__", "msecs": 482.18655586242676, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11001.5287399292, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:47,482", "created": 1608905027.4825041, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (67): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 73 74 61 74 75 73 22 3a 20 31 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 7d 17 0c 52 31", "module": "test_helpers", "msecs": 482.50412940979004, "msg": "Send data: (67): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 73 74 61 74 75 73 22 3a 20 31 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 7d 17 0c 52 31", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11001.846313476562, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:47,482", "created": 1608905027.4827518, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (67): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 73 74 61 74 75 73 22 3a 20 31 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 7d 17 0c 52 31", "module": "test_helpers", "msecs": 482.75184631347656, "msg": "Receive data (67): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 73 74 61 74 75 73 22 3a 20 31 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 7d 17 0c 52 31", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11002.094030380249, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):", "1", "11", "48879", "None" ], "asctime": "2020-12-25 15:03:47,482", "created": 1608905027.482975, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 290, "message": "socket_protocol (server): RX <- status: 1, service_id: 11, data_id: 48879, data: \"None\"", "module": "__init__", "msecs": 482.9750061035156, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11002.317190170288, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):", "Request has no callback. Data buffered." ], "asctime": "2020-12-25 15:03:47,483", "created": 1608905027.4831579, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 323, "message": "socket_protocol (server): Received message has a peculiar status: Request has no callback. Data buffered.", "module": "__init__", "msecs": 483.1578731536865, "msg": "%s Received message has a peculiar status: %s", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11002.500057220459, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):", "response_data_method_fail" ], "asctime": "2020-12-25 15:03:47,483", "created": 1608905027.4832947, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 330, "message": "socket_protocol (server): Executing callback response_data_method_fail to process received data", "module": "__init__", "msecs": 483.2947254180908, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11002.636909484863, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 483.4709167480469, "msg": "Send and received data with incompatible callback (pure_json_protocol).", "name": "__tLogger__", "pathname": "src/tests/test_handling_errors.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11002.81310081482, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.0001761913299560547 }, { "args": [ "True", "" ], "asctime": "2020-12-25 15:03:47,484", "created": 1608905027.4840636, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Exception (TypeError) detection variable is correct (Content True and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Exception (TypeError) detection variable", "True", "" ], "asctime": "2020-12-25 15:03:47,483", "created": 1608905027.4837453, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Exception (TypeError) detection variable): True ()", "module": "test", "msecs": 483.7453365325928, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11003.087520599365, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Exception (TypeError) detection variable", "True", "" ], "asctime": "2020-12-25 15:03:47,483", "created": 1608905027.4838893, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Exception (TypeError) detection variable): result = True ()", "module": "test", "msecs": 483.8893413543701, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11003.231525421143, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 484.06362533569336, "msg": "Exception (TypeError) detection variable is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11003.405809402466, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.0001742839813232422 }, { "args": [ "None", "" ], "asctime": "2020-12-25 15:03:47,584", "created": 1608905027.584932, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content None and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "socket_protocol (server):", "0.1", "11", "45054" ], "asctime": "2020-12-25 15:03:47,584", "created": 1608905027.584561, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 358, "message": "socket_protocol (server): TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 584.5611095428467, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11103.90329360962, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:47,584", "created": 1608905027.5847561, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe): None ()", "module": "test", "msecs": 584.7561359405518, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11104.098320007324, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:47,584", "created": 1608905027.584848, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe): result = None ()", "module": "test", "msecs": 584.8479270935059, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11104.190111160278, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 584.9320888519287, "msg": "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11104.274272918701, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 8.416175842285156e-05 }, { "args": [ "None", "" ], "asctime": "2020-12-25 15:03:47,686", "created": 1608905027.6860974, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content None and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "socket_protocol (server):", "0.1", "10", "45054" ], "asctime": "2020-12-25 15:03:47,685", "created": 1608905027.685421, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 358, "message": "socket_protocol (server): TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 685.4209899902344, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11204.763174057007, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:47,685", "created": 1608905027.6857486, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe): None ()", "module": "test", "msecs": 685.7485771179199, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11205.090761184692, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:47,685", "created": 1608905027.6859417, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe): result = None ()", "module": "test", "msecs": 685.9416961669922, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11205.283880233765, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 686.0973834991455, "msg": "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11205.439567565918, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.0001556873321533203 }, { "args": [ "True", "" ], "asctime": "2020-12-25 15:03:47,686", "created": 1608905027.6866457, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Exception (TypeError) detection variable is correct (Content True and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Exception (TypeError) detection variable", "True", "" ], "asctime": "2020-12-25 15:03:47,686", "created": 1608905027.6863647, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Exception (TypeError) detection variable): True ()", "module": "test", "msecs": 686.3646507263184, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11205.70683479309, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Exception (TypeError) detection variable", "True", "" ], "asctime": "2020-12-25 15:03:47,686", "created": 1608905027.6865091, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Exception (TypeError) detection variable): result = True ()", "module": "test", "msecs": 686.5091323852539, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11205.851316452026, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 686.6457462310791, "msg": "Exception (TypeError) detection variable is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11205.987930297852, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.0001366138458251953 }, { "args": [ "None", "" ], "asctime": "2020-12-25 15:03:47,787", "created": 1608905027.787856, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef is correct (Content None and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "socket_protocol (server):", "0.1", "11", "48879" ], "asctime": "2020-12-25 15:03:47,787", "created": 1608905027.7872202, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 358, "message": "socket_protocol (server): TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 48879) not in buffer.", "module": "__init__", "msecs": 787.2202396392822, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11306.562423706055, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-12-25 15:03:47,787", "created": 1608905027.7875113, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef): None ()", "module": "test", "msecs": 787.5113487243652, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11306.853532791138, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-12-25 15:03:47,787", "created": 1608905027.7877004, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef): result = None ()", "module": "test", "msecs": 787.7004146575928, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11307.042598724365, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 787.8561019897461, "msg": "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11307.198286056519, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.0001556873321533203 }, { "args": [ "None", "" ], "asctime": "2020-12-25 15:03:47,889", "created": 1608905027.889114, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef is correct (Content None and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "socket_protocol (server):", "0.1", "10", "48879" ], "asctime": "2020-12-25 15:03:47,888", "created": 1608905027.8884795, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 358, "message": "socket_protocol (server): TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 48879) not in buffer.", "module": "__init__", "msecs": 888.479471206665, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11407.821655273438, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-12-25 15:03:47,888", "created": 1608905027.888772, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef): None ()", "module": "test", "msecs": 888.7720108032227, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11408.114194869995, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-12-25 15:03:47,888", "created": 1608905027.8889356, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef): result = None ()", "module": "test", "msecs": 888.9355659484863, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11408.277750015259, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 889.1139030456543, "msg": "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11408.456087112427, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.00017833709716796875 } ], "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.410764217376709, "time_finished": "2020-12-25 15:03:47,889", "time_start": "2020-12-25 15:03:47,478" }, "socket_protocol.pure_json_protocol: No Callback at response instance for the request.": { "args": null, "asctime": "2020-12-25 15:03:45,354", "created": 1608905025.3542485, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 42, "message": "socket_protocol.pure_json_protocol: No Callback at response instance for the request.", "module": "__init__", "moduleLogger": [], "msecs": 354.2485237121582, "msg": "socket_protocol.pure_json_protocol: No Callback at response instance for the request.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest/src/tests/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 8873.59070777893, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2020-12-25 15:03:45,858", "created": 1608905025.8581953, "exc_info": null, "exc_text": null, "filename": "test_handling_errors.py", "funcName": "no_callback", "levelname": "DEBUG", "levelno": 10, "lineno": 32, "message": "Send data, but no callback registered (pure_json_protocol).", "module": "test_handling_errors", "moduleLogger": [ { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:45,354", "created": 1608905025.354547, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "socket_protocol (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 354.54702377319336, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 8873.889207839966, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:45,354", "created": 1608905025.3549335, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "socket_protocol (server): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 354.933500289917, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 8874.27568435669, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:45,355", "created": 1608905025.3551233, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "socket_protocol (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 355.12328147888184, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 8874.465465545654, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:45,355", "created": 1608905025.3554585, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "socket_protocol (server): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 355.45849800109863, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 8874.800682067871, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):", 0, 10, 45054, "{'test': 'test'}" ], "asctime": "2020-12-25 15:03:45,355", "created": 1608905025.355639, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 0, service_id: 10, data_id: 45054, data: \"{'test': 'test'}\"", "module": "__init__", "msecs": 355.6389808654785, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 8874.981164932251, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:45,356", "created": 1608905025.3560374, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (79): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 7d 82 1c 8b 89", "module": "test_helpers", "msecs": 356.0373783111572, "msg": "Send data: (79): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 7d 82 1c 8b 89", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 8875.37956237793, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:45,506", "created": 1608905025.5069213, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (79): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 7d 82 1c 8b 89", "module": "test_helpers", "msecs": 506.92129135131836, "msg": "Receive data (79): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 7d 82 1c 8b 89", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 9026.26347541809, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-24" }, { "args": [ "socket_protocol (server):", "0", "10", "45054", "{'test': 'test'}" ], "asctime": "2020-12-25 15:03:45,507", "created": 1608905025.5072446, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 290, "message": "socket_protocol (server): RX <- status: 0, service_id: 10, data_id: 45054, data: \"{'test': 'test'}\"", "module": "__init__", "msecs": 507.2445869445801, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 9026.586771011353, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-24" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:45,507", "created": 1608905025.5074008, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 308, "message": "socket_protocol (server): Received message with no registered callback. Sending negative response.", "module": "__init__", "msecs": 507.4007511138916, "msg": "%s Received message with no registered callback. Sending negative response.", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 9026.742935180664, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-24" }, { "args": [ "socket_protocol (server):", 1, 11, 45054, "None" ], "asctime": "2020-12-25 15:03:45,507", "created": 1608905025.5075293, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 1, service_id: 11, data_id: 45054, data: \"None\"", "module": "__init__", "msecs": 507.52925872802734, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 9026.8714427948, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-24" }, { "args": [], "asctime": "2020-12-25 15:03:45,507", "created": 1608905025.5077722, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (67): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 73 74 61 74 75 73 22 3a 20 31 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 7d 24 86 3f 75", "module": "test_helpers", "msecs": 507.77220726013184, "msg": "Send data: (67): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 73 74 61 74 75 73 22 3a 20 31 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 7d 24 86 3f 75", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 9027.114391326904, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-24" }, { "args": [], "asctime": "2020-12-25 15:03:45,658", "created": 1608905025.6586297, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (67): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 73 74 61 74 75 73 22 3a 20 31 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 7d 24 86 3f 75", "module": "test_helpers", "msecs": 658.6296558380127, "msg": "Receive data (67): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 73 74 61 74 75 73 22 3a 20 31 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 7d 24 86 3f 75", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 9177.971839904785, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-25" }, { "args": [ "socket_protocol (server):", "1", "11", "45054", "None" ], "asctime": "2020-12-25 15:03:45,659", "created": 1608905025.659057, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 290, "message": "socket_protocol (server): RX <- status: 1, service_id: 11, data_id: 45054, data: \"None\"", "module": "__init__", "msecs": 659.0569019317627, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 9178.399085998535, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-25" }, { "args": [ "socket_protocol (server):", "Request has no callback. Data buffered." ], "asctime": "2020-12-25 15:03:45,659", "created": 1608905025.6592968, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 323, "message": "socket_protocol (server): Received message has a peculiar status: Request has no callback. Data buffered.", "module": "__init__", "msecs": 659.2967510223389, "msg": "%s Received message has a peculiar status: %s", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 9178.638935089111, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-25" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:45,659", "created": 1608905025.659488, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__buffer_received_data__", "levelname": "DEBUG", "levelno": 10, "lineno": 341, "message": "socket_protocol (server): Message data is stored in buffer and is now ready to be retrieved by receive method", "module": "__init__", "msecs": 659.4879627227783, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 9178.83014678955, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-25" } ], "msecs": 858.1953048706055, "msg": "Send data, but no callback registered (pure_json_protocol).", "name": "__tLogger__", "pathname": "src/tests/test_handling_errors.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 9377.537488937378, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.19870734214782715 }, { "args": [ "True", "" ], "asctime": "2020-12-25 15:03:45,859", "created": 1608905025.8590095, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return value of send method is correct (Content True and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-12-25 15:03:45,858", "created": 1608905025.8586264, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return value of send method): True ()", "module": "test", "msecs": 858.6263656616211, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 9377.968549728394, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-12-25 15:03:45,858", "created": 1608905025.8588076, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return value of send method): result = True ()", "module": "test", "msecs": 858.8075637817383, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 9378.14974784851, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 859.0095043182373, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 9378.35168838501, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.00020194053649902344 }, { "args": [ "1", "" ], "asctime": "2020-12-25 15:03:45,859", "created": 1608905025.8595805, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Response Status (Request has no callback. Data buffered.) transfered via pure_json_protocol is correct (Content 1 and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Response Status (Request has no callback. Data buffered.) transfered via pure_json_protocol", "1", "" ], "asctime": "2020-12-25 15:03:45,859", "created": 1608905025.8592825, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Response Status (Request has no callback. Data buffered.) transfered via pure_json_protocol): 1 ()", "module": "test", "msecs": 859.2824935913086, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 9378.624677658081, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Response Status (Request has no callback. Data buffered.) transfered via pure_json_protocol", "1", "" ], "asctime": "2020-12-25 15:03:45,859", "created": 1608905025.8594391, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Response Status (Request has no callback. Data buffered.) transfered via pure_json_protocol): result = 1 ()", "module": "test", "msecs": 859.4391345977783, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 9378.78131866455, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 859.5805168151855, "msg": "Response Status (Request has no callback. Data buffered.) transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 9378.922700881958, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.00014138221740722656 }, { "args": [ "None", "" ], "asctime": "2020-12-25 15:03:45,860", "created": 1608905025.8600967, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Response Data (no data) transfered via pure_json_protocol is correct (Content None and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Response Data (no data) transfered via pure_json_protocol", "None", "" ], "asctime": "2020-12-25 15:03:45,859", "created": 1608905025.859803, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Response Data (no data) transfered via pure_json_protocol): None ()", "module": "test", "msecs": 859.8029613494873, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 9379.14514541626, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Response Data (no data) transfered via pure_json_protocol", "None", "" ], "asctime": "2020-12-25 15:03:45,859", "created": 1608905025.8599408, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Response Data (no data) transfered via pure_json_protocol): result = None ()", "module": "test", "msecs": 859.940767288208, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 9379.28295135498, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 860.0966930389404, "msg": "Response Data (no data) transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 9379.438877105713, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.00015592575073242188 }, { "args": [ "None", "" ], "asctime": "2020-12-25 15:03:45,961", "created": 1608905025.9613166, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content None and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "socket_protocol (server):", "0.1", "11", "45054" ], "asctime": "2020-12-25 15:03:45,960", "created": 1608905025.9606745, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 358, "message": "socket_protocol (server): TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 960.674524307251, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 9480.016708374023, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:45,960", "created": 1608905025.9609942, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe): None ()", "module": "test", "msecs": 960.9942436218262, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 9480.336427688599, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:45,961", "created": 1608905025.9611647, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe): result = None ()", "module": "test", "msecs": 961.1647129058838, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 9480.506896972656, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 961.3165855407715, "msg": "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 9480.658769607544, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.0001518726348876953 }, { "args": [ "None", "" ], "asctime": "2020-12-25 15:03:46,062", "created": 1608905026.0625894, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content None and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "socket_protocol (server):", "0.1", "10", "45054" ], "asctime": "2020-12-25 15:03:46,061", "created": 1608905026.0619452, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 358, "message": "socket_protocol (server): TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 61.945199966430664, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 9581.287384033203, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:46,062", "created": 1608905026.062267, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe): None ()", "module": "test", "msecs": 62.26706504821777, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 9581.60924911499, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:46,062", "created": 1608905026.0624363, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe): result = None ()", "module": "test", "msecs": 62.43634223937988, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 9581.778526306152, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 62.589406967163086, "msg": "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 9581.931591033936, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.00015306472778320312 } ], "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.7083408832550049, "time_finished": "2020-12-25 15:03:46,062", "time_start": "2020-12-25 15:03:45,354" }, "socket_protocol.pure_json_protocol: Register a second Callback with the same service_id.": { "args": null, "asctime": "2020-12-25 15:03:41,513", "created": 1608905021.5131433, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 32, "message": "socket_protocol.pure_json_protocol: Register a second Callback with the same service_id.", "module": "__init__", "moduleLogger": [], "msecs": 513.1433010101318, "msg": "socket_protocol.pure_json_protocol: Register a second Callback with the same service_id.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest/src/tests/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 5032.485485076904, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2020-12-25 15:03:42,018", "created": 1608905022.0180585, "exc_info": null, "exc_text": null, "filename": "test_normal_operation.py", "funcName": "second_service_callback", "levelname": "DEBUG", "levelno": 10, "lineno": 140, "message": "Send and received data by pure_json_protocol.", "module": "test_normal_operation", "moduleLogger": [ { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:41,513", "created": 1608905021.513264, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "socket_protocol (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 513.2639408111572, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 5032.60612487793, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:41,513", "created": 1608905021.513413, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "socket_protocol (server): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 513.4129524230957, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 5032.755136489868, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:41,513", "created": 1608905021.5134845, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "socket_protocol (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 513.4844779968262, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 5032.826662063599, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:41,515", "created": 1608905021.5158641, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "socket_protocol (server): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 515.8641338348389, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 5035.206317901611, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):", 0, 10, 45054, "{'test': 'test'}" ], "asctime": "2020-12-25 15:03:41,516", "created": 1608905021.5160775, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 0, service_id: 10, data_id: 45054, data: \"{'test': 'test'}\"", "module": "__init__", "msecs": 516.0775184631348, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 5035.419702529907, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:41,516", "created": 1608905021.5163665, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (79): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 7d 82 1c 8b 89", "module": "test_helpers", "msecs": 516.3664817810059, "msg": "Send data: (79): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 7d 82 1c 8b 89", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 5035.708665847778, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:41,667", "created": 1608905021.6671429, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (79): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 7d 82 1c 8b 89", "module": "test_helpers", "msecs": 667.1428680419922, "msg": "Receive data (79): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 7d 82 1c 8b 89", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 5186.485052108765, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-17" }, { "args": [ "socket_protocol (server):", "0", "10", "45054", "{'test': 'test'}" ], "asctime": "2020-12-25 15:03:41,667", "created": 1608905021.6674812, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 290, "message": "socket_protocol (server): RX <- status: 0, service_id: 10, data_id: 45054, data: \"{'test': 'test'}\"", "module": "__init__", "msecs": 667.4811840057373, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 5186.82336807251, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-17" }, { "args": [ "socket_protocol (server):", "response_data_method_2" ], "asctime": "2020-12-25 15:03:41,667", "created": 1608905021.6676493, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 313, "message": "socket_protocol (server): Executing callback response_data_method_2 to process received data", "module": "__init__", "msecs": 667.6492691040039, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 5186.991453170776, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-17" }, { "args": [ "socket_protocol (server):", 5, 11, 45054, "[1, 3, 's']" ], "asctime": "2020-12-25 15:03:41,667", "created": 1608905021.6678011, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, 's']\"", "module": "__init__", "msecs": 667.8011417388916, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 5187.143325805664, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-17" }, { "args": [], "asctime": "2020-12-25 15:03:41,668", "created": 1608905021.6681247, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (74): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 7d 60 f8 dc 89", "module": "test_helpers", "msecs": 668.1246757507324, "msg": "Send data: (74): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 7d 60 f8 dc 89", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 5187.466859817505, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-17" }, { "args": [], "asctime": "2020-12-25 15:03:41,818", "created": 1608905021.8189712, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (74): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 7d 60 f8 dc 89", "module": "test_helpers", "msecs": 818.9711570739746, "msg": "Receive data (74): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 7d 60 f8 dc 89", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 5338.313341140747, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-18" }, { "args": [ "socket_protocol (server):", "5", "11", "45054", "[1, 3, 's']" ], "asctime": "2020-12-25 15:03:41,819", "created": 1608905021.8194118, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 290, "message": "socket_protocol (server): RX <- status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, 's']\"", "module": "__init__", "msecs": 819.4117546081543, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 5338.753938674927, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-18" }, { "args": [ "socket_protocol (server):", "Operation not permitted" ], "asctime": "2020-12-25 15:03:41,819", "created": 1608905021.8196518, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 323, "message": "socket_protocol (server): Received message has a peculiar status: Operation not permitted", "module": "__init__", "msecs": 819.6518421173096, "msg": "%s Received message has a peculiar status: %s", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 5338.994026184082, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-18" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:41,819", "created": 1608905021.8198571, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__buffer_received_data__", "levelname": "DEBUG", "levelno": 10, "lineno": 341, "message": "socket_protocol (server): Message data is stored in buffer and is now ready to be retrieved by receive method", "module": "__init__", "msecs": 819.857120513916, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 5339.1993045806885, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-18" } ], "msecs": 18.05853843688965, "msg": "Send and received data by pure_json_protocol.", "name": "__tLogger__", "pathname": "src/tests/test_normal_operation.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 5537.400722503662, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.19820141792297363 }, { "args": [ "True", "" ], "asctime": "2020-12-25 15:03:42,018", "created": 1608905022.0188348, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return value of send method is correct (Content True and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-12-25 15:03:42,018", "created": 1608905022.0184855, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return value of send method): True ()", "module": "test", "msecs": 18.485546112060547, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 5537.827730178833, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-12-25 15:03:42,018", "created": 1608905022.0186694, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return value of send method): result = True ()", "module": "test", "msecs": 18.66936683654785, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 5538.01155090332, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 18.834829330444336, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 5538.177013397217, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.00016546249389648438 }, { "args": [ "0", "" ], "asctime": "2020-12-25 15:03:42,019", "created": 1608905022.0194101, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Request Status (Okay) transfered via pure_json_protocol is correct (Content 0 and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Request Status (Okay) transfered via pure_json_protocol", "0", "" ], "asctime": "2020-12-25 15:03:42,019", "created": 1608905022.019116, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Request Status (Okay) transfered via pure_json_protocol): 0 ()", "module": "test", "msecs": 19.115924835205078, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 5538.4581089019775, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Request Status (Okay) transfered via pure_json_protocol", "0", "" ], "asctime": "2020-12-25 15:03:42,019", "created": 1608905022.0192676, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Request Status (Okay) transfered via pure_json_protocol): result = 0 ()", "module": "test", "msecs": 19.267559051513672, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 5538.609743118286, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 19.410133361816406, "msg": "Request Status (Okay) transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 5538.752317428589, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.00014257431030273438 }, { "args": [ "{'test': 'test'}", "" ], "asctime": "2020-12-25 15:03:42,019", "created": 1608905022.019969, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Request Data transfered via pure_json_protocol is correct (Content {'test': 'test'} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Request Data transfered via pure_json_protocol", "{ 'test': 'test' }", "" ], "asctime": "2020-12-25 15:03:42,019", "created": 1608905022.0196445, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Request Data transfered via pure_json_protocol): { 'test': 'test' } ()", "module": "test", "msecs": 19.644498825073242, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 5538.986682891846, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Request Data transfered via pure_json_protocol", "{ 'test': 'test' }", "" ], "asctime": "2020-12-25 15:03:42,019", "created": 1608905022.0197964, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Request Data transfered via pure_json_protocol): result = { 'test': 'test' } ()", "module": "test", "msecs": 19.796371459960938, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 5539.138555526733, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 19.96898651123047, "msg": "Request Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 5539.311170578003, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.00017261505126953125 }, { "args": [ "5", "" ], "asctime": "2020-12-25 15:03:42,020", "created": 1608905022.0204625, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Response Status (Operation not permitted) transfered via pure_json_protocol is correct (Content 5 and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Response Status (Operation not permitted) transfered via pure_json_protocol", "5", "" ], "asctime": "2020-12-25 15:03:42,020", "created": 1608905022.0201926, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Response Status (Operation not permitted) transfered via pure_json_protocol): 5 ()", "module": "test", "msecs": 20.192623138427734, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 5539.5348072052, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Response Status (Operation not permitted) transfered via pure_json_protocol", "5", "" ], "asctime": "2020-12-25 15:03:42,020", "created": 1608905022.0203295, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Response Status (Operation not permitted) transfered via pure_json_protocol): result = 5 ()", "module": "test", "msecs": 20.32947540283203, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 5539.6716594696045, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 20.462512969970703, "msg": "Response Status (Operation not permitted) transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 5539.804697036743, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.00013303756713867188 }, { "args": [ "[1, 3, 's']", "" ], "asctime": "2020-12-25 15:03:42,021", "created": 1608905022.0210266, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Response Data transfered via pure_json_protocol is correct (Content [1, 3, 's'] and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Response Data transfered via pure_json_protocol", "[ 1, 3, 's' ]", "" ], "asctime": "2020-12-25 15:03:42,020", "created": 1608905022.0206912, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Response Data transfered via pure_json_protocol): [ 1, 3, 's' ] ()", "module": "test", "msecs": 20.6911563873291, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 5540.033340454102, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Response Data transfered via pure_json_protocol", "[ 1, 3, 's' ]", "" ], "asctime": "2020-12-25 15:03:42,020", "created": 1608905022.0208395, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Response Data transfered via pure_json_protocol): result = [ 1, 3, 's' ] ()", "module": "test", "msecs": 20.839452743530273, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 5540.181636810303, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 21.026611328125, "msg": "Response Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 5540.3687953948975, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.00018715858459472656 }, { "args": [ "None", "" ], "asctime": "2020-12-25 15:03:42,122", "created": 1608905022.1223092, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content None and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "socket_protocol (server):", "0.1", "11", "45054" ], "asctime": "2020-12-25 15:03:42,121", "created": 1608905022.121671, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 358, "message": "socket_protocol (server): TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 121.67096138000488, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 5641.013145446777, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:42,121", "created": 1608905022.1219919, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe): None ()", "module": "test", "msecs": 121.99187278747559, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 5641.334056854248, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:42,122", "created": 1608905022.1221564, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe): result = None ()", "module": "test", "msecs": 122.15638160705566, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 5641.498565673828, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 122.30920791625977, "msg": "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 5641.651391983032, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.00015282630920410156 }, { "args": [ "None", "" ], "asctime": "2020-12-25 15:03:42,223", "created": 1608905022.223533, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content None and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "socket_protocol (server):", "0.1", "10", "45054" ], "asctime": "2020-12-25 15:03:42,222", "created": 1608905022.222895, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 358, "message": "socket_protocol (server): TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 222.89490699768066, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 5742.237091064453, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:42,223", "created": 1608905022.2231867, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe): None ()", "module": "test", "msecs": 223.18673133850098, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 5742.528915405273, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:42,223", "created": 1608905022.2233515, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe): result = None ()", "module": "test", "msecs": 223.35147857666016, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 5742.693662643433, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 223.53291511535645, "msg": "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 5742.875099182129, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.00018143653869628906 } ], "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.7103896141052246, "time_finished": "2020-12-25 15:03:42,223", "time_start": "2020-12-25 15:03:41,513" }, "socket_protocol.pure_json_protocol: Send and receive check including authentification.": { "args": null, "asctime": "2020-12-25 15:03:37,969", "created": 1608905017.9699733, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 28, "message": "socket_protocol.pure_json_protocol: Send and receive check including authentification.", "module": "__init__", "moduleLogger": [], "msecs": 969.9733257293701, "msg": "socket_protocol.pure_json_protocol: Send and receive check including authentification.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest/src/tests/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 1489.3155097961426, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2020-12-25 15:03:39,177", "created": 1608905019.1775026, "exc_info": null, "exc_text": null, "filename": "test_normal_operation.py", "funcName": "send_n_receive", "levelname": "DEBUG", "levelno": 10, "lineno": 42, "message": "Send and received data by pure_json_protocol.", "module": "test_normal_operation", "moduleLogger": [ { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:37,970", "created": 1608905017.970285, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "socket_protocol (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 970.2849388122559, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 1489.6271228790283, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:37,970", "created": 1608905017.9706614, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "socket_protocol (server): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 970.6614017486572, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 1490.0035858154297, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:37,970", "created": 1608905017.9708529, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "socket_protocol (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 970.8528518676758, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 1490.1950359344482, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:37,971", "created": 1608905017.9711757, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "socket_protocol (server): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 971.1756706237793, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 1490.5178546905518, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:37,971", "created": 1608905017.9713953, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "authentificate", "levelname": "INFO", "levelno": 20, "lineno": 427, "message": "socket_protocol (server): Requesting seed for authentification", "module": "__init__", "msecs": 971.3952541351318, "msg": "%s Requesting seed for authentification", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 1490.7374382019043, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):", 0, 1, 0, "None" ], "asctime": "2020-12-25 15:03:37,971", "created": 1608905017.9715486, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 0, service_id: 1, data_id: 0, data: \"None\"", "module": "__init__", "msecs": 971.5485572814941, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 1490.8907413482666, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:37,971", "created": 1608905017.9719112, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (62): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 7d 9e 85 7b 8d", "module": "test_helpers", "msecs": 971.9111919403076, "msg": "Send data: (62): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 7d 9e 85 7b 8d", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 1491.25337600708, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:38,122", "created": 1608905018.1228578, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (62): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 7d 9e 85 7b 8d", "module": "test_helpers", "msecs": 122.85780906677246, "msg": "Receive data (62): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 7d 9e 85 7b 8d", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 1642.199993133545, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-5" }, { "args": [ "socket_protocol (server):", "0", "1", "0", "None" ], "asctime": "2020-12-25 15:03:38,123", "created": 1608905018.1233, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 290, "message": "socket_protocol (server): RX <- status: 0, service_id: 1, data_id: 0, data: \"None\"", "module": "__init__", "msecs": 123.30007553100586, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 1642.6422595977783, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-5" }, { "args": [ "socket_protocol (server):", "__authentificate_create_seed__" ], "asctime": "2020-12-25 15:03:38,123", "created": 1608905018.1235218, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 313, "message": "socket_protocol (server): Executing callback __authentificate_create_seed__ to process received data", "module": "__init__", "msecs": 123.52180480957031, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 1642.8639888763428, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-5" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:38,123", "created": 1608905018.123677, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentificate_create_seed__", "levelname": "INFO", "levelno": 20, "lineno": 453, "message": "socket_protocol (server): Got seed request, sending seed for authentification", "module": "__init__", "msecs": 123.67701530456543, "msg": "%s Got seed request, sending seed for authentification", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 1643.019199371338, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-5" }, { "args": [ "socket_protocol (server):", 0, 2, 0, "'009397399f4a930023d86cd08371ecf17f3c1879a494a3ef4731cf839d1b215f'" ], "asctime": "2020-12-25 15:03:38,123", "created": 1608905018.1238825, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 0, service_id: 2, data_id: 0, data: \"'009397399f4a930023d86cd08371ecf17f3c1879a494a3ef4731cf839d1b215f'\"", "module": "__init__", "msecs": 123.88253211975098, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 1643.2247161865234, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-5" }, { "args": [], "asctime": "2020-12-25 15:03:38,124", "created": 1608905018.1243505, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (124): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 32 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 22 30 30 39 33 39 37 33 39 39 66 34 61 39 33 30 30 32 33 64 38 36 63 64 30 38 33 37 31 65 63 66 31 37 66 33 63 31 38 37 39 61 34 39 34 61 33 65 66 34 37 33 31 63 66 38 33 39 64 31 62 32 31 35 66 22 7d 98 9d 40 14", "module": "test_helpers", "msecs": 124.35054779052734, "msg": "Send data: (124): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 32 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 22 30 30 39 33 39 37 33 39 39 66 34 61 39 33 30 30 32 33 64 38 36 63 64 30 38 33 37 31 65 63 66 31 37 66 33 63 31 38 37 39 61 34 39 34 61 33 65 66 34 37 33 31 63 66 38 33 39 64 31 62 32 31 35 66 22 7d 98 9d 40 14", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 1643.6927318572998, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-5" }, { "args": [], "asctime": "2020-12-25 15:03:38,275", "created": 1608905018.2754693, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (124): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 32 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 22 30 30 39 33 39 37 33 39 39 66 34 61 39 33 30 30 32 33 64 38 36 63 64 30 38 33 37 31 65 63 66 31 37 66 33 63 31 38 37 39 61 34 39 34 61 33 65 66 34 37 33 31 63 66 38 33 39 64 31 62 32 31 35 66 22 7d 98 9d 40 14", "module": "test_helpers", "msecs": 275.4693031311035, "msg": "Receive data (124): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 32 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 22 30 30 39 33 39 37 33 39 39 66 34 61 39 33 30 30 32 33 64 38 36 63 64 30 38 33 37 31 65 63 66 31 37 66 33 63 31 38 37 39 61 34 39 34 61 33 65 66 34 37 33 31 63 66 38 33 39 64 31 62 32 31 35 66 22 7d 98 9d 40 14", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 1794.811487197876, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-6" }, { "args": [ "socket_protocol (server):", "0", "2", "0", "'009397399f4a930023d86cd08371ecf17f3c1879a494a3ef4731cf839d1b215f'" ], "asctime": "2020-12-25 15:03:38,275", "created": 1608905018.2758863, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 290, "message": "socket_protocol (server): RX <- status: 0, service_id: 2, data_id: 0, data: \"'009397399f4a930023d86cd08371ecf17f3c1879a494a3ef4731cf839d1b215f'\"", "module": "__init__", "msecs": 275.88629722595215, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 1795.2284812927246, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-6" }, { "args": [ "socket_protocol (server):", "__authentificate_create_key__" ], "asctime": "2020-12-25 15:03:38,276", "created": 1608905018.276102, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 313, "message": "socket_protocol (server): Executing callback __authentificate_create_key__ to process received data", "module": "__init__", "msecs": 276.10206604003906, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 1795.4442501068115, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-6" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:38,276", "created": 1608905018.276256, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentificate_create_key__", "levelname": "INFO", "levelno": 20, "lineno": 462, "message": "socket_protocol (server): Got seed, sending key for authentification", "module": "__init__", "msecs": 276.2560844421387, "msg": "%s Got seed, sending key for authentification", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 1795.5982685089111, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-6" }, { "args": [ "socket_protocol (server):", 0, 3, 0, "'5f8c68aa5c740a0841eeb15d14a72b228a30fa2bed55b4a69f17f1f94e0fa7182d53233ce0d06722a5a6b950f7d17984a1aa2808fd665c1655a8ad193d604054'" ], "asctime": "2020-12-25 15:03:38,276", "created": 1608905018.2764783, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 0, service_id: 3, data_id: 0, data: \"'5f8c68aa5c740a0841eeb15d14a72b228a30fa2bed55b4a69f17f1f94e0fa7182d53233ce0d06722a5a6b950f7d17984a1aa2808fd665c1655a8ad193d604054'\"", "module": "__init__", "msecs": 276.4782905578613, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 1795.8204746246338, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-6" }, { "args": [], "asctime": "2020-12-25 15:03:38,277", "created": 1608905018.2770524, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (188): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 33 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 22 35 66 38 63 36 38 61 61 35 63 37 34 30 61 30 38 34 31 65 65 62 31 35 64 31 34 61 37 32 62 32 32 38 61 33 30 66 61 32 62 65 64 35 35 62 34 61 36 39 66 31 37 66 31 66 39 34 65 30 66 61 37 31 38 32 64 35 33 32 33 33 63 65 30 64 30 36 37 32 32 61 35 61 36 62 39 35 30 66 37 64 31 37 39 38 34 61 31 61 61 32 38 30 38 66 64 36 36 35 63 31 36 35 35 61 38 61 64 31 39 33 64 36 30 34 30 35 34 22 7d a8 90 36 be", "module": "test_helpers", "msecs": 277.0524024963379, "msg": "Send data: (188): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 33 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 22 35 66 38 63 36 38 61 61 35 63 37 34 30 61 30 38 34 31 65 65 62 31 35 64 31 34 61 37 32 62 32 32 38 61 33 30 66 61 32 62 65 64 35 35 62 34 61 36 39 66 31 37 66 31 66 39 34 65 30 66 61 37 31 38 32 64 35 33 32 33 33 63 65 30 64 30 36 37 32 32 61 35 61 36 62 39 35 30 66 37 64 31 37 39 38 34 61 31 61 61 32 38 30 38 66 64 36 36 35 63 31 36 35 35 61 38 61 64 31 39 33 64 36 30 34 30 35 34 22 7d a8 90 36 be", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 1796.3945865631104, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-6" }, { "args": [], "asctime": "2020-12-25 15:03:38,428", "created": 1608905018.428188, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (188): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 33 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 22 35 66 38 63 36 38 61 61 35 63 37 34 30 61 30 38 34 31 65 65 62 31 35 64 31 34 61 37 32 62 32 32 38 61 33 30 66 61 32 62 65 64 35 35 62 34 61 36 39 66 31 37 66 31 66 39 34 65 30 66 61 37 31 38 32 64 35 33 32 33 33 63 65 30 64 30 36 37 32 32 61 35 61 36 62 39 35 30 66 37 64 31 37 39 38 34 61 31 61 61 32 38 30 38 66 64 36 36 35 63 31 36 35 35 61 38 61 64 31 39 33 64 36 30 34 30 35 34 22 7d a8 90 36 be", "module": "test_helpers", "msecs": 428.1880855560303, "msg": "Receive data (188): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 33 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 22 35 66 38 63 36 38 61 61 35 63 37 34 30 61 30 38 34 31 65 65 62 31 35 64 31 34 61 37 32 62 32 32 38 61 33 30 66 61 32 62 65 64 35 35 62 34 61 36 39 66 31 37 66 31 66 39 34 65 30 66 61 37 31 38 32 64 35 33 32 33 33 63 65 30 64 30 36 37 32 32 61 35 61 36 62 39 35 30 66 37 64 31 37 39 38 34 61 31 61 61 32 38 30 38 66 64 36 36 35 63 31 36 35 35 61 38 61 64 31 39 33 64 36 30 34 30 35 34 22 7d a8 90 36 be", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 1947.5302696228027, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-7" }, { "args": [ "socket_protocol (server):", "0", "3", "0", "'5f8c68aa5c740a0841eeb15d14a72b228a30fa2bed55b4a69f17f1f94e0fa7182d53233ce0d06722a5a6b950f7d17984a1aa2808fd665c1655a8ad193d604054'" ], "asctime": "2020-12-25 15:03:38,428", "created": 1608905018.428524, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 290, "message": "socket_protocol (server): RX <- status: 0, service_id: 3, data_id: 0, data: \"'5f8c68aa5c740a0841eeb15d14a72b228a30fa2bed55b4a69f17f1f94e0fa7182d53233ce0d06722a5a6b950f7d17984a1aa2808fd665c1655a8ad193d604054'\"", "module": "__init__", "msecs": 428.5240173339844, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 1947.8662014007568, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-7" }, { "args": [ "socket_protocol (server):", "__authentificate_check_key__" ], "asctime": "2020-12-25 15:03:38,428", "created": 1608905018.4287114, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 313, "message": "socket_protocol (server): Executing callback __authentificate_check_key__ to process received data", "module": "__init__", "msecs": 428.7114143371582, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 1948.0535984039307, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-7" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:38,428", "created": 1608905018.428874, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentificate_check_key__", "levelname": "INFO", "levelno": 20, "lineno": 472, "message": "socket_protocol (server): Got correct key, sending positive authentification feedback", "module": "__init__", "msecs": 428.87401580810547, "msg": "%s Got correct key, sending positive authentification feedback", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 1948.216199874878, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-7" }, { "args": [ "socket_protocol (server):", 0, 4, 0, "True" ], "asctime": "2020-12-25 15:03:38,429", "created": 1608905018.42902, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 0, service_id: 4, data_id: 0, data: \"True\"", "module": "__init__", "msecs": 429.0199279785156, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 1948.362112045288, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-7" }, { "args": [], "asctime": "2020-12-25 15:03:38,429", "created": 1608905018.4293022, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (62): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 34 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 74 72 75 65 7d df 5e 54 54", "module": "test_helpers", "msecs": 429.3022155761719, "msg": "Send data: (62): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 34 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 74 72 75 65 7d df 5e 54 54", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 1948.6443996429443, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-7" }, { "args": [], "asctime": "2020-12-25 15:03:38,580", "created": 1608905018.5802226, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (62): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 34 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 74 72 75 65 7d df 5e 54 54", "module": "test_helpers", "msecs": 580.2226066589355, "msg": "Receive data (62): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 34 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 74 72 75 65 7d df 5e 54 54", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 2099.564790725708, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-8" }, { "args": [ "socket_protocol (server):", "0", "4", "0", "True" ], "asctime": "2020-12-25 15:03:38,580", "created": 1608905018.5806556, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 290, "message": "socket_protocol (server): RX <- status: 0, service_id: 4, data_id: 0, data: \"True\"", "module": "__init__", "msecs": 580.655574798584, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 2099.9977588653564, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-8" }, { "args": [ "socket_protocol (server):", "__authentificate_process_feedback__" ], "asctime": "2020-12-25 15:03:38,580", "created": 1608905018.580869, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 330, "message": "socket_protocol (server): Executing callback __authentificate_process_feedback__ to process received data", "module": "__init__", "msecs": 580.8689594268799, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 2100.2111434936523, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-8" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:38,581", "created": 1608905018.5810485, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentificate_process_feedback__", "levelname": "INFO", "levelno": 20, "lineno": 483, "message": "socket_protocol (server): Got positive authentification feedback", "module": "__init__", "msecs": 581.0484886169434, "msg": "%s Got positive authentification feedback", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 2100.390672683716, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-8" }, { "args": [ "socket_protocol (server):", 0, 10, 45054, "{'test': 'test'}" ], "asctime": "2020-12-25 15:03:38,674", "created": 1608905018.6745043, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 0, service_id: 10, data_id: 45054, data: \"{'test': 'test'}\"", "module": "__init__", "msecs": 674.504280090332, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 2193.8464641571045, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:38,675", "created": 1608905018.6753812, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (79): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 7d 82 1c 8b 89", "module": "test_helpers", "msecs": 675.3811836242676, "msg": "Send data: (79): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 7d 82 1c 8b 89", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 2194.72336769104, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:38,826", "created": 1608905018.8264213, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (79): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 7d 82 1c 8b 89", "module": "test_helpers", "msecs": 826.4212608337402, "msg": "Receive data (79): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 7d 82 1c 8b 89", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 2345.7634449005127, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-9" }, { "args": [ "socket_protocol (server):", "0", "10", "45054", "{'test': 'test'}" ], "asctime": "2020-12-25 15:03:38,826", "created": 1608905018.8268354, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 290, "message": "socket_protocol (server): RX <- status: 0, service_id: 10, data_id: 45054, data: \"{'test': 'test'}\"", "module": "__init__", "msecs": 826.8353939056396, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 2346.177577972412, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-9" }, { "args": [ "socket_protocol (server):", "response_data_method" ], "asctime": "2020-12-25 15:03:38,827", "created": 1608905018.8270497, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 313, "message": "socket_protocol (server): Executing callback response_data_method to process received data", "module": "__init__", "msecs": 827.049732208252, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 2346.3919162750244, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-9" }, { "args": [ "socket_protocol (server):", 5, 11, 45054, "[1, 3, 's']" ], "asctime": "2020-12-25 15:03:38,827", "created": 1608905018.8272343, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, 's']\"", "module": "__init__", "msecs": 827.2342681884766, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 2346.576452255249, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-9" }, { "args": [], "asctime": "2020-12-25 15:03:38,827", "created": 1608905018.827608, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (74): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 7d 60 f8 dc 89", "module": "test_helpers", "msecs": 827.6081085205078, "msg": "Send data: (74): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 7d 60 f8 dc 89", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 2346.9502925872803, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-9" }, { "args": [], "asctime": "2020-12-25 15:03:38,978", "created": 1608905018.9786143, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (74): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 7d 60 f8 dc 89", "module": "test_helpers", "msecs": 978.614330291748, "msg": "Receive data (74): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 7d 60 f8 dc 89", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 2497.9565143585205, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-10" }, { "args": [ "socket_protocol (server):", "5", "11", "45054", "[1, 3, 's']" ], "asctime": "2020-12-25 15:03:38,979", "created": 1608905018.979032, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 290, "message": "socket_protocol (server): RX <- status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, 's']\"", "module": "__init__", "msecs": 979.032039642334, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 2498.3742237091064, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-10" }, { "args": [ "socket_protocol (server):", "Operation not permitted" ], "asctime": "2020-12-25 15:03:38,979", "created": 1608905018.9792733, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 323, "message": "socket_protocol (server): Received message has a peculiar status: Operation not permitted", "module": "__init__", "msecs": 979.2733192443848, "msg": "%s Received message has a peculiar status: %s", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 2498.615503311157, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-10" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:38,979", "created": 1608905018.9794648, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__buffer_received_data__", "levelname": "DEBUG", "levelno": 10, "lineno": 341, "message": "socket_protocol (server): Message data is stored in buffer and is now ready to be retrieved by receive method", "module": "__init__", "msecs": 979.4647693634033, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 2498.806953430176, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-10" } ], "msecs": 177.50263214111328, "msg": "Send and received data by pure_json_protocol.", "name": "__tLogger__", "pathname": "src/tests/test_normal_operation.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 2696.8448162078857, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.19803786277770996 }, { "args": [ "True", "" ], "asctime": "2020-12-25 15:03:39,178", "created": 1608905019.1783667, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return value of authentification is correct (Content True and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Return value of authentification", "True", "" ], "asctime": "2020-12-25 15:03:39,178", "created": 1608905019.1780074, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return value of authentification): True ()", "module": "test", "msecs": 178.0073642730713, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 2697.3495483398438, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Return value of authentification", "True", "" ], "asctime": "2020-12-25 15:03:39,178", "created": 1608905019.1782134, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return value of authentification): result = True ()", "module": "test", "msecs": 178.21335792541504, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 2697.5555419921875, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 178.36666107177734, "msg": "Return value of authentification is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 2697.70884513855, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.0001533031463623047 }, { "args": [ "True", "" ], "asctime": "2020-12-25 15:03:39,178", "created": 1608905019.1788602, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return value of send method is correct (Content True and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-12-25 15:03:39,178", "created": 1608905019.178587, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return value of send method): True ()", "module": "test", "msecs": 178.5869598388672, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 2697.9291439056396, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-12-25 15:03:39,178", "created": 1608905019.1787267, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return value of send method): result = True ()", "module": "test", "msecs": 178.7266731262207, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 2698.068857192993, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 178.86018753051758, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 2698.20237159729, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.000133514404296875 }, { "args": [ "0", "" ], "asctime": "2020-12-25 15:03:39,179", "created": 1608905019.1793594, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Request Status (Okay) transfered via pure_json_protocol is correct (Content 0 and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Request Status (Okay) transfered via pure_json_protocol", "0", "" ], "asctime": "2020-12-25 15:03:39,179", "created": 1608905019.1790738, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Request Status (Okay) transfered via pure_json_protocol): 0 ()", "module": "test", "msecs": 179.07381057739258, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 2698.415994644165, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Request Status (Okay) transfered via pure_json_protocol", "0", "" ], "asctime": "2020-12-25 15:03:39,179", "created": 1608905019.1792238, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Request Status (Okay) transfered via pure_json_protocol): result = 0 ()", "module": "test", "msecs": 179.22377586364746, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 2698.56595993042, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 179.35943603515625, "msg": "Request Status (Okay) transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 2698.7016201019287, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.00013566017150878906 }, { "args": [ "{'test': 'test'}", "" ], "asctime": "2020-12-25 15:03:39,179", "created": 1608905019.179922, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Request Data transfered via pure_json_protocol is correct (Content {'test': 'test'} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Request Data transfered via pure_json_protocol", "{ 'test': 'test' }", "" ], "asctime": "2020-12-25 15:03:39,179", "created": 1608905019.1795855, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Request Data transfered via pure_json_protocol): { 'test': 'test' } ()", "module": "test", "msecs": 179.58545684814453, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 2698.927640914917, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Request Data transfered via pure_json_protocol", "{ 'test': 'test' }", "" ], "asctime": "2020-12-25 15:03:39,179", "created": 1608905019.1797504, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Request Data transfered via pure_json_protocol): result = { 'test': 'test' } ()", "module": "test", "msecs": 179.7504425048828, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 2699.0926265716553, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 179.92210388183594, "msg": "Request Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 2699.2642879486084, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.000171661376953125 }, { "args": [ "5", "" ], "asctime": "2020-12-25 15:03:39,180", "created": 1608905019.1804338, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Response Status (Operation not permitted) transfered via pure_json_protocol is correct (Content 5 and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Response Status (Operation not permitted) transfered via pure_json_protocol", "5", "" ], "asctime": "2020-12-25 15:03:39,180", "created": 1608905019.180153, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Response Status (Operation not permitted) transfered via pure_json_protocol): 5 ()", "module": "test", "msecs": 180.15289306640625, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 2699.4950771331787, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Response Status (Operation not permitted) transfered via pure_json_protocol", "5", "" ], "asctime": "2020-12-25 15:03:39,180", "created": 1608905019.1802995, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Response Status (Operation not permitted) transfered via pure_json_protocol): result = 5 ()", "module": "test", "msecs": 180.2995204925537, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 2699.641704559326, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 180.4337501525879, "msg": "Response Status (Operation not permitted) transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 2699.7759342193604, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.0001342296600341797 }, { "args": [ "[1, 3, 's']", "" ], "asctime": "2020-12-25 15:03:39,181", "created": 1608905019.1810055, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Response Data transfered via pure_json_protocol is correct (Content [1, 3, 's'] and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Response Data transfered via pure_json_protocol", "[ 1, 3, 's' ]", "" ], "asctime": "2020-12-25 15:03:39,180", "created": 1608905019.1806686, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Response Data transfered via pure_json_protocol): [ 1, 3, 's' ] ()", "module": "test", "msecs": 180.66859245300293, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 2700.0107765197754, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Response Data transfered via pure_json_protocol", "[ 1, 3, 's' ]", "" ], "asctime": "2020-12-25 15:03:39,180", "created": 1608905019.1808171, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Response Data transfered via pure_json_protocol): result = [ 1, 3, 's' ] ()", "module": "test", "msecs": 180.8171272277832, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 2700.1593112945557, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 181.00547790527344, "msg": "Response Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 2700.347661972046, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.00018835067749023438 }, { "args": [ "None", "" ], "asctime": "2020-12-25 15:03:39,282", "created": 1608905019.2822268, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content None and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "socket_protocol (server):", "0.1", "11", "45054" ], "asctime": "2020-12-25 15:03:39,281", "created": 1608905019.2815804, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 358, "message": "socket_protocol (server): TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 281.58044815063477, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 2800.922632217407, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:39,281", "created": 1608905019.2819111, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe): None ()", "module": "test", "msecs": 281.91113471984863, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 2801.253318786621, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:39,282", "created": 1608905019.282076, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe): result = None ()", "module": "test", "msecs": 282.0758819580078, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 2801.4180660247803, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 282.2268009185791, "msg": "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 2801.5689849853516, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.00015091896057128906 }, { "args": [ "None", "" ], "asctime": "2020-12-25 15:03:39,383", "created": 1608905019.3834891, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content None and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "socket_protocol (server):", "0.1", "10", "45054" ], "asctime": "2020-12-25 15:03:39,382", "created": 1608905019.3828454, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 358, "message": "socket_protocol (server): TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 382.845401763916, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 2902.1875858306885, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:39,383", "created": 1608905019.3831377, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe): None ()", "module": "test", "msecs": 383.13770294189453, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 2902.479887008667, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:39,383", "created": 1608905019.383305, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe): result = None ()", "module": "test", "msecs": 383.3050727844238, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 2902.6472568511963, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 383.48913192749023, "msg": "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 2902.8313159942627, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.00018405914306640625 } ], "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 1.4135158061981201, "time_finished": "2020-12-25 15:03:39,383", "time_start": "2020-12-25 15:03:37,969" }, "socket_protocol.pure_json_protocol: Send and receive check.": { "args": null, "asctime": "2020-12-25 15:03:37,259", "created": 1608905017.25998, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 27, "message": "socket_protocol.pure_json_protocol: Send and receive check.", "module": "__init__", "moduleLogger": [], "msecs": 259.9799633026123, "msg": "socket_protocol.pure_json_protocol: Send and receive check.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest/src/tests/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 779.3221473693848, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2020-12-25 15:03:37,763", "created": 1608905017.763997, "exc_info": null, "exc_text": null, "filename": "test_normal_operation.py", "funcName": "send_n_receive", "levelname": "DEBUG", "levelno": 10, "lineno": 42, "message": "Send and received data by pure_json_protocol.", "module": "test_normal_operation", "moduleLogger": [ { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:37,260", "created": 1608905017.2602956, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "socket_protocol (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 260.2956295013428, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 779.6378135681152, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:37,260", "created": 1608905017.260688, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "socket_protocol (server): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 260.68806648254395, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 780.0302505493164, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:37,260", "created": 1608905017.2608812, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "socket_protocol (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 260.8811855316162, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 780.2233695983887, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:37,261", "created": 1608905017.2612073, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "socket_protocol (server): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 261.20734214782715, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 780.5495262145996, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):", 0, 10, 45054, "{'test': 'test'}" ], "asctime": "2020-12-25 15:03:37,261", "created": 1608905017.2614346, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 0, service_id: 10, data_id: 45054, data: \"{'test': 'test'}\"", "module": "__init__", "msecs": 261.43455505371094, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 780.7767391204834, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:37,261", "created": 1608905017.2619069, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (79): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 7d 82 1c 8b 89", "module": "test_helpers", "msecs": 261.90686225891113, "msg": "Send data: (79): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 7d 82 1c 8b 89", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 781.2490463256836, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:37,412", "created": 1608905017.412934, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (79): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 7d 82 1c 8b 89", "module": "test_helpers", "msecs": 412.9340648651123, "msg": "Receive data (79): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 7d 82 1c 8b 89", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 932.2762489318848, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-3" }, { "args": [ "socket_protocol (server):", "0", "10", "45054", "{'test': 'test'}" ], "asctime": "2020-12-25 15:03:37,413", "created": 1608905017.4133117, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 290, "message": "socket_protocol (server): RX <- status: 0, service_id: 10, data_id: 45054, data: \"{'test': 'test'}\"", "module": "__init__", "msecs": 413.3117198944092, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 932.6539039611816, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-3" }, { "args": [ "socket_protocol (server):", "response_data_method" ], "asctime": "2020-12-25 15:03:37,413", "created": 1608905017.4135087, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 313, "message": "socket_protocol (server): Executing callback response_data_method to process received data", "module": "__init__", "msecs": 413.50865364074707, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 932.8508377075195, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-3" }, { "args": [ "socket_protocol (server):", 5, 11, 45054, "[1, 3, 's']" ], "asctime": "2020-12-25 15:03:37,413", "created": 1608905017.4137475, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, 's']\"", "module": "__init__", "msecs": 413.74754905700684, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 933.0897331237793, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-3" }, { "args": [], "asctime": "2020-12-25 15:03:37,414", "created": 1608905017.4141195, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (74): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 7d 60 f8 dc 89", "module": "test_helpers", "msecs": 414.1194820404053, "msg": "Send data: (74): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 7d 60 f8 dc 89", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 933.4616661071777, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-3" }, { "args": [], "asctime": "2020-12-25 15:03:37,564", "created": 1608905017.564965, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (74): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 7d 60 f8 dc 89", "module": "test_helpers", "msecs": 564.965009689331, "msg": "Receive data (74): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 7d 60 f8 dc 89", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 1084.3071937561035, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-4" }, { "args": [ "socket_protocol (server):", "5", "11", "45054", "[1, 3, 's']" ], "asctime": "2020-12-25 15:03:37,565", "created": 1608905017.5652163, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 290, "message": "socket_protocol (server): RX <- status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, 's']\"", "module": "__init__", "msecs": 565.2163028717041, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 1084.5584869384766, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-4" }, { "args": [ "socket_protocol (server):", "Operation not permitted" ], "asctime": "2020-12-25 15:03:37,565", "created": 1608905017.5653477, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 323, "message": "socket_protocol (server): Received message has a peculiar status: Operation not permitted", "module": "__init__", "msecs": 565.3476715087891, "msg": "%s Received message has a peculiar status: %s", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 1084.6898555755615, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-4" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:37,565", "created": 1608905017.5654542, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__buffer_received_data__", "levelname": "DEBUG", "levelno": 10, "lineno": 341, "message": "socket_protocol (server): Message data is stored in buffer and is now ready to be retrieved by receive method", "module": "__init__", "msecs": 565.4542446136475, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 1084.79642868042, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-4" } ], "msecs": 763.9970779418945, "msg": "Send and received data by pure_json_protocol.", "name": "__tLogger__", "pathname": "src/tests/test_normal_operation.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 1283.339262008667, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.19854283332824707 }, { "args": [ "True", "" ], "asctime": "2020-12-25 15:03:37,764", "created": 1608905017.7648048, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return value of send method is correct (Content True and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-12-25 15:03:37,764", "created": 1608905017.7644567, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return value of send method): True ()", "module": "test", "msecs": 764.4567489624023, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 1283.7989330291748, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-12-25 15:03:37,764", "created": 1608905017.7646344, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return value of send method): result = True ()", "module": "test", "msecs": 764.634370803833, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 1283.9765548706055, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 764.8048400878906, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 1284.147024154663, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.0001704692840576172 }, { "args": [ "0", "" ], "asctime": "2020-12-25 15:03:37,765", "created": 1608905017.7653196, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Request Status (Okay) transfered via pure_json_protocol is correct (Content 0 and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Request Status (Okay) transfered via pure_json_protocol", "0", "" ], "asctime": "2020-12-25 15:03:37,765", "created": 1608905017.7650416, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Request Status (Okay) transfered via pure_json_protocol): 0 ()", "module": "test", "msecs": 765.0415897369385, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 1284.383773803711, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Request Status (Okay) transfered via pure_json_protocol", "0", "" ], "asctime": "2020-12-25 15:03:37,765", "created": 1608905017.7651832, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Request Status (Okay) transfered via pure_json_protocol): result = 0 ()", "module": "test", "msecs": 765.1832103729248, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 1284.5253944396973, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 765.3195858001709, "msg": "Request Status (Okay) transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 1284.6617698669434, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.00013637542724609375 }, { "args": [ "{'test': 'test'}", "" ], "asctime": "2020-12-25 15:03:37,765", "created": 1608905017.765914, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Request Data transfered via pure_json_protocol is correct (Content {'test': 'test'} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Request Data transfered via pure_json_protocol", "{ 'test': 'test' }", "" ], "asctime": "2020-12-25 15:03:37,765", "created": 1608905017.7655501, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Request Data transfered via pure_json_protocol): { 'test': 'test' } ()", "module": "test", "msecs": 765.5501365661621, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 1284.8923206329346, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Request Data transfered via pure_json_protocol", "{ 'test': 'test' }", "" ], "asctime": "2020-12-25 15:03:37,765", "created": 1608905017.7657404, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Request Data transfered via pure_json_protocol): result = { 'test': 'test' } ()", "module": "test", "msecs": 765.7403945922852, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 1285.0825786590576, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 765.9139633178711, "msg": "Request Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 1285.2561473846436, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.0001735687255859375 }, { "args": [ "5", "" ], "asctime": "2020-12-25 15:03:37,766", "created": 1608905017.7664227, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Response Status (Operation not permitted) transfered via pure_json_protocol is correct (Content 5 and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Response Status (Operation not permitted) transfered via pure_json_protocol", "5", "" ], "asctime": "2020-12-25 15:03:37,766", "created": 1608905017.766138, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Response Status (Operation not permitted) transfered via pure_json_protocol): 5 ()", "module": "test", "msecs": 766.1380767822266, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 1285.480260848999, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Response Status (Operation not permitted) transfered via pure_json_protocol", "5", "" ], "asctime": "2020-12-25 15:03:37,766", "created": 1608905017.766287, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Response Status (Operation not permitted) transfered via pure_json_protocol): result = 5 ()", "module": "test", "msecs": 766.287088394165, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 1285.6292724609375, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 766.4227485656738, "msg": "Response Status (Operation not permitted) transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 1285.7649326324463, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.00013566017150878906 }, { "args": [ "[1, 3, 's']", "" ], "asctime": "2020-12-25 15:03:37,767", "created": 1608905017.7670028, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Response Data transfered via pure_json_protocol is correct (Content [1, 3, 's'] and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Response Data transfered via pure_json_protocol", "[ 1, 3, 's' ]", "" ], "asctime": "2020-12-25 15:03:37,766", "created": 1608905017.766654, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Response Data transfered via pure_json_protocol): [ 1, 3, 's' ] ()", "module": "test", "msecs": 766.6540145874023, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 1285.9961986541748, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Response Data transfered via pure_json_protocol", "[ 1, 3, 's' ]", "" ], "asctime": "2020-12-25 15:03:37,766", "created": 1608905017.7668135, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Response Data transfered via pure_json_protocol): result = [ 1, 3, 's' ] ()", "module": "test", "msecs": 766.8135166168213, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 1286.1557006835938, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 767.0028209686279, "msg": "Response Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 1286.3450050354004, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.00018930435180664062 }, { "args": [ "None", "" ], "asctime": "2020-12-25 15:03:37,868", "created": 1608905017.8681364, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content None and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "socket_protocol (server):", "0.1", "11", "45054" ], "asctime": "2020-12-25 15:03:37,867", "created": 1608905017.8675313, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 358, "message": "socket_protocol (server): TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 867.5312995910645, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 1386.873483657837, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:37,867", "created": 1608905017.867819, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe): None ()", "module": "test", "msecs": 867.81907081604, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 1387.1612548828125, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:37,867", "created": 1608905017.867986, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe): result = None ()", "module": "test", "msecs": 867.9859638214111, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 1387.3281478881836, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 868.1364059448242, "msg": "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 1387.4785900115967, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.00015044212341308594 }, { "args": [ "None", "" ], "asctime": "2020-12-25 15:03:37,969", "created": 1608905017.9694054, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content None and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "socket_protocol (server):", "0.1", "10", "45054" ], "asctime": "2020-12-25 15:03:37,968", "created": 1608905017.9687448, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 358, "message": "socket_protocol (server): TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 968.7447547912598, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 1488.0869388580322, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:37,969", "created": 1608905017.9690585, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe): None ()", "module": "test", "msecs": 969.0585136413574, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 1488.4006977081299, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:37,969", "created": 1608905017.9692292, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe): result = None ()", "module": "test", "msecs": 969.2292213439941, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 1488.5714054107666, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 969.4054126739502, "msg": "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 1488.7475967407227, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.0001761913299560547 } ], "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.7094254493713379, "time_finished": "2020-12-25 15:03:37,969", "time_start": "2020-12-25 15:03:37,259" }, "socket_protocol.pure_json_protocol: Timeout measurement for authentification and send method.": { "args": null, "asctime": "2020-12-25 15:03:43,943", "created": 1608905023.9434936, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 38, "message": "socket_protocol.pure_json_protocol: Timeout measurement for authentification and send method.", "module": "__init__", "moduleLogger": [], "msecs": 943.4936046600342, "msg": "socket_protocol.pure_json_protocol: Timeout measurement for authentification and send method.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest/src/tests/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 7462.835788726807, "stack_info": null, "testcaseLogger": [ { "args": [ "0.20126914978027344", "0.2", "0.22000000000000003", "" ], "asctime": "2020-12-25 15:03:44,146", "created": 1608905024.146737, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "range_chk", "levelname": "INFO", "levelno": 20, "lineno": 218, "message": "Timeout for authentification is correct (Content 0.20126914978027344 in [0.2 ... 0.22000000000000003] and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:43,943", "created": 1608905023.9438117, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "socket_protocol (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 943.8116550445557, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 7463.153839111328, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:43,944", "created": 1608905023.9441953, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "socket_protocol (server): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 944.1952705383301, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 7463.5374546051025, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:43,944", "created": 1608905023.9443996, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "socket_protocol (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 944.3995952606201, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 7463.741779327393, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:43,944", "created": 1608905023.944734, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "socket_protocol (server): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 944.7340965270996, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 7464.076280593872, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:43,944", "created": 1608905023.9449227, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "authentificate", "levelname": "INFO", "levelno": 20, "lineno": 427, "message": "socket_protocol (server): Requesting seed for authentification", "module": "__init__", "msecs": 944.922685623169, "msg": "%s Requesting seed for authentification", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 7464.264869689941, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):", 0, 1, 0, "None" ], "asctime": "2020-12-25 15:03:43,945", "created": 1608905023.9450736, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 0, service_id: 1, data_id: 0, data: \"None\"", "module": "__init__", "msecs": 945.0736045837402, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 7464.415788650513, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:43,945", "created": 1608905023.9454403, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (62): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 7d 9e 85 7b 8d", "module": "test_helpers", "msecs": 945.4402923583984, "msg": "Send data: (62): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 7d 9e 85 7b 8d", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 7464.782476425171, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Timeout for authentification", "0.20126914978027344", "" ], "asctime": "2020-12-25 15:03:44,146", "created": 1608905024.1462553, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Timeout for authentification): 0.20126914978027344 ()", "module": "test", "msecs": 146.2552547454834, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 7665.597438812256, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Timeout for authentification", "0.2", "0.22000000000000003" ], "asctime": "2020-12-25 15:03:44,146", "created": 1608905024.1465302, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_range__", "levelname": "DEBUG", "levelno": 10, "lineno": 30, "message": "Expectation (Timeout for authentification): 0.2 <= result <= 0.22000000000000003", "module": "test", "msecs": 146.5301513671875, "msg": "Expectation (%s): %s <= result <= %s", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 7665.87233543396, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 146.73709869384766, "msg": "Timeout for authentification is correct (Content %s in [%s ... %s] and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 7666.07928276062, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.00020694732666015625 }, { "args": [ "0.5021231174468994", "0.5", "0.55", "" ], "asctime": "2020-12-25 15:03:44,649", "created": 1608905024.6496973, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "range_chk", "levelname": "INFO", "levelno": 20, "lineno": 218, "message": "Timeout for authentification is correct (Content 0.5021231174468994 in [0.5 ... 0.55] and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:44,147", "created": 1608905024.1470375, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "authentificate", "levelname": "INFO", "levelno": 20, "lineno": 427, "message": "socket_protocol (server): Requesting seed for authentification", "module": "__init__", "msecs": 147.03750610351562, "msg": "%s Requesting seed for authentification", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 7666.379690170288, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):", 0, 1, 0, "None" ], "asctime": "2020-12-25 15:03:44,147", "created": 1608905024.147212, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 0, service_id: 1, data_id: 0, data: \"None\"", "module": "__init__", "msecs": 147.21202850341797, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 7666.55421257019, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:44,147", "created": 1608905024.1475823, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (62): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 7d 9e 85 7b 8d", "module": "test_helpers", "msecs": 147.5822925567627, "msg": "Send data: (62): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 7d 9e 85 7b 8d", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 7666.924476623535, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Timeout for authentification", "0.5021231174468994", "" ], "asctime": "2020-12-25 15:03:44,649", "created": 1608905024.649211, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Timeout for authentification): 0.5021231174468994 ()", "module": "test", "msecs": 649.2109298706055, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 8168.553113937378, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Timeout for authentification", "0.5", "0.55" ], "asctime": "2020-12-25 15:03:44,649", "created": 1608905024.6494846, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_range__", "levelname": "DEBUG", "levelno": 10, "lineno": 30, "message": "Expectation (Timeout for authentification): 0.5 <= result <= 0.55", "module": "test", "msecs": 649.4846343994141, "msg": "Expectation (%s): %s <= result <= %s", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 8168.8268184661865, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 649.6973037719727, "msg": "Timeout for authentification is correct (Content %s in [%s ... %s] and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 8169.039487838745, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.00021266937255859375 }, { "args": [ "0.20092320442199707", "0.2", "0.22000000000000003", "" ], "asctime": "2020-12-25 15:03:44,851", "created": 1608905024.8512628, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "range_chk", "levelname": "INFO", "levelno": 20, "lineno": 218, "message": "Timeout for send method is correct (Content 0.20092320442199707 in [0.2 ... 0.22000000000000003] and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "socket_protocol (server):", "0.2", "30", "0" ], "asctime": "2020-12-25 15:03:44,850", "created": 1608905024.8506086, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 358, "message": "socket_protocol (server): TIMEOUT (0.2s): Requested data (service_id: 30; data_id: 0) not in buffer.", "module": "__init__", "msecs": 850.6085872650146, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 8369.950771331787, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Timeout for send method", "0.20092320442199707", "" ], "asctime": "2020-12-25 15:03:44,850", "created": 1608905024.8509283, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Timeout for send method): 0.20092320442199707 ()", "module": "test", "msecs": 850.9283065795898, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 8370.270490646362, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Timeout for send method", "0.2", "0.22000000000000003" ], "asctime": "2020-12-25 15:03:44,851", "created": 1608905024.8511004, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_range__", "levelname": "DEBUG", "levelno": 10, "lineno": 30, "message": "Expectation (Timeout for send method): 0.2 <= result <= 0.22000000000000003", "module": "test", "msecs": 851.1004447937012, "msg": "Expectation (%s): %s <= result <= %s", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 8370.442628860474, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 851.2628078460693, "msg": "Timeout for send method is correct (Content %s in [%s ... %s] and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 8370.604991912842, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.00016236305236816406 }, { "args": [ "0.5018301010131836", "0.5", "0.55", "" ], "asctime": "2020-12-25 15:03:45,353", "created": 1608905025.3537567, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "range_chk", "levelname": "INFO", "levelno": 20, "lineno": 218, "message": "Timeout for send method is correct (Content 0.5018301010131836 in [0.5 ... 0.55] and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "socket_protocol (server):", "0.5", "30", "0" ], "asctime": "2020-12-25 15:03:45,353", "created": 1608905025.3530598, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 358, "message": "socket_protocol (server): TIMEOUT (0.5s): Requested data (service_id: 30; data_id: 0) not in buffer.", "module": "__init__", "msecs": 353.0597686767578, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 8872.40195274353, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Timeout for send method", "0.5018301010131836", "" ], "asctime": "2020-12-25 15:03:45,353", "created": 1608905025.3533783, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Timeout for send method): 0.5018301010131836 ()", "module": "test", "msecs": 353.3782958984375, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 8872.72047996521, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Timeout for send method", "0.5", "0.55" ], "asctime": "2020-12-25 15:03:45,353", "created": 1608905025.3535488, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_range__", "levelname": "DEBUG", "levelno": 10, "lineno": 30, "message": "Expectation (Timeout for send method): 0.5 <= result <= 0.55", "module": "test", "msecs": 353.5487651824951, "msg": "Expectation (%s): %s <= result <= %s", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 8872.890949249268, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 353.7566661834717, "msg": "Timeout for send method is correct (Content %s in [%s ... %s] and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 8873.098850250244, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.0002079010009765625 } ], "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 1.4102630615234375, "time_finished": "2020-12-25 15:03:45,353", "time_start": "2020-12-25 15:03:43,943" }, "socket_protocol.pure_json_protocol: Wildcard Callback registration for data_id.": { "args": null, "asctime": "2020-12-25 15:03:40,803", "created": 1608905020.8038766, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 31, "message": "socket_protocol.pure_json_protocol: Wildcard Callback registration for data_id.", "module": "__init__", "moduleLogger": [], "msecs": 803.8766384124756, "msg": "socket_protocol.pure_json_protocol: Wildcard Callback registration for data_id.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest/src/tests/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 4323.218822479248, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2020-12-25 15:03:41,307", "created": 1608905021.3079083, "exc_info": null, "exc_text": null, "filename": "test_normal_operation.py", "funcName": "wildcard_callback", "levelname": "DEBUG", "levelno": 10, "lineno": 96, "message": "Send and received data by pure_json_protocol. Wildcard callback registerd for .", "module": "test_normal_operation", "moduleLogger": [ { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:40,804", "created": 1608905020.804179, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "socket_protocol (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 804.1789531707764, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 4323.521137237549, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:40,804", "created": 1608905020.8045616, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "socket_protocol (server): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 804.5616149902344, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 4323.903799057007, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:40,804", "created": 1608905020.804761, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "socket_protocol (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 804.7609329223633, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 4324.103116989136, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:40,805", "created": 1608905020.8050857, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "socket_protocol (server): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 805.0856590270996, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 4324.427843093872, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):", 0, 10, 48879, "{'test': 'test'}" ], "asctime": "2020-12-25 15:03:40,805", "created": 1608905020.8053133, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 0, service_id: 10, data_id: 48879, data: \"{'test': 'test'}\"", "module": "__init__", "msecs": 805.3133487701416, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 4324.655532836914, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:40,805", "created": 1608905020.8057525, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (79): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 7d cc a2 b9 e6", "module": "test_helpers", "msecs": 805.7525157928467, "msg": "Send data: (79): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 7d cc a2 b9 e6", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 4325.094699859619, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:40,956", "created": 1608905020.956802, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (79): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 7d cc a2 b9 e6", "module": "test_helpers", "msecs": 956.8018913269043, "msg": "Receive data (79): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 7d cc a2 b9 e6", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 4476.144075393677, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-15" }, { "args": [ "socket_protocol (server):", "0", "10", "48879", "{'test': 'test'}" ], "asctime": "2020-12-25 15:03:40,957", "created": 1608905020.9572127, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 290, "message": "socket_protocol (server): RX <- status: 0, service_id: 10, data_id: 48879, data: \"{'test': 'test'}\"", "module": "__init__", "msecs": 957.2126865386963, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 4476.554870605469, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-15" }, { "args": [ "socket_protocol (server):", "response_data_method" ], "asctime": "2020-12-25 15:03:40,957", "created": 1608905020.9574318, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 313, "message": "socket_protocol (server): Executing callback response_data_method to process received data", "module": "__init__", "msecs": 957.4317932128906, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 4476.773977279663, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-15" }, { "args": [ "socket_protocol (server):", 5, 11, 48879, "[1, 3, 's']" ], "asctime": "2020-12-25 15:03:40,957", "created": 1608905020.9576192, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 5, service_id: 11, data_id: 48879, data: \"[1, 3, 's']\"", "module": "__init__", "msecs": 957.6191902160645, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 4476.961374282837, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-15" }, { "args": [], "asctime": "2020-12-25 15:03:40,958", "created": 1608905020.9580405, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (74): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 7d 7d 1e 6e 1b", "module": "test_helpers", "msecs": 958.0404758453369, "msg": "Send data: (74): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 7d 7d 1e 6e 1b", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 4477.382659912109, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-15" }, { "args": [], "asctime": "2020-12-25 15:03:41,109", "created": 1608905021.1090765, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (74): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 7d 7d 1e 6e 1b", "module": "test_helpers", "msecs": 109.07649993896484, "msg": "Receive data (74): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 7d 7d 1e 6e 1b", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 4628.418684005737, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-16" }, { "args": [ "socket_protocol (server):", "5", "11", "48879", "[1, 3, 's']" ], "asctime": "2020-12-25 15:03:41,109", "created": 1608905021.1095035, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 290, "message": "socket_protocol (server): RX <- status: 5, service_id: 11, data_id: 48879, data: \"[1, 3, 's']\"", "module": "__init__", "msecs": 109.50350761413574, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 4628.845691680908, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-16" }, { "args": [ "socket_protocol (server):", "Operation not permitted" ], "asctime": "2020-12-25 15:03:41,109", "created": 1608905021.1097813, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 323, "message": "socket_protocol (server): Received message has a peculiar status: Operation not permitted", "module": "__init__", "msecs": 109.78126525878906, "msg": "%s Received message has a peculiar status: %s", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 4629.1234493255615, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-16" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:41,109", "created": 1608905021.1099765, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__buffer_received_data__", "levelname": "DEBUG", "levelno": 10, "lineno": 341, "message": "socket_protocol (server): Message data is stored in buffer and is now ready to be retrieved by receive method", "module": "__init__", "msecs": 109.97653007507324, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 4629.318714141846, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-16" } ], "msecs": 307.908296585083, "msg": "Send and received data by pure_json_protocol. Wildcard callback registerd for .", "name": "__tLogger__", "pathname": "src/tests/test_normal_operation.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 4827.2504806518555, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.19793176651000977 }, { "args": [ "True", "" ], "asctime": "2020-12-25 15:03:41,308", "created": 1608905021.308647, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return value of send method is correct (Content True and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-12-25 15:03:41,308", "created": 1608905021.3083236, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return value of send method): True ()", "module": "test", "msecs": 308.32362174987793, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 4827.66580581665, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-12-25 15:03:41,308", "created": 1608905021.308495, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return value of send method): result = True ()", "module": "test", "msecs": 308.49504470825195, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 4827.837228775024, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 308.64691734313965, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 4827.989101409912, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.0001518726348876953 }, { "args": [ "0", "" ], "asctime": "2020-12-25 15:03:41,309", "created": 1608905021.3091574, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Request Status (Okay) transfered via pure_json_protocol is correct (Content 0 and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Request Status (Okay) transfered via pure_json_protocol", "0", "" ], "asctime": "2020-12-25 15:03:41,308", "created": 1608905021.3088777, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Request Status (Okay) transfered via pure_json_protocol): 0 ()", "module": "test", "msecs": 308.87770652770996, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 4828.219890594482, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Request Status (Okay) transfered via pure_json_protocol", "0", "" ], "asctime": "2020-12-25 15:03:41,309", "created": 1608905021.309021, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Request Status (Okay) transfered via pure_json_protocol): result = 0 ()", "module": "test", "msecs": 309.02099609375, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 4828.3631801605225, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 309.1573715209961, "msg": "Request Status (Okay) transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 4828.499555587769, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.00013637542724609375 }, { "args": [ "{'test': 'test'}", "" ], "asctime": "2020-12-25 15:03:41,309", "created": 1608905021.309739, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Request Data transfered via pure_json_protocol is correct (Content {'test': 'test'} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Request Data transfered via pure_json_protocol", "{ 'test': 'test' }", "" ], "asctime": "2020-12-25 15:03:41,309", "created": 1608905021.3093886, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Request Data transfered via pure_json_protocol): { 'test': 'test' } ()", "module": "test", "msecs": 309.3886375427246, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 4828.730821609497, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Request Data transfered via pure_json_protocol", "{ 'test': 'test' }", "" ], "asctime": "2020-12-25 15:03:41,309", "created": 1608905021.3095357, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Request Data transfered via pure_json_protocol): result = { 'test': 'test' } ()", "module": "test", "msecs": 309.5357418060303, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 4828.877925872803, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 309.7391128540039, "msg": "Request Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 4829.081296920776, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.0002033710479736328 }, { "args": [ "5", "" ], "asctime": "2020-12-25 15:03:41,310", "created": 1608905021.3102763, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Response Status (Operation not permitted) transfered via pure_json_protocol is correct (Content 5 and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Response Status (Operation not permitted) transfered via pure_json_protocol", "5", "" ], "asctime": "2020-12-25 15:03:41,309", "created": 1608905021.3099678, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Response Status (Operation not permitted) transfered via pure_json_protocol): 5 ()", "module": "test", "msecs": 309.9677562713623, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 4829.309940338135, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Response Status (Operation not permitted) transfered via pure_json_protocol", "5", "" ], "asctime": "2020-12-25 15:03:41,310", "created": 1608905021.310108, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Response Status (Operation not permitted) transfered via pure_json_protocol): result = 5 ()", "module": "test", "msecs": 310.107946395874, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 4829.4501304626465, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 310.2762699127197, "msg": "Response Status (Operation not permitted) transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 4829.618453979492, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.00016832351684570312 }, { "args": [ "[1, 3, 's']", "" ], "asctime": "2020-12-25 15:03:41,310", "created": 1608905021.3108604, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Response Data transfered via pure_json_protocol is correct (Content [1, 3, 's'] and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Response Data transfered via pure_json_protocol", "[ 1, 3, 's' ]", "" ], "asctime": "2020-12-25 15:03:41,310", "created": 1608905021.3105223, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Response Data transfered via pure_json_protocol): [ 1, 3, 's' ] ()", "module": "test", "msecs": 310.52231788635254, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 4829.864501953125, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Response Data transfered via pure_json_protocol", "[ 1, 3, 's' ]", "" ], "asctime": "2020-12-25 15:03:41,310", "created": 1608905021.3106706, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Response Data transfered via pure_json_protocol): result = [ 1, 3, 's' ] ()", "module": "test", "msecs": 310.6706142425537, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 4830.012798309326, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 310.86039543151855, "msg": "Response Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 4830.202579498291, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.00018978118896484375 }, { "args": [ "None", "" ], "asctime": "2020-12-25 15:03:41,412", "created": 1608905021.4120834, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef is correct (Content None and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "socket_protocol (server):", "0.1", "11", "48879" ], "asctime": "2020-12-25 15:03:41,411", "created": 1608905021.4114377, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 358, "message": "socket_protocol (server): TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 48879) not in buffer.", "module": "__init__", "msecs": 411.4377498626709, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 4930.779933929443, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-12-25 15:03:41,411", "created": 1608905021.411763, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef): None ()", "module": "test", "msecs": 411.76295280456543, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 4931.105136871338, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-12-25 15:03:41,411", "created": 1608905021.4119308, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef): result = None ()", "module": "test", "msecs": 411.93079948425293, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 4931.272983551025, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 412.08338737487793, "msg": "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 4931.42557144165, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.000152587890625 }, { "args": [ "None", "" ], "asctime": "2020-12-25 15:03:41,512", "created": 1608905021.5129132, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef is correct (Content None and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "socket_protocol (server):", "0.1", "10", "48879" ], "asctime": "2020-12-25 15:03:41,512", "created": 1608905021.5126245, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 358, "message": "socket_protocol (server): TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 48879) not in buffer.", "module": "__init__", "msecs": 512.6245021820068, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 5031.966686248779, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-12-25 15:03:41,512", "created": 1608905021.5127718, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef): None ()", "module": "test", "msecs": 512.7718448638916, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 5032.114028930664, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-12-25 15:03:41,512", "created": 1608905021.5128505, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef): result = None ()", "module": "test", "msecs": 512.8505229949951, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 5032.192707061768, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 512.9132270812988, "msg": "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 5032.255411148071, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 6.270408630371094e-05 } ], "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.7090365886688232, "time_finished": "2020-12-25 15:03:41,512", "time_start": "2020-12-25 15:03:40,803" }, "socket_protocol.pure_json_protocol: Wildcard Callback registration for service_id and data_id.": { "args": null, "asctime": "2020-12-25 15:03:39,384", "created": 1608905019.384004, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 29, "message": "socket_protocol.pure_json_protocol: Wildcard Callback registration for service_id and data_id.", "module": "__init__", "moduleLogger": [], "msecs": 384.0041160583496, "msg": "socket_protocol.pure_json_protocol: Wildcard Callback registration for service_id and data_id.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest/src/tests/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 2903.346300125122, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2020-12-25 15:03:39,887", "created": 1608905019.8879793, "exc_info": null, "exc_text": null, "filename": "test_normal_operation.py", "funcName": "wildcard_callback", "levelname": "DEBUG", "levelno": 10, "lineno": 96, "message": "Send and received data by pure_json_protocol. Wildcard callback registerd for service_id and data_id.", "module": "test_normal_operation", "moduleLogger": [ { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:39,384", "created": 1608905019.3843071, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "socket_protocol (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 384.3071460723877, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 2903.64933013916, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:39,384", "created": 1608905019.3847027, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "socket_protocol (server): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 384.7026824951172, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 2904.0448665618896, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:39,384", "created": 1608905019.3848898, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "socket_protocol (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 384.8898410797119, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 2904.2320251464844, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:39,385", "created": 1608905019.3852127, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "socket_protocol (server): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 385.21265983581543, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 2904.554843902588, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):", 0, 10, 48879, "{'test': 'test'}" ], "asctime": "2020-12-25 15:03:39,385", "created": 1608905019.3854177, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 0, service_id: 10, data_id: 48879, data: \"{'test': 'test'}\"", "module": "__init__", "msecs": 385.4176998138428, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 2904.7598838806152, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:39,385", "created": 1608905019.3858604, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (79): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 7d cc a2 b9 e6", "module": "test_helpers", "msecs": 385.8604431152344, "msg": "Send data: (79): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 7d cc a2 b9 e6", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 2905.202627182007, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:39,536", "created": 1608905019.5368843, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (79): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 7d cc a2 b9 e6", "module": "test_helpers", "msecs": 536.8843078613281, "msg": "Receive data (79): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 7d cc a2 b9 e6", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 3056.2264919281006, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-11" }, { "args": [ "socket_protocol (server):", "0", "10", "48879", "{'test': 'test'}" ], "asctime": "2020-12-25 15:03:39,537", "created": 1608905019.537297, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 290, "message": "socket_protocol (server): RX <- status: 0, service_id: 10, data_id: 48879, data: \"{'test': 'test'}\"", "module": "__init__", "msecs": 537.2970104217529, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 3056.6391944885254, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-11" }, { "args": [ "socket_protocol (server):", "response_data_method" ], "asctime": "2020-12-25 15:03:39,537", "created": 1608905019.5375273, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 313, "message": "socket_protocol (server): Executing callback response_data_method to process received data", "module": "__init__", "msecs": 537.527322769165, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 3056.8695068359375, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-11" }, { "args": [ "socket_protocol (server):", 5, 11, 48879, "[1, 3, 's']" ], "asctime": "2020-12-25 15:03:39,537", "created": 1608905019.5377526, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 5, service_id: 11, data_id: 48879, data: \"[1, 3, 's']\"", "module": "__init__", "msecs": 537.752628326416, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 3057.0948123931885, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-11" }, { "args": [], "asctime": "2020-12-25 15:03:39,538", "created": 1608905019.538198, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (74): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 7d 7d 1e 6e 1b", "module": "test_helpers", "msecs": 538.1979942321777, "msg": "Send data: (74): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 7d 7d 1e 6e 1b", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 3057.54017829895, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-11" }, { "args": [], "asctime": "2020-12-25 15:03:39,689", "created": 1608905019.6893992, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (74): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 7d 7d 1e 6e 1b", "module": "test_helpers", "msecs": 689.399242401123, "msg": "Receive data (74): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 7d 7d 1e 6e 1b", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 3208.7414264678955, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-12" }, { "args": [ "socket_protocol (server):", "5", "11", "48879", "[1, 3, 's']" ], "asctime": "2020-12-25 15:03:39,690", "created": 1608905019.6900456, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 290, "message": "socket_protocol (server): RX <- status: 5, service_id: 11, data_id: 48879, data: \"[1, 3, 's']\"", "module": "__init__", "msecs": 690.0455951690674, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 3209.38777923584, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-12" }, { "args": [ "socket_protocol (server):", "Operation not permitted" ], "asctime": "2020-12-25 15:03:39,690", "created": 1608905019.6902657, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 323, "message": "socket_protocol (server): Received message has a peculiar status: Operation not permitted", "module": "__init__", "msecs": 690.2656555175781, "msg": "%s Received message has a peculiar status: %s", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 3209.6078395843506, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-12" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:39,690", "created": 1608905019.690431, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__buffer_received_data__", "levelname": "DEBUG", "levelno": 10, "lineno": 341, "message": "socket_protocol (server): Message data is stored in buffer and is now ready to be retrieved by receive method", "module": "__init__", "msecs": 690.4311180114746, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 3209.773302078247, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-12" } ], "msecs": 887.97926902771, "msg": "Send and received data by pure_json_protocol. Wildcard callback registerd for service_id and data_id.", "name": "__tLogger__", "pathname": "src/tests/test_normal_operation.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 3407.3214530944824, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.19754815101623535 }, { "args": [ "True", "" ], "asctime": "2020-12-25 15:03:39,888", "created": 1608905019.8887208, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return value of send method is correct (Content True and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-12-25 15:03:39,888", "created": 1608905019.8883972, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return value of send method): True ()", "module": "test", "msecs": 888.397216796875, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 3407.7394008636475, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-12-25 15:03:39,888", "created": 1608905019.8885705, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return value of send method): result = True ()", "module": "test", "msecs": 888.5705471038818, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 3407.9127311706543, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 888.7207508087158, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 3408.0629348754883, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.00015020370483398438 }, { "args": [ "0", "" ], "asctime": "2020-12-25 15:03:39,889", "created": 1608905019.889228, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Request Status (Okay) transfered via pure_json_protocol is correct (Content 0 and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Request Status (Okay) transfered via pure_json_protocol", "0", "" ], "asctime": "2020-12-25 15:03:39,888", "created": 1608905019.8889503, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Request Status (Okay) transfered via pure_json_protocol): 0 ()", "module": "test", "msecs": 888.9503479003906, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 3408.292531967163, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Request Status (Okay) transfered via pure_json_protocol", "0", "" ], "asctime": "2020-12-25 15:03:39,889", "created": 1608905019.889093, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Request Status (Okay) transfered via pure_json_protocol): result = 0 ()", "module": "test", "msecs": 889.0929222106934, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 3408.435106277466, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 889.228105545044, "msg": "Request Status (Okay) transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 3408.5702896118164, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.00013518333435058594 }, { "args": [ "{'test': 'test'}", "" ], "asctime": "2020-12-25 15:03:39,889", "created": 1608905019.889871, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Request Data transfered via pure_json_protocol is correct (Content {'test': 'test'} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Request Data transfered via pure_json_protocol", "{ 'test': 'test' }", "" ], "asctime": "2020-12-25 15:03:39,889", "created": 1608905019.8894558, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Request Data transfered via pure_json_protocol): { 'test': 'test' } ()", "module": "test", "msecs": 889.4557952880859, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 3408.7979793548584, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Request Data transfered via pure_json_protocol", "{ 'test': 'test' }", "" ], "asctime": "2020-12-25 15:03:39,889", "created": 1608905019.8896706, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Request Data transfered via pure_json_protocol): result = { 'test': 'test' } ()", "module": "test", "msecs": 889.6706104278564, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 3409.012794494629, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 889.8708820343018, "msg": "Request Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 3409.213066101074, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.0002002716064453125 }, { "args": [ "5", "" ], "asctime": "2020-12-25 15:03:39,890", "created": 1608905019.8903708, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Response Status (Operation not permitted) transfered via pure_json_protocol is correct (Content 5 and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Response Status (Operation not permitted) transfered via pure_json_protocol", "5", "" ], "asctime": "2020-12-25 15:03:39,890", "created": 1608905019.8901012, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Response Status (Operation not permitted) transfered via pure_json_protocol): 5 ()", "module": "test", "msecs": 890.1011943817139, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 3409.4433784484863, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Response Status (Operation not permitted) transfered via pure_json_protocol", "5", "" ], "asctime": "2020-12-25 15:03:39,890", "created": 1608905019.8902378, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Response Status (Operation not permitted) transfered via pure_json_protocol): result = 5 ()", "module": "test", "msecs": 890.2378082275391, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 3409.5799922943115, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 890.3708457946777, "msg": "Response Status (Operation not permitted) transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 3409.71302986145, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.00013303756713867188 }, { "args": [ "[1, 3, 's']", "" ], "asctime": "2020-12-25 15:03:39,890", "created": 1608905019.8909357, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Response Data transfered via pure_json_protocol is correct (Content [1, 3, 's'] and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Response Data transfered via pure_json_protocol", "[ 1, 3, 's' ]", "" ], "asctime": "2020-12-25 15:03:39,890", "created": 1608905019.8906007, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Response Data transfered via pure_json_protocol): [ 1, 3, 's' ] ()", "module": "test", "msecs": 890.6006813049316, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 3409.942865371704, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Response Data transfered via pure_json_protocol", "[ 1, 3, 's' ]", "" ], "asctime": "2020-12-25 15:03:39,890", "created": 1608905019.8907478, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Response Data transfered via pure_json_protocol): result = [ 1, 3, 's' ] ()", "module": "test", "msecs": 890.7477855682373, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 3410.0899696350098, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 890.9356594085693, "msg": "Response Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 3410.277843475342, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.00018787384033203125 }, { "args": [ "None", "" ], "asctime": "2020-12-25 15:03:39,992", "created": 1608905019.992123, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef is correct (Content None and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "socket_protocol (server):", "0.1", "11", "48879" ], "asctime": "2020-12-25 15:03:39,991", "created": 1608905019.9915195, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 358, "message": "socket_protocol (server): TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 48879) not in buffer.", "module": "__init__", "msecs": 991.5194511413574, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 3510.86163520813, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-12-25 15:03:39,991", "created": 1608905019.9918094, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef): None ()", "module": "test", "msecs": 991.8093681335449, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 3511.1515522003174, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-12-25 15:03:39,991", "created": 1608905019.9919734, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef): result = None ()", "module": "test", "msecs": 991.9734001159668, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 3511.3155841827393, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 992.1228885650635, "msg": "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 3511.465072631836, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.0001494884490966797 }, { "args": [ "None", "" ], "asctime": "2020-12-25 15:03:40,093", "created": 1608905020.0933754, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef is correct (Content None and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "socket_protocol (server):", "0.1", "10", "48879" ], "asctime": "2020-12-25 15:03:40,092", "created": 1608905020.0927427, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 358, "message": "socket_protocol (server): TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 48879) not in buffer.", "module": "__init__", "msecs": 92.7426815032959, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 3612.0848655700684, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-12-25 15:03:40,093", "created": 1608905020.0930326, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef): None ()", "module": "test", "msecs": 93.0325984954834, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 3612.374782562256, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-12-25 15:03:40,093", "created": 1608905020.0931993, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef): result = None ()", "module": "test", "msecs": 93.19925308227539, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 3612.541437149048, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 93.37544441223145, "msg": "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 3612.717628479004, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.0001761913299560547 } ], "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.7093713283538818, "time_finished": "2020-12-25 15:03:40,093", "time_start": "2020-12-25 15:03:39,384" }, "socket_protocol.pure_json_protocol: Wildcard Callback registration for service_id.": { "args": null, "asctime": "2020-12-25 15:03:40,093", "created": 1608905020.0939422, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 30, "message": "socket_protocol.pure_json_protocol: Wildcard Callback registration for service_id.", "module": "__init__", "moduleLogger": [], "msecs": 93.94216537475586, "msg": "socket_protocol.pure_json_protocol: Wildcard Callback registration for service_id.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest/src/tests/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 3613.2843494415283, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2020-12-25 15:03:40,597", "created": 1608905020.5978782, "exc_info": null, "exc_text": null, "filename": "test_normal_operation.py", "funcName": "wildcard_callback", "levelname": "DEBUG", "levelno": 10, "lineno": 96, "message": "Send and received data by pure_json_protocol. Wildcard callback registerd for service_id.", "module": "test_normal_operation", "moduleLogger": [ { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:40,094", "created": 1608905020.0942454, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "socket_protocol (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 94.24543380737305, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 3613.5876178741455, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:40,094", "created": 1608905020.0946245, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "socket_protocol (server): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 94.62451934814453, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 3613.966703414917, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:40,094", "created": 1608905020.094813, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "socket_protocol (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 94.81310844421387, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 3614.1552925109863, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:40,095", "created": 1608905020.0951362, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "socket_protocol (server): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 95.13616561889648, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 3614.478349685669, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):", 0, 10, 48879, "{'test': 'test'}" ], "asctime": "2020-12-25 15:03:40,095", "created": 1608905020.095368, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 0, service_id: 10, data_id: 48879, data: \"{'test': 'test'}\"", "module": "__init__", "msecs": 95.3679084777832, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 3614.7100925445557, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:40,095", "created": 1608905020.0958047, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (79): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 7d cc a2 b9 e6", "module": "test_helpers", "msecs": 95.80469131469727, "msg": "Send data: (79): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 7d cc a2 b9 e6", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 3615.1468753814697, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:40,246", "created": 1608905020.246848, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (79): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 7d cc a2 b9 e6", "module": "test_helpers", "msecs": 246.84810638427734, "msg": "Receive data (79): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 7d cc a2 b9 e6", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 3766.19029045105, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-13" }, { "args": [ "socket_protocol (server):", "0", "10", "48879", "{'test': 'test'}" ], "asctime": "2020-12-25 15:03:40,247", "created": 1608905020.2472715, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 290, "message": "socket_protocol (server): RX <- status: 0, service_id: 10, data_id: 48879, data: \"{'test': 'test'}\"", "module": "__init__", "msecs": 247.27153778076172, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 3766.613721847534, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-13" }, { "args": [ "socket_protocol (server):", "response_data_method" ], "asctime": "2020-12-25 15:03:40,247", "created": 1608905020.2474906, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 313, "message": "socket_protocol (server): Executing callback response_data_method to process received data", "module": "__init__", "msecs": 247.49064445495605, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 3766.8328285217285, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-13" }, { "args": [ "socket_protocol (server):", 5, 11, 48879, "[1, 3, 's']" ], "asctime": "2020-12-25 15:03:40,247", "created": 1608905020.2476773, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 5, service_id: 11, data_id: 48879, data: \"[1, 3, 's']\"", "module": "__init__", "msecs": 247.67732620239258, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 3767.019510269165, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-13" }, { "args": [], "asctime": "2020-12-25 15:03:40,248", "created": 1608905020.2480724, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (74): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 7d 7d 1e 6e 1b", "module": "test_helpers", "msecs": 248.07238578796387, "msg": "Send data: (74): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 7d 7d 1e 6e 1b", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 3767.4145698547363, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-13" }, { "args": [], "asctime": "2020-12-25 15:03:40,399", "created": 1608905020.3991008, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (74): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 7d 7d 1e 6e 1b", "module": "test_helpers", "msecs": 399.10078048706055, "msg": "Receive data (74): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 7d 7d 1e 6e 1b", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 3918.442964553833, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-14" }, { "args": [ "socket_protocol (server):", "5", "11", "48879", "[1, 3, 's']" ], "asctime": "2020-12-25 15:03:40,399", "created": 1608905020.399514, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 290, "message": "socket_protocol (server): RX <- status: 5, service_id: 11, data_id: 48879, data: \"[1, 3, 's']\"", "module": "__init__", "msecs": 399.51395988464355, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 3918.856143951416, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-14" }, { "args": [ "socket_protocol (server):", "Operation not permitted" ], "asctime": "2020-12-25 15:03:40,399", "created": 1608905020.399754, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 323, "message": "socket_protocol (server): Received message has a peculiar status: Operation not permitted", "module": "__init__", "msecs": 399.7540473937988, "msg": "%s Received message has a peculiar status: %s", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 3919.0962314605713, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-14" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:40,399", "created": 1608905020.3999746, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__buffer_received_data__", "levelname": "DEBUG", "levelno": 10, "lineno": 341, "message": "socket_protocol (server): Message data is stored in buffer and is now ready to be retrieved by receive method", "module": "__init__", "msecs": 399.9745845794678, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 3919.3167686462402, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-14" } ], "msecs": 597.8782176971436, "msg": "Send and received data by pure_json_protocol. Wildcard callback registerd for service_id.", "name": "__tLogger__", "pathname": "src/tests/test_normal_operation.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 4117.220401763916, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.19790363311767578 }, { "args": [ "True", "" ], "asctime": "2020-12-25 15:03:40,598", "created": 1608905020.598633, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return value of send method is correct (Content True and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-12-25 15:03:40,598", "created": 1608905020.5983026, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return value of send method): True ()", "module": "test", "msecs": 598.3026027679443, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 4117.644786834717, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-12-25 15:03:40,598", "created": 1608905020.5984788, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return value of send method): result = True ()", "module": "test", "msecs": 598.4787940979004, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 4117.820978164673, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 598.6330509185791, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 4117.975234985352, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.00015425682067871094 }, { "args": [ "0", "" ], "asctime": "2020-12-25 15:03:40,599", "created": 1608905020.5991454, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Request Status (Okay) transfered via pure_json_protocol is correct (Content 0 and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Request Status (Okay) transfered via pure_json_protocol", "0", "" ], "asctime": "2020-12-25 15:03:40,598", "created": 1608905020.5988643, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Request Status (Okay) transfered via pure_json_protocol): 0 ()", "module": "test", "msecs": 598.8643169403076, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 4118.20650100708, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Request Status (Okay) transfered via pure_json_protocol", "0", "" ], "asctime": "2020-12-25 15:03:40,599", "created": 1608905020.5990086, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Request Status (Okay) transfered via pure_json_protocol): result = 0 ()", "module": "test", "msecs": 599.0085601806641, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 4118.3507442474365, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 599.1454124450684, "msg": "Request Status (Okay) transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 4118.487596511841, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.00013685226440429688 }, { "args": [ "{'test': 'test'}", "" ], "asctime": "2020-12-25 15:03:40,599", "created": 1608905020.5997493, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Request Data transfered via pure_json_protocol is correct (Content {'test': 'test'} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Request Data transfered via pure_json_protocol", "{ 'test': 'test' }", "" ], "asctime": "2020-12-25 15:03:40,599", "created": 1608905020.599409, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Request Data transfered via pure_json_protocol): { 'test': 'test' } ()", "module": "test", "msecs": 599.4091033935547, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 4118.751287460327, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Request Data transfered via pure_json_protocol", "{ 'test': 'test' }", "" ], "asctime": "2020-12-25 15:03:40,599", "created": 1608905020.5995686, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Request Data transfered via pure_json_protocol): result = { 'test': 'test' } ()", "module": "test", "msecs": 599.5686054229736, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 4118.910789489746, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 599.7493267059326, "msg": "Request Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 4119.091510772705, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.00018072128295898438 }, { "args": [ "5", "" ], "asctime": "2020-12-25 15:03:40,600", "created": 1608905020.600244, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Response Status (Operation not permitted) transfered via pure_json_protocol is correct (Content 5 and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Response Status (Operation not permitted) transfered via pure_json_protocol", "5", "" ], "asctime": "2020-12-25 15:03:40,599", "created": 1608905020.5999746, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Response Status (Operation not permitted) transfered via pure_json_protocol): 5 ()", "module": "test", "msecs": 599.9746322631836, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 4119.316816329956, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Response Status (Operation not permitted) transfered via pure_json_protocol", "5", "" ], "asctime": "2020-12-25 15:03:40,600", "created": 1608905020.6001108, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Response Status (Operation not permitted) transfered via pure_json_protocol): result = 5 ()", "module": "test", "msecs": 600.1107692718506, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 4119.452953338623, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 600.2440452575684, "msg": "Response Status (Operation not permitted) transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 4119.586229324341, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.00013327598571777344 }, { "args": [ "[1, 3, 's']", "" ], "asctime": "2020-12-25 15:03:40,600", "created": 1608905020.6009324, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Response Data transfered via pure_json_protocol is correct (Content [1, 3, 's'] and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Response Data transfered via pure_json_protocol", "[ 1, 3, 's' ]", "" ], "asctime": "2020-12-25 15:03:40,600", "created": 1608905020.6004727, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Response Data transfered via pure_json_protocol): [ 1, 3, 's' ] ()", "module": "test", "msecs": 600.4726886749268, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 4119.814872741699, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Response Data transfered via pure_json_protocol", "[ 1, 3, 's' ]", "" ], "asctime": "2020-12-25 15:03:40,600", "created": 1608905020.6006231, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Response Data transfered via pure_json_protocol): result = [ 1, 3, 's' ] ()", "module": "test", "msecs": 600.6231307983398, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 4119.965314865112, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 600.9323596954346, "msg": "Response Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 4120.274543762207, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.00030922889709472656 }, { "args": [ "None", "" ], "asctime": "2020-12-25 15:03:40,702", "created": 1608905020.7021573, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef is correct (Content None and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "socket_protocol (server):", "0.1", "11", "48879" ], "asctime": "2020-12-25 15:03:40,701", "created": 1608905020.701472, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 358, "message": "socket_protocol (server): TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 48879) not in buffer.", "module": "__init__", "msecs": 701.4720439910889, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 4220.814228057861, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-12-25 15:03:40,701", "created": 1608905020.7018201, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef): None ()", "module": "test", "msecs": 701.8201351165771, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 4221.16231918335, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-12-25 15:03:40,701", "created": 1608905020.701991, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef): result = None ()", "module": "test", "msecs": 701.991081237793, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 4221.333265304565, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 702.1572589874268, "msg": "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 4221.499443054199, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.00016617774963378906 }, { "args": [ "None", "" ], "asctime": "2020-12-25 15:03:40,803", "created": 1608905020.8033576, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef is correct (Content None and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "socket_protocol (server):", "0.1", "10", "48879" ], "asctime": "2020-12-25 15:03:40,802", "created": 1608905020.802748, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 358, "message": "socket_protocol (server): TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 48879) not in buffer.", "module": "__init__", "msecs": 802.7479648590088, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 4322.090148925781, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-12-25 15:03:40,803", "created": 1608905020.8030407, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef): None ()", "module": "test", "msecs": 803.0407428741455, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 4322.382926940918, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-12-25 15:03:40,803", "created": 1608905020.8032072, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef): result = None ()", "module": "test", "msecs": 803.2071590423584, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 4322.549343109131, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 803.3576011657715, "msg": "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 4322.699785232544, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.00015044212341308594 } ], "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.7094154357910156, "time_finished": "2020-12-25 15:03:40,803", "time_start": "2020-12-25 15:03:40,093" }, "socket_protocol.struct_json_protocol: Send and receive check (Twice for coverage of buffer initialisation).": { "args": null, "asctime": "2020-12-25 15:03:42,224", "created": 1608905022.224045, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 33, "message": "socket_protocol.struct_json_protocol: Send and receive check (Twice for coverage of buffer initialisation).", "module": "__init__", "moduleLogger": [], "msecs": 224.0450382232666, "msg": "socket_protocol.struct_json_protocol: Send and receive check (Twice for coverage of buffer initialisation).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest/src/tests/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 5743.387222290039, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2020-12-25 15:03:43,230", "created": 1608905023.2304735, "exc_info": null, "exc_text": null, "filename": "test_normal_operation.py", "funcName": "send_n_receive", "levelname": "DEBUG", "levelno": 10, "lineno": 42, "message": "Send and received data by struct_json_protocol.", "module": "test_normal_operation", "moduleLogger": [ { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:42,224", "created": 1608905022.2243533, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "socket_protocol (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 224.35331344604492, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 5743.695497512817, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:42,224", "created": 1608905022.2247353, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "socket_protocol (server): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 224.73526000976562, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 5744.077444076538, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:42,224", "created": 1608905022.224917, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "socket_protocol (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 224.91693496704102, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 5744.2591190338135, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:42,225", "created": 1608905022.2252398, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "socket_protocol (server): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 225.23975372314453, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 5744.581937789917, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):", 0, 10, 45054, "{'test': 'test'}" ], "asctime": "2020-12-25 15:03:42,225", "created": 1608905022.225453, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 0, service_id: 10, data_id: 45054, data: \"{'test': 'test'}\"", "module": "__init__", "msecs": 225.45289993286133, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 5744.795083999634, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:42,225", "created": 1608905022.2258315, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (29): 00 00 00 00 00 00 00 0a 00 00 af fe 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 47", "module": "test_helpers", "msecs": 225.8315086364746, "msg": "Send data: (29): 00 00 00 00 00 00 00 0a 00 00 af fe 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 47", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 5745.173692703247, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:42,376", "created": 1608905022.3766632, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (29): 00 00 00 00 00 00 00 0a 00 00 af fe 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 47", "module": "test_helpers", "msecs": 376.6632080078125, "msg": "Receive data (29): 00 00 00 00 00 00 00 0a 00 00 af fe 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 47", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 5896.005392074585, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-19" }, { "args": [ "socket_protocol (server):", "0", "10", "45054", "{'test': 'test'}" ], "asctime": "2020-12-25 15:03:42,377", "created": 1608905022.3771987, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 290, "message": "socket_protocol (server): RX <- status: 0, service_id: 10, data_id: 45054, data: \"{'test': 'test'}\"", "module": "__init__", "msecs": 377.1986961364746, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 5896.540880203247, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-19" }, { "args": [ "socket_protocol (server):", "response_data_method" ], "asctime": "2020-12-25 15:03:42,377", "created": 1608905022.3774104, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 313, "message": "socket_protocol (server): Executing callback response_data_method to process received data", "module": "__init__", "msecs": 377.4104118347168, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 5896.752595901489, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-19" }, { "args": [ "socket_protocol (server):", 5, 11, 45054, "[1, 3, 's']" ], "asctime": "2020-12-25 15:03:42,377", "created": 1608905022.3775952, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, 's']\"", "module": "__init__", "msecs": 377.5951862335205, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 5896.937370300293, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-19" }, { "args": [], "asctime": "2020-12-25 15:03:42,377", "created": 1608905022.3779705, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (24): 00 00 00 05 00 00 00 0b 00 00 af fe 5b 31 2c 20 33 2c 20 22 73 22 5d 28", "module": "test_helpers", "msecs": 377.97045707702637, "msg": "Send data: (24): 00 00 00 05 00 00 00 0b 00 00 af fe 5b 31 2c 20 33 2c 20 22 73 22 5d 28", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 5897.312641143799, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-19" }, { "args": [], "asctime": "2020-12-25 15:03:42,528", "created": 1608905022.528918, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (24): 00 00 00 05 00 00 00 0b 00 00 af fe 5b 31 2c 20 33 2c 20 22 73 22 5d 28", "module": "test_helpers", "msecs": 528.9180278778076, "msg": "Receive data (24): 00 00 00 05 00 00 00 0b 00 00 af fe 5b 31 2c 20 33 2c 20 22 73 22 5d 28", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 6048.26021194458, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-20" }, { "args": [ "socket_protocol (server):", "5", "11", "45054", "[1, 3, 's']" ], "asctime": "2020-12-25 15:03:42,529", "created": 1608905022.5294077, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 290, "message": "socket_protocol (server): RX <- status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, 's']\"", "module": "__init__", "msecs": 529.4077396392822, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 6048.749923706055, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-20" }, { "args": [ "socket_protocol (server):", "Operation not permitted" ], "asctime": "2020-12-25 15:03:42,529", "created": 1608905022.5296757, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 323, "message": "socket_protocol (server): Received message has a peculiar status: Operation not permitted", "module": "__init__", "msecs": 529.6757221221924, "msg": "%s Received message has a peculiar status: %s", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 6049.017906188965, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-20" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:42,529", "created": 1608905022.5298686, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__buffer_received_data__", "levelname": "DEBUG", "levelno": 10, "lineno": 341, "message": "socket_protocol (server): Message data is stored in buffer and is now ready to be retrieved by receive method", "module": "__init__", "msecs": 529.8686027526855, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 6049.210786819458, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-20" }, { "args": [ "socket_protocol (server):", 0, 10, 45054, "{'test': 'test'}" ], "asctime": "2020-12-25 15:03:42,727", "created": 1608905022.727843, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 0, service_id: 10, data_id: 45054, data: \"{'test': 'test'}\"", "module": "__init__", "msecs": 727.8430461883545, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 6247.185230255127, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:42,728", "created": 1608905022.728376, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (29): 00 00 00 00 00 00 00 0a 00 00 af fe 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 47", "module": "test_helpers", "msecs": 728.3759117126465, "msg": "Send data: (29): 00 00 00 00 00 00 00 0a 00 00 af fe 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 47", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 6247.718095779419, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:42,879", "created": 1608905022.8793316, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (29): 00 00 00 00 00 00 00 0a 00 00 af fe 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 47", "module": "test_helpers", "msecs": 879.3315887451172, "msg": "Receive data (29): 00 00 00 00 00 00 00 0a 00 00 af fe 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 47", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 6398.67377281189, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-21" }, { "args": [ "socket_protocol (server):", "0", "10", "45054", "{'test': 'test'}" ], "asctime": "2020-12-25 15:03:42,879", "created": 1608905022.8798573, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 290, "message": "socket_protocol (server): RX <- status: 0, service_id: 10, data_id: 45054, data: \"{'test': 'test'}\"", "module": "__init__", "msecs": 879.8573017120361, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 6399.199485778809, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-21" }, { "args": [ "socket_protocol (server):", "response_data_method" ], "asctime": "2020-12-25 15:03:42,880", "created": 1608905022.8800766, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 313, "message": "socket_protocol (server): Executing callback response_data_method to process received data", "module": "__init__", "msecs": 880.0766468048096, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 6399.418830871582, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-21" }, { "args": [ "socket_protocol (server):", 5, 11, 45054, "[1, 3, 's']" ], "asctime": "2020-12-25 15:03:42,880", "created": 1608905022.8802614, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, 's']\"", "module": "__init__", "msecs": 880.2614212036133, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 6399.603605270386, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-21" }, { "args": [], "asctime": "2020-12-25 15:03:42,880", "created": 1608905022.8806012, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (24): 00 00 00 05 00 00 00 0b 00 00 af fe 5b 31 2c 20 33 2c 20 22 73 22 5d 28", "module": "test_helpers", "msecs": 880.601167678833, "msg": "Send data: (24): 00 00 00 05 00 00 00 0b 00 00 af fe 5b 31 2c 20 33 2c 20 22 73 22 5d 28", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 6399.9433517456055, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-21" }, { "args": [], "asctime": "2020-12-25 15:03:43,031", "created": 1608905023.0315185, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (24): 00 00 00 05 00 00 00 0b 00 00 af fe 5b 31 2c 20 33 2c 20 22 73 22 5d 28", "module": "test_helpers", "msecs": 31.51845932006836, "msg": "Receive data (24): 00 00 00 05 00 00 00 0b 00 00 af fe 5b 31 2c 20 33 2c 20 22 73 22 5d 28", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 6550.860643386841, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-22" }, { "args": [ "socket_protocol (server):", "5", "11", "45054", "[1, 3, 's']" ], "asctime": "2020-12-25 15:03:43,032", "created": 1608905023.032029, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 290, "message": "socket_protocol (server): RX <- status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, 's']\"", "module": "__init__", "msecs": 32.028913497924805, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 6551.371097564697, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-22" }, { "args": [ "socket_protocol (server):", "Operation not permitted" ], "asctime": "2020-12-25 15:03:43,032", "created": 1608905023.032279, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 323, "message": "socket_protocol (server): Received message has a peculiar status: Operation not permitted", "module": "__init__", "msecs": 32.279014587402344, "msg": "%s Received message has a peculiar status: %s", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 6551.621198654175, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-22" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:43,032", "created": 1608905023.0324636, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__buffer_received_data__", "levelname": "DEBUG", "levelno": 10, "lineno": 341, "message": "socket_protocol (server): Message data is stored in buffer and is now ready to be retrieved by receive method", "module": "__init__", "msecs": 32.46355056762695, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 6551.805734634399, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-22" } ], "msecs": 230.47351837158203, "msg": "Send and received data by struct_json_protocol.", "name": "__tLogger__", "pathname": "src/tests/test_normal_operation.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 6749.8157024383545, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.19800996780395508 }, { "args": [ "True", "" ], "asctime": "2020-12-25 15:03:43,231", "created": 1608905023.231242, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return value of send method is correct (Content True and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-12-25 15:03:43,230", "created": 1608905023.2309165, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return value of send method): True ()", "module": "test", "msecs": 230.91650009155273, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 6750.258684158325, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-12-25 15:03:43,231", "created": 1608905023.2310908, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return value of send method): result = True ()", "module": "test", "msecs": 231.09078407287598, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 6750.432968139648, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 231.24194145202637, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 6750.584125518799, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.00015115737915039062 }, { "args": [ "0", "" ], "asctime": "2020-12-25 15:03:43,231", "created": 1608905023.2317736, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Request Status (Okay) transfered via struct_json_protocol is correct (Content 0 and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Request Status (Okay) transfered via struct_json_protocol", "0", "" ], "asctime": "2020-12-25 15:03:43,231", "created": 1608905023.2314942, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Request Status (Okay) transfered via struct_json_protocol): 0 ()", "module": "test", "msecs": 231.49418830871582, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 6750.836372375488, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Request Status (Okay) transfered via struct_json_protocol", "0", "" ], "asctime": "2020-12-25 15:03:43,231", "created": 1608905023.23164, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Request Status (Okay) transfered via struct_json_protocol): result = 0 ()", "module": "test", "msecs": 231.64010047912598, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 6750.982284545898, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 231.77361488342285, "msg": "Request Status (Okay) transfered via struct_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 6751.115798950195, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.000133514404296875 }, { "args": [ "{'test': 'test'}", "" ], "asctime": "2020-12-25 15:03:43,232", "created": 1608905023.232337, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Request Data transfered via struct_json_protocol is correct (Content {'test': 'test'} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Request Data transfered via struct_json_protocol", "{ 'test': 'test' }", "" ], "asctime": "2020-12-25 15:03:43,232", "created": 1608905023.232005, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Request Data transfered via struct_json_protocol): { 'test': 'test' } ()", "module": "test", "msecs": 232.00488090515137, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 6751.347064971924, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Request Data transfered via struct_json_protocol", "{ 'test': 'test' }", "" ], "asctime": "2020-12-25 15:03:43,232", "created": 1608905023.232154, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Request Data transfered via struct_json_protocol): result = { 'test': 'test' } ()", "module": "test", "msecs": 232.15389251708984, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 6751.496076583862, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 232.33699798583984, "msg": "Request Data transfered via struct_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 6751.679182052612, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.00018310546875 }, { "args": [ "5", "" ], "asctime": "2020-12-25 15:03:43,232", "created": 1608905023.2328312, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Response Status (Operation not permitted) transfered via struct_json_protocol is correct (Content 5 and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Response Status (Operation not permitted) transfered via struct_json_protocol", "5", "" ], "asctime": "2020-12-25 15:03:43,232", "created": 1608905023.2325597, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Response Status (Operation not permitted) transfered via struct_json_protocol): 5 ()", "module": "test", "msecs": 232.5596809387207, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 6751.901865005493, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Response Status (Operation not permitted) transfered via struct_json_protocol", "5", "" ], "asctime": "2020-12-25 15:03:43,232", "created": 1608905023.2326987, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Response Status (Operation not permitted) transfered via struct_json_protocol): result = 5 ()", "module": "test", "msecs": 232.6986789703369, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 6752.040863037109, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 232.83123970031738, "msg": "Response Status (Operation not permitted) transfered via struct_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 6752.17342376709, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.00013256072998046875 }, { "args": [ "[1, 3, 's']", "" ], "asctime": "2020-12-25 15:03:43,233", "created": 1608905023.2334123, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Response Data transfered via struct_json_protocol is correct (Content [1, 3, 's'] and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Response Data transfered via struct_json_protocol", "[ 1, 3, 's' ]", "" ], "asctime": "2020-12-25 15:03:43,233", "created": 1608905023.2330728, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Response Data transfered via struct_json_protocol): [ 1, 3, 's' ] ()", "module": "test", "msecs": 233.07275772094727, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 6752.41494178772, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Response Data transfered via struct_json_protocol", "[ 1, 3, 's' ]", "" ], "asctime": "2020-12-25 15:03:43,233", "created": 1608905023.2332237, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Response Data transfered via struct_json_protocol): result = [ 1, 3, 's' ] ()", "module": "test", "msecs": 233.22367668151855, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 6752.565860748291, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 233.4122657775879, "msg": "Response Data transfered via struct_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 6752.75444984436, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.00018858909606933594 }, { "args": [ "None", "" ], "asctime": "2020-12-25 15:03:43,334", "created": 1608905023.3347974, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return Value (request instance) for struct_json_protocol.receive with data data_id 0xaffe is correct (Content None and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "socket_protocol (server):", "0.1", "11", "45054" ], "asctime": "2020-12-25 15:03:43,334", "created": 1608905023.3341188, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 358, "message": "socket_protocol (server): TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 334.1188430786133, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 6853.461027145386, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for struct_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:43,334", "created": 1608905023.3344731, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return Value (request instance) for struct_json_protocol.receive with data data_id 0xaffe): None ()", "module": "test", "msecs": 334.4731330871582, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 6853.815317153931, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for struct_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:43,334", "created": 1608905023.3346417, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return Value (request instance) for struct_json_protocol.receive with data data_id 0xaffe): result = None ()", "module": "test", "msecs": 334.641695022583, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 6853.9838790893555, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 334.7973823547363, "msg": "Return Value (request instance) for struct_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 6854.139566421509, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.0001556873321533203 }, { "args": [ "None", "" ], "asctime": "2020-12-25 15:03:43,435", "created": 1608905023.435983, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return Value (response instance) for struct_json_protocol.receive with data data_id 0xaffe is correct (Content None and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "socket_protocol (server):", "0.1", "10", "45054" ], "asctime": "2020-12-25 15:03:43,435", "created": 1608905023.4353583, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 358, "message": "socket_protocol (server): TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 435.35828590393066, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 6954.700469970703, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for struct_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:43,435", "created": 1608905023.4356687, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return Value (response instance) for struct_json_protocol.receive with data data_id 0xaffe): None ()", "module": "test", "msecs": 435.6687068939209, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 6955.010890960693, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for struct_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:43,435", "created": 1608905023.4358325, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return Value (response instance) for struct_json_protocol.receive with data data_id 0xaffe): result = None ()", "module": "test", "msecs": 435.8325004577637, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 6955.174684524536, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 435.98294258117676, "msg": "Return Value (response instance) for struct_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 6955.325126647949, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.00015044212341308594 } ], "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 1.2119379043579102, "time_finished": "2020-12-25 15:03:43,435", "time_start": "2020-12-25 15:03:42,224" }, "socket_protocol.struct_json_protocol: Send and receive check.": { "args": null, "asctime": "2020-12-25 15:03:36,551", "created": 1608905016.5513663, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 26, "message": "socket_protocol.struct_json_protocol: Send and receive check.", "module": "__init__", "moduleLogger": [], "msecs": 551.3663291931152, "msg": "socket_protocol.struct_json_protocol: Send and receive check.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest/src/tests/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 70.7085132598877, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2020-12-25 15:03:37,053", "created": 1608905017.0539865, "exc_info": null, "exc_text": null, "filename": "test_normal_operation.py", "funcName": "send_n_receive", "levelname": "DEBUG", "levelno": 10, "lineno": 42, "message": "Send and received data by struct_json_protocol.", "module": "test_normal_operation", "moduleLogger": [ { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:36,551", "created": 1608905016.5516074, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "socket_protocol (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 551.6073703765869, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 70.94955444335938, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:36,551", "created": 1608905016.551787, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "socket_protocol (server): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 551.7868995666504, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 71.12908363342285, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:36,551", "created": 1608905016.551872, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "socket_protocol (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 551.8720149993896, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 71.21419906616211, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:36,551", "created": 1608905016.5519657, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "socket_protocol (server): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 551.9657135009766, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 71.30789756774902, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):", 0, 10, 45054, "{'test': 'test'}" ], "asctime": "2020-12-25 15:03:36,552", "created": 1608905016.5520277, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 0, service_id: 10, data_id: 45054, data: \"{'test': 'test'}\"", "module": "__init__", "msecs": 552.027702331543, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 71.36988639831543, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:36,552", "created": 1608905016.5521472, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (29): 00 00 00 00 00 00 00 0a 00 00 af fe 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 47", "module": "test_helpers", "msecs": 552.1471500396729, "msg": "Send data: (29): 00 00 00 00 00 00 00 0a 00 00 af fe 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 47", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 71.48933410644531, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:36,702", "created": 1608905016.7027488, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (29): 00 00 00 00 00 00 00 0a 00 00 af fe 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 47", "module": "test_helpers", "msecs": 702.7487754821777, "msg": "Receive data (29): 00 00 00 00 00 00 00 0a 00 00 af fe 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 47", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 222.0909595489502, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-1" }, { "args": [ "socket_protocol (server):", "0", "10", "45054", "{'test': 'test'}" ], "asctime": "2020-12-25 15:03:36,703", "created": 1608905016.7036974, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 290, "message": "socket_protocol (server): RX <- status: 0, service_id: 10, data_id: 45054, data: \"{'test': 'test'}\"", "module": "__init__", "msecs": 703.6974430084229, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 223.0396270751953, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-1" }, { "args": [ "socket_protocol (server):", "response_data_method" ], "asctime": "2020-12-25 15:03:36,703", "created": 1608905016.7039325, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 313, "message": "socket_protocol (server): Executing callback response_data_method to process received data", "module": "__init__", "msecs": 703.932523727417, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 223.27470779418945, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-1" }, { "args": [ "socket_protocol (server):", 5, 11, 45054, "[1, 3, 's']" ], "asctime": "2020-12-25 15:03:36,704", "created": 1608905016.704124, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, 's']\"", "module": "__init__", "msecs": 704.1239738464355, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 223.466157913208, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-1" }, { "args": [], "asctime": "2020-12-25 15:03:36,704", "created": 1608905016.7044866, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (24): 00 00 00 05 00 00 00 0b 00 00 af fe 5b 31 2c 20 33 2c 20 22 73 22 5d 28", "module": "test_helpers", "msecs": 704.486608505249, "msg": "Send data: (24): 00 00 00 05 00 00 00 0b 00 00 af fe 5b 31 2c 20 33 2c 20 22 73 22 5d 28", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 223.82879257202148, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-1" }, { "args": [], "asctime": "2020-12-25 15:03:36,855", "created": 1608905016.855525, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (24): 00 00 00 05 00 00 00 0b 00 00 af fe 5b 31 2c 20 33 2c 20 22 73 22 5d 28", "module": "test_helpers", "msecs": 855.525016784668, "msg": "Receive data (24): 00 00 00 05 00 00 00 0b 00 00 af fe 5b 31 2c 20 33 2c 20 22 73 22 5d 28", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 374.86720085144043, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-2" }, { "args": [ "socket_protocol (server):", "5", "11", "45054", "[1, 3, 's']" ], "asctime": "2020-12-25 15:03:36,856", "created": 1608905016.8560352, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 290, "message": "socket_protocol (server): RX <- status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, 's']\"", "module": "__init__", "msecs": 856.0352325439453, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 375.3774166107178, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-2" }, { "args": [ "socket_protocol (server):", "Operation not permitted" ], "asctime": "2020-12-25 15:03:36,856", "created": 1608905016.8562922, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 323, "message": "socket_protocol (server): Received message has a peculiar status: Operation not permitted", "module": "__init__", "msecs": 856.2922477722168, "msg": "%s Received message has a peculiar status: %s", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 375.63443183898926, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-2" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:36,856", "created": 1608905016.8565, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__buffer_received_data__", "levelname": "DEBUG", "levelno": 10, "lineno": 341, "message": "socket_protocol (server): Message data is stored in buffer and is now ready to be retrieved by receive method", "module": "__init__", "msecs": 856.4999103546143, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 375.8420944213867, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-2" } ], "msecs": 53.986549377441406, "msg": "Send and received data by struct_json_protocol.", "name": "__tLogger__", "pathname": "src/tests/test_normal_operation.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 573.3287334442139, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.19748663902282715 }, { "args": [ "True", "" ], "asctime": "2020-12-25 15:03:37,054", "created": 1608905017.0547757, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return value of send method is correct (Content True and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-12-25 15:03:37,054", "created": 1608905017.054406, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return value of send method): True ()", "module": "test", "msecs": 54.405927658081055, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 573.7481117248535, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-12-25 15:03:37,054", "created": 1608905017.0545805, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return value of send method): result = True ()", "module": "test", "msecs": 54.5804500579834, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 573.9226341247559, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 54.77571487426758, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 574.11789894104, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.0001952648162841797 }, { "args": [ "0", "" ], "asctime": "2020-12-25 15:03:37,055", "created": 1608905017.0552995, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Request Status (Okay) transfered via struct_json_protocol is correct (Content 0 and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Request Status (Okay) transfered via struct_json_protocol", "0", "" ], "asctime": "2020-12-25 15:03:37,055", "created": 1608905017.05502, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Request Status (Okay) transfered via struct_json_protocol): 0 ()", "module": "test", "msecs": 55.02009391784668, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 574.3622779846191, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Request Status (Okay) transfered via struct_json_protocol", "0", "" ], "asctime": "2020-12-25 15:03:37,055", "created": 1608905017.0551634, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Request Status (Okay) transfered via struct_json_protocol): result = 0 ()", "module": "test", "msecs": 55.16338348388672, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 574.5055675506592, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 55.29952049255371, "msg": "Request Status (Okay) transfered via struct_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 574.6417045593262, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.0001361370086669922 }, { "args": [ "{'test': 'test'}", "" ], "asctime": "2020-12-25 15:03:37,055", "created": 1608905017.0558808, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Request Data transfered via struct_json_protocol is correct (Content {'test': 'test'} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Request Data transfered via struct_json_protocol", "{ 'test': 'test' }", "" ], "asctime": "2020-12-25 15:03:37,055", "created": 1608905017.0555465, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Request Data transfered via struct_json_protocol): { 'test': 'test' } ()", "module": "test", "msecs": 55.54652214050293, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 574.8887062072754, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Request Data transfered via struct_json_protocol", "{ 'test': 'test' }", "" ], "asctime": "2020-12-25 15:03:37,055", "created": 1608905017.0556965, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Request Data transfered via struct_json_protocol): result = { 'test': 'test' } ()", "module": "test", "msecs": 55.69648742675781, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 575.0386714935303, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 55.88078498840332, "msg": "Request Data transfered via struct_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 575.2229690551758, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.0001842975616455078 }, { "args": [ "5", "" ], "asctime": "2020-12-25 15:03:37,056", "created": 1608905017.05639, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Response Status (Operation not permitted) transfered via struct_json_protocol is correct (Content 5 and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Response Status (Operation not permitted) transfered via struct_json_protocol", "5", "" ], "asctime": "2020-12-25 15:03:37,056", "created": 1608905017.056118, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Response Status (Operation not permitted) transfered via struct_json_protocol): 5 ()", "module": "test", "msecs": 56.118011474609375, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 575.4601955413818, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Response Status (Operation not permitted) transfered via struct_json_protocol", "5", "" ], "asctime": "2020-12-25 15:03:37,056", "created": 1608905017.0562572, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Response Status (Operation not permitted) transfered via struct_json_protocol): result = 5 ()", "module": "test", "msecs": 56.25724792480469, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 575.5994319915771, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 56.39004707336426, "msg": "Response Status (Operation not permitted) transfered via struct_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 575.7322311401367, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.0001327991485595703 }, { "args": [ "[1, 3, 's']", "" ], "asctime": "2020-12-25 15:03:37,056", "created": 1608905017.0569572, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Response Data transfered via struct_json_protocol is correct (Content [1, 3, 's'] and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Response Data transfered via struct_json_protocol", "[ 1, 3, 's' ]", "" ], "asctime": "2020-12-25 15:03:37,056", "created": 1608905017.0566201, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Response Data transfered via struct_json_protocol): [ 1, 3, 's' ] ()", "module": "test", "msecs": 56.620121002197266, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 575.9623050689697, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Response Data transfered via struct_json_protocol", "[ 1, 3, 's' ]", "" ], "asctime": "2020-12-25 15:03:37,056", "created": 1608905017.0567684, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Response Data transfered via struct_json_protocol): result = [ 1, 3, 's' ] ()", "module": "test", "msecs": 56.76841735839844, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 576.1106014251709, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 56.957244873046875, "msg": "Response Data transfered via struct_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 576.2994289398193, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.0001888275146484375 }, { "args": [ "None", "" ], "asctime": "2020-12-25 15:03:37,158", "created": 1608905017.1582003, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return Value (request instance) for struct_json_protocol.receive with data data_id 0xaffe is correct (Content None and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "socket_protocol (server):", "0.1", "11", "45054" ], "asctime": "2020-12-25 15:03:37,157", "created": 1608905017.1575322, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 358, "message": "socket_protocol (server): TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 157.5322151184082, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 676.8743991851807, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for struct_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:37,157", "created": 1608905017.1578665, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return Value (request instance) for struct_json_protocol.receive with data data_id 0xaffe): None ()", "module": "test", "msecs": 157.8664779663086, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 677.208662033081, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for struct_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:37,158", "created": 1608905017.1580358, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return Value (request instance) for struct_json_protocol.receive with data data_id 0xaffe): result = None ()", "module": "test", "msecs": 158.0357551574707, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 677.3779392242432, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 158.20026397705078, "msg": "Return Value (request instance) for struct_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 677.5424480438232, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.00016450881958007812 }, { "args": [ "None", "" ], "asctime": "2020-12-25 15:03:37,259", "created": 1608905017.2594512, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Return Value (response instance) for struct_json_protocol.receive with data data_id 0xaffe is correct (Content None and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "socket_protocol (server):", "0.1", "10", "45054" ], "asctime": "2020-12-25 15:03:37,258", "created": 1608905017.2588453, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 358, "message": "socket_protocol (server): TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 258.84532928466797, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 778.1875133514404, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for struct_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:37,259", "created": 1608905017.2591386, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return Value (response instance) for struct_json_protocol.receive with data data_id 0xaffe): None ()", "module": "test", "msecs": 259.1385841369629, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 778.4807682037354, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for struct_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-25 15:03:37,259", "created": 1608905017.2593007, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return Value (response instance) for struct_json_protocol.receive with data data_id 0xaffe): result = None ()", "module": "test", "msecs": 259.30070877075195, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 778.6428928375244, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 259.45115089416504, "msg": "Return Value (response instance) for struct_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 778.7933349609375, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.00015044212341308594 } ], "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.7080848217010498, "time_finished": "2020-12-25 15:03:37,259", "time_start": "2020-12-25 15:03:36,551" }, "socket_protocol: Client setting the channel name.": { "args": null, "asctime": "2020-12-25 15:03:48,200", "created": 1608905028.2003524, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 50, "message": "socket_protocol: Client setting the channel name.", "module": "__init__", "moduleLogger": [], "msecs": 200.35243034362793, "msg": "socket_protocol: Client setting the channel name.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest/src/tests/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11719.6946144104, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2020-12-25 15:03:48,509", "created": 1608905028.509314, "exc_info": null, "exc_text": null, "filename": "test_channel_name.py", "funcName": "test_channel_name", "levelname": "DEBUG", "levelno": 10, "lineno": 58, "message": "Initiating communication including channel_name exchange.", "module": "test_channel_name", "moduleLogger": [ { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:48,200", "created": 1608905028.2006354, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "socket_protocol (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 200.63543319702148, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11719.977617263794, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:48,201", "created": 1608905028.2010417, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "socket_protocol (server): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 201.04169845581055, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11720.383882522583, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "'__channel_name_response__'", "6", "0", "'ut_response_callback'" ], "asctime": "2020-12-25 15:03:48,201", "created": 1608905028.2012525, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "add", "levelname": "WARNING", "levelno": 30, "lineno": 82, "message": "Overwriting existing callback '__channel_name_response__' for service_id (6) and data_id (0) to 'ut_response_callback'!", "module": "__init__", "msecs": 201.25246047973633, "msg": "Overwriting existing callback %s for service_id (%s) and data_id (%s) to %s!", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11720.594644546509, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "ut_client_set_channel_name (client):" ], "asctime": "2020-12-25 15:03:48,201", "created": 1608905028.2014198, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "ut_client_set_channel_name (client): Cleaning up receive-buffer", "module": "__init__", "msecs": 201.41983032226562, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11720.762014389038, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "ut_client_set_channel_name (client):" ], "asctime": "2020-12-25 15:03:48,201", "created": 1608905028.2017877, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "ut_client_set_channel_name (client): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 201.78771018981934, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11721.129894256592, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):" ], "asctime": "2020-12-25 15:03:48,201", "created": 1608905028.2019756, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "socket_protocol (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 201.97558403015137, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11721.317768096924, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (server):", 0, 5, 0, "None" ], "asctime": "2020-12-25 15:03:48,202", "created": 1608905028.20213, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "socket_protocol (server): TX -> status: 0, service_id: 5, data_id: 0, data: \"None\"", "module": "__init__", "msecs": 202.13007926940918, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11721.472263336182, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:48,202", "created": 1608905028.2024899, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (62): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 35 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 7d c9 eb 19 5c", "module": "test_helpers", "msecs": 202.48985290527344, "msg": "Send data: (62): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 35 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 7d c9 eb 19 5c", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11721.832036972046, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "ut_client_set_channel_name (client):" ], "asctime": "2020-12-25 15:03:48,203", "created": 1608905028.2031674, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "ut_client_set_channel_name (client): Cleaning up receive-buffer", "module": "__init__", "msecs": 203.16743850708008, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11722.509622573853, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:48,353", "created": 1608905028.3534703, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (62): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 35 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 7d c9 eb 19 5c", "module": "test_helpers", "msecs": 353.4703254699707, "msg": "Receive data (62): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 35 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 7d c9 eb 19 5c", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11872.812509536743, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-34" }, { "args": [ "ut_client_set_channel_name (client):", "0", "5", "0", "None" ], "asctime": "2020-12-25 15:03:48,353", "created": 1608905028.35393, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 290, "message": "ut_client_set_channel_name (client): RX <- status: 0, service_id: 5, data_id: 0, data: \"None\"", "module": "__init__", "msecs": 353.9299964904785, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11873.272180557251, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-34" }, { "args": [ "ut_client_set_channel_name (client):", "__channel_name_request__" ], "asctime": "2020-12-25 15:03:48,354", "created": 1608905028.3541393, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 313, "message": "ut_client_set_channel_name (client): Executing callback __channel_name_request__ to process received data", "module": "__init__", "msecs": 354.1393280029297, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11873.481512069702, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-34" }, { "args": [ "ut_client_set_channel_name (client):", 0, 6, 0, "'ut_client_set_channel_name'" ], "asctime": "2020-12-25 15:03:48,354", "created": 1608905028.3543227, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "ut_client_set_channel_name (client): TX -> status: 0, service_id: 6, data_id: 0, data: \"'ut_client_set_channel_name'\"", "module": "__init__", "msecs": 354.3226718902588, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11873.664855957031, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-34" }, { "args": [], "asctime": "2020-12-25 15:03:48,354", "created": 1608905028.3547134, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (86): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 36 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 22 75 74 5f 63 6c 69 65 6e 74 5f 73 65 74 5f 63 68 61 6e 6e 65 6c 5f 6e 61 6d 65 22 7d db 90 55 74", "module": "test_helpers", "msecs": 354.71343994140625, "msg": "Send data: (86): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 36 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 22 75 74 5f 63 6c 69 65 6e 74 5f 73 65 74 5f 63 68 61 6e 6e 65 6c 5f 6e 61 6d 65 22 7d db 90 55 74", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11874.055624008179, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-34" }, { "args": [], "asctime": "2020-12-25 15:03:48,506", "created": 1608905028.5062258, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (86): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 36 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 22 75 74 5f 63 6c 69 65 6e 74 5f 73 65 74 5f 63 68 61 6e 6e 65 6c 5f 6e 61 6d 65 22 7d db 90 55 74", "module": "test_helpers", "msecs": 506.2258243560791, "msg": "Receive data (86): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 36 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 22 75 74 5f 63 6c 69 65 6e 74 5f 73 65 74 5f 63 68 61 6e 6e 65 6c 5f 6e 61 6d 65 22 7d db 90 55 74", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 12025.568008422852, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-35" }, { "args": [ "socket_protocol (server):", "0", "6", "0", "'ut_client_set_channel_name'" ], "asctime": "2020-12-25 15:03:48,506", "created": 1608905028.506647, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 290, "message": "socket_protocol (server): RX <- status: 0, service_id: 6, data_id: 0, data: \"'ut_client_set_channel_name'\"", "module": "__init__", "msecs": 506.64710998535156, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 12025.989294052124, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-35" }, { "args": [ "socket_protocol (server):", "ut_response_callback" ], "asctime": "2020-12-25 15:03:48,506", "created": 1608905028.506861, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 330, "message": "socket_protocol (server): Executing callback ut_response_callback to process received data", "module": "__init__", "msecs": 506.86097145080566, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 12026.203155517578, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-35" }, { "args": [ "ut_client_set_channel_name (server):", "'ut_client_set_channel_name'" ], "asctime": "2020-12-25 15:03:48,507", "created": 1608905028.5070355, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__channel_name_response__", "levelname": "INFO", "levelno": 20, "lineno": 244, "message": "ut_client_set_channel_name (server): channel name is now 'ut_client_set_channel_name'", "module": "__init__", "msecs": 507.035493850708, "msg": "%s channel name is now %s", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 12026.37767791748, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-35" } ], "msecs": 509.31406021118164, "msg": "Initiating communication including channel_name exchange.", "name": "__tLogger__", "pathname": "src/tests/test_channel_name.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 12028.656244277954, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.002278566360473633 }, { "args": [ "'ut_client_set_channel_name'", "" ], "asctime": "2020-12-25 15:03:48,510", "created": 1608905028.5101292, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Channel name for server is correct (Content 'ut_client_set_channel_name' and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Channel name for server", "'ut_client_set_channel_name'", "" ], "asctime": "2020-12-25 15:03:48,509", "created": 1608905028.5097957, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Channel name for server): 'ut_client_set_channel_name' ()", "module": "test", "msecs": 509.7956657409668, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 12029.13784980774, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Channel name for server", "'ut_client_set_channel_name'", "" ], "asctime": "2020-12-25 15:03:48,509", "created": 1608905028.5099726, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Channel name for server): result = 'ut_client_set_channel_name' ()", "module": "test", "msecs": 509.97257232666016, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 12029.314756393433, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 510.1292133331299, "msg": "Channel name for server is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 12029.471397399902, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.00015664100646972656 }, { "args": [ "'ut_client_set_channel_name'", "" ], "asctime": "2020-12-25 15:03:48,510", "created": 1608905028.5106628, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Channel name for client is correct (Content 'ut_client_set_channel_name' and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Channel name for client", "'ut_client_set_channel_name'", "" ], "asctime": "2020-12-25 15:03:48,510", "created": 1608905028.5103822, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Channel name for client): 'ut_client_set_channel_name' ()", "module": "test", "msecs": 510.38217544555664, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 12029.72435951233, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Channel name for client", "'ut_client_set_channel_name'", "" ], "asctime": "2020-12-25 15:03:48,510", "created": 1608905028.5105247, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Channel name for client): result = 'ut_client_set_channel_name' ()", "module": "test", "msecs": 510.5247497558594, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 12029.866933822632, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 510.6627941131592, "msg": "Channel name for client is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 12030.004978179932, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.0001380443572998047 } ], "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.31031036376953125, "time_finished": "2020-12-25 15:03:48,510", "time_start": "2020-12-25 15:03:48,200" }, "socket_protocol: Server and Client setting different channel names.": { "args": null, "asctime": "2020-12-25 15:03:48,511", "created": 1608905028.5110629, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 51, "message": "socket_protocol: Server and Client setting different channel names.", "module": "__init__", "moduleLogger": [], "msecs": 511.0628604888916, "msg": "socket_protocol: Server and Client setting different channel names.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest/src/tests/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 12030.405044555664, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2020-12-25 15:03:48,820", "created": 1608905028.820109, "exc_info": null, "exc_text": null, "filename": "test_channel_name.py", "funcName": "test_channel_name", "levelname": "DEBUG", "levelno": 10, "lineno": 58, "message": "Initiating communication including channel_name exchange.", "module": "test_channel_name", "moduleLogger": [ { "args": [ "ut_server_and_client_set_channel_name (server):" ], "asctime": "2020-12-25 15:03:48,511", "created": 1608905028.5113626, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "ut_server_and_client_set_channel_name (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 511.36255264282227, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 12030.704736709595, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "ut_server_and_client_set_channel_name (server):" ], "asctime": "2020-12-25 15:03:48,511", "created": 1608905028.5117285, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "ut_server_and_client_set_channel_name (server): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 511.72852516174316, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 12031.070709228516, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "'__channel_name_response__'", "6", "0", "'ut_response_callback'" ], "asctime": "2020-12-25 15:03:48,511", "created": 1608905028.5119226, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "add", "levelname": "WARNING", "levelno": 30, "lineno": 82, "message": "Overwriting existing callback '__channel_name_response__' for service_id (6) and data_id (0) to 'ut_response_callback'!", "module": "__init__", "msecs": 511.92259788513184, "msg": "Overwriting existing callback %s for service_id (%s) and data_id (%s) to %s!", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 12031.264781951904, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "foo (client):" ], "asctime": "2020-12-25 15:03:48,512", "created": 1608905028.512089, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "foo (client): Cleaning up receive-buffer", "module": "__init__", "msecs": 512.0890140533447, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 12031.431198120117, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "foo (client):" ], "asctime": "2020-12-25 15:03:48,512", "created": 1608905028.5124106, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "foo (client): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 512.4106407165527, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 12031.752824783325, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "ut_server_and_client_set_channel_name (server):" ], "asctime": "2020-12-25 15:03:48,512", "created": 1608905028.5125918, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "ut_server_and_client_set_channel_name (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 512.5918388366699, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 12031.934022903442, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "ut_server_and_client_set_channel_name (server):", 0, 5, 0, "'ut_server_and_client_set_channel_name'" ], "asctime": "2020-12-25 15:03:48,512", "created": 1608905028.5127442, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "ut_server_and_client_set_channel_name (server): TX -> status: 0, service_id: 5, data_id: 0, data: \"'ut_server_and_client_set_channel_name'\"", "module": "__init__", "msecs": 512.7441883087158, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 12032.086372375488, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:48,513", "created": 1608905028.5131571, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (97): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 35 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 22 75 74 5f 73 65 72 76 65 72 5f 61 6e 64 5f 63 6c 69 65 6e 74 5f 73 65 74 5f 63 68 61 6e 6e 65 6c 5f 6e 61 6d 65 22 7d fc 87 b8 63", "module": "test_helpers", "msecs": 513.1571292877197, "msg": "Send data: (97): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 35 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 22 75 74 5f 73 65 72 76 65 72 5f 61 6e 64 5f 63 6c 69 65 6e 74 5f 73 65 74 5f 63 68 61 6e 6e 65 6c 5f 6e 61 6d 65 22 7d fc 87 b8 63", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 12032.499313354492, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "foo (client):" ], "asctime": "2020-12-25 15:03:48,513", "created": 1608905028.5139248, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "foo (client): Cleaning up receive-buffer", "module": "__init__", "msecs": 513.9248371124268, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 12033.2670211792, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:48,664", "created": 1608905028.664215, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (97): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 35 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 22 75 74 5f 73 65 72 76 65 72 5f 61 6e 64 5f 63 6c 69 65 6e 74 5f 73 65 74 5f 63 68 61 6e 6e 65 6c 5f 6e 61 6d 65 22 7d fc 87 b8 63", "module": "test_helpers", "msecs": 664.215087890625, "msg": "Receive data (97): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 35 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 22 75 74 5f 73 65 72 76 65 72 5f 61 6e 64 5f 63 6c 69 65 6e 74 5f 73 65 74 5f 63 68 61 6e 6e 65 6c 5f 6e 61 6d 65 22 7d fc 87 b8 63", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 12183.557271957397, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-36" }, { "args": [ "foo (client):", "0", "5", "0", "'ut_server_and_client_set_channel_name'" ], "asctime": "2020-12-25 15:03:48,664", "created": 1608905028.6646154, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 290, "message": "foo (client): RX <- status: 0, service_id: 5, data_id: 0, data: \"'ut_server_and_client_set_channel_name'\"", "module": "__init__", "msecs": 664.6153926849365, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 12183.957576751709, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-36" }, { "args": [ "foo (client):", "__channel_name_request__" ], "asctime": "2020-12-25 15:03:48,664", "created": 1608905028.6648502, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 313, "message": "foo (client): Executing callback __channel_name_request__ to process received data", "module": "__init__", "msecs": 664.8502349853516, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 12184.192419052124, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-36" }, { "args": [ "ut_server_and_client_set_channel_name (client):", "'foo'", "'ut_server_and_client_set_channel_name'" ], "asctime": "2020-12-25 15:03:48,665", "created": 1608905028.6650245, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__channel_name_request__", "levelname": "WARNING", "levelno": 30, "lineno": 235, "message": "ut_server_and_client_set_channel_name (client): overwriting user defined channel name from 'foo' to 'ut_server_and_client_set_channel_name'", "module": "__init__", "msecs": 665.0245189666748, "msg": "%s overwriting user defined channel name from %s to %s", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 12184.366703033447, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-36" }, { "args": [ "ut_server_and_client_set_channel_name (client):", 0, 6, 0, "None" ], "asctime": "2020-12-25 15:03:48,665", "created": 1608905028.6651864, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "ut_server_and_client_set_channel_name (client): TX -> status: 0, service_id: 6, data_id: 0, data: \"None\"", "module": "__init__", "msecs": 665.1864051818848, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 12184.528589248657, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-36" }, { "args": [], "asctime": "2020-12-25 15:03:48,665", "created": 1608905028.665555, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (62): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 36 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 7d 6c e3 72 30", "module": "test_helpers", "msecs": 665.5550003051758, "msg": "Send data: (62): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 36 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 7d 6c e3 72 30", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 12184.897184371948, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-36" }, { "args": [], "asctime": "2020-12-25 15:03:48,816", "created": 1608905028.8165636, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (62): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 36 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 7d 6c e3 72 30", "module": "test_helpers", "msecs": 816.563606262207, "msg": "Receive data (62): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 36 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 7d 6c e3 72 30", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 12335.90579032898, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-37" }, { "args": [ "ut_server_and_client_set_channel_name (server):", "0", "6", "0", "None" ], "asctime": "2020-12-25 15:03:48,816", "created": 1608905028.8169696, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 290, "message": "ut_server_and_client_set_channel_name (server): RX <- status: 0, service_id: 6, data_id: 0, data: \"None\"", "module": "__init__", "msecs": 816.969633102417, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 12336.31181716919, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-37" }, { "args": [ "ut_server_and_client_set_channel_name (server):", "ut_response_callback" ], "asctime": "2020-12-25 15:03:48,817", "created": 1608905028.8171983, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 330, "message": "ut_server_and_client_set_channel_name (server): Executing callback ut_response_callback to process received data", "module": "__init__", "msecs": 817.1982765197754, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 12336.540460586548, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-37" } ], "msecs": 820.1088905334473, "msg": "Initiating communication including channel_name exchange.", "name": "__tLogger__", "pathname": "src/tests/test_channel_name.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 12339.45107460022, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.002910614013671875 }, { "args": [ "'ut_server_and_client_set_channel_name'", "" ], "asctime": "2020-12-25 15:03:48,820", "created": 1608905028.820892, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Channel name for server is correct (Content 'ut_server_and_client_set_channel_name' and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Channel name for server", "'ut_server_and_client_set_channel_name'", "" ], "asctime": "2020-12-25 15:03:48,820", "created": 1608905028.8205392, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Channel name for server): 'ut_server_and_client_set_channel_name' ()", "module": "test", "msecs": 820.5392360687256, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 12339.881420135498, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Channel name for server", "'ut_server_and_client_set_channel_name'", "" ], "asctime": "2020-12-25 15:03:48,820", "created": 1608905028.8207126, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Channel name for server): result = 'ut_server_and_client_set_channel_name' ()", "module": "test", "msecs": 820.7125663757324, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 12340.054750442505, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 820.8920955657959, "msg": "Channel name for server is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 12340.234279632568, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.00017952919006347656 }, { "args": [ "'ut_server_and_client_set_channel_name'", "" ], "asctime": "2020-12-25 15:03:48,821", "created": 1608905028.821398, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Channel name for client is correct (Content 'ut_server_and_client_set_channel_name' and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Channel name for client", "'ut_server_and_client_set_channel_name'", "" ], "asctime": "2020-12-25 15:03:48,821", "created": 1608905028.821124, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Channel name for client): 'ut_server_and_client_set_channel_name' ()", "module": "test", "msecs": 821.1240768432617, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 12340.466260910034, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Channel name for client", "'ut_server_and_client_set_channel_name'", "" ], "asctime": "2020-12-25 15:03:48,821", "created": 1608905028.8212655, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Channel name for client): result = 'ut_server_and_client_set_channel_name' ()", "module": "test", "msecs": 821.265459060669, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 12340.607643127441, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 821.3980197906494, "msg": "Channel name for client is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 12340.740203857422, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.00013256072998046875 } ], "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.3103351593017578, "time_finished": "2020-12-25 15:03:48,821", "time_start": "2020-12-25 15:03:48,511" }, "socket_protocol: Server and Client setting the same channel name.": { "args": null, "asctime": "2020-12-25 15:03:48,821", "created": 1608905028.8218393, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 52, "message": "socket_protocol: Server and Client setting the same channel name.", "module": "__init__", "moduleLogger": [], "msecs": 821.8393325805664, "msg": "socket_protocol: Server and Client setting the same channel name.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest/src/tests/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 12341.181516647339, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2020-12-25 15:03:49,131", "created": 1608905029.1310043, "exc_info": null, "exc_text": null, "filename": "test_channel_name.py", "funcName": "test_channel_name", "levelname": "DEBUG", "levelno": 10, "lineno": 58, "message": "Initiating communication including channel_name exchange.", "module": "test_channel_name", "moduleLogger": [ { "args": [ "ut_server_and_client_set_channel_name (server):" ], "asctime": "2020-12-25 15:03:48,822", "created": 1608905028.822137, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "ut_server_and_client_set_channel_name (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 822.1371173858643, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 12341.479301452637, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "ut_server_and_client_set_channel_name (server):" ], "asctime": "2020-12-25 15:03:48,822", "created": 1608905028.8225045, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "ut_server_and_client_set_channel_name (server): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 822.5045204162598, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 12341.846704483032, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "'__channel_name_response__'", "6", "0", "'ut_response_callback'" ], "asctime": "2020-12-25 15:03:48,822", "created": 1608905028.8226988, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "add", "levelname": "WARNING", "levelno": 30, "lineno": 82, "message": "Overwriting existing callback '__channel_name_response__' for service_id (6) and data_id (0) to 'ut_response_callback'!", "module": "__init__", "msecs": 822.6988315582275, "msg": "Overwriting existing callback %s for service_id (%s) and data_id (%s) to %s!", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 12342.041015625, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "ut_server_and_client_set_channel_name (client):" ], "asctime": "2020-12-25 15:03:48,822", "created": 1608905028.8228626, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "ut_server_and_client_set_channel_name (client): Cleaning up receive-buffer", "module": "__init__", "msecs": 822.8626251220703, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 12342.204809188843, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "ut_server_and_client_set_channel_name (client):" ], "asctime": "2020-12-25 15:03:48,823", "created": 1608905028.8232083, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "ut_server_and_client_set_channel_name (client): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 823.2083320617676, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 12342.55051612854, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "ut_server_and_client_set_channel_name (server):" ], "asctime": "2020-12-25 15:03:48,823", "created": 1608905028.823379, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "ut_server_and_client_set_channel_name (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 823.3790397644043, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 12342.721223831177, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "ut_server_and_client_set_channel_name (server):", 0, 5, 0, "'ut_server_and_client_set_channel_name'" ], "asctime": "2020-12-25 15:03:48,823", "created": 1608905028.8235304, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "ut_server_and_client_set_channel_name (server): TX -> status: 0, service_id: 5, data_id: 0, data: \"'ut_server_and_client_set_channel_name'\"", "module": "__init__", "msecs": 823.5304355621338, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 12342.872619628906, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:48,823", "created": 1608905028.8239424, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (97): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 35 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 22 75 74 5f 73 65 72 76 65 72 5f 61 6e 64 5f 63 6c 69 65 6e 74 5f 73 65 74 5f 63 68 61 6e 6e 65 6c 5f 6e 61 6d 65 22 7d fc 87 b8 63", "module": "test_helpers", "msecs": 823.9424228668213, "msg": "Send data: (97): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 35 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 22 75 74 5f 73 65 72 76 65 72 5f 61 6e 64 5f 63 6c 69 65 6e 74 5f 73 65 74 5f 63 68 61 6e 6e 65 6c 5f 6e 61 6d 65 22 7d fc 87 b8 63", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 12343.284606933594, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "ut_server_and_client_set_channel_name (client):" ], "asctime": "2020-12-25 15:03:48,824", "created": 1608905028.8246772, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "ut_server_and_client_set_channel_name (client): Cleaning up receive-buffer", "module": "__init__", "msecs": 824.6772289276123, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 12344.019412994385, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:48,974", "created": 1608905028.9749632, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (97): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 35 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 22 75 74 5f 73 65 72 76 65 72 5f 61 6e 64 5f 63 6c 69 65 6e 74 5f 73 65 74 5f 63 68 61 6e 6e 65 6c 5f 6e 61 6d 65 22 7d fc 87 b8 63", "module": "test_helpers", "msecs": 974.9631881713867, "msg": "Receive data (97): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 35 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 22 75 74 5f 73 65 72 76 65 72 5f 61 6e 64 5f 63 6c 69 65 6e 74 5f 73 65 74 5f 63 68 61 6e 6e 65 6c 5f 6e 61 6d 65 22 7d fc 87 b8 63", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 12494.30537223816, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-38" }, { "args": [ "ut_server_and_client_set_channel_name (client):", "0", "5", "0", "'ut_server_and_client_set_channel_name'" ], "asctime": "2020-12-25 15:03:48,975", "created": 1608905028.9753942, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 290, "message": "ut_server_and_client_set_channel_name (client): RX <- status: 0, service_id: 5, data_id: 0, data: \"'ut_server_and_client_set_channel_name'\"", "module": "__init__", "msecs": 975.3942489624023, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 12494.736433029175, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-38" }, { "args": [ "ut_server_and_client_set_channel_name (client):", "__channel_name_request__" ], "asctime": "2020-12-25 15:03:48,975", "created": 1608905028.9756012, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 313, "message": "ut_server_and_client_set_channel_name (client): Executing callback __channel_name_request__ to process received data", "module": "__init__", "msecs": 975.6011962890625, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 12494.943380355835, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-38" }, { "args": [ "ut_server_and_client_set_channel_name (client):", 0, 6, 0, "None" ], "asctime": "2020-12-25 15:03:48,975", "created": 1608905028.975787, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "ut_server_and_client_set_channel_name (client): TX -> status: 0, service_id: 6, data_id: 0, data: \"None\"", "module": "__init__", "msecs": 975.7869243621826, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 12495.129108428955, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-38" }, { "args": [], "asctime": "2020-12-25 15:03:48,976", "created": 1608905028.9761534, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (62): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 36 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 7d 6c e3 72 30", "module": "test_helpers", "msecs": 976.1533737182617, "msg": "Send data: (62): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 36 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 7d 6c e3 72 30", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 12495.495557785034, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-38" }, { "args": [], "asctime": "2020-12-25 15:03:49,127", "created": 1608905029.1271558, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (62): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 36 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 7d 6c e3 72 30", "module": "test_helpers", "msecs": 127.15578079223633, "msg": "Receive data (62): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 36 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 7d 6c e3 72 30", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 12646.497964859009, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-39" }, { "args": [ "ut_server_and_client_set_channel_name (server):", "0", "6", "0", "None" ], "asctime": "2020-12-25 15:03:49,127", "created": 1608905029.1275642, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 290, "message": "ut_server_and_client_set_channel_name (server): RX <- status: 0, service_id: 6, data_id: 0, data: \"None\"", "module": "__init__", "msecs": 127.5641918182373, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 12646.90637588501, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-39" }, { "args": [ "ut_server_and_client_set_channel_name (server):", "ut_response_callback" ], "asctime": "2020-12-25 15:03:49,127", "created": 1608905029.1278036, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 330, "message": "ut_server_and_client_set_channel_name (server): Executing callback ut_response_callback to process received data", "module": "__init__", "msecs": 127.80356407165527, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 12647.145748138428, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-39" } ], "msecs": 131.00433349609375, "msg": "Initiating communication including channel_name exchange.", "name": "__tLogger__", "pathname": "src/tests/test_channel_name.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 12650.346517562866, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.0032007694244384766 }, { "args": [ "'ut_server_and_client_set_channel_name'", "" ], "asctime": "2020-12-25 15:03:49,131", "created": 1608905029.13175, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Channel name for server is correct (Content 'ut_server_and_client_set_channel_name' and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Channel name for server", "'ut_server_and_client_set_channel_name'", "" ], "asctime": "2020-12-25 15:03:49,131", "created": 1608905029.1314301, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Channel name for server): 'ut_server_and_client_set_channel_name' ()", "module": "test", "msecs": 131.43014907836914, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 12650.772333145142, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Channel name for server", "'ut_server_and_client_set_channel_name'", "" ], "asctime": "2020-12-25 15:03:49,131", "created": 1608905029.1315997, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Channel name for server): result = 'ut_server_and_client_set_channel_name' ()", "module": "test", "msecs": 131.59966468811035, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 12650.941848754883, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 131.75010681152344, "msg": "Channel name for server is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 12651.092290878296, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.00015044212341308594 }, { "args": [ "'ut_server_and_client_set_channel_name'", "" ], "asctime": "2020-12-25 15:03:49,132", "created": 1608905029.1322463, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Channel name for client is correct (Content 'ut_server_and_client_set_channel_name' and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Channel name for client", "'ut_server_and_client_set_channel_name'", "" ], "asctime": "2020-12-25 15:03:49,131", "created": 1608905029.1319723, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Channel name for client): 'ut_server_and_client_set_channel_name' ()", "module": "test", "msecs": 131.9723129272461, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 12651.314496994019, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Channel name for client", "'ut_server_and_client_set_channel_name'", "" ], "asctime": "2020-12-25 15:03:49,132", "created": 1608905029.1321115, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Channel name for client): result = 'ut_server_and_client_set_channel_name' ()", "module": "test", "msecs": 132.1115493774414, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 12651.453733444214, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 132.2462558746338, "msg": "Channel name for client is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 12651.588439941406, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.0001347064971923828 } ], "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.3104069232940674, "time_finished": "2020-12-25 15:03:49,132", "time_start": "2020-12-25 15:03:48,821" }, "socket_protocol: Server setting the channel name.": { "args": null, "asctime": "2020-12-25 15:03:47,889", "created": 1608905027.8896213, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 49, "message": "socket_protocol: Server setting the channel name.", "module": "__init__", "moduleLogger": [], "msecs": 889.6212577819824, "msg": "socket_protocol: Server setting the channel name.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest/src/tests/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11408.963441848755, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2020-12-25 15:03:48,198", "created": 1608905028.1986642, "exc_info": null, "exc_text": null, "filename": "test_channel_name.py", "funcName": "test_channel_name", "levelname": "DEBUG", "levelno": 10, "lineno": 58, "message": "Initiating communication including channel_name exchange.", "module": "test_channel_name", "moduleLogger": [ { "args": [ "ut_server_set_channel_name (server):" ], "asctime": "2020-12-25 15:03:47,889", "created": 1608905027.889967, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "ut_server_set_channel_name (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 889.9669647216797, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11409.309148788452, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "ut_server_set_channel_name (server):" ], "asctime": "2020-12-25 15:03:47,890", "created": 1608905027.890352, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "ut_server_set_channel_name (server): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 890.3520107269287, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11409.694194793701, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "'__channel_name_response__'", "6", "0", "'ut_response_callback'" ], "asctime": "2020-12-25 15:03:47,890", "created": 1608905027.8905606, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "add", "levelname": "WARNING", "levelno": 30, "lineno": 82, "message": "Overwriting existing callback '__channel_name_response__' for service_id (6) and data_id (0) to 'ut_response_callback'!", "module": "__init__", "msecs": 890.5606269836426, "msg": "Overwriting existing callback %s for service_id (%s) and data_id (%s) to %s!", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11409.902811050415, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (client):" ], "asctime": "2020-12-25 15:03:47,890", "created": 1608905027.8907313, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "socket_protocol (client): Cleaning up receive-buffer", "module": "__init__", "msecs": 890.7313346862793, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11410.073518753052, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (client):" ], "asctime": "2020-12-25 15:03:47,891", "created": 1608905027.8910546, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 248, "message": "socket_protocol (client): Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 891.054630279541, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11410.396814346313, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "ut_server_set_channel_name (server):" ], "asctime": "2020-12-25 15:03:47,891", "created": 1608905027.891238, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "ut_server_set_channel_name (server): Cleaning up receive-buffer", "module": "__init__", "msecs": 891.2379741668701, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11410.580158233643, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "ut_server_set_channel_name (server):", 0, 5, 0, "'ut_server_set_channel_name'" ], "asctime": "2020-12-25 15:03:47,891", "created": 1608905027.891391, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "ut_server_set_channel_name (server): TX -> status: 0, service_id: 5, data_id: 0, data: \"'ut_server_set_channel_name'\"", "module": "__init__", "msecs": 891.3910388946533, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11410.733222961426, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:47,891", "created": 1608905027.8918042, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (86): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 35 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 22 75 74 5f 73 65 72 76 65 72 5f 73 65 74 5f 63 68 61 6e 6e 65 6c 5f 6e 61 6d 65 22 7d 6e a8 f6 56", "module": "test_helpers", "msecs": 891.8042182922363, "msg": "Send data: (86): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 35 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 22 75 74 5f 73 65 72 76 65 72 5f 73 65 74 5f 63 68 61 6e 6e 65 6c 5f 6e 61 6d 65 22 7d 6e a8 f6 56", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11411.146402359009, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "socket_protocol (client):" ], "asctime": "2020-12-25 15:03:47,892", "created": 1608905027.8924954, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 344, "message": "socket_protocol (client): Cleaning up receive-buffer", "module": "__init__", "msecs": 892.4953937530518, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11411.837577819824, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-25 15:03:48,042", "created": 1608905028.0428493, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (86): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 35 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 22 75 74 5f 73 65 72 76 65 72 5f 73 65 74 5f 63 68 61 6e 6e 65 6c 5f 6e 61 6d 65 22 7d 6e a8 f6 56", "module": "test_helpers", "msecs": 42.84930229187012, "msg": "Receive data (86): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 35 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 22 75 74 5f 73 65 72 76 65 72 5f 73 65 74 5f 63 68 61 6e 6e 65 6c 5f 6e 61 6d 65 22 7d 6e a8 f6 56", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11562.191486358643, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-32" }, { "args": [ "socket_protocol (client):", "0", "5", "0", "'ut_server_set_channel_name'" ], "asctime": "2020-12-25 15:03:48,043", "created": 1608905028.0432594, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 290, "message": "socket_protocol (client): RX <- status: 0, service_id: 5, data_id: 0, data: \"'ut_server_set_channel_name'\"", "module": "__init__", "msecs": 43.259382247924805, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11562.601566314697, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-32" }, { "args": [ "socket_protocol (client):", "__channel_name_request__" ], "asctime": "2020-12-25 15:03:48,043", "created": 1608905028.0434678, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 313, "message": "socket_protocol (client): Executing callback __channel_name_request__ to process received data", "module": "__init__", "msecs": 43.46776008605957, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11562.809944152832, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-32" }, { "args": [ "ut_server_set_channel_name (client):", "'ut_server_set_channel_name'" ], "asctime": "2020-12-25 15:03:48,043", "created": 1608905028.0436382, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__channel_name_request__", "levelname": "INFO", "levelno": 20, "lineno": 237, "message": "ut_server_set_channel_name (client): channel name is now 'ut_server_set_channel_name'", "module": "__init__", "msecs": 43.63822937011719, "msg": "%s channel name is now %s", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11562.98041343689, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-32" }, { "args": [ "ut_server_set_channel_name (client):", 0, 6, 0, "None" ], "asctime": "2020-12-25 15:03:48,043", "created": 1608905028.0437999, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 383, "message": "ut_server_set_channel_name (client): TX -> status: 0, service_id: 6, data_id: 0, data: \"None\"", "module": "__init__", "msecs": 43.79987716674805, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11563.14206123352, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-32" }, { "args": [], "asctime": "2020-12-25 15:03:48,044", "created": 1608905028.04415, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 60, "message": "Send data: (62): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 36 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 7d 6c e3 72 30", "module": "test_helpers", "msecs": 44.15011405944824, "msg": "Send data: (62): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 36 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 7d 6c e3 72 30", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11563.49229812622, "stack_info": null, "thread": 140326926956288, "threadName": "Thread-32" }, { "args": [], "asctime": "2020-12-25 15:03:48,195", "created": 1608905028.1951363, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 71, "message": "Receive data (62): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 36 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 7d 6c e3 72 30", "module": "test_helpers", "msecs": 195.13630867004395, "msg": "Receive data (62): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 36 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 7d 6c e3 72 30", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11714.478492736816, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-33" }, { "args": [ "ut_server_set_channel_name (server):", "0", "6", "0", "None" ], "asctime": "2020-12-25 15:03:48,195", "created": 1608905028.1955454, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 290, "message": "ut_server_set_channel_name (server): RX <- status: 0, service_id: 6, data_id: 0, data: \"None\"", "module": "__init__", "msecs": 195.54543495178223, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11714.887619018555, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-33" }, { "args": [ "ut_server_set_channel_name (server):", "ut_response_callback" ], "asctime": "2020-12-25 15:03:48,195", "created": 1608905028.1957738, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 330, "message": "ut_server_set_channel_name (server): Executing callback ut_response_callback to process received data", "module": "__init__", "msecs": 195.77383995056152, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol", "pathname": "src/socket_protocol/__init__.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11715.116024017334, "stack_info": null, "thread": 140326935348992, "threadName": "Thread-33" } ], "msecs": 198.66418838500977, "msg": "Initiating communication including channel_name exchange.", "name": "__tLogger__", "pathname": "src/tests/test_channel_name.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11718.006372451782, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.002890348434448242 }, { "args": [ "'ut_server_set_channel_name'", "" ], "asctime": "2020-12-25 15:03:48,199", "created": 1608905028.199428, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Channel name for server is correct (Content 'ut_server_set_channel_name' and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Channel name for server", "'ut_server_set_channel_name'", "" ], "asctime": "2020-12-25 15:03:48,199", "created": 1608905028.1990955, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Channel name for server): 'ut_server_set_channel_name' ()", "module": "test", "msecs": 199.0954875946045, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11718.437671661377, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Channel name for server", "'ut_server_set_channel_name'", "" ], "asctime": "2020-12-25 15:03:48,199", "created": 1608905028.1992695, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Channel name for server): result = 'ut_server_set_channel_name' ()", "module": "test", "msecs": 199.26953315734863, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11718.611717224121, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 199.42808151245117, "msg": "Channel name for server is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11718.770265579224, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.00015854835510253906 }, { "args": [ "'ut_server_set_channel_name'", "" ], "asctime": "2020-12-25 15:03:48,199", "created": 1608905028.199954, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Channel name for client is correct (Content 'ut_server_set_channel_name' and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Channel name for client", "'ut_server_set_channel_name'", "" ], "asctime": "2020-12-25 15:03:48,199", "created": 1608905028.1996784, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Channel name for client): 'ut_server_set_channel_name' ()", "module": "test", "msecs": 199.6784210205078, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11719.02060508728, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" }, { "args": [ "Channel name for client", "'ut_server_set_channel_name'", "" ], "asctime": "2020-12-25 15:03:48,199", "created": 1608905028.1998177, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Channel name for client): result = 'ut_server_set_channel_name' ()", "module": "test", "msecs": 199.81765747070312, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11719.159841537476, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread" } ], "msecs": 199.95403289794922, "msg": "Channel name for client is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 219865, "processName": "MainProcess", "relativeCreated": 11719.296216964722, "stack_info": null, "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.00013637542724609375 } ], "thread": 140326961268544, "threadName": "MainThread", "time_consumption": 0.3103327751159668, "time_finished": "2020-12-25 15:03:48,199", "time_start": "2020-12-25 15:03:47,889" } }, "testrun_id": "p3", "time_consumption": 12.572825193405151, "uid_list_sorted": [ "socket_protocol.struct_json_protocol: Send and receive check.", "socket_protocol.pure_json_protocol: Send and receive check.", "socket_protocol.pure_json_protocol: Send and receive check including authentification.", "socket_protocol.pure_json_protocol: Wildcard Callback registration for service_id and data_id.", "socket_protocol.pure_json_protocol: Wildcard Callback registration for service_id.", "socket_protocol.pure_json_protocol: Wildcard Callback registration for data_id.", "socket_protocol.pure_json_protocol: Register a second Callback with the same service_id.", "socket_protocol.struct_json_protocol: Send and receive check (Twice for coverage of buffer initialisation).", "socket_protocol.pure_json_protocol: Checksum corumpation while sending.", "socket_protocol.pure_json_protocol: Timeout measurement for authentification and send method.", "socket_protocol.pure_json_protocol: No Callback at response instance for the request.", "socket_protocol.pure_json_protocol: Authentification required, but not processed/ correctly processed.", "socket_protocol.pure_json_protocol: Authentification processed without secret.", "socket_protocol.pure_json_protocol: Incompatible Callback return value(s).", "socket_protocol: Server setting the channel name.", "socket_protocol: Client setting the channel name.", "socket_protocol: Server and Client setting different channel names.", "socket_protocol: Server and Client setting the same channel name." ] } ], "unittest_information": { "Version": "7075d2ce05c6d6ff54b3fe52f4e996ab" } }