{ "coverage_information": [ { "branch_coverage": 98.72, "filepath": "/user_data/data/dirk/prj/unittest/socket_protocol/pylibs/socket_protocol", "files": [ { "branch_coverage": 98.72, "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": 54, "start": 53 }, { "coverage_state": "clean", "end": 55, "start": 55 }, { "coverage_state": "covered", "end": 58, "start": 56 }, { "coverage_state": "clean", "end": 59, "start": 59 }, { "coverage_state": "covered", "end": 62, "start": 60 }, { "coverage_state": "clean", "end": 63, "start": 63 }, { "coverage_state": "covered", "end": 64, "start": 64 }, { "coverage_state": "clean", "end": 65, "start": 65 }, { "coverage_state": "covered", "end": 86, "start": 66 }, { "coverage_state": "clean", "end": 87, "start": 87 }, { "coverage_state": "covered", "end": 94, "start": 88 }, { "coverage_state": "clean", "end": 96, "start": 95 }, { "coverage_state": "covered", "end": 101, "start": 97 }, { "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": 108, "start": 108 }, { "coverage_state": "covered", "end": 110, "start": 109 }, { "coverage_state": "clean", "end": 111, "start": 111 }, { "coverage_state": "covered", "end": 113, "start": 112 }, { "coverage_state": "clean", "end": 114, "start": 114 }, { "coverage_state": "covered", "end": 116, "start": 115 }, { "coverage_state": "clean", "end": 118, "start": 117 }, { "coverage_state": "covered", "end": 119, "start": 119 }, { "coverage_state": "clean", "end": 145, "start": 120 }, { "coverage_state": "covered", "end": 146, "start": 146 }, { "coverage_state": "clean", "end": 147, "start": 147 }, { "coverage_state": "covered", "end": 159, "start": 148 }, { "coverage_state": "clean", "end": 160, "start": 160 }, { "coverage_state": "covered", "end": 161, "start": 161 }, { "coverage_state": "clean", "end": 168, "start": 162 }, { "coverage_state": "covered", "end": 169, "start": 169 }, { "coverage_state": "clean", "end": 177, "start": 170 }, { "coverage_state": "covered", "end": 184, "start": 178 }, { "coverage_state": "clean", "end": 190, "start": 185 }, { "coverage_state": "covered", "end": 196, "start": 191 }, { "coverage_state": "clean", "end": 201, "start": 197 }, { "coverage_state": "covered", "end": 205, "start": 202 }, { "coverage_state": "clean", "end": 206, "start": 206 }, { "coverage_state": "covered", "end": 208, "start": 207 }, { "coverage_state": "clean", "end": 209, "start": 209 }, { "coverage_state": "covered", "end": 221, "start": 210 }, { "coverage_state": "clean", "end": 222, "start": 222 }, { "coverage_state": "covered", "end": 227, "start": 223 }, { "coverage_state": "clean", "end": 228, "start": 228 }, { "coverage_state": "covered", "end": 229, "start": 229 }, { "coverage_state": "clean", "end": 230, "start": 230 }, { "coverage_state": "covered", "end": 235, "start": 231 }, { "coverage_state": "clean", "end": 236, "start": 236 }, { "coverage_state": "covered", "end": 238, "start": 237 }, { "coverage_state": "clean", "end": 239, "start": 239 }, { "coverage_state": "covered", "end": 240, "start": 240 }, { "coverage_state": "uncovered", "end": 241, "start": 241 }, { "coverage_state": "clean", "end": 242, "start": 242 }, { "coverage_state": "covered", "end": 243, "start": 243 }, { "coverage_state": "uncovered", "end": 244, "start": 244 }, { "coverage_state": "clean", "end": 245, "start": 245 }, { "coverage_state": "covered", "end": 246, "start": 246 }, { "coverage_state": "uncovered", "end": 247, "start": 247 }, { "coverage_state": "clean", "end": 248, "start": 248 }, { "coverage_state": "covered", "end": 252, "start": 249 }, { "coverage_state": "partially-covered", "end": 253, "start": 253 }, { "coverage_state": "uncovered", "end": 254, "start": 254 }, { "coverage_state": "clean", "end": 255, "start": 255 }, { "coverage_state": "covered", "end": 259, "start": 256 }, { "coverage_state": "clean", "end": 260, "start": 260 }, { "coverage_state": "covered", "end": 267, "start": 261 }, { "coverage_state": "clean", "end": 268, "start": 268 }, { "coverage_state": "covered", "end": 274, "start": 269 }, { "coverage_state": "clean", "end": 275, "start": 275 }, { "coverage_state": "covered", "end": 278, "start": 276 }, { "coverage_state": "clean", "end": 279, "start": 279 }, { "coverage_state": "covered", "end": 283, "start": 280 }, { "coverage_state": "clean", "end": 284, "start": 284 }, { "coverage_state": "covered", "end": 286, "start": 285 }, { "coverage_state": "clean", "end": 287, "start": 287 }, { "coverage_state": "covered", "end": 292, "start": 288 }, { "coverage_state": "clean", "end": 293, "start": 293 }, { "coverage_state": "covered", "end": 296, "start": 294 }, { "coverage_state": "clean", "end": 297, "start": 297 }, { "coverage_state": "covered", "end": 302, "start": 298 }, { "coverage_state": "clean", "end": 303, "start": 303 }, { "coverage_state": "covered", "end": 306, "start": 304 }, { "coverage_state": "clean", "end": 307, "start": 307 }, { "coverage_state": "covered", "end": 308, "start": 308 }, { "coverage_state": "clean", "end": 309, "start": 309 }, { "coverage_state": "covered", "end": 311, "start": 310 }, { "coverage_state": "clean", "end": 312, "start": 312 }, { "coverage_state": "covered", "end": 316, "start": 313 }, { "coverage_state": "clean", "end": 317, "start": 317 }, { "coverage_state": "covered", "end": 319, "start": 318 }, { "coverage_state": "clean", "end": 326, "start": 320 }, { "coverage_state": "covered", "end": 328, "start": 327 }, { "coverage_state": "clean", "end": 331, "start": 329 }, { "coverage_state": "covered", "end": 339, "start": 332 }, { "coverage_state": "clean", "end": 340, "start": 340 }, { "coverage_state": "covered", "end": 346, "start": 341 }, { "coverage_state": "clean", "end": 350, "start": 347 }, { "coverage_state": "covered", "end": 356, "start": 351 }, { "coverage_state": "clean", "end": 357, "start": 357 }, { "coverage_state": "covered", "end": 362, "start": 358 }, { "coverage_state": "clean", "end": 363, "start": 363 }, { "coverage_state": "covered", "end": 370, "start": 364 }, { "coverage_state": "clean", "end": 371, "start": 371 }, { "coverage_state": "covered", "end": 374, "start": 372 }, { "coverage_state": "clean", "end": 375, "start": 375 }, { "coverage_state": "covered", "end": 388, "start": 376 }, { "coverage_state": "clean", "end": 389, "start": 389 }, { "coverage_state": "covered", "end": 391, "start": 390 }, { "coverage_state": "clean", "end": 392, "start": 392 }, { "coverage_state": "covered", "end": 393, "start": 393 }, { "coverage_state": "clean", "end": 411, "start": 394 }, { "coverage_state": "covered", "end": 413, "start": 412 }, { "coverage_state": "clean", "end": 414, "start": 414 }, { "coverage_state": "covered", "end": 415, "start": 415 }, { "coverage_state": "clean", "end": 438, "start": 416 }, { "coverage_state": "covered", "end": 439, "start": 439 }, { "coverage_state": "clean", "end": 440, "start": 440 }, { "coverage_state": "covered", "end": 441, "start": 441 }, { "coverage_state": "clean", "end": 453, "start": 442 }, { "coverage_state": "covered", "end": 466, "start": 454 }, { "coverage_state": "clean", "end": 467, "start": 467 }, { "coverage_state": "covered", "end": 468, "start": 468 }, { "coverage_state": "clean", "end": 472, "start": 469 }, { "coverage_state": "covered", "end": 473, "start": 473 }, { "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": 479, "start": 479 }, { "coverage_state": "clean", "end": 480, "start": 480 }, { "coverage_state": "covered", "end": 485, "start": 481 }, { "coverage_state": "clean", "end": 486, "start": 486 }, { "coverage_state": "covered", "end": 488, "start": 487 }, { "coverage_state": "clean", "end": 489, "start": 489 }, { "coverage_state": "covered", "end": 495, "start": 490 }, { "coverage_state": "clean", "end": 496, "start": 496 }, { "coverage_state": "covered", "end": 502, "start": 497 }, { "coverage_state": "clean", "end": 503, "start": 503 }, { "coverage_state": "covered", "end": 506, "start": 504 }, { "coverage_state": "clean", "end": 507, "start": 507 }, { "coverage_state": "covered", "end": 512, "start": 508 }, { "coverage_state": "clean", "end": 513, "start": 513 }, { "coverage_state": "covered", "end": 516, "start": 514 }, { "coverage_state": "clean", "end": 518, "start": 517 }, { "coverage_state": "covered", "end": 519, "start": 519 }, { "coverage_state": "clean", "end": 542, "start": 520 }, { "coverage_state": "covered", "end": 544, "start": 543 }, { "coverage_state": "clean", "end": 545, "start": 545 }, { "coverage_state": "covered", "end": 551, "start": 546 }, { "coverage_state": "clean", "end": 552, "start": 552 }, { "coverage_state": "covered", "end": 555, "start": 553 }, { "coverage_state": "clean", "end": 556, "start": 556 }, { "coverage_state": "covered", "end": 557, "start": 557 }, { "coverage_state": "clean", "end": 558, "start": 558 }, { "coverage_state": "covered", "end": 560, "start": 559 }, { "coverage_state": "clean", "end": 561, "start": 561 }, { "coverage_state": "covered", "end": 563, "start": 562 }, { "coverage_state": "clean", "end": null, "start": 564 } ], "line_coverage": 98.74000000000001, "name": "socket_protocol.__init__.py" } ], "line_coverage": 98.74000000000001, "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": "883349fccf7a5238d7c8d6e4e98afa6d" }, "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-26 10:11:41,226", "created": 1608973901.226603, "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": 226.60303115844727, "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": 260862, "processName": "MainProcess", "relativeCreated": 10996.20509147644, "testcaseLogger": [ { "args": [], "asctime": "2020-12-26 10:11:41,228", "created": 1608973901.228542, "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": [ " SP server:" ], "asctime": "2020-12-26 10:11:41,227", "created": 1608973901.227093, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 227.09298133850098, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 10996.695041656494, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:41,227", "created": 1608973901.227539, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP server: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 227.5390625, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 10997.141122817993, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:41,227", "created": 1608973901.227932, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 227.93197631835938, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 10997.534036636353, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:41,228", "created": 1608973901.228328, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP server: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 228.32798957824707, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 10997.93004989624, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 228.54208946228027, "msg": "Authentification with no secret definition (pure_json_protocol).", "name": "__tLogger__", "pathname": "src/tests/test_handling_errors.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 10998.144149780273, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.00021409988403320312 }, { "args": [ "False", "" ], "asctime": "2020-12-26 10:11:41,229", "created": 1608973901.229028, "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-26 10:11:41,228", "created": 1608973901.228824, "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": 228.82390022277832, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 10998.425960540771, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Return value of authentification", "False", "" ], "asctime": "2020-12-26 10:11:41,228", "created": 1608973901.22893, "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": 228.92999649047852, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 10998.532056808472, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 229.02798652648926, "msg": "Return value of authentification is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 10998.630046844482, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 9.799003601074219e-05 } ], "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.002424955368041992, "time_finished": "2020-12-26 10:11:41,229", "time_start": "2020-12-26 10:11:41,226" }, "socket_protocol.pure_json_protocol: Authentification required, but not processed/ correctly processed.": { "args": null, "asctime": "2020-12-26 10:11:39,812", "created": 1608973899.812216, "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": 812.21604347229, "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": 260862, "processName": "MainProcess", "relativeCreated": 9581.818103790283, "testcaseLogger": [ { "args": [], "asctime": "2020-12-26 10:11:41,020", "created": 1608973901.020524, "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": [ " SP server:" ], "asctime": "2020-12-26 10:11:39,812", "created": 1608973899.812801, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 812.8008842468262, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 9582.40294456482, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:39,813", "created": 1608973899.813259, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP server: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 813.2588863372803, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 9582.860946655273, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:39,813", "created": 1608973899.813639, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 813.6389255523682, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 9583.240985870361, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:39,814", "created": 1608973899.814036, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP server: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 814.0358924865723, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 9583.637952804565, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:39,814", "created": 1608973899.81429, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "authentificate", "levelname": "INFO", "levelno": 20, "lineno": 456, "message": " SP server: Requesting seed for authentification", "module": "__init__", "msecs": 814.2900466918945, "msg": "%s Requesting seed for authentification", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 9583.892107009888, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:", 0, 1, 0, "None" ], "asctime": "2020-12-26 10:11:39,814", "created": 1608973899.814476, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 0, service_id: 1, data_id: 0, data: \"None\"", "module": "__init__", "msecs": 814.4760131835938, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 9584.078073501587, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:39,814", "created": 1608973899.814926, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 814.9259090423584, "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": 260862, "processName": "MainProcess", "relativeCreated": 9584.527969360352, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:39,966", "created": 1608973899.966171, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 966.1710262298584, "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": 260862, "processName": "MainProcess", "relativeCreated": 9735.773086547852, "thread": 139911118194432, "threadName": "Thread-26" }, { "args": [ " SP server:", "0", "1", "0", "None" ], "asctime": "2020-12-26 10:11:39,966", "created": 1608973899.966614, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 325, "message": " SP server: RX <- status: 0, service_id: 1, data_id: 0, data: \"None\"", "module": "__init__", "msecs": 966.6140079498291, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 9736.216068267822, "thread": 139911118194432, "threadName": "Thread-26" }, { "args": [ " SP server:", "__authentificate_create_seed__" ], "asctime": "2020-12-26 10:11:39,966", "created": 1608973899.966863, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 342, "message": " SP server: Executing callback __authentificate_create_seed__ to process received data", "module": "__init__", "msecs": 966.8629169464111, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 9736.464977264404, "thread": 139911118194432, "threadName": "Thread-26" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:39,967", "created": 1608973899.967068, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentificate_create_seed__", "levelname": "INFO", "levelno": 20, "lineno": 482, "message": " SP server: Got seed request, sending seed for authentification", "module": "__init__", "msecs": 967.0679569244385, "msg": "%s Got seed request, sending seed for authentification", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 9736.670017242432, "thread": 139911118194432, "threadName": "Thread-26" }, { "args": [ " SP server:", 0, 2, 0, "'3394f16e89fecd5e5e874d2c49cef180f654cf347db2fbe03998e2166d1f6f54'" ], "asctime": "2020-12-26 10:11:39,967", "created": 1608973899.967313, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 0, service_id: 2, data_id: 0, data: \"'3394f16e89fecd5e5e874d2c49cef180f654cf347db2fbe03998e2166d1f6f54'\"", "module": "__init__", "msecs": 967.3130512237549, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 9736.915111541748, "thread": 139911118194432, "threadName": "Thread-26" }, { "args": [], "asctime": "2020-12-26 10:11:39,967", "created": 1608973899.967944, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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 33 33 39 34 66 31 36 65 38 39 66 65 63 64 35 65 35 65 38 37 34 64 32 63 34 39 63 65 66 31 38 30 66 36 35 34 63 66 33 34 37 64 62 32 66 62 65 30 33 39 39 38 65 32 31 36 36 64 31 66 36 66 35 34 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d c1 c7 ea 60", "module": "test_helpers", "msecs": 967.9439067840576, "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 33 33 39 34 66 31 36 65 38 39 66 65 63 64 35 65 35 65 38 37 34 64 32 63 34 39 63 65 66 31 38 30 66 36 35 34 63 66 33 34 37 64 62 32 66 62 65 30 33 39 39 38 65 32 31 36 36 64 31 66 36 66 35 34 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d c1 c7 ea 60", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 9737.54596710205, "thread": 139911118194432, "threadName": "Thread-26" }, { "args": [], "asctime": "2020-12-26 10:11:40,119", "created": 1608973900.119503, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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 33 33 39 34 66 31 36 65 38 39 66 65 63 64 35 65 35 65 38 37 34 64 32 63 34 39 63 65 66 31 38 30 66 36 35 34 63 66 33 34 37 64 62 32 66 62 65 30 33 39 39 38 65 32 31 36 36 64 31 66 36 66 35 34 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d c1 c7 ea 60", "module": "test_helpers", "msecs": 119.50302124023438, "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 33 33 39 34 66 31 36 65 38 39 66 65 63 64 35 65 35 65 38 37 34 64 32 63 34 39 63 65 66 31 38 30 66 36 35 34 63 66 33 34 37 64 62 32 66 62 65 30 33 39 39 38 65 32 31 36 36 64 31 66 36 66 35 34 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d c1 c7 ea 60", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 9889.105081558228, "thread": 139911126587136, "threadName": "Thread-27" }, { "args": [ " SP server:", "0", "2", "0", "u'3394f16e89fecd5e5e874d2c49cef180f654cf347db2fbe03998e2166d1f6f54'" ], "asctime": "2020-12-26 10:11:40,119", "created": 1608973900.119941, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 325, "message": " SP server: RX <- status: 0, service_id: 2, data_id: 0, data: \"u'3394f16e89fecd5e5e874d2c49cef180f654cf347db2fbe03998e2166d1f6f54'\"", "module": "__init__", "msecs": 119.94099617004395, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 9889.543056488037, "thread": 139911126587136, "threadName": "Thread-27" }, { "args": [ " SP server:", "__authentificate_create_key__" ], "asctime": "2020-12-26 10:11:40,120", "created": 1608973900.120222, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 342, "message": " SP server: Executing callback __authentificate_create_key__ to process received data", "module": "__init__", "msecs": 120.22209167480469, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 9889.824151992798, "thread": 139911126587136, "threadName": "Thread-27" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:40,120", "created": 1608973900.120413, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentificate_create_key__", "levelname": "INFO", "levelno": 20, "lineno": 491, "message": " SP server: Got seed, sending key for authentification", "module": "__init__", "msecs": 120.41306495666504, "msg": "%s Got seed, sending key for authentification", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 9890.015125274658, "thread": 139911126587136, "threadName": "Thread-27" }, { "args": [ " SP server:", 0, 3, 0, "'73d0ef4f8c1e50709490dad69d9517ff4e486ab60f5762ebf17f733e4f74dcda5fc2660ec58bdab64ffaa9312e50911033632670d5093e675d19158b2ca58330'" ], "asctime": "2020-12-26 10:11:40,120", "created": 1608973900.120685, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 0, service_id: 3, data_id: 0, data: \"'73d0ef4f8c1e50709490dad69d9517ff4e486ab60f5762ebf17f733e4f74dcda5fc2660ec58bdab64ffaa9312e50911033632670d5093e675d19158b2ca58330'\"", "module": "__init__", "msecs": 120.68510055541992, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 9890.287160873413, "thread": 139911126587136, "threadName": "Thread-27" }, { "args": [], "asctime": "2020-12-26 10:11:40,121", "created": 1608973900.12151, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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 37 33 64 30 65 66 34 66 38 63 31 65 35 30 37 30 39 34 39 30 64 61 64 36 39 64 39 35 31 37 66 66 34 65 34 38 36 61 62 36 30 66 35 37 36 32 65 62 66 31 37 66 37 33 33 65 34 66 37 34 64 63 64 61 35 66 63 32 36 36 30 65 63 35 38 62 64 61 62 36 34 66 66 61 61 39 33 31 32 65 35 30 39 31 31 30 33 33 36 33 32 36 37 30 64 35 30 39 33 65 36 37 35 64 31 39 31 35 38 62 32 63 61 35 38 33 33 30 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d ff c4 ce 07", "module": "test_helpers", "msecs": 121.51002883911133, "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 37 33 64 30 65 66 34 66 38 63 31 65 35 30 37 30 39 34 39 30 64 61 64 36 39 64 39 35 31 37 66 66 34 65 34 38 36 61 62 36 30 66 35 37 36 32 65 62 66 31 37 66 37 33 33 65 34 66 37 34 64 63 64 61 35 66 63 32 36 36 30 65 63 35 38 62 64 61 62 36 34 66 66 61 61 39 33 31 32 65 35 30 39 31 31 30 33 33 36 33 32 36 37 30 64 35 30 39 33 65 36 37 35 64 31 39 31 35 38 62 32 63 61 35 38 33 33 30 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d ff c4 ce 07", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 9891.112089157104, "thread": 139911126587136, "threadName": "Thread-27" }, { "args": [], "asctime": "2020-12-26 10:11:40,273", "created": 1608973900.273106, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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 37 33 64 30 65 66 34 66 38 63 31 65 35 30 37 30 39 34 39 30 64 61 64 36 39 64 39 35 31 37 66 66 34 65 34 38 36 61 62 36 30 66 35 37 36 32 65 62 66 31 37 66 37 33 33 65 34 66 37 34 64 63 64 61 35 66 63 32 36 36 30 65 63 35 38 62 64 61 62 36 34 66 66 61 61 39 33 31 32 65 35 30 39 31 31 30 33 33 36 33 32 36 37 30 64 35 30 39 33 65 36 37 35 64 31 39 31 35 38 62 32 63 61 35 38 33 33 30 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d ff c4 ce 07", "module": "test_helpers", "msecs": 273.1060981750488, "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 37 33 64 30 65 66 34 66 38 63 31 65 35 30 37 30 39 34 39 30 64 61 64 36 39 64 39 35 31 37 66 66 34 65 34 38 36 61 62 36 30 66 35 37 36 32 65 62 66 31 37 66 37 33 33 65 34 66 37 34 64 63 64 61 35 66 63 32 36 36 30 65 63 35 38 62 64 61 62 36 34 66 66 61 61 39 33 31 32 65 35 30 39 31 31 30 33 33 36 33 32 36 37 30 64 35 30 39 33 65 36 37 35 64 31 39 31 35 38 62 32 63 61 35 38 33 33 30 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d ff c4 ce 07", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 10042.708158493042, "thread": 139911118194432, "threadName": "Thread-28" }, { "args": [ " SP server:", "0", "3", "0", "u'73d0ef4f8c1e50709490dad69d9517ff4e486ab60f5762ebf17f733e4f74dcda5fc2660ec58bdab64ffaa9312e50911033632670d5093e675d19158b2ca58330'" ], "asctime": "2020-12-26 10:11:40,273", "created": 1608973900.273561, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 325, "message": " SP server: RX <- status: 0, service_id: 3, data_id: 0, data: \"u'73d0ef4f8c1e50709490dad69d9517ff4e486ab60f5762ebf17f733e4f74dcda5fc2660ec58bdab64ffaa9312e50911033632670d5093e675d19158b2ca58330'\"", "module": "__init__", "msecs": 273.5610008239746, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 10043.163061141968, "thread": 139911118194432, "threadName": "Thread-28" }, { "args": [ " SP server:", "__authentificate_check_key__" ], "asctime": "2020-12-26 10:11:40,273", "created": 1608973900.273813, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 342, "message": " SP server: Executing callback __authentificate_check_key__ to process received data", "module": "__init__", "msecs": 273.81300926208496, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 10043.415069580078, "thread": 139911118194432, "threadName": "Thread-28" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:40,274", "created": 1608973900.274047, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentificate_check_key__", "levelname": "INFO", "levelno": 20, "lineno": 505, "message": " SP server: Got incorrect key, sending negative authentification feedback", "module": "__init__", "msecs": 274.0468978881836, "msg": "%s Got incorrect key, sending negative authentification feedback", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 10043.648958206177, "thread": 139911118194432, "threadName": "Thread-28" }, { "args": [ " SP server:", 0, 4, 0, "False" ], "asctime": "2020-12-26 10:11:40,274", "created": 1608973900.274266, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 0, service_id: 4, data_id: 0, data: \"False\"", "module": "__init__", "msecs": 274.26600456237793, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 10043.868064880371, "thread": 139911118194432, "threadName": "Thread-28" }, { "args": [], "asctime": "2020-12-26 10:11:40,274", "created": 1608973900.274721, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 274.7209072113037, "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": 260862, "processName": "MainProcess", "relativeCreated": 10044.322967529297, "thread": 139911118194432, "threadName": "Thread-28" }, { "args": [], "asctime": "2020-12-26 10:11:40,425", "created": 1608973900.425891, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 425.8909225463867, "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": 260862, "processName": "MainProcess", "relativeCreated": 10195.49298286438, "thread": 139911126587136, "threadName": "Thread-29" }, { "args": [ " SP server:", "0", "4", "0", "False" ], "asctime": "2020-12-26 10:11:40,426", "created": 1608973900.42635, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 325, "message": " SP server: RX <- status: 0, service_id: 4, data_id: 0, data: \"False\"", "module": "__init__", "msecs": 426.3501167297363, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 10195.95217704773, "thread": 139911126587136, "threadName": "Thread-29" }, { "args": [ " SP server:", "__authentificate_process_feedback__" ], "asctime": "2020-12-26 10:11:40,426", "created": 1608973900.426596, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 359, "message": " SP server: Executing callback __authentificate_process_feedback__ to process received data", "module": "__init__", "msecs": 426.59592628479004, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 10196.197986602783, "thread": 139911126587136, "threadName": "Thread-29" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:40,426", "created": 1608973900.426784, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentificate_process_feedback__", "levelname": "WARNING", "levelno": 30, "lineno": 515, "message": " SP server: Got negative authentification feedback", "module": "__init__", "msecs": 426.7840385437012, "msg": "%s Got negative authentification feedback", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 10196.386098861694, "thread": 139911126587136, "threadName": "Thread-29" }, { "args": [ " SP server:", 0, 10, 45054, "{u'test': u'test'}" ], "asctime": "2020-12-26 10:11:40,517", "created": 1608973900.517561, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 0, service_id: 10, data_id: 45054, data: \"{u'test': u'test'}\"", "module": "__init__", "msecs": 517.5609588623047, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 10287.163019180298, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:40,518", "created": 1608973900.518281, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 518.2809829711914, "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": 260862, "processName": "MainProcess", "relativeCreated": 10287.883043289185, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:40,669", "created": 1608973900.669738, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 669.7380542755127, "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": 260862, "processName": "MainProcess", "relativeCreated": 10439.340114593506, "thread": 139911126587136, "threadName": "Thread-30" }, { "args": [ " SP server:", "0", "10", "45054", "{u'test': u'test'}" ], "asctime": "2020-12-26 10:11:40,670", "created": 1608973900.670187, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 325, "message": " SP server: RX <- status: 0, service_id: 10, data_id: 45054, data: \"{u'test': u'test'}\"", "module": "__init__", "msecs": 670.1869964599609, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 10439.789056777954, "thread": 139911126587136, "threadName": "Thread-30" }, { "args": [ " SP server:", "Unknown Client" ], "asctime": "2020-12-26 10:11:40,670", "created": 1608973900.67046, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 335, "message": " SP server: Received message needs authentification: Unknown Client. Sending negative response.", "module": "__init__", "msecs": 670.4599857330322, "msg": "%s Received message needs authentification: %s. Sending negative response.", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 10440.062046051025, "thread": 139911126587136, "threadName": "Thread-30" }, { "args": [ " SP server:", 2, 11, 45054, "None" ], "asctime": "2020-12-26 10:11:40,670", "created": 1608973900.670655, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 2, service_id: 11, data_id: 45054, data: \"None\"", "module": "__init__", "msecs": 670.6550121307373, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 10440.25707244873, "thread": 139911126587136, "threadName": "Thread-30" }, { "args": [], "asctime": "2020-12-26 10:11:40,671", "created": 1608973900.671121, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 671.1208820343018, "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": 260862, "processName": "MainProcess", "relativeCreated": 10440.722942352295, "thread": 139911126587136, "threadName": "Thread-30" }, { "args": [], "asctime": "2020-12-26 10:11:40,822", "created": 1608973900.822277, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 822.2770690917969, "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": 260862, "processName": "MainProcess", "relativeCreated": 10591.87912940979, "thread": 139911118194432, "threadName": "Thread-31" }, { "args": [ " SP server:", "2", "11", "45054", "None" ], "asctime": "2020-12-26 10:11:40,822", "created": 1608973900.822687, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 325, "message": " SP server: RX <- status: 2, service_id: 11, data_id: 45054, data: \"None\"", "module": "__init__", "msecs": 822.6869106292725, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 10592.288970947266, "thread": 139911118194432, "threadName": "Thread-31" }, { "args": [ " SP server:", "Authentification required" ], "asctime": "2020-12-26 10:11:40,822", "created": 1608973900.822946, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 352, "message": " SP server: Received message has a peculiar status: Authentification required", "module": "__init__", "msecs": 822.9460716247559, "msg": "%s Received message has a peculiar status: %s", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 10592.548131942749, "thread": 139911118194432, "threadName": "Thread-31" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:40,823", "created": 1608973900.823139, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__buffer_received_data__", "levelname": "DEBUG", "levelno": 10, "lineno": 370, "message": " SP server: Message data is stored in buffer and is now ready to be retrieved by receive method", "module": "__init__", "msecs": 823.138952255249, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 10592.741012573242, "thread": 139911118194432, "threadName": "Thread-31" } ], "msecs": 20.524024963378906, "msg": "Authentification with different secrets for request and response instance (pure_json_protocol).", "name": "__tLogger__", "pathname": "src/tests/test_handling_errors.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 10790.126085281372, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.19738507270812988 }, { "args": [ "False", "" ], "asctime": "2020-12-26 10:11:41,021", "created": 1608973901.021478, "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-26 10:11:41,021", "created": 1608973901.021096, "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": 21.095991134643555, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 10790.698051452637, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Return value of authentification", "False", "" ], "asctime": "2020-12-26 10:11:41,021", "created": 1608973901.0213, "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": 21.300077438354492, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 10790.902137756348, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 21.477937698364258, "msg": "Return value of authentification is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 10791.079998016357, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.00017786026000976562 }, { "args": [ "True", "" ], "asctime": "2020-12-26 10:11:41,022", "created": 1608973901.022084, "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-26 10:11:41,021", "created": 1608973901.021762, "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": 21.76189422607422, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 10791.363954544067, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-12-26 10:11:41,021", "created": 1608973901.021926, "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": 21.925926208496094, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 10791.52798652649, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 22.08399772644043, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 10791.686058044434, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.00015807151794433594 }, { "args": [ "2", "" ], "asctime": "2020-12-26 10:11:41,022", "created": 1608973901.022666, "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-26 10:11:41,022", "created": 1608973901.022347, "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": 22.346973419189453, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 10791.949033737183, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Response Status (Authentification required) transfered via pure_json_protocol", "2", "" ], "asctime": "2020-12-26 10:11:41,022", "created": 1608973901.022502, "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": 22.50194549560547, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 10792.104005813599, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 22.665977478027344, "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": 260862, "processName": "MainProcess", "relativeCreated": 10792.26803779602, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.000164031982421875 }, { "args": [ "None", "" ], "asctime": "2020-12-26 10:11:41,023", "created": 1608973901.023224, "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-26 10:11:41,022", "created": 1608973901.022919, "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": 22.9189395904541, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 10792.520999908447, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Response Data (no data) transfered via pure_json_protocol", "None", "" ], "asctime": "2020-12-26 10:11:41,023", "created": 1608973901.02307, "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": 23.070096969604492, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 10792.672157287598, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 23.2241153717041, "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": 260862, "processName": "MainProcess", "relativeCreated": 10792.826175689697, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.00015401840209960938 }, { "args": [ "None", "" ], "asctime": "2020-12-26 10:11:41,124", "created": 1608973901.12466, "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": [ " SP server:", "0.1", "11", "45054" ], "asctime": "2020-12-26 10:11:41,123", "created": 1608973901.123867, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 387, "message": " SP server: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 123.86703491210938, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 10893.469095230103, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:41,124", "created": 1608973901.124256, "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": 124.25589561462402, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 10893.857955932617, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:41,124", "created": 1608973901.124477, "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": 124.47690963745117, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 10894.078969955444, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 124.66001510620117, "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": 260862, "processName": "MainProcess", "relativeCreated": 10894.262075424194, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.00018310546875 }, { "args": [ "None", "" ], "asctime": "2020-12-26 10:11:41,226", "created": 1608973901.226057, "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": [ " SP server:", "0.1", "10", "45054" ], "asctime": "2020-12-26 10:11:41,225", "created": 1608973901.225298, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 387, "message": " SP server: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 225.2979278564453, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 10994.899988174438, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:41,225", "created": 1608973901.225655, "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": 225.65507888793945, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 10995.257139205933, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:41,225", "created": 1608973901.225876, "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": 225.8760929107666, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 10995.47815322876, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 226.0570526123047, "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": 260862, "processName": "MainProcess", "relativeCreated": 10995.659112930298, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.00018095970153808594 } ], "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 1.4138410091400146, "time_finished": "2020-12-26 10:11:41,226", "time_start": "2020-12-26 10:11:39,812" }, "socket_protocol.pure_json_protocol: Checksum corumpation while sending.": { "args": null, "asctime": "2020-12-26 10:11:37,177", "created": 1608973897.17789, "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": 177.89006233215332, "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": 260862, "processName": "MainProcess", "relativeCreated": 6947.4921226501465, "testcaseLogger": [ { "args": [], "asctime": "2020-12-26 10:11:37,486", "created": 1608973897.486445, "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": [ " SP server:" ], "asctime": "2020-12-26 10:11:37,179", "created": 1608973897.17985, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 179.85010147094727, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 6949.45216178894, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:37,180", "created": 1608973897.180295, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP server: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 180.29499053955078, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 6949.897050857544, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:37,180", "created": 1608973897.180603, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 180.60302734375, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 6950.205087661743, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:37,180", "created": 1608973897.180895, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP server: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 180.8950901031494, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 6950.497150421143, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:", 0, 10, 45054, "{u'test': u'test'}" ], "asctime": "2020-12-26 10:11:37,181", "created": 1608973897.181075, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 0, service_id: 10, data_id: 45054, data: \"{u'test': u'test'}\"", "module": "__init__", "msecs": 181.0750961303711, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 6950.677156448364, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:37,181", "created": 1608973897.181406, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 181.40602111816406, "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": 260862, "processName": "MainProcess", "relativeCreated": 6951.008081436157, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:37,336", "created": 1608973897.336249, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 336.24911308288574, "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": 260862, "processName": "MainProcess", "relativeCreated": 7105.851173400879, "thread": 139911126587136, "threadName": "Thread-23" }, { "args": [ " SP 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-26 10:11:37,336", "created": 1608973897.336524, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 316, "message": " SP 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": 336.52400970458984, "msg": "%s Received message has a wrong checksum and will be ignored: %s.", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 7106.126070022583, "thread": 139911126587136, "threadName": "Thread-23" } ], "msecs": 486.44495010375977, "msg": "Send data with wrong checksum by pure_json_protocol.", "name": "__tLogger__", "pathname": "src/tests/test_communication_errors.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 7256.047010421753, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.14992094039916992 }, { "args": [ "True", "" ], "asctime": "2020-12-26 10:11:37,488", "created": 1608973897.488044, "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-26 10:11:37,487", "created": 1608973897.487493, "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": 487.49303817749023, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 7257.095098495483, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-12-26 10:11:37,487", "created": 1608973897.487795, "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": 487.7951145172119, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 7257.397174835205, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 488.04402351379395, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 7257.646083831787, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.00024890899658203125 }, { "args": [ "False", "" ], "asctime": "2020-12-26 10:11:37,488", "created": 1608973897.488947, "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-26 10:11:37,488", "created": 1608973897.488435, "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": 488.4350299835205, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 7258.037090301514, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Callback executed variable", "False", "" ], "asctime": "2020-12-26 10:11:37,488", "created": 1608973897.48865, "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": 488.6500835418701, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 7258.252143859863, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 488.94691467285156, "msg": "Callback executed variable is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 7258.548974990845, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.0002968311309814453 }, { "args": [ "None", "" ], "asctime": "2020-12-26 10:11:37,590", "created": 1608973897.590942, "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": [ " SP server:", "0.1", "11", "45054" ], "asctime": "2020-12-26 10:11:37,589", "created": 1608973897.589801, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 387, "message": " SP server: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 589.8010730743408, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 7359.403133392334, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:37,590", "created": 1608973897.590433, "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": 590.43288230896, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 7360.034942626953, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:37,590", "created": 1608973897.590726, "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": 590.7258987426758, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 7360.327959060669, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 590.9419059753418, "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": 260862, "processName": "MainProcess", "relativeCreated": 7360.543966293335, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.00021600723266601562 }, { "args": [ "None", "" ], "asctime": "2020-12-26 10:11:37,692", "created": 1608973897.692127, "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": [ " SP server:", "0.1", "10", "45054" ], "asctime": "2020-12-26 10:11:37,691", "created": 1608973897.691585, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 387, "message": " SP server: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 691.5850639343262, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 7461.187124252319, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:37,691", "created": 1608973897.691827, "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": 691.8270587921143, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 7461.429119110107, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:37,691", "created": 1608973897.691977, "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": 691.9770240783691, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 7461.579084396362, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 692.126989364624, "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": 260862, "processName": "MainProcess", "relativeCreated": 7461.729049682617, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.0001499652862548828 } ], "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.5142369270324707, "time_finished": "2020-12-26 10:11:37,692", "time_start": "2020-12-26 10:11:37,177" }, "socket_protocol.pure_json_protocol: Incompatible Callback return value(s).": { "args": null, "asctime": "2020-12-26 10:11:41,229", "created": 1608973901.2293, "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": 229.30002212524414, "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": 260862, "processName": "MainProcess", "relativeCreated": 10998.902082443237, "testcaseLogger": [ { "args": [], "asctime": "2020-12-26 10:11:41,233", "created": 1608973901.233378, "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": [ " SP server:" ], "asctime": "2020-12-26 10:11:41,229", "created": 1608973901.229584, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 229.5839786529541, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 10999.186038970947, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:41,229", "created": 1608973901.229839, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP server: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 229.83908653259277, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 10999.441146850586, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:41,230", "created": 1608973901.23006, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 230.06010055541992, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 10999.662160873413, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:41,230", "created": 1608973901.230313, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP server: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 230.31306266784668, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 10999.91512298584, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:", 0, 10, 45054, "None" ], "asctime": "2020-12-26 10:11:41,230", "created": 1608973901.230492, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 0, service_id: 10, data_id: 45054, data: \"None\"", "module": "__init__", "msecs": 230.49211502075195, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 11000.094175338745, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:41,230", "created": 1608973901.230804, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 230.8039665222168, "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": 260862, "processName": "MainProcess", "relativeCreated": 11000.40602684021, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:41,231", "created": 1608973901.23103, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 231.02998733520508, "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": 260862, "processName": "MainProcess", "relativeCreated": 11000.632047653198, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:", "0", "10", "45054", "None" ], "asctime": "2020-12-26 10:11:41,231", "created": 1608973901.231201, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 325, "message": " SP server: RX <- status: 0, service_id: 10, data_id: 45054, data: \"None\"", "module": "__init__", "msecs": 231.2009334564209, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 11000.802993774414, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:", "response_data_method_fail" ], "asctime": "2020-12-26 10:11:41,231", "created": 1608973901.231324, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 342, "message": " SP server: Executing callback response_data_method_fail to process received data", "module": "__init__", "msecs": 231.3239574432373, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 11000.92601776123, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:", 0, 10, 48879, "None" ], "asctime": "2020-12-26 10:11:41,231", "created": 1608973901.231465, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 0, service_id: 10, data_id: 48879, data: \"None\"", "module": "__init__", "msecs": 231.46510124206543, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 11001.067161560059, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:41,231", "created": 1608973901.231735, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 231.7349910736084, "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": 260862, "processName": "MainProcess", "relativeCreated": 11001.337051391602, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:41,231", "created": 1608973901.23195, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 231.950044631958, "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": 260862, "processName": "MainProcess", "relativeCreated": 11001.552104949951, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:", "0", "10", "48879", "None" ], "asctime": "2020-12-26 10:11:41,232", "created": 1608973901.232109, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 325, "message": " SP server: RX <- status: 0, service_id: 10, data_id: 48879, data: \"None\"", "module": "__init__", "msecs": 232.10906982421875, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 11001.711130142212, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:41,232", "created": 1608973901.232246, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 337, "message": " SP server: Received message with no registered callback. Sending negative response.", "module": "__init__", "msecs": 232.24592208862305, "msg": "%s Received message with no registered callback. Sending negative response.", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 11001.847982406616, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:", 1, 11, 48879, "None" ], "asctime": "2020-12-26 10:11:41,232", "created": 1608973901.232371, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 1, service_id: 11, data_id: 48879, data: \"None\"", "module": "__init__", "msecs": 232.37109184265137, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 11001.973152160645, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:41,232", "created": 1608973901.232643, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 232.64288902282715, "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": 260862, "processName": "MainProcess", "relativeCreated": 11002.24494934082, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:41,232", "created": 1608973901.232873, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 232.87296295166016, "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": 260862, "processName": "MainProcess", "relativeCreated": 11002.475023269653, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:", "1", "11", "48879", "None" ], "asctime": "2020-12-26 10:11:41,233", "created": 1608973901.233035, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 325, "message": " SP server: RX <- status: 1, service_id: 11, data_id: 48879, data: \"None\"", "module": "__init__", "msecs": 233.03508758544922, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 11002.637147903442, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:", "Request has no callback. Data buffered." ], "asctime": "2020-12-26 10:11:41,233", "created": 1608973901.233153, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 352, "message": " SP server: Received message has a peculiar status: Request has no callback. Data buffered.", "module": "__init__", "msecs": 233.1531047821045, "msg": "%s Received message has a peculiar status: %s", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 11002.755165100098, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:", "response_data_method_fail" ], "asctime": "2020-12-26 10:11:41,233", "created": 1608973901.233249, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 359, "message": " SP server: Executing callback response_data_method_fail to process received data", "module": "__init__", "msecs": 233.24894905090332, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 11002.851009368896, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 233.37793350219727, "msg": "Send and received data with incompatible callback (pure_json_protocol).", "name": "__tLogger__", "pathname": "src/tests/test_handling_errors.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 11002.97999382019, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.0001289844512939453 }, { "args": [ "True", "" ], "asctime": "2020-12-26 10:11:41,233", "created": 1608973901.233759, "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-26 10:11:41,233", "created": 1608973901.233558, "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": 233.55793952941895, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 11003.159999847412, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Exception (TypeError) detection variable", "True", "" ], "asctime": "2020-12-26 10:11:41,233", "created": 1608973901.233657, "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": 233.6568832397461, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 11003.25894355774, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 233.75892639160156, "msg": "Exception (TypeError) detection variable is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 11003.360986709595, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.00010204315185546875 }, { "args": [ "None", "" ], "asctime": "2020-12-26 10:11:41,335", "created": 1608973901.335041, "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": [ " SP server:", "0.1", "11", "45054" ], "asctime": "2020-12-26 10:11:41,334", "created": 1608973901.334282, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 387, "message": " SP server: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 334.28192138671875, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 11103.883981704712, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:41,334", "created": 1608973901.334637, "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": 334.636926651001, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 11104.238986968994, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:41,334", "created": 1608973901.334856, "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": 334.8560333251953, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 11104.458093643188, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 335.0410461425781, "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": 260862, "processName": "MainProcess", "relativeCreated": 11104.643106460571, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.0001850128173828125 }, { "args": [ "None", "" ], "asctime": "2020-12-26 10:11:41,436", "created": 1608973901.43647, "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": [ " SP server:", "0.1", "10", "45054" ], "asctime": "2020-12-26 10:11:41,435", "created": 1608973901.43569, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 387, "message": " SP server: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 435.68992614746094, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 11205.291986465454, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:41,436", "created": 1608973901.436042, "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": 436.04207038879395, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 11205.644130706787, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:41,436", "created": 1608973901.436272, "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": 436.27190589904785, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 11205.873966217041, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 436.47003173828125, "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": 260862, "processName": "MainProcess", "relativeCreated": 11206.072092056274, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.00019812583923339844 }, { "args": [ "True", "" ], "asctime": "2020-12-26 10:11:41,437", "created": 1608973901.437146, "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-26 10:11:41,436", "created": 1608973901.436804, "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": 436.80405616760254, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 11206.406116485596, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Exception (TypeError) detection variable", "True", "" ], "asctime": "2020-12-26 10:11:41,436", "created": 1608973901.436976, "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": 436.97595596313477, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 11206.578016281128, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 437.1459484100342, "msg": "Exception (TypeError) detection variable is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 11206.748008728027, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.00016999244689941406 }, { "args": [ "None", "" ], "asctime": "2020-12-26 10:11:41,538", "created": 1608973901.538515, "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": [ " SP server:", "0.1", "11", "48879" ], "asctime": "2020-12-26 10:11:41,537", "created": 1608973901.537757, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 387, "message": " SP server: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 48879) not in buffer.", "module": "__init__", "msecs": 537.7569198608398, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 11307.358980178833, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-12-26 10:11:41,538", "created": 1608973901.538107, "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": 538.1069183349609, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 11307.708978652954, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-12-26 10:11:41,538", "created": 1608973901.538324, "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": 538.3241176605225, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 11307.926177978516, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 538.5150909423828, "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": 260862, "processName": "MainProcess", "relativeCreated": 11308.117151260376, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.00019097328186035156 }, { "args": [ "None", "" ], "asctime": "2020-12-26 10:11:41,639", "created": 1608973901.639921, "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": [ " SP server:", "0.1", "10", "48879" ], "asctime": "2020-12-26 10:11:41,639", "created": 1608973901.639176, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 387, "message": " SP server: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 48879) not in buffer.", "module": "__init__", "msecs": 639.1758918762207, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 11408.777952194214, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-12-26 10:11:41,639", "created": 1608973901.639524, "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": 639.523983001709, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 11409.126043319702, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-12-26 10:11:41,639", "created": 1608973901.639717, "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": 639.7171020507812, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 11409.319162368774, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 639.9209499359131, "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": 260862, "processName": "MainProcess", "relativeCreated": 11409.523010253906, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.00020384788513183594 } ], "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.41062092781066895, "time_finished": "2020-12-26 10:11:41,639", "time_start": "2020-12-26 10:11:41,229" }, "socket_protocol.pure_json_protocol: No Callback at response instance for the request.": { "args": null, "asctime": "2020-12-26 10:11:39,102", "created": 1608973899.102605, "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": 102.60510444641113, "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": 260862, "processName": "MainProcess", "relativeCreated": 8872.207164764404, "testcaseLogger": [ { "args": [], "asctime": "2020-12-26 10:11:39,607", "created": 1608973899.607126, "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": [ " SP server:" ], "asctime": "2020-12-26 10:11:39,103", "created": 1608973899.10311, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 103.11007499694824, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 8872.712135314941, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:39,103", "created": 1608973899.103586, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP server: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 103.58595848083496, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 8873.188018798828, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:39,103", "created": 1608973899.103971, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 103.97100448608398, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 8873.573064804077, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:39,104", "created": 1608973899.10439, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP server: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 104.38990592956543, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 8873.991966247559, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:", 0, 10, 45054, "{u'test': u'test'}" ], "asctime": "2020-12-26 10:11:39,104", "created": 1608973899.104609, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 0, service_id: 10, data_id: 45054, data: \"{u'test': u'test'}\"", "module": "__init__", "msecs": 104.60901260375977, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 8874.211072921753, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:39,105", "created": 1608973899.105164, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 105.1640510559082, "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": 260862, "processName": "MainProcess", "relativeCreated": 8874.766111373901, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:39,256", "created": 1608973899.256412, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 256.4120292663574, "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": 260862, "processName": "MainProcess", "relativeCreated": 9026.01408958435, "thread": 139911126587136, "threadName": "Thread-24" }, { "args": [ " SP server:", "0", "10", "45054", "{u'test': u'test'}" ], "asctime": "2020-12-26 10:11:39,256", "created": 1608973899.256882, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 325, "message": " SP server: RX <- status: 0, service_id: 10, data_id: 45054, data: \"{u'test': u'test'}\"", "module": "__init__", "msecs": 256.8819522857666, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 9026.48401260376, "thread": 139911126587136, "threadName": "Thread-24" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:39,257", "created": 1608973899.257073, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 337, "message": " SP server: Received message with no registered callback. Sending negative response.", "module": "__init__", "msecs": 257.07292556762695, "msg": "%s Received message with no registered callback. Sending negative response.", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 9026.67498588562, "thread": 139911126587136, "threadName": "Thread-24" }, { "args": [ " SP server:", 1, 11, 45054, "None" ], "asctime": "2020-12-26 10:11:39,257", "created": 1608973899.257233, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 1, service_id: 11, data_id: 45054, data: \"None\"", "module": "__init__", "msecs": 257.2329044342041, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 9026.834964752197, "thread": 139911126587136, "threadName": "Thread-24" }, { "args": [], "asctime": "2020-12-26 10:11:39,257", "created": 1608973899.257544, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 257.54404067993164, "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": 260862, "processName": "MainProcess", "relativeCreated": 9027.146100997925, "thread": 139911126587136, "threadName": "Thread-24" }, { "args": [], "asctime": "2020-12-26 10:11:39,408", "created": 1608973899.408879, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 408.87904167175293, "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": 260862, "processName": "MainProcess", "relativeCreated": 9178.481101989746, "thread": 139911118194432, "threadName": "Thread-25" }, { "args": [ " SP server:", "1", "11", "45054", "None" ], "asctime": "2020-12-26 10:11:39,409", "created": 1608973899.409152, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 325, "message": " SP server: RX <- status: 1, service_id: 11, data_id: 45054, data: \"None\"", "module": "__init__", "msecs": 409.1520309448242, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 9178.754091262817, "thread": 139911118194432, "threadName": "Thread-25" }, { "args": [ " SP server:", "Request has no callback. Data buffered." ], "asctime": "2020-12-26 10:11:39,409", "created": 1608973899.409309, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 352, "message": " SP server: Received message has a peculiar status: Request has no callback. Data buffered.", "module": "__init__", "msecs": 409.30891036987305, "msg": "%s Received message has a peculiar status: %s", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 9178.910970687866, "thread": 139911118194432, "threadName": "Thread-25" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:39,409", "created": 1608973899.409429, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__buffer_received_data__", "levelname": "DEBUG", "levelno": 10, "lineno": 370, "message": " SP server: Message data is stored in buffer and is now ready to be retrieved by receive method", "module": "__init__", "msecs": 409.42907333374023, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 9179.031133651733, "thread": 139911118194432, "threadName": "Thread-25" } ], "msecs": 607.125997543335, "msg": "Send data, but no callback registered (pure_json_protocol).", "name": "__tLogger__", "pathname": "src/tests/test_handling_errors.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 9376.728057861328, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.19769692420959473 }, { "args": [ "True", "" ], "asctime": "2020-12-26 10:11:39,608", "created": 1608973899.60806, "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-26 10:11:39,607", "created": 1608973899.60767, "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": 607.6700687408447, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 9377.272129058838, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-12-26 10:11:39,607", "created": 1608973899.607876, "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": 607.8760623931885, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 9377.478122711182, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 608.0598831176758, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 9377.661943435669, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.0001838207244873047 }, { "args": [ "1", "" ], "asctime": "2020-12-26 10:11:39,608", "created": 1608973899.608645, "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-26 10:11:39,608", "created": 1608973899.608328, "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": 608.328104019165, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 9377.930164337158, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Response Status (Request has no callback. Data buffered.) transfered via pure_json_protocol", "1", "" ], "asctime": "2020-12-26 10:11:39,608", "created": 1608973899.608489, "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": 608.4890365600586, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 9378.091096878052, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 608.644962310791, "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": 260862, "processName": "MainProcess", "relativeCreated": 9378.247022628784, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.00015592575073242188 }, { "args": [ "None", "" ], "asctime": "2020-12-26 10:11:39,609", "created": 1608973899.609264, "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-26 10:11:39,608", "created": 1608973899.60895, "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": 608.9498996734619, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 9378.551959991455, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Response Data (no data) transfered via pure_json_protocol", "None", "" ], "asctime": "2020-12-26 10:11:39,609", "created": 1608973899.609108, "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": 609.1079711914062, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 9378.7100315094, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 609.2638969421387, "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": 260862, "processName": "MainProcess", "relativeCreated": 9378.865957260132, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.00015592575073242188 }, { "args": [ "None", "" ], "asctime": "2020-12-26 10:11:39,710", "created": 1608973899.710333, "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": [ " SP server:", "0.1", "11", "45054" ], "asctime": "2020-12-26 10:11:39,709", "created": 1608973899.70979, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 387, "message": " SP server: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 709.7899913787842, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 9479.392051696777, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:39,710", "created": 1608973899.710059, "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": 710.0589275360107, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 9479.660987854004, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:39,710", "created": 1608973899.7102, "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": 710.2000713348389, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 9479.802131652832, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 710.3331089019775, "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": 260862, "processName": "MainProcess", "relativeCreated": 9479.93516921997, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.00013303756713867188 }, { "args": [ "None", "" ], "asctime": "2020-12-26 10:11:39,811", "created": 1608973899.811692, "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": [ " SP server:", "0.1", "10", "45054" ], "asctime": "2020-12-26 10:11:39,810", "created": 1608973899.810924, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 387, "message": " SP server: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 810.9240531921387, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 9580.526113510132, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:39,811", "created": 1608973899.811307, "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": 811.3069534301758, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 9580.909013748169, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:39,811", "created": 1608973899.811508, "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": 811.5079402923584, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 9581.110000610352, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 811.6919994354248, "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": 260862, "processName": "MainProcess", "relativeCreated": 9581.294059753418, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.00018405914306640625 } ], "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.7090868949890137, "time_finished": "2020-12-26 10:11:39,811", "time_start": "2020-12-26 10:11:39,102" }, "socket_protocol.pure_json_protocol: Register a second Callback with the same service_id.": { "args": null, "asctime": "2020-12-26 10:11:35,237", "created": 1608973895.23799, "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": 237.9899024963379, "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": 260862, "processName": "MainProcess", "relativeCreated": 5007.591962814331, "testcaseLogger": [ { "args": [], "asctime": "2020-12-26 10:11:35,741", "created": 1608973895.741464, "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": [ " SP server:" ], "asctime": "2020-12-26 10:11:35,238", "created": 1608973895.238535, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 238.53492736816406, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 5008.136987686157, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:35,238", "created": 1608973895.238903, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP server: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 238.90304565429688, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 5008.50510597229, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:35,239", "created": 1608973895.239203, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 239.20297622680664, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 5008.8050365448, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:35,239", "created": 1608973895.239493, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP server: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 239.49289321899414, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 5009.094953536987, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:", 0, 10, 45054, "{u'test': u'test'}" ], "asctime": "2020-12-26 10:11:35,239", "created": 1608973895.239666, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 0, service_id: 10, data_id: 45054, data: \"{u'test': u'test'}\"", "module": "__init__", "msecs": 239.66598510742188, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 5009.268045425415, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:35,239", "created": 1608973895.239967, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 239.96710777282715, "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": 260862, "processName": "MainProcess", "relativeCreated": 5009.56916809082, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:35,390", "created": 1608973895.390742, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 390.74206352233887, "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": 260862, "processName": "MainProcess", "relativeCreated": 5160.344123840332, "thread": 139911118194432, "threadName": "Thread-17" }, { "args": [ " SP server:", "0", "10", "45054", "{u'test': u'test'}" ], "asctime": "2020-12-26 10:11:35,391", "created": 1608973895.391079, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 325, "message": " SP server: RX <- status: 0, service_id: 10, data_id: 45054, data: \"{u'test': u'test'}\"", "module": "__init__", "msecs": 391.0789489746094, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 5160.6810092926025, "thread": 139911118194432, "threadName": "Thread-17" }, { "args": [ " SP server:", "response_data_method_2" ], "asctime": "2020-12-26 10:11:35,391", "created": 1608973895.391233, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 342, "message": " SP server: Executing callback response_data_method_2 to process received data", "module": "__init__", "msecs": 391.232967376709, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 5160.835027694702, "thread": 139911118194432, "threadName": "Thread-17" }, { "args": [ " SP server:", 5, 11, 45054, "[1, 3, u's']" ], "asctime": "2020-12-26 10:11:35,391", "created": 1608973895.391367, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, u's']\"", "module": "__init__", "msecs": 391.36695861816406, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 5160.969018936157, "thread": 139911118194432, "threadName": "Thread-17" }, { "args": [], "asctime": "2020-12-26 10:11:35,391", "created": 1608973895.391671, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 391.67094230651855, "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": 260862, "processName": "MainProcess", "relativeCreated": 5161.273002624512, "thread": 139911118194432, "threadName": "Thread-17" }, { "args": [], "asctime": "2020-12-26 10:11:35,542", "created": 1608973895.542584, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 542.5839424133301, "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": 260862, "processName": "MainProcess", "relativeCreated": 5312.186002731323, "thread": 139911126587136, "threadName": "Thread-18" }, { "args": [ " SP server:", "5", "11", "45054", "[1, 3, u's']" ], "asctime": "2020-12-26 10:11:35,543", "created": 1608973895.543192, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 325, "message": " SP server: RX <- status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, u's']\"", "module": "__init__", "msecs": 543.1919097900391, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 5312.793970108032, "thread": 139911126587136, "threadName": "Thread-18" }, { "args": [ " SP server:", "Operation not permitted" ], "asctime": "2020-12-26 10:11:35,543", "created": 1608973895.543531, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 352, "message": " SP server: Received message has a peculiar status: Operation not permitted", "module": "__init__", "msecs": 543.5309410095215, "msg": "%s Received message has a peculiar status: %s", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 5313.133001327515, "thread": 139911126587136, "threadName": "Thread-18" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:35,543", "created": 1608973895.543749, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__buffer_received_data__", "levelname": "DEBUG", "levelno": 10, "lineno": 370, "message": " SP server: Message data is stored in buffer and is now ready to be retrieved by receive method", "module": "__init__", "msecs": 543.7490940093994, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 5313.351154327393, "thread": 139911126587136, "threadName": "Thread-18" } ], "msecs": 741.4638996124268, "msg": "Send and received data by pure_json_protocol.", "name": "__tLogger__", "pathname": "src/tests/test_normal_operation.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 5511.06595993042, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.19771480560302734 }, { "args": [ "True", "" ], "asctime": "2020-12-26 10:11:35,742", "created": 1608973895.742217, "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-26 10:11:35,741", "created": 1608973895.741902, "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": 741.9021129608154, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 5511.504173278809, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-12-26 10:11:35,742", "created": 1608973895.742071, "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": 742.0709133148193, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 5511.6729736328125, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 742.2170639038086, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 5511.819124221802, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.0001461505889892578 }, { "args": [ "0", "" ], "asctime": "2020-12-26 10:11:35,742", "created": 1608973895.742694, "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-26 10:11:35,742", "created": 1608973895.742439, "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": 742.4390316009521, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 5512.041091918945, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Request Status (Okay) transfered via pure_json_protocol", "0", "" ], "asctime": "2020-12-26 10:11:35,742", "created": 1608973895.742569, "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": 742.5689697265625, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 5512.171030044556, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 742.6939010620117, "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": 260862, "processName": "MainProcess", "relativeCreated": 5512.295961380005, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.00012493133544921875 }, { "args": [ "{u'test': u'test'}", "" ], "asctime": "2020-12-26 10:11:35,743", "created": 1608973895.743217, "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-26 10:11:35,742", "created": 1608973895.742923, "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": 742.9230213165283, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 5512.5250816345215, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Request Data transfered via pure_json_protocol", "{ u'test': u'test' }", "" ], "asctime": "2020-12-26 10:11:35,743", "created": 1608973895.743057, "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": 743.0570125579834, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 5512.659072875977, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 743.2169914245605, "msg": "Request Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 5512.819051742554, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.00015997886657714844 }, { "args": [ "5", "" ], "asctime": "2020-12-26 10:11:35,743", "created": 1608973895.743819, "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-26 10:11:35,743", "created": 1608973895.743505, "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": 743.5050010681152, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 5513.107061386108, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Response Status (Operation not permitted) transfered via pure_json_protocol", "5", "" ], "asctime": "2020-12-26 10:11:35,743", "created": 1608973895.743665, "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": 743.6649799346924, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 5513.267040252686, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 743.818998336792, "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": 260862, "processName": "MainProcess", "relativeCreated": 5513.421058654785, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.00015401840209960938 }, { "args": [ "[1, 3, u's']", "" ], "asctime": "2020-12-26 10:11:35,744", "created": 1608973895.744344, "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-26 10:11:35,744", "created": 1608973895.744042, "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": 744.041919708252, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 5513.643980026245, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Response Data transfered via pure_json_protocol", "[ 1, 3, u's' ]", "" ], "asctime": "2020-12-26 10:11:35,744", "created": 1608973895.744176, "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": 744.175910949707, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 5513.7779712677, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 744.3439960479736, "msg": "Response Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 5513.946056365967, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.00016808509826660156 }, { "args": [ "None", "" ], "asctime": "2020-12-26 10:11:35,846", "created": 1608973895.846678, "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": [ " SP server:", "0.1", "11", "45054" ], "asctime": "2020-12-26 10:11:35,845", "created": 1608973895.845029, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 387, "message": " SP server: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 845.0291156768799, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 5614.631175994873, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:35,845", "created": 1608973895.845822, "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": 845.8220958709717, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 5615.424156188965, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:35,846", "created": 1608973895.846289, "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": 846.2889194488525, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 5615.890979766846, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 846.6780185699463, "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": 260862, "processName": "MainProcess", "relativeCreated": 5616.280078887939, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.00038909912109375 }, { "args": [ "None", "" ], "asctime": "2020-12-26 10:11:35,949", "created": 1608973895.949056, "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": [ " SP server:", "0.1", "10", "45054" ], "asctime": "2020-12-26 10:11:35,947", "created": 1608973895.947902, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 387, "message": " SP server: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 947.9019641876221, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 5717.504024505615, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:35,948", "created": 1608973895.948503, "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": 948.5030174255371, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 5718.10507774353, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:35,948", "created": 1608973895.948811, "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": 948.8110542297363, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 5718.4131145477295, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 949.0559101104736, "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": 260862, "processName": "MainProcess", "relativeCreated": 5718.657970428467, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.0002448558807373047 } ], "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.7110660076141357, "time_finished": "2020-12-26 10:11:35,949", "time_start": "2020-12-26 10:11:35,237" }, "socket_protocol.pure_json_protocol: Send and receive check including authentification.": { "args": null, "asctime": "2020-12-26 10:11:31,682", "created": 1608973891.682874, "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": 682.8739643096924, "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": 260862, "processName": "MainProcess", "relativeCreated": 1452.4760246276855, "testcaseLogger": [ { "args": [], "asctime": "2020-12-26 10:11:32,891", "created": 1608973892.89154, "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": [ " SP server:" ], "asctime": "2020-12-26 10:11:31,683", "created": 1608973891.683382, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 683.3820343017578, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 1452.984094619751, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:31,683", "created": 1608973891.683853, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP server: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 683.8529109954834, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 1453.4549713134766, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:31,684", "created": 1608973891.684236, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 684.2360496520996, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 1453.8381099700928, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:31,684", "created": 1608973891.684666, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP server: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 684.6659183502197, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 1454.267978668213, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:31,684", "created": 1608973891.684963, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "authentificate", "levelname": "INFO", "levelno": 20, "lineno": 456, "message": " SP server: Requesting seed for authentification", "module": "__init__", "msecs": 684.9629878997803, "msg": "%s Requesting seed for authentification", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 1454.5650482177734, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:", 0, 1, 0, "None" ], "asctime": "2020-12-26 10:11:31,685", "created": 1608973891.685152, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 0, service_id: 1, data_id: 0, data: \"None\"", "module": "__init__", "msecs": 685.1520538330078, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 1454.754114151001, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:31,685", "created": 1608973891.685604, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 685.6040954589844, "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": 260862, "processName": "MainProcess", "relativeCreated": 1455.2061557769775, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:31,837", "created": 1608973891.837015, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 837.01491355896, "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": 260862, "processName": "MainProcess", "relativeCreated": 1606.6169738769531, "thread": 139911126587136, "threadName": "Thread-5" }, { "args": [ " SP server:", "0", "1", "0", "None" ], "asctime": "2020-12-26 10:11:31,837", "created": 1608973891.837482, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 325, "message": " SP server: RX <- status: 0, service_id: 1, data_id: 0, data: \"None\"", "module": "__init__", "msecs": 837.4819755554199, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 1607.084035873413, "thread": 139911126587136, "threadName": "Thread-5" }, { "args": [ " SP server:", "__authentificate_create_seed__" ], "asctime": "2020-12-26 10:11:31,837", "created": 1608973891.837737, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 342, "message": " SP server: Executing callback __authentificate_create_seed__ to process received data", "module": "__init__", "msecs": 837.7370834350586, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 1607.3391437530518, "thread": 139911126587136, "threadName": "Thread-5" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:31,837", "created": 1608973891.837919, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentificate_create_seed__", "levelname": "INFO", "levelno": 20, "lineno": 482, "message": " SP server: Got seed request, sending seed for authentification", "module": "__init__", "msecs": 837.9189968109131, "msg": "%s Got seed request, sending seed for authentification", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 1607.5210571289062, "thread": 139911126587136, "threadName": "Thread-5" }, { "args": [ " SP server:", 0, 2, 0, "'3ac139c3e934e4a40e8c5c63c33d02d88d1501c55759efec96b558c20e16d073'" ], "asctime": "2020-12-26 10:11:31,838", "created": 1608973891.838549, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 0, service_id: 2, data_id: 0, data: \"'3ac139c3e934e4a40e8c5c63c33d02d88d1501c55759efec96b558c20e16d073'\"", "module": "__init__", "msecs": 838.5488986968994, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 1608.1509590148926, "thread": 139911126587136, "threadName": "Thread-5" }, { "args": [], "asctime": "2020-12-26 10:11:31,839", "created": 1608973891.839176, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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 33 61 63 31 33 39 63 33 65 39 33 34 65 34 61 34 30 65 38 63 35 63 36 33 63 33 33 64 30 32 64 38 38 64 31 35 30 31 63 35 35 37 35 39 65 66 65 63 39 36 62 35 35 38 63 32 30 65 31 36 64 30 37 33 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d c8 c7 76 19", "module": "test_helpers", "msecs": 839.1759395599365, "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 33 61 63 31 33 39 63 33 65 39 33 34 65 34 61 34 30 65 38 63 35 63 36 33 63 33 33 64 30 32 64 38 38 64 31 35 30 31 63 35 35 37 35 39 65 66 65 63 39 36 62 35 35 38 63 32 30 65 31 36 64 30 37 33 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d c8 c7 76 19", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 1608.7779998779297, "thread": 139911126587136, "threadName": "Thread-5" }, { "args": [], "asctime": "2020-12-26 10:11:31,990", "created": 1608973891.990525, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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 33 61 63 31 33 39 63 33 65 39 33 34 65 34 61 34 30 65 38 63 35 63 36 33 63 33 33 64 30 32 64 38 38 64 31 35 30 31 63 35 35 37 35 39 65 66 65 63 39 36 62 35 35 38 63 32 30 65 31 36 64 30 37 33 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d c8 c7 76 19", "module": "test_helpers", "msecs": 990.5250072479248, "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 33 61 63 31 33 39 63 33 65 39 33 34 65 34 61 34 30 65 38 63 35 63 36 33 63 33 33 64 30 32 64 38 38 64 31 35 30 31 63 35 35 37 35 39 65 66 65 63 39 36 62 35 35 38 63 32 30 65 31 36 64 30 37 33 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d c8 c7 76 19", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 1760.127067565918, "thread": 139911118194432, "threadName": "Thread-6" }, { "args": [ " SP server:", "0", "2", "0", "u'3ac139c3e934e4a40e8c5c63c33d02d88d1501c55759efec96b558c20e16d073'" ], "asctime": "2020-12-26 10:11:31,990", "created": 1608973891.990965, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 325, "message": " SP server: RX <- status: 0, service_id: 2, data_id: 0, data: \"u'3ac139c3e934e4a40e8c5c63c33d02d88d1501c55759efec96b558c20e16d073'\"", "module": "__init__", "msecs": 990.9648895263672, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 1760.5669498443604, "thread": 139911118194432, "threadName": "Thread-6" }, { "args": [ " SP server:", "__authentificate_create_key__" ], "asctime": "2020-12-26 10:11:31,991", "created": 1608973891.991242, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 342, "message": " SP server: Executing callback __authentificate_create_key__ to process received data", "module": "__init__", "msecs": 991.2419319152832, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 1760.8439922332764, "thread": 139911118194432, "threadName": "Thread-6" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:31,991", "created": 1608973891.991437, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentificate_create_key__", "levelname": "INFO", "levelno": 20, "lineno": 491, "message": " SP server: Got seed, sending key for authentification", "module": "__init__", "msecs": 991.4369583129883, "msg": "%s Got seed, sending key for authentification", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 1761.0390186309814, "thread": 139911118194432, "threadName": "Thread-6" }, { "args": [ " SP server:", 0, 3, 0, "'813c10a4956148bf9a50200f971dba676e7152370d799df78716059aa018129fc61ecc4dc7b4fa57b360151a117553313003030b41b5ca929614f6e45a3b661b'" ], "asctime": "2020-12-26 10:11:31,991", "created": 1608973891.991712, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 0, service_id: 3, data_id: 0, data: \"'813c10a4956148bf9a50200f971dba676e7152370d799df78716059aa018129fc61ecc4dc7b4fa57b360151a117553313003030b41b5ca929614f6e45a3b661b'\"", "module": "__init__", "msecs": 991.7120933532715, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 1761.3141536712646, "thread": 139911118194432, "threadName": "Thread-6" }, { "args": [], "asctime": "2020-12-26 10:11:31,992", "created": 1608973891.99251, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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 38 31 33 63 31 30 61 34 39 35 36 31 34 38 62 66 39 61 35 30 32 30 30 66 39 37 31 64 62 61 36 37 36 65 37 31 35 32 33 37 30 64 37 39 39 64 66 37 38 37 31 36 30 35 39 61 61 30 31 38 31 32 39 66 63 36 31 65 63 63 34 64 63 37 62 34 66 61 35 37 62 33 36 30 31 35 31 61 31 31 37 35 35 33 33 31 33 30 30 33 30 33 30 62 34 31 62 35 63 61 39 32 39 36 31 34 66 36 65 34 35 61 33 62 36 36 31 62 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d c6 bc d0 67", "module": "test_helpers", "msecs": 992.5100803375244, "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 38 31 33 63 31 30 61 34 39 35 36 31 34 38 62 66 39 61 35 30 32 30 30 66 39 37 31 64 62 61 36 37 36 65 37 31 35 32 33 37 30 64 37 39 39 64 66 37 38 37 31 36 30 35 39 61 61 30 31 38 31 32 39 66 63 36 31 65 63 63 34 64 63 37 62 34 66 61 35 37 62 33 36 30 31 35 31 61 31 31 37 35 35 33 33 31 33 30 30 33 30 33 30 62 34 31 62 35 63 61 39 32 39 36 31 34 66 36 65 34 35 61 33 62 36 36 31 62 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d c6 bc d0 67", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 1762.1121406555176, "thread": 139911118194432, "threadName": "Thread-6" }, { "args": [], "asctime": "2020-12-26 10:11:32,144", "created": 1608973892.144114, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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 38 31 33 63 31 30 61 34 39 35 36 31 34 38 62 66 39 61 35 30 32 30 30 66 39 37 31 64 62 61 36 37 36 65 37 31 35 32 33 37 30 64 37 39 39 64 66 37 38 37 31 36 30 35 39 61 61 30 31 38 31 32 39 66 63 36 31 65 63 63 34 64 63 37 62 34 66 61 35 37 62 33 36 30 31 35 31 61 31 31 37 35 35 33 33 31 33 30 30 33 30 33 30 62 34 31 62 35 63 61 39 32 39 36 31 34 66 36 65 34 35 61 33 62 36 36 31 62 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d c6 bc d0 67", "module": "test_helpers", "msecs": 144.11401748657227, "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 38 31 33 63 31 30 61 34 39 35 36 31 34 38 62 66 39 61 35 30 32 30 30 66 39 37 31 64 62 61 36 37 36 65 37 31 35 32 33 37 30 64 37 39 39 64 66 37 38 37 31 36 30 35 39 61 61 30 31 38 31 32 39 66 63 36 31 65 63 63 34 64 63 37 62 34 66 61 35 37 62 33 36 30 31 35 31 61 31 31 37 35 35 33 33 31 33 30 30 33 30 33 30 62 34 31 62 35 63 61 39 32 39 36 31 34 66 36 65 34 35 61 33 62 36 36 31 62 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d c6 bc d0 67", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 1913.7160778045654, "thread": 139911126587136, "threadName": "Thread-7" }, { "args": [ " SP server:", "0", "3", "0", "u'813c10a4956148bf9a50200f971dba676e7152370d799df78716059aa018129fc61ecc4dc7b4fa57b360151a117553313003030b41b5ca929614f6e45a3b661b'" ], "asctime": "2020-12-26 10:11:32,144", "created": 1608973892.144571, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 325, "message": " SP server: RX <- status: 0, service_id: 3, data_id: 0, data: \"u'813c10a4956148bf9a50200f971dba676e7152370d799df78716059aa018129fc61ecc4dc7b4fa57b360151a117553313003030b41b5ca929614f6e45a3b661b'\"", "module": "__init__", "msecs": 144.57106590270996, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 1914.1731262207031, "thread": 139911126587136, "threadName": "Thread-7" }, { "args": [ " SP server:", "__authentificate_check_key__" ], "asctime": "2020-12-26 10:11:32,144", "created": 1608973892.144861, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 342, "message": " SP server: Executing callback __authentificate_check_key__ to process received data", "module": "__init__", "msecs": 144.86098289489746, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 1914.4630432128906, "thread": 139911126587136, "threadName": "Thread-7" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:32,145", "created": 1608973892.145103, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentificate_check_key__", "levelname": "INFO", "levelno": 20, "lineno": 501, "message": " SP server: Got correct key, sending positive authentification feedback", "module": "__init__", "msecs": 145.10297775268555, "msg": "%s Got correct key, sending positive authentification feedback", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 1914.7050380706787, "thread": 139911126587136, "threadName": "Thread-7" }, { "args": [ " SP server:", 0, 4, 0, "True" ], "asctime": "2020-12-26 10:11:32,145", "created": 1608973892.145338, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 0, service_id: 4, data_id: 0, data: \"True\"", "module": "__init__", "msecs": 145.3380584716797, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 1914.9401187896729, "thread": 139911126587136, "threadName": "Thread-7" }, { "args": [], "asctime": "2020-12-26 10:11:32,145", "created": 1608973892.145779, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 145.77889442443848, "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": 260862, "processName": "MainProcess", "relativeCreated": 1915.3809547424316, "thread": 139911126587136, "threadName": "Thread-7" }, { "args": [], "asctime": "2020-12-26 10:11:32,297", "created": 1608973892.2972, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 297.19996452331543, "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": 260862, "processName": "MainProcess", "relativeCreated": 2066.8020248413086, "thread": 139911118194432, "threadName": "Thread-8" }, { "args": [ " SP server:", "0", "4", "0", "True" ], "asctime": "2020-12-26 10:11:32,297", "created": 1608973892.297665, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 325, "message": " SP server: RX <- status: 0, service_id: 4, data_id: 0, data: \"True\"", "module": "__init__", "msecs": 297.6651191711426, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 2067.2671794891357, "thread": 139911118194432, "threadName": "Thread-8" }, { "args": [ " SP server:", "__authentificate_process_feedback__" ], "asctime": "2020-12-26 10:11:32,297", "created": 1608973892.297912, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 359, "message": " SP server: Executing callback __authentificate_process_feedback__ to process received data", "module": "__init__", "msecs": 297.9118824005127, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 2067.513942718506, "thread": 139911118194432, "threadName": "Thread-8" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:32,298", "created": 1608973892.298104, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentificate_process_feedback__", "levelname": "INFO", "levelno": 20, "lineno": 512, "message": " SP server: Got positive authentification feedback", "module": "__init__", "msecs": 298.10404777526855, "msg": "%s Got positive authentification feedback", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 2067.7061080932617, "thread": 139911118194432, "threadName": "Thread-8" }, { "args": [ " SP server:", 0, 10, 45054, "{u'test': u'test'}" ], "asctime": "2020-12-26 10:11:32,388", "created": 1608973892.388638, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 0, service_id: 10, data_id: 45054, data: \"{u'test': u'test'}\"", "module": "__init__", "msecs": 388.6380195617676, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 2158.2400798797607, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:32,389", "created": 1608973892.389348, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 389.34803009033203, "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": 260862, "processName": "MainProcess", "relativeCreated": 2158.950090408325, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:32,540", "created": 1608973892.540617, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 540.6169891357422, "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": 260862, "processName": "MainProcess", "relativeCreated": 2310.2190494537354, "thread": 139911118194432, "threadName": "Thread-9" }, { "args": [ " SP server:", "0", "10", "45054", "{u'test': u'test'}" ], "asctime": "2020-12-26 10:11:32,541", "created": 1608973892.541131, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 325, "message": " SP server: RX <- status: 0, service_id: 10, data_id: 45054, data: \"{u'test': u'test'}\"", "module": "__init__", "msecs": 541.1310195922852, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 2310.7330799102783, "thread": 139911118194432, "threadName": "Thread-9" }, { "args": [ " SP server:", "response_data_method" ], "asctime": "2020-12-26 10:11:32,541", "created": 1608973892.541375, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 342, "message": " SP server: Executing callback response_data_method to process received data", "module": "__init__", "msecs": 541.374921798706, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 2310.976982116699, "thread": 139911118194432, "threadName": "Thread-9" }, { "args": [ " SP server:", 5, 11, 45054, "[1, 3, u's']" ], "asctime": "2020-12-26 10:11:32,541", "created": 1608973892.541585, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, u's']\"", "module": "__init__", "msecs": 541.5849685668945, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 2311.1870288848877, "thread": 139911118194432, "threadName": "Thread-9" }, { "args": [], "asctime": "2020-12-26 10:11:32,542", "created": 1608973892.542076, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 542.0761108398438, "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": 260862, "processName": "MainProcess", "relativeCreated": 2311.678171157837, "thread": 139911118194432, "threadName": "Thread-9" }, { "args": [], "asctime": "2020-12-26 10:11:32,693", "created": 1608973892.693288, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 693.2880878448486, "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": 260862, "processName": "MainProcess", "relativeCreated": 2462.890148162842, "thread": 139911126587136, "threadName": "Thread-10" }, { "args": [ " SP server:", "5", "11", "45054", "[1, 3, u's']" ], "asctime": "2020-12-26 10:11:32,693", "created": 1608973892.693751, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 325, "message": " SP server: RX <- status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, u's']\"", "module": "__init__", "msecs": 693.7510967254639, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 2463.353157043457, "thread": 139911126587136, "threadName": "Thread-10" }, { "args": [ " SP server:", "Operation not permitted" ], "asctime": "2020-12-26 10:11:32,694", "created": 1608973892.694038, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 352, "message": " SP server: Received message has a peculiar status: Operation not permitted", "module": "__init__", "msecs": 694.037914276123, "msg": "%s Received message has a peculiar status: %s", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 2463.639974594116, "thread": 139911126587136, "threadName": "Thread-10" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:32,694", "created": 1608973892.694261, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__buffer_received_data__", "levelname": "DEBUG", "levelno": 10, "lineno": 370, "message": " SP server: Message data is stored in buffer and is now ready to be retrieved by receive method", "module": "__init__", "msecs": 694.2610740661621, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 2463.8631343841553, "thread": 139911126587136, "threadName": "Thread-10" } ], "msecs": 891.5400505065918, "msg": "Send and received data by pure_json_protocol.", "name": "__tLogger__", "pathname": "src/tests/test_normal_operation.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 2661.142110824585, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.1972789764404297 }, { "args": [ "True", "" ], "asctime": "2020-12-26 10:11:32,892", "created": 1608973892.892435, "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-26 10:11:32,892", "created": 1608973892.892058, "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": 892.0578956604004, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 2661.6599559783936, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Return value of authentification", "True", "" ], "asctime": "2020-12-26 10:11:32,892", "created": 1608973892.892258, "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": 892.2579288482666, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 2661.8599891662598, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 892.4350738525391, "msg": "Return value of authentification is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 2662.037134170532, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.00017714500427246094 }, { "args": [ "True", "" ], "asctime": "2020-12-26 10:11:32,893", "created": 1608973892.89304, "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-26 10:11:32,892", "created": 1608973892.892692, "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": 892.6920890808105, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 2662.2941493988037, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-12-26 10:11:32,892", "created": 1608973892.892883, "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": 892.8830623626709, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 2662.485122680664, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 893.0399417877197, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 2662.642002105713, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.00015687942504882812 }, { "args": [ "0", "" ], "asctime": "2020-12-26 10:11:32,893", "created": 1608973892.893587, "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-26 10:11:32,893", "created": 1608973892.893283, "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": 893.2828903198242, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 2662.8849506378174, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Request Status (Okay) transfered via pure_json_protocol", "0", "" ], "asctime": "2020-12-26 10:11:32,893", "created": 1608973892.893436, "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": 893.4359550476074, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 2663.0380153656006, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 893.5871124267578, "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": 260862, "processName": "MainProcess", "relativeCreated": 2663.189172744751, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.00015115737915039062 }, { "args": [ "{u'test': u'test'}", "" ], "asctime": "2020-12-26 10:11:32,894", "created": 1608973892.894225, "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-26 10:11:32,893", "created": 1608973892.893864, "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": 893.8639163970947, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 2663.465976715088, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Request Data transfered via pure_json_protocol", "{ u'test': u'test' }", "" ], "asctime": "2020-12-26 10:11:32,894", "created": 1608973892.894027, "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": 894.0269947052002, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 2663.6290550231934, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 894.2248821258545, "msg": "Request Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 2663.8269424438477, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.00019788742065429688 }, { "args": [ "5", "" ], "asctime": "2020-12-26 10:11:32,895", "created": 1608973892.895095, "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-26 10:11:32,894", "created": 1608973892.894523, "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": 894.5229053497314, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 2664.1249656677246, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Response Status (Operation not permitted) transfered via pure_json_protocol", "5", "" ], "asctime": "2020-12-26 10:11:32,894", "created": 1608973892.89483, "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": 894.8299884796143, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 2664.4320487976074, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 895.0951099395752, "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": 260862, "processName": "MainProcess", "relativeCreated": 2664.6971702575684, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.0002651214599609375 }, { "args": [ "[1, 3, u's']", "" ], "asctime": "2020-12-26 10:11:32,896", "created": 1608973892.896286, "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-26 10:11:32,895", "created": 1608973892.895581, "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": 895.5810070037842, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 2665.1830673217773, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Response Data transfered via pure_json_protocol", "[ 1, 3, u's' ]", "" ], "asctime": "2020-12-26 10:11:32,895", "created": 1608973892.8959, "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": 895.9000110626221, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 2665.5020713806152, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 896.2860107421875, "msg": "Response Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 2665.8880710601807, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.0003859996795654297 }, { "args": [ "None", "" ], "asctime": "2020-12-26 10:11:32,998", "created": 1608973892.998867, "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": [ " SP server:", "0.1", "11", "45054" ], "asctime": "2020-12-26 10:11:32,997", "created": 1608973892.997448, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 387, "message": " SP server: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 997.4479675292969, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 2767.05002784729, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:32,998", "created": 1608973892.998327, "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": 998.3270168304443, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 2767.9290771484375, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:32,998", "created": 1608973892.998637, "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": 998.6369609832764, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 2768.2390213012695, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 998.8670349121094, "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": 260862, "processName": "MainProcess", "relativeCreated": 2768.4690952301025, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.0002300739288330078 }, { "args": [ "None", "" ], "asctime": "2020-12-26 10:11:33,100", "created": 1608973893.100187, "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": [ " SP server:", "0.1", "10", "45054" ], "asctime": "2020-12-26 10:11:33,099", "created": 1608973893.09962, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 387, "message": " SP server: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 99.62010383605957, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 2869.2221641540527, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:33,099", "created": 1608973893.099903, "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": 99.90310668945312, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 2869.5051670074463, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:33,100", "created": 1608973893.100052, "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": 100.0521183013916, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 2869.6541786193848, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 100.18706321716309, "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": 260862, "processName": "MainProcess", "relativeCreated": 2869.7891235351562, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.00013494491577148438 } ], "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 1.4173130989074707, "time_finished": "2020-12-26 10:11:33,100", "time_start": "2020-12-26 10:11:31,682" }, "socket_protocol.pure_json_protocol: Send and receive check.": { "args": null, "asctime": "2020-12-26 10:11:30,970", "created": 1608973890.970596, "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": 970.5960750579834, "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": 260862, "processName": "MainProcess", "relativeCreated": 740.1981353759766, "testcaseLogger": [ { "args": [], "asctime": "2020-12-26 10:11:31,475", "created": 1608973891.475979, "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": [ " SP server:" ], "asctime": "2020-12-26 10:11:30,971", "created": 1608973890.971224, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 971.2240695953369, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 740.8261299133301, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:30,971", "created": 1608973890.971727, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP server: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 971.7268943786621, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 741.3289546966553, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:30,972", "created": 1608973890.972128, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 972.1279144287109, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 741.7299747467041, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:30,972", "created": 1608973890.972546, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP server: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 972.5461006164551, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 742.1481609344482, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:", 0, 10, 45054, "{u'test': u'test'}" ], "asctime": "2020-12-26 10:11:30,972", "created": 1608973890.972936, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 0, service_id: 10, data_id: 45054, data: \"{u'test': u'test'}\"", "module": "__init__", "msecs": 972.9359149932861, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 742.5379753112793, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:30,973", "created": 1608973890.973663, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 973.6630916595459, "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": 260862, "processName": "MainProcess", "relativeCreated": 743.2651519775391, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:31,124", "created": 1608973891.124961, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 124.96089935302734, "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": 260862, "processName": "MainProcess", "relativeCreated": 894.5629596710205, "thread": 139911118194432, "threadName": "Thread-3" }, { "args": [ " SP server:", "0", "10", "45054", "{u'test': u'test'}" ], "asctime": "2020-12-26 10:11:31,125", "created": 1608973891.125362, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 325, "message": " SP server: RX <- status: 0, service_id: 10, data_id: 45054, data: \"{u'test': u'test'}\"", "module": "__init__", "msecs": 125.36191940307617, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 894.9639797210693, "thread": 139911118194432, "threadName": "Thread-3" }, { "args": [ " SP server:", "response_data_method" ], "asctime": "2020-12-26 10:11:31,125", "created": 1608973891.125555, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 342, "message": " SP server: Executing callback response_data_method to process received data", "module": "__init__", "msecs": 125.55503845214844, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 895.1570987701416, "thread": 139911118194432, "threadName": "Thread-3" }, { "args": [ " SP server:", 5, 11, 45054, "[1, 3, u's']" ], "asctime": "2020-12-26 10:11:31,125", "created": 1608973891.125726, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, u's']\"", "module": "__init__", "msecs": 125.72598457336426, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 895.3280448913574, "thread": 139911118194432, "threadName": "Thread-3" }, { "args": [], "asctime": "2020-12-26 10:11:31,126", "created": 1608973891.126129, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 126.1289119720459, "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": 260862, "processName": "MainProcess", "relativeCreated": 895.7309722900391, "thread": 139911118194432, "threadName": "Thread-3" }, { "args": [], "asctime": "2020-12-26 10:11:31,277", "created": 1608973891.277297, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 277.2970199584961, "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": 260862, "processName": "MainProcess", "relativeCreated": 1046.8990802764893, "thread": 139911126587136, "threadName": "Thread-4" }, { "args": [ " SP server:", "5", "11", "45054", "[1, 3, u's']" ], "asctime": "2020-12-26 10:11:31,277", "created": 1608973891.277749, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 325, "message": " SP server: RX <- status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, u's']\"", "module": "__init__", "msecs": 277.74906158447266, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 1047.3511219024658, "thread": 139911126587136, "threadName": "Thread-4" }, { "args": [ " SP server:", "Operation not permitted" ], "asctime": "2020-12-26 10:11:31,278", "created": 1608973891.278036, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 352, "message": " SP server: Received message has a peculiar status: Operation not permitted", "module": "__init__", "msecs": 278.03611755371094, "msg": "%s Received message has a peculiar status: %s", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 1047.638177871704, "thread": 139911126587136, "threadName": "Thread-4" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:31,278", "created": 1608973891.278263, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__buffer_received_data__", "levelname": "DEBUG", "levelno": 10, "lineno": 370, "message": " SP server: Message data is stored in buffer and is now ready to be retrieved by receive method", "module": "__init__", "msecs": 278.2630920410156, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 1047.8651523590088, "thread": 139911126587136, "threadName": "Thread-4" } ], "msecs": 475.9790897369385, "msg": "Send and received data by pure_json_protocol.", "name": "__tLogger__", "pathname": "src/tests/test_normal_operation.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 1245.5811500549316, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.19771599769592285 }, { "args": [ "True", "" ], "asctime": "2020-12-26 10:11:31,476", "created": 1608973891.476942, "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-26 10:11:31,476", "created": 1608973891.476489, "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": 476.4890670776367, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 1246.0911273956299, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-12-26 10:11:31,476", "created": 1608973891.476704, "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": 476.7038822174072, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 1246.3059425354004, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 476.9420623779297, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 1246.5441226959229, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.00023818016052246094 }, { "args": [ "0", "" ], "asctime": "2020-12-26 10:11:31,477", "created": 1608973891.477562, "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-26 10:11:31,477", "created": 1608973891.477216, "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": 477.2160053253174, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 1246.8180656433105, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Request Status (Okay) transfered via pure_json_protocol", "0", "" ], "asctime": "2020-12-26 10:11:31,477", "created": 1608973891.477381, "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": 477.38099098205566, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 1246.9830513000488, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 477.56195068359375, "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": 260862, "processName": "MainProcess", "relativeCreated": 1247.164011001587, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.00018095970153808594 }, { "args": [ "{u'test': u'test'}", "" ], "asctime": "2020-12-26 10:11:31,478", "created": 1608973891.478245, "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-26 10:11:31,477", "created": 1608973891.477837, "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": 477.83708572387695, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 1247.4391460418701, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Request Data transfered via pure_json_protocol", "{ u'test': u'test' }", "" ], "asctime": "2020-12-26 10:11:31,478", "created": 1608973891.478006, "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": 478.00588607788086, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 1247.607946395874, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 478.2450199127197, "msg": "Request Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 1247.847080230713, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.0002391338348388672 }, { "args": [ "5", "" ], "asctime": "2020-12-26 10:11:31,478", "created": 1608973891.478844, "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-26 10:11:31,478", "created": 1608973891.478524, "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": 478.52396965026855, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 1248.1260299682617, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Response Status (Operation not permitted) transfered via pure_json_protocol", "5", "" ], "asctime": "2020-12-26 10:11:31,478", "created": 1608973891.478688, "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": 478.68800163269043, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 1248.2900619506836, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 478.84392738342285, "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": 260862, "processName": "MainProcess", "relativeCreated": 1248.445987701416, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.00015592575073242188 }, { "args": [ "[1, 3, u's']", "" ], "asctime": "2020-12-26 10:11:31,479", "created": 1608973891.479507, "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-26 10:11:31,479", "created": 1608973891.479118, "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": 479.11810874938965, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 1248.7201690673828, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Response Data transfered via pure_json_protocol", "[ 1, 3, u's' ]", "" ], "asctime": "2020-12-26 10:11:31,479", "created": 1608973891.479285, "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": 479.28500175476074, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 1248.887062072754, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 479.5069694519043, "msg": "Response Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 1249.1090297698975, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.0002219676971435547 }, { "args": [ "None", "" ], "asctime": "2020-12-26 10:11:31,580", "created": 1608973891.580862, "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": [ " SP server:", "0.1", "11", "45054" ], "asctime": "2020-12-26 10:11:31,580", "created": 1608973891.580073, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 387, "message": " SP server: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 580.0731182098389, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 1349.675178527832, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:31,580", "created": 1608973891.580429, "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": 580.4290771484375, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 1350.0311374664307, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:31,580", "created": 1608973891.580646, "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": 580.6460380554199, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 1350.248098373413, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 580.8620452880859, "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": 260862, "processName": "MainProcess", "relativeCreated": 1350.464105606079, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.00021600723266601562 }, { "args": [ "None", "" ], "asctime": "2020-12-26 10:11:31,682", "created": 1608973891.682266, "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": [ " SP server:", "0.1", "10", "45054" ], "asctime": "2020-12-26 10:11:31,681", "created": 1608973891.681528, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 387, "message": " SP server: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 681.5280914306641, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 1451.1301517486572, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:31,681", "created": 1608973891.68189, "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": 681.8900108337402, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 1451.4920711517334, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:31,682", "created": 1608973891.682086, "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": 682.0859909057617, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 1451.6880512237549, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 682.2659969329834, "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": 260862, "processName": "MainProcess", "relativeCreated": 1451.8680572509766, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.0001800060272216797 } ], "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.711669921875, "time_finished": "2020-12-26 10:11:31,682", "time_start": "2020-12-26 10:11:30,970" }, "socket_protocol.pure_json_protocol: Timeout measurement for authentification and send method.": { "args": null, "asctime": "2020-12-26 10:11:37,692", "created": 1608973897.692469, "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": 692.4688816070557, "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": 260862, "processName": "MainProcess", "relativeCreated": 7462.070941925049, "testcaseLogger": [ { "args": [ "0.20080995559692383", "0.2", "0.22000000000000003", "" ], "asctime": "2020-12-26 10:11:37,894", "created": 1608973897.894999, "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.20080995559692383 in [0.2 ... 0.22000000000000003] and Type is ).", "module": "test", "moduleLogger": [ { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:37,692", "created": 1608973897.692826, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 692.8260326385498, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 7462.428092956543, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:37,693", "created": 1608973897.693116, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP server: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 693.1159496307373, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 7462.7180099487305, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:37,693", "created": 1608973897.693373, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 693.3729648590088, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 7462.975025177002, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:37,693", "created": 1608973897.69363, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP server: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 693.6299800872803, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 7463.232040405273, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:37,693", "created": 1608973897.693784, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "authentificate", "levelname": "INFO", "levelno": 20, "lineno": 456, "message": " SP server: Requesting seed for authentification", "module": "__init__", "msecs": 693.7839984893799, "msg": "%s Requesting seed for authentification", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 7463.386058807373, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:", 0, 1, 0, "None" ], "asctime": "2020-12-26 10:11:37,693", "created": 1608973897.693914, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 0, service_id: 1, data_id: 0, data: \"None\"", "module": "__init__", "msecs": 693.9139366149902, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 7463.515996932983, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:37,694", "created": 1608973897.694187, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 694.1869258880615, "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": 260862, "processName": "MainProcess", "relativeCreated": 7463.788986206055, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Timeout for authentification", "0.20080995559692383", "" ], "asctime": "2020-12-26 10:11:37,894", "created": 1608973897.894639, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Timeout for authentification): 0.20080995559692383 ()", "module": "test", "msecs": 894.6390151977539, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 7664.241075515747, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Timeout for authentification", "0.2", "0.22000000000000003" ], "asctime": "2020-12-26 10:11:37,894", "created": 1608973897.894839, "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": 894.8390483856201, "msg": "Expectation (%s): %s <= result <= %s", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 7664.441108703613, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 894.9990272521973, "msg": "Timeout for authentification is correct (Content %s in [%s ... %s] and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 7664.60108757019, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.00015997886657714844 }, { "args": [ "0.5016460418701172", "0.5", "0.55", "" ], "asctime": "2020-12-26 10:11:38,397", "created": 1608973898.397261, "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.5016460418701172 in [0.5 ... 0.55] and Type is ).", "module": "test", "moduleLogger": [ { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:37,895", "created": 1608973897.895218, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "authentificate", "levelname": "INFO", "levelno": 20, "lineno": 456, "message": " SP server: Requesting seed for authentification", "module": "__init__", "msecs": 895.2178955078125, "msg": "%s Requesting seed for authentification", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 7664.819955825806, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:", 0, 1, 0, "None" ], "asctime": "2020-12-26 10:11:37,895", "created": 1608973897.895353, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 0, service_id: 1, data_id: 0, data: \"None\"", "module": "__init__", "msecs": 895.3530788421631, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 7664.955139160156, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:37,895", "created": 1608973897.895663, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 895.6630229949951, "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": 260862, "processName": "MainProcess", "relativeCreated": 7665.265083312988, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Timeout for authentification", "0.5016460418701172", "" ], "asctime": "2020-12-26 10:11:38,396", "created": 1608973898.396909, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Timeout for authentification): 0.5016460418701172 ()", "module": "test", "msecs": 396.9089984893799, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 8166.511058807373, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Timeout for authentification", "0.5", "0.55" ], "asctime": "2020-12-26 10:11:38,397", "created": 1608973898.39713, "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": 397.13001251220703, "msg": "Expectation (%s): %s <= result <= %s", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 8166.7320728302, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 397.2609043121338, "msg": "Timeout for authentification is correct (Content %s in [%s ... %s] and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 8166.862964630127, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.0001308917999267578 }, { "args": [ "0.20120906829833984", "0.2", "0.22000000000000003", "" ], "asctime": "2020-12-26 10:11:38,599", "created": 1608973898.59944, "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.20120906829833984 in [0.2 ... 0.22000000000000003] and Type is ).", "module": "test", "moduleLogger": [ { "args": [ " SP server:", "0.2", "30", "0" ], "asctime": "2020-12-26 10:11:38,597", "created": 1608973898.597916, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 387, "message": " SP server: TIMEOUT (0.2s): Requested data (service_id: 30; data_id: 0) not in buffer.", "module": "__init__", "msecs": 597.9158878326416, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 8367.517948150635, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Timeout for send method", "0.20120906829833984", "" ], "asctime": "2020-12-26 10:11:38,598", "created": 1608973898.598855, "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.20120906829833984 ()", "module": "test", "msecs": 598.8550186157227, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 8368.457078933716, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Timeout for send method", "0.2", "0.22000000000000003" ], "asctime": "2020-12-26 10:11:38,599", "created": 1608973898.59923, "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": 599.2300510406494, "msg": "Expectation (%s): %s <= result <= %s", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 8368.832111358643, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 599.4400978088379, "msg": "Timeout for send method is correct (Content %s in [%s ... %s] and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 8369.042158126831, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.00021004676818847656 }, { "args": [ "0.5018620491027832", "0.5", "0.55", "" ], "asctime": "2020-12-26 10:11:39,102", "created": 1608973899.102049, "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.5018620491027832 in [0.5 ... 0.55] and Type is ).", "module": "test", "moduleLogger": [ { "args": [ " SP server:", "0.5", "30", "0" ], "asctime": "2020-12-26 10:11:39,101", "created": 1608973899.101273, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 387, "message": " SP server: TIMEOUT (0.5s): Requested data (service_id: 30; data_id: 0) not in buffer.", "module": "__init__", "msecs": 101.2730598449707, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 8870.875120162964, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Timeout for send method", "0.5018620491027832", "" ], "asctime": "2020-12-26 10:11:39,101", "created": 1608973899.101654, "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.5018620491027832 ()", "module": "test", "msecs": 101.654052734375, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 8871.256113052368, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Timeout for send method", "0.5", "0.55" ], "asctime": "2020-12-26 10:11:39,101", "created": 1608973899.101858, "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": 101.85790061950684, "msg": "Expectation (%s): %s <= result <= %s", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 8871.4599609375, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 102.04911231994629, "msg": "Timeout for send method is correct (Content %s in [%s ... %s] and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 8871.65117263794, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.00019121170043945312 } ], "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 1.4095802307128906, "time_finished": "2020-12-26 10:11:39,102", "time_start": "2020-12-26 10:11:37,692" }, "socket_protocol.pure_json_protocol: Wildcard Callback registration for data_id.": { "args": null, "asctime": "2020-12-26 10:11:34,523", "created": 1608973894.523184, "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": 523.184061050415, "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": 260862, "processName": "MainProcess", "relativeCreated": 4292.786121368408, "testcaseLogger": [ { "args": [], "asctime": "2020-12-26 10:11:35,027", "created": 1608973895.027995, "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": [ " SP server:" ], "asctime": "2020-12-26 10:11:34,523", "created": 1608973894.523708, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 523.7081050872803, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 4293.310165405273, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:34,524", "created": 1608973894.524185, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP server: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 524.1849422454834, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 4293.787002563477, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:34,524", "created": 1608973894.52457, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 524.5699882507324, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 4294.172048568726, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:34,525", "created": 1608973894.525014, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP server: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 525.0139236450195, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 4294.615983963013, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:", 0, 10, 48879, "{u'test': u'test'}" ], "asctime": "2020-12-26 10:11:34,525", "created": 1608973894.525284, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 0, service_id: 10, data_id: 48879, data: \"{u'test': u'test'}\"", "module": "__init__", "msecs": 525.2840518951416, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 4294.886112213135, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:34,525", "created": 1608973894.525841, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 525.8409976959229, "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": 260862, "processName": "MainProcess", "relativeCreated": 4295.443058013916, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:34,677", "created": 1608973894.677184, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 677.1841049194336, "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": 260862, "processName": "MainProcess", "relativeCreated": 4446.786165237427, "thread": 139911126587136, "threadName": "Thread-15" }, { "args": [ " SP server:", "0", "10", "48879", "{u'test': u'test'}" ], "asctime": "2020-12-26 10:11:34,680", "created": 1608973894.680539, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 325, "message": " SP server: RX <- status: 0, service_id: 10, data_id: 48879, data: \"{u'test': u'test'}\"", "module": "__init__", "msecs": 680.5388927459717, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 4450.140953063965, "thread": 139911126587136, "threadName": "Thread-15" }, { "args": [ " SP server:", "response_data_method" ], "asctime": "2020-12-26 10:11:34,680", "created": 1608973894.680896, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 342, "message": " SP server: Executing callback response_data_method to process received data", "module": "__init__", "msecs": 680.8960437774658, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 4450.498104095459, "thread": 139911126587136, "threadName": "Thread-15" }, { "args": [ " SP server:", 5, 11, 48879, "[1, 3, u's']" ], "asctime": "2020-12-26 10:11:34,681", "created": 1608973894.681158, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 5, service_id: 11, data_id: 48879, data: \"[1, 3, u's']\"", "module": "__init__", "msecs": 681.1580657958984, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 4450.760126113892, "thread": 139911126587136, "threadName": "Thread-15" }, { "args": [], "asctime": "2020-12-26 10:11:34,681", "created": 1608973894.681911, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 681.9109916687012, "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": 260862, "processName": "MainProcess", "relativeCreated": 4451.513051986694, "thread": 139911126587136, "threadName": "Thread-15" }, { "args": [], "asctime": "2020-12-26 10:11:34,833", "created": 1608973894.833235, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 833.2350254058838, "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": 260862, "processName": "MainProcess", "relativeCreated": 4602.837085723877, "thread": 139911118194432, "threadName": "Thread-16" }, { "args": [ " SP server:", "5", "11", "48879", "[1, 3, u's']" ], "asctime": "2020-12-26 10:11:34,833", "created": 1608973894.833485, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 325, "message": " SP server: RX <- status: 5, service_id: 11, data_id: 48879, data: \"[1, 3, u's']\"", "module": "__init__", "msecs": 833.4848880767822, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 4603.086948394775, "thread": 139911118194432, "threadName": "Thread-16" }, { "args": [ " SP server:", "Operation not permitted" ], "asctime": "2020-12-26 10:11:34,833", "created": 1608973894.833631, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 352, "message": " SP server: Received message has a peculiar status: Operation not permitted", "module": "__init__", "msecs": 833.6310386657715, "msg": "%s Received message has a peculiar status: %s", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 4603.233098983765, "thread": 139911118194432, "threadName": "Thread-16" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:34,833", "created": 1608973894.833744, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__buffer_received_data__", "levelname": "DEBUG", "levelno": 10, "lineno": 370, "message": " SP server: Message data is stored in buffer and is now ready to be retrieved by receive method", "module": "__init__", "msecs": 833.7440490722656, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 4603.346109390259, "thread": 139911118194432, "threadName": "Thread-16" } ], "msecs": 27.99510955810547, "msg": "Send and received data by pure_json_protocol. Wildcard callback registerd for .", "name": "__tLogger__", "pathname": "src/tests/test_normal_operation.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 4797.597169876099, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.19425106048583984 }, { "args": [ "True", "" ], "asctime": "2020-12-26 10:11:35,029", "created": 1608973895.029343, "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-26 10:11:35,028", "created": 1608973895.028844, "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": 28.844118118286133, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 4798.446178436279, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-12-26 10:11:35,029", "created": 1608973895.029142, "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": 29.141902923583984, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 4798.743963241577, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 29.3428897857666, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 4798.94495010376, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.0002009868621826172 }, { "args": [ "0", "" ], "asctime": "2020-12-26 10:11:35,030", "created": 1608973895.030062, "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-26 10:11:35,029", "created": 1608973895.029749, "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": 29.748916625976562, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 4799.35097694397, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Request Status (Okay) transfered via pure_json_protocol", "0", "" ], "asctime": "2020-12-26 10:11:35,029", "created": 1608973895.029924, "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": 29.92391586303711, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 4799.52597618103, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 30.061960220336914, "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": 260862, "processName": "MainProcess", "relativeCreated": 4799.66402053833, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.0001380443572998047 }, { "args": [ "{u'test': u'test'}", "" ], "asctime": "2020-12-26 10:11:35,030", "created": 1608973895.030508, "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-26 10:11:35,030", "created": 1608973895.03026, "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": 30.260086059570312, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 4799.8621463775635, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Request Data transfered via pure_json_protocol", "{ u'test': u'test' }", "" ], "asctime": "2020-12-26 10:11:35,030", "created": 1608973895.030371, "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": 30.37095069885254, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 4799.973011016846, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 30.508041381835938, "msg": "Request Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 4800.110101699829, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.00013709068298339844 }, { "args": [ "5", "" ], "asctime": "2020-12-26 10:11:35,031", "created": 1608973895.031547, "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-26 10:11:35,030", "created": 1608973895.030847, "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": 30.84707260131836, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 4800.4491329193115, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Response Status (Operation not permitted) transfered via pure_json_protocol", "5", "" ], "asctime": "2020-12-26 10:11:35,031", "created": 1608973895.031218, "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": 31.21805191040039, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 4800.820112228394, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 31.547069549560547, "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": 260862, "processName": "MainProcess", "relativeCreated": 4801.149129867554, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.00032901763916015625 }, { "args": [ "[1, 3, u's']", "" ], "asctime": "2020-12-26 10:11:35,032", "created": 1608973895.032439, "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-26 10:11:35,031", "created": 1608973895.031992, "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": 31.991958618164062, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 4801.594018936157, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Response Data transfered via pure_json_protocol", "[ 1, 3, u's' ]", "" ], "asctime": "2020-12-26 10:11:35,032", "created": 1608973895.032195, "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": 32.195091247558594, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 4801.797151565552, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 32.43899345397949, "msg": "Response Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 4802.041053771973, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.00024390220642089844 }, { "args": [ "None", "" ], "asctime": "2020-12-26 10:11:35,134", "created": 1608973895.134612, "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": [ " SP server:", "0.1", "11", "48879" ], "asctime": "2020-12-26 10:11:35,133", "created": 1608973895.133411, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 387, "message": " SP server: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 48879) not in buffer.", "module": "__init__", "msecs": 133.41093063354492, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 4903.012990951538, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-12-26 10:11:35,134", "created": 1608973895.134038, "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": 134.03797149658203, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 4903.640031814575, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-12-26 10:11:35,134", "created": 1608973895.134374, "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": 134.37390327453613, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 4903.975963592529, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 134.6120834350586, "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": 260862, "processName": "MainProcess", "relativeCreated": 4904.214143753052, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.00023818016052246094 }, { "args": [ "None", "" ], "asctime": "2020-12-26 10:11:35,237", "created": 1608973895.237169, "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": [ " SP server:", "0.1", "10", "48879" ], "asctime": "2020-12-26 10:11:35,235", "created": 1608973895.23553, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 387, "message": " SP server: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 48879) not in buffer.", "module": "__init__", "msecs": 235.52989959716797, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 5005.131959915161, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-12-26 10:11:35,236", "created": 1608973895.236338, "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": 236.33790016174316, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 5005.939960479736, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-12-26 10:11:35,236", "created": 1608973895.236728, "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": 236.72795295715332, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 5006.3300132751465, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 237.1690273284912, "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": 260862, "processName": "MainProcess", "relativeCreated": 5006.771087646484, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.0004410743713378906 } ], "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.7139849662780762, "time_finished": "2020-12-26 10:11:35,237", "time_start": "2020-12-26 10:11:34,523" }, "socket_protocol.pure_json_protocol: Wildcard Callback registration for service_id and data_id.": { "args": null, "asctime": "2020-12-26 10:11:33,100", "created": 1608973893.100597, "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": 100.59690475463867, "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": 260862, "processName": "MainProcess", "relativeCreated": 2870.198965072632, "testcaseLogger": [ { "args": [], "asctime": "2020-12-26 10:11:33,604", "created": 1608973893.604561, "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": [ " SP server:" ], "asctime": "2020-12-26 10:11:33,100", "created": 1608973893.100992, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 100.99196434020996, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 2870.594024658203, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:33,101", "created": 1608973893.101319, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP server: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 101.3190746307373, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 2870.9211349487305, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:33,101", "created": 1608973893.101582, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 101.58205032348633, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 2871.1841106414795, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:33,101", "created": 1608973893.101864, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP server: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 101.86409950256348, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 2871.4661598205566, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:", 0, 10, 48879, "{u'test': u'test'}" ], "asctime": "2020-12-26 10:11:33,102", "created": 1608973893.102054, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 0, service_id: 10, data_id: 48879, data: \"{u'test': u'test'}\"", "module": "__init__", "msecs": 102.05411911010742, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 2871.6561794281006, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:33,102", "created": 1608973893.102431, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 102.43105888366699, "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": 260862, "processName": "MainProcess", "relativeCreated": 2872.03311920166, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:33,253", "created": 1608973893.253662, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 253.662109375, "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": 260862, "processName": "MainProcess", "relativeCreated": 3023.264169692993, "thread": 139911126587136, "threadName": "Thread-11" }, { "args": [ " SP server:", "0", "10", "48879", "{u'test': u'test'}" ], "asctime": "2020-12-26 10:11:33,254", "created": 1608973893.254479, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 325, "message": " SP server: RX <- status: 0, service_id: 10, data_id: 48879, data: \"{u'test': u'test'}\"", "module": "__init__", "msecs": 254.47893142700195, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 3024.080991744995, "thread": 139911126587136, "threadName": "Thread-11" }, { "args": [ " SP server:", "response_data_method" ], "asctime": "2020-12-26 10:11:33,254", "created": 1608973893.25491, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 342, "message": " SP server: Executing callback response_data_method to process received data", "module": "__init__", "msecs": 254.90999221801758, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 3024.5120525360107, "thread": 139911126587136, "threadName": "Thread-11" }, { "args": [ " SP server:", 5, 11, 48879, "[1, 3, u's']" ], "asctime": "2020-12-26 10:11:33,255", "created": 1608973893.255173, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 5, service_id: 11, data_id: 48879, data: \"[1, 3, u's']\"", "module": "__init__", "msecs": 255.1729679107666, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 3024.7750282287598, "thread": 139911126587136, "threadName": "Thread-11" }, { "args": [], "asctime": "2020-12-26 10:11:33,255", "created": 1608973893.255748, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 255.74803352355957, "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": 260862, "processName": "MainProcess", "relativeCreated": 3025.3500938415527, "thread": 139911126587136, "threadName": "Thread-11" }, { "args": [], "asctime": "2020-12-26 10:11:33,406", "created": 1608973893.406737, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 406.7370891571045, "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": 260862, "processName": "MainProcess", "relativeCreated": 3176.3391494750977, "thread": 139911118194432, "threadName": "Thread-12" }, { "args": [ " SP server:", "5", "11", "48879", "[1, 3, u's']" ], "asctime": "2020-12-26 10:11:33,407", "created": 1608973893.407073, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 325, "message": " SP server: RX <- status: 5, service_id: 11, data_id: 48879, data: \"[1, 3, u's']\"", "module": "__init__", "msecs": 407.0730209350586, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 3176.6750812530518, "thread": 139911118194432, "threadName": "Thread-12" }, { "args": [ " SP server:", "Operation not permitted" ], "asctime": "2020-12-26 10:11:33,407", "created": 1608973893.407261, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 352, "message": " SP server: Received message has a peculiar status: Operation not permitted", "module": "__init__", "msecs": 407.2608947753906, "msg": "%s Received message has a peculiar status: %s", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 3176.862955093384, "thread": 139911118194432, "threadName": "Thread-12" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:33,407", "created": 1608973893.407432, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__buffer_received_data__", "levelname": "DEBUG", "levelno": 10, "lineno": 370, "message": " SP server: Message data is stored in buffer and is now ready to be retrieved by receive method", "module": "__init__", "msecs": 407.43207931518555, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 3177.0341396331787, "thread": 139911118194432, "threadName": "Thread-12" } ], "msecs": 604.5610904693604, "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": 260862, "processName": "MainProcess", "relativeCreated": 3374.1631507873535, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.1971290111541748 }, { "args": [ "True", "" ], "asctime": "2020-12-26 10:11:33,606", "created": 1608973893.606321, "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-26 10:11:33,605", "created": 1608973893.605571, "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": 605.5710315704346, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 3375.1730918884277, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-12-26 10:11:33,605", "created": 1608973893.605989, "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": 605.9889793395996, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 3375.591039657593, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 606.3210964202881, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 3375.9231567382812, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.00033211708068847656 }, { "args": [ "0", "" ], "asctime": "2020-12-26 10:11:33,607", "created": 1608973893.607197, "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-26 10:11:33,606", "created": 1608973893.606875, "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": 606.874942779541, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 3376.477003097534, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Request Status (Okay) transfered via pure_json_protocol", "0", "" ], "asctime": "2020-12-26 10:11:33,607", "created": 1608973893.607094, "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": 607.0940494537354, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 3376.6961097717285, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 607.1970462799072, "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": 260862, "processName": "MainProcess", "relativeCreated": 3376.7991065979004, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.000102996826171875 }, { "args": [ "{u'test': u'test'}", "" ], "asctime": "2020-12-26 10:11:33,607", "created": 1608973893.607564, "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-26 10:11:33,607", "created": 1608973893.607372, "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": 607.3720455169678, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 3376.974105834961, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Request Data transfered via pure_json_protocol", "{ u'test': u'test' }", "" ], "asctime": "2020-12-26 10:11:33,607", "created": 1608973893.607463, "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": 607.4628829956055, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 3377.0649433135986, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 607.5639724731445, "msg": "Request Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 3377.1660327911377, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.0001010894775390625 }, { "args": [ "5", "" ], "asctime": "2020-12-26 10:11:33,608", "created": 1608973893.608002, "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-26 10:11:33,607", "created": 1608973893.607754, "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": 607.7539920806885, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 3377.3560523986816, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Response Status (Operation not permitted) transfered via pure_json_protocol", "5", "" ], "asctime": "2020-12-26 10:11:33,607", "created": 1608973893.60788, "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": 607.8801155090332, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 3377.4821758270264, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 608.0019474029541, "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": 260862, "processName": "MainProcess", "relativeCreated": 3377.6040077209473, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.00012183189392089844 }, { "args": [ "[1, 3, u's']", "" ], "asctime": "2020-12-26 10:11:33,608", "created": 1608973893.608606, "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-26 10:11:33,608", "created": 1608973893.608237, "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": 608.2370281219482, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 3377.8390884399414, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Response Data transfered via pure_json_protocol", "[ 1, 3, u's' ]", "" ], "asctime": "2020-12-26 10:11:33,608", "created": 1608973893.608412, "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": 608.4120273590088, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 3378.014087677002, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 608.6061000823975, "msg": "Response Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 3378.2081604003906, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.00019407272338867188 }, { "args": [ "None", "" ], "asctime": "2020-12-26 10:11:33,710", "created": 1608973893.710385, "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": [ " SP server:", "0.1", "11", "48879" ], "asctime": "2020-12-26 10:11:33,709", "created": 1608973893.709312, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 387, "message": " SP server: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 48879) not in buffer.", "module": "__init__", "msecs": 709.3119621276855, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 3478.9140224456787, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-12-26 10:11:33,709", "created": 1608973893.709826, "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": 709.8259925842285, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 3479.4280529022217, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-12-26 10:11:33,710", "created": 1608973893.710126, "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": 710.1259231567383, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 3479.7279834747314, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 710.3850841522217, "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": 260862, "processName": "MainProcess", "relativeCreated": 3479.987144470215, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.00025916099548339844 }, { "args": [ "None", "" ], "asctime": "2020-12-26 10:11:33,812", "created": 1608973893.812538, "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": [ " SP server:", "0.1", "10", "48879" ], "asctime": "2020-12-26 10:11:33,811", "created": 1608973893.811102, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 387, "message": " SP server: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 48879) not in buffer.", "module": "__init__", "msecs": 811.1019134521484, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 3580.7039737701416, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-12-26 10:11:33,811", "created": 1608973893.811803, "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": 811.8031024932861, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 3581.4051628112793, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-12-26 10:11:33,812", "created": 1608973893.812367, "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": 812.3669624328613, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 3581.9690227508545, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 812.5379085540771, "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": 260862, "processName": "MainProcess", "relativeCreated": 3582.1399688720703, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.0001709461212158203 } ], "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.7119410037994385, "time_finished": "2020-12-26 10:11:33,812", "time_start": "2020-12-26 10:11:33,100" }, "socket_protocol.pure_json_protocol: Wildcard Callback registration for service_id.": { "args": null, "asctime": "2020-12-26 10:11:33,812", "created": 1608973893.812917, "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": 812.9169940948486, "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": 260862, "processName": "MainProcess", "relativeCreated": 3582.519054412842, "testcaseLogger": [ { "args": [], "asctime": "2020-12-26 10:11:34,316", "created": 1608973894.316342, "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": [ " SP server:" ], "asctime": "2020-12-26 10:11:33,813", "created": 1608973893.813233, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 813.2328987121582, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 3582.8349590301514, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:33,813", "created": 1608973893.813508, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP server: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 813.5080337524414, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 3583.1100940704346, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:33,813", "created": 1608973893.81374, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 813.7400150299072, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 3583.3420753479004, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:33,814", "created": 1608973893.814007, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP server: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 814.007043838501, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 3583.609104156494, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:", 0, 10, 48879, "{u'test': u'test'}" ], "asctime": "2020-12-26 10:11:33,814", "created": 1608973893.814166, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 0, service_id: 10, data_id: 48879, data: \"{u'test': u'test'}\"", "module": "__init__", "msecs": 814.1660690307617, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 3583.768129348755, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:33,814", "created": 1608973893.814498, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 814.4979476928711, "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": 260862, "processName": "MainProcess", "relativeCreated": 3584.1000080108643, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:33,965", "created": 1608973893.96566, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 965.6600952148438, "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": 260862, "processName": "MainProcess", "relativeCreated": 3735.262155532837, "thread": 139911118194432, "threadName": "Thread-13" }, { "args": [ " SP server:", "0", "10", "48879", "{u'test': u'test'}" ], "asctime": "2020-12-26 10:11:33,966", "created": 1608973893.966496, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 325, "message": " SP server: RX <- status: 0, service_id: 10, data_id: 48879, data: \"{u'test': u'test'}\"", "module": "__init__", "msecs": 966.4959907531738, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 3736.098051071167, "thread": 139911118194432, "threadName": "Thread-13" }, { "args": [ " SP server:", "response_data_method" ], "asctime": "2020-12-26 10:11:33,967", "created": 1608973893.96701, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 342, "message": " SP server: Executing callback response_data_method to process received data", "module": "__init__", "msecs": 967.0100212097168, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 3736.61208152771, "thread": 139911118194432, "threadName": "Thread-13" }, { "args": [ " SP server:", 5, 11, 48879, "[1, 3, u's']" ], "asctime": "2020-12-26 10:11:33,967", "created": 1608973893.967339, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 5, service_id: 11, data_id: 48879, data: \"[1, 3, u's']\"", "module": "__init__", "msecs": 967.339038848877, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 3736.94109916687, "thread": 139911118194432, "threadName": "Thread-13" }, { "args": [], "asctime": "2020-12-26 10:11:33,968", "created": 1608973893.968068, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 968.0678844451904, "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": 260862, "processName": "MainProcess", "relativeCreated": 3737.6699447631836, "thread": 139911118194432, "threadName": "Thread-13" }, { "args": [], "asctime": "2020-12-26 10:11:34,119", "created": 1608973894.119508, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 119.50802803039551, "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": 260862, "processName": "MainProcess", "relativeCreated": 3889.1100883483887, "thread": 139911126587136, "threadName": "Thread-14" }, { "args": [ " SP server:", "5", "11", "48879", "[1, 3, u's']" ], "asctime": "2020-12-26 10:11:34,120", "created": 1608973894.120013, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 325, "message": " SP server: RX <- status: 5, service_id: 11, data_id: 48879, data: \"[1, 3, u's']\"", "module": "__init__", "msecs": 120.01299858093262, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 3889.615058898926, "thread": 139911126587136, "threadName": "Thread-14" }, { "args": [ " SP server:", "Operation not permitted" ], "asctime": "2020-12-26 10:11:34,120", "created": 1608973894.120309, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 352, "message": " SP server: Received message has a peculiar status: Operation not permitted", "module": "__init__", "msecs": 120.30911445617676, "msg": "%s Received message has a peculiar status: %s", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 3889.91117477417, "thread": 139911126587136, "threadName": "Thread-14" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:34,120", "created": 1608973894.120533, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__buffer_received_data__", "levelname": "DEBUG", "levelno": 10, "lineno": 370, "message": " SP server: Message data is stored in buffer and is now ready to be retrieved by receive method", "module": "__init__", "msecs": 120.53298950195312, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 3890.1350498199463, "thread": 139911126587136, "threadName": "Thread-14" } ], "msecs": 316.3421154022217, "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": 260862, "processName": "MainProcess", "relativeCreated": 4085.944175720215, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.19580912590026855 }, { "args": [ "True", "" ], "asctime": "2020-12-26 10:11:34,317", "created": 1608973894.317314, "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-26 10:11:34,316", "created": 1608973894.316928, "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": 316.9279098510742, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 4086.5299701690674, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-12-26 10:11:34,317", "created": 1608973894.317136, "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": 317.1360492706299, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 4086.738109588623, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 317.31390953063965, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 4086.915969848633, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.00017786026000976562 }, { "args": [ "0", "" ], "asctime": "2020-12-26 10:11:34,317", "created": 1608973894.317914, "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-26 10:11:34,317", "created": 1608973894.31759, "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": 317.58999824523926, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 4087.1920585632324, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Request Status (Okay) transfered via pure_json_protocol", "0", "" ], "asctime": "2020-12-26 10:11:34,317", "created": 1608973894.317753, "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": 317.7530765533447, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 4087.355136871338, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 317.9140090942383, "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": 260862, "processName": "MainProcess", "relativeCreated": 4087.5160694122314, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.0001609325408935547 }, { "args": [ "{u'test': u'test'}", "" ], "asctime": "2020-12-26 10:11:34,318", "created": 1608973894.31856, "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-26 10:11:34,318", "created": 1608973894.318185, "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": 318.18509101867676, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 4087.78715133667, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Request Data transfered via pure_json_protocol", "{ u'test': u'test' }", "" ], "asctime": "2020-12-26 10:11:34,318", "created": 1608973894.31835, "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": 318.35007667541504, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 4087.952136993408, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 318.5598850250244, "msg": "Request Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 4088.1619453430176, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.000209808349609375 }, { "args": [ "5", "" ], "asctime": "2020-12-26 10:11:34,319", "created": 1608973894.319147, "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-26 10:11:34,318", "created": 1608973894.318829, "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": 318.8290596008301, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 4088.4311199188232, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Response Status (Operation not permitted) transfered via pure_json_protocol", "5", "" ], "asctime": "2020-12-26 10:11:34,318", "created": 1608973894.318984, "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": 318.9840316772461, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 4088.5860919952393, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 319.14710998535156, "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": 260862, "processName": "MainProcess", "relativeCreated": 4088.7491703033447, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.00016307830810546875 }, { "args": [ "[1, 3, u's']", "" ], "asctime": "2020-12-26 10:11:34,319", "created": 1608973894.319803, "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-26 10:11:34,319", "created": 1608973894.319413, "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": 319.4129467010498, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 4089.015007019043, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Response Data transfered via pure_json_protocol", "[ 1, 3, u's' ]", "" ], "asctime": "2020-12-26 10:11:34,319", "created": 1608973894.31959, "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": 319.59009170532227, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 4089.1921520233154, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 319.80299949645996, "msg": "Response Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 4089.405059814453, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.0002129077911376953 }, { "args": [ "None", "" ], "asctime": "2020-12-26 10:11:34,421", "created": 1608973894.421218, "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": [ " SP server:", "0.1", "11", "48879" ], "asctime": "2020-12-26 10:11:34,420", "created": 1608973894.420416, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 387, "message": " SP server: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 48879) not in buffer.", "module": "__init__", "msecs": 420.41611671447754, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 4190.018177032471, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-12-26 10:11:34,420", "created": 1608973894.420808, "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": 420.8080768585205, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 4190.410137176514, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-12-26 10:11:34,421", "created": 1608973894.421031, "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": 421.03099822998047, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 4190.633058547974, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 421.2179183959961, "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": 260862, "processName": "MainProcess", "relativeCreated": 4190.819978713989, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.000186920166015625 }, { "args": [ "None", "" ], "asctime": "2020-12-26 10:11:34,522", "created": 1608973894.522621, "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": [ " SP server:", "0.1", "10", "48879" ], "asctime": "2020-12-26 10:11:34,521", "created": 1608973894.521891, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 387, "message": " SP server: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 48879) not in buffer.", "module": "__init__", "msecs": 521.8911170959473, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 4291.49317741394, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-12-26 10:11:34,522", "created": 1608973894.522247, "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": 522.2470760345459, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 4291.849136352539, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-12-26 10:11:34,522", "created": 1608973894.522442, "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": 522.442102432251, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 4292.044162750244, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 522.6209163665771, "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": 260862, "processName": "MainProcess", "relativeCreated": 4292.22297668457, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.00017881393432617188 } ], "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.7097039222717285, "time_finished": "2020-12-26 10:11:34,522", "time_start": "2020-12-26 10:11:33,812" }, "socket_protocol.struct_json_protocol: Send and receive check (Twice for coverage of buffer initialisation).": { "args": null, "asctime": "2020-12-26 10:11:35,950", "created": 1608973895.950039, "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": 950.0389099121094, "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": 260862, "processName": "MainProcess", "relativeCreated": 5719.6409702301025, "testcaseLogger": [ { "args": [], "asctime": "2020-12-26 10:11:36,958", "created": 1608973896.958379, "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": [ " SP server:" ], "asctime": "2020-12-26 10:11:35,950", "created": 1608973895.950675, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 950.6750106811523, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 5720.2770709991455, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:35,951", "created": 1608973895.951222, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP server: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 951.2219429016113, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 5720.8240032196045, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:35,951", "created": 1608973895.951663, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 951.6630172729492, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 5721.265077590942, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:35,952", "created": 1608973895.952078, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP server: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 952.078104019165, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 5721.680164337158, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:", 0, 10, 45054, "{u'test': u'test'}" ], "asctime": "2020-12-26 10:11:35,952", "created": 1608973895.952381, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 0, service_id: 10, data_id: 45054, data: \"{u'test': u'test'}\"", "module": "__init__", "msecs": 952.380895614624, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 5721.982955932617, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:35,952", "created": 1608973895.952889, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 952.8889656066895, "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": 260862, "processName": "MainProcess", "relativeCreated": 5722.491025924683, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:36,104", "created": 1608973896.104578, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 104.57801818847656, "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": 260862, "processName": "MainProcess", "relativeCreated": 5874.18007850647, "thread": 139911126587136, "threadName": "Thread-19" }, { "args": [ " SP server:", "0", "10", "45054", "{u'test': u'test'}" ], "asctime": "2020-12-26 10:11:36,105", "created": 1608973896.105678, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 325, "message": " SP server: RX <- status: 0, service_id: 10, data_id: 45054, data: \"{u'test': u'test'}\"", "module": "__init__", "msecs": 105.67808151245117, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 5875.280141830444, "thread": 139911126587136, "threadName": "Thread-19" }, { "args": [ " SP server:", "response_data_method" ], "asctime": "2020-12-26 10:11:36,106", "created": 1608973896.106099, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 342, "message": " SP server: Executing callback response_data_method to process received data", "module": "__init__", "msecs": 106.09889030456543, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 5875.700950622559, "thread": 139911126587136, "threadName": "Thread-19" }, { "args": [ " SP server:", 5, 11, 45054, "[1, 3, u's']" ], "asctime": "2020-12-26 10:11:36,106", "created": 1608973896.106448, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, u's']\"", "module": "__init__", "msecs": 106.44793510437012, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 5876.049995422363, "thread": 139911126587136, "threadName": "Thread-19" }, { "args": [], "asctime": "2020-12-26 10:11:36,106", "created": 1608973896.106899, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 106.89902305603027, "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": 260862, "processName": "MainProcess", "relativeCreated": 5876.501083374023, "thread": 139911126587136, "threadName": "Thread-19" }, { "args": [], "asctime": "2020-12-26 10:11:36,257", "created": 1608973896.257943, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 257.94291496276855, "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": 260862, "processName": "MainProcess", "relativeCreated": 6027.544975280762, "thread": 139911118194432, "threadName": "Thread-20" }, { "args": [ " SP server:", "5", "11", "45054", "[1, 3, u's']" ], "asctime": "2020-12-26 10:11:36,258", "created": 1608973896.258374, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 325, "message": " SP server: RX <- status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, u's']\"", "module": "__init__", "msecs": 258.3739757537842, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 6027.976036071777, "thread": 139911118194432, "threadName": "Thread-20" }, { "args": [ " SP server:", "Operation not permitted" ], "asctime": "2020-12-26 10:11:36,258", "created": 1608973896.2586, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 352, "message": " SP server: Received message has a peculiar status: Operation not permitted", "module": "__init__", "msecs": 258.59999656677246, "msg": "%s Received message has a peculiar status: %s", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 6028.202056884766, "thread": 139911118194432, "threadName": "Thread-20" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:36,258", "created": 1608973896.258757, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__buffer_received_data__", "levelname": "DEBUG", "levelno": 10, "lineno": 370, "message": " SP server: Message data is stored in buffer and is now ready to be retrieved by receive method", "module": "__init__", "msecs": 258.7571144104004, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 6028.359174728394, "thread": 139911118194432, "threadName": "Thread-20" }, { "args": [ " SP server:", 0, 10, 45054, "{u'test': u'test'}" ], "asctime": "2020-12-26 10:11:36,455", "created": 1608973896.455869, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 0, service_id: 10, data_id: 45054, data: \"{u'test': u'test'}\"", "module": "__init__", "msecs": 455.8689594268799, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 6225.471019744873, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:36,456", "created": 1608973896.456453, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 456.4530849456787, "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": 260862, "processName": "MainProcess", "relativeCreated": 6226.055145263672, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:36,607", "created": 1608973896.607618, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 607.6180934906006, "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": 260862, "processName": "MainProcess", "relativeCreated": 6377.220153808594, "thread": 139911118194432, "threadName": "Thread-21" }, { "args": [ " SP server:", "0", "10", "45054", "{u'test': u'test'}" ], "asctime": "2020-12-26 10:11:36,608", "created": 1608973896.608246, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 325, "message": " SP server: RX <- status: 0, service_id: 10, data_id: 45054, data: \"{u'test': u'test'}\"", "module": "__init__", "msecs": 608.2460880279541, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 6377.848148345947, "thread": 139911118194432, "threadName": "Thread-21" }, { "args": [ " SP server:", "response_data_method" ], "asctime": "2020-12-26 10:11:36,608", "created": 1608973896.60887, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 342, "message": " SP server: Executing callback response_data_method to process received data", "module": "__init__", "msecs": 608.8700294494629, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 6378.472089767456, "thread": 139911118194432, "threadName": "Thread-21" }, { "args": [ " SP server:", 5, 11, 45054, "[1, 3, u's']" ], "asctime": "2020-12-26 10:11:36,609", "created": 1608973896.609421, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, u's']\"", "module": "__init__", "msecs": 609.4210147857666, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 6379.02307510376, "thread": 139911118194432, "threadName": "Thread-21" }, { "args": [], "asctime": "2020-12-26 10:11:36,609", "created": 1608973896.609891, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 609.8909378051758, "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": 260862, "processName": "MainProcess", "relativeCreated": 6379.492998123169, "thread": 139911118194432, "threadName": "Thread-21" }, { "args": [], "asctime": "2020-12-26 10:11:36,761", "created": 1608973896.761667, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 761.667013168335, "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": 260862, "processName": "MainProcess", "relativeCreated": 6531.269073486328, "thread": 139911126587136, "threadName": "Thread-22" }, { "args": [ " SP server:", "5", "11", "45054", "[1, 3, u's']" ], "asctime": "2020-12-26 10:11:36,762", "created": 1608973896.762242, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 325, "message": " SP server: RX <- status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, u's']\"", "module": "__init__", "msecs": 762.2420787811279, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 6531.844139099121, "thread": 139911126587136, "threadName": "Thread-22" }, { "args": [ " SP server:", "Operation not permitted" ], "asctime": "2020-12-26 10:11:36,762", "created": 1608973896.762544, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 352, "message": " SP server: Received message has a peculiar status: Operation not permitted", "module": "__init__", "msecs": 762.5439167022705, "msg": "%s Received message has a peculiar status: %s", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 6532.145977020264, "thread": 139911126587136, "threadName": "Thread-22" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:36,762", "created": 1608973896.762776, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__buffer_received_data__", "levelname": "DEBUG", "levelno": 10, "lineno": 370, "message": " SP server: Message data is stored in buffer and is now ready to be retrieved by receive method", "module": "__init__", "msecs": 762.7758979797363, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 6532.3779582977295, "thread": 139911126587136, "threadName": "Thread-22" } ], "msecs": 958.3790302276611, "msg": "Send and received data by struct_json_protocol.", "name": "__tLogger__", "pathname": "src/tests/test_normal_operation.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 6727.981090545654, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.1956031322479248 }, { "args": [ "True", "" ], "asctime": "2020-12-26 10:11:36,959", "created": 1608973896.959177, "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-26 10:11:36,958", "created": 1608973896.958841, "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": 958.84108543396, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 6728.443145751953, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-12-26 10:11:36,959", "created": 1608973896.959045, "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": 959.0449333190918, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 6728.646993637085, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 959.1770172119141, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 6728.779077529907, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.00013208389282226562 }, { "args": [ "0", "" ], "asctime": "2020-12-26 10:11:36,959", "created": 1608973896.959597, "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-26 10:11:36,959", "created": 1608973896.959373, "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": 959.3729972839355, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 6728.975057601929, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Request Status (Okay) transfered via struct_json_protocol", "0", "" ], "asctime": "2020-12-26 10:11:36,959", "created": 1608973896.95949, "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": 959.4900608062744, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 6729.092121124268, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 959.597110748291, "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": 260862, "processName": "MainProcess", "relativeCreated": 6729.199171066284, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.00010704994201660156 }, { "args": [ "{u'test': u'test'}", "" ], "asctime": "2020-12-26 10:11:36,960", "created": 1608973896.960034, "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-26 10:11:36,959", "created": 1608973896.95981, "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": 959.8100185394287, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 6729.412078857422, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Request Data transfered via struct_json_protocol", "{ u'test': u'test' }", "" ], "asctime": "2020-12-26 10:11:36,959", "created": 1608973896.959915, "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": 959.9149227142334, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 6729.516983032227, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 960.0338935852051, "msg": "Request Data transfered via struct_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 6729.635953903198, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.00011897087097167969 }, { "args": [ "5", "" ], "asctime": "2020-12-26 10:11:36,960", "created": 1608973896.960384, "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-26 10:11:36,960", "created": 1608973896.960192, "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": 960.1919651031494, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 6729.794025421143, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Response Status (Operation not permitted) transfered via struct_json_protocol", "5", "" ], "asctime": "2020-12-26 10:11:36,960", "created": 1608973896.960283, "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": 960.2830410003662, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 6729.885101318359, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 960.3838920593262, "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": 260862, "processName": "MainProcess", "relativeCreated": 6729.985952377319, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.00010085105895996094 }, { "args": [ "[1, 3, u's']", "" ], "asctime": "2020-12-26 10:11:36,960", "created": 1608973896.960881, "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-26 10:11:36,960", "created": 1608973896.960548, "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": 960.547924041748, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 6730.149984359741, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Response Data transfered via struct_json_protocol", "[ 1, 3, u's' ]", "" ], "asctime": "2020-12-26 10:11:36,960", "created": 1608973896.960653, "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": 960.6530666351318, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 6730.255126953125, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 960.8809947967529, "msg": "Response Data transfered via struct_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 6730.483055114746, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.00022792816162109375 }, { "args": [ "None", "" ], "asctime": "2020-12-26 10:11:37,065", "created": 1608973897.065372, "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": [ " SP server:", "0.1", "11", "45054" ], "asctime": "2020-12-26 10:11:37,064", "created": 1608973897.064874, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 387, "message": " SP server: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 64.87393379211426, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 6834.475994110107, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for struct_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:37,065", "created": 1608973897.065136, "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": 65.13595581054688, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 6834.73801612854, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for struct_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:37,065", "created": 1608973897.065277, "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": 65.277099609375, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 6834.879159927368, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 65.37199020385742, "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": 260862, "processName": "MainProcess", "relativeCreated": 6834.974050521851, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 9.489059448242188e-05 }, { "args": [ "None", "" ], "asctime": "2020-12-26 10:11:37,175", "created": 1608973897.175736, "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": [ " SP server:", "0.1", "10", "45054" ], "asctime": "2020-12-26 10:11:37,165", "created": 1608973897.165767, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 387, "message": " SP server: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 165.76695442199707, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 6935.36901473999, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for struct_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:37,166", "created": 1608973897.166042, "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": 166.04208946228027, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 6935.644149780273, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for struct_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:37,174", "created": 1608973897.174629, "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": 174.62897300720215, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 6944.231033325195, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 175.7359504699707, "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": 260862, "processName": "MainProcess", "relativeCreated": 6945.338010787964, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.0011069774627685547 } ], "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 1.2256970405578613, "time_finished": "2020-12-26 10:11:37,175", "time_start": "2020-12-26 10:11:35,950" }, "socket_protocol.struct_json_protocol: Send and receive check.": { "args": null, "asctime": "2020-12-26 10:11:30,261", "created": 1608973890.261294, "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": 261.293888092041, "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": 260862, "processName": "MainProcess", "relativeCreated": 30.89594841003418, "testcaseLogger": [ { "args": [], "asctime": "2020-12-26 10:11:30,764", "created": 1608973890.764025, "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": [ " SP server:" ], "asctime": "2020-12-26 10:11:30,261", "created": 1608973890.261547, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 261.5470886230469, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 31.14914894104004, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:30,261", "created": 1608973890.261833, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP server: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 261.83295249938965, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 31.435012817382812, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:30,261", "created": 1608973890.261954, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 261.95406913757324, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 31.556129455566406, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:30,262", "created": 1608973890.262067, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP server: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 262.0670795440674, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 31.669139862060547, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:", 0, 10, 45054, "{u'test': u'test'}" ], "asctime": "2020-12-26 10:11:30,262", "created": 1608973890.262144, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 0, service_id: 10, data_id: 45054, data: \"{u'test': u'test'}\"", "module": "__init__", "msecs": 262.1440887451172, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 31.74614906311035, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:30,262", "created": 1608973890.262264, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 262.2640132904053, "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": 260862, "processName": "MainProcess", "relativeCreated": 31.866073608398438, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:30,413", "created": 1608973890.413031, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 413.03110122680664, "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": 260862, "processName": "MainProcess", "relativeCreated": 182.6331615447998, "thread": 139911126587136, "threadName": "Thread-1" }, { "args": [ " SP server:", "0", "10", "45054", "{u'test': u'test'}" ], "asctime": "2020-12-26 10:11:30,413", "created": 1608973890.413587, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 325, "message": " SP server: RX <- status: 0, service_id: 10, data_id: 45054, data: \"{u'test': u'test'}\"", "module": "__init__", "msecs": 413.5870933532715, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 183.18915367126465, "thread": 139911126587136, "threadName": "Thread-1" }, { "args": [ " SP server:", "response_data_method" ], "asctime": "2020-12-26 10:11:30,413", "created": 1608973890.413827, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 342, "message": " SP server: Executing callback response_data_method to process received data", "module": "__init__", "msecs": 413.82694244384766, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 183.42900276184082, "thread": 139911126587136, "threadName": "Thread-1" }, { "args": [ " SP server:", 5, 11, 45054, "[1, 3, u's']" ], "asctime": "2020-12-26 10:11:30,414", "created": 1608973890.414038, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, u's']\"", "module": "__init__", "msecs": 414.03794288635254, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 183.6400032043457, "thread": 139911126587136, "threadName": "Thread-1" }, { "args": [], "asctime": "2020-12-26 10:11:30,414", "created": 1608973890.414421, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 414.42108154296875, "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": 260862, "processName": "MainProcess", "relativeCreated": 184.0231418609619, "thread": 139911126587136, "threadName": "Thread-1" }, { "args": [], "asctime": "2020-12-26 10:11:30,565", "created": 1608973890.565675, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 565.6750202178955, "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": 260862, "processName": "MainProcess", "relativeCreated": 335.2770805358887, "thread": 139911118194432, "threadName": "Thread-2" }, { "args": [ " SP server:", "5", "11", "45054", "[1, 3, u's']" ], "asctime": "2020-12-26 10:11:30,566", "created": 1608973890.56618, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 325, "message": " SP server: RX <- status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, u's']\"", "module": "__init__", "msecs": 566.1799907684326, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 335.7820510864258, "thread": 139911118194432, "threadName": "Thread-2" }, { "args": [ " SP server:", "Operation not permitted" ], "asctime": "2020-12-26 10:11:30,566", "created": 1608973890.56647, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 352, "message": " SP server: Received message has a peculiar status: Operation not permitted", "module": "__init__", "msecs": 566.4699077606201, "msg": "%s Received message has a peculiar status: %s", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 336.0719680786133, "thread": 139911118194432, "threadName": "Thread-2" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:30,566", "created": 1608973890.566703, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__buffer_received_data__", "levelname": "DEBUG", "levelno": 10, "lineno": 370, "message": " SP server: Message data is stored in buffer and is now ready to be retrieved by receive method", "module": "__init__", "msecs": 566.7030811309814, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 336.3051414489746, "thread": 139911118194432, "threadName": "Thread-2" } ], "msecs": 764.0249729156494, "msg": "Send and received data by struct_json_protocol.", "name": "__tLogger__", "pathname": "src/tests/test_normal_operation.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 533.6270332336426, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.19732189178466797 }, { "args": [ "True", "" ], "asctime": "2020-12-26 10:11:30,764", "created": 1608973890.764964, "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-26 10:11:30,764", "created": 1608973890.764516, "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.5161151885986, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 534.1181755065918, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-12-26 10:11:30,764", "created": 1608973890.764775, "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.7750377655029, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 534.3770980834961, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 764.9641036987305, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 534.5661640167236, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.00018906593322753906 }, { "args": [ "0", "" ], "asctime": "2020-12-26 10:11:30,765", "created": 1608973890.765546, "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-26 10:11:30,765", "created": 1608973890.765232, "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": 765.2320861816406, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 534.8341464996338, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Request Status (Okay) transfered via struct_json_protocol", "0", "" ], "asctime": "2020-12-26 10:11:30,765", "created": 1608973890.765392, "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": 765.3920650482178, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 534.9941253662109, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 765.5460834503174, "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": 260862, "processName": "MainProcess", "relativeCreated": 535.1481437683105, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.00015401840209960938 }, { "args": [ "{u'test': u'test'}", "" ], "asctime": "2020-12-26 10:11:30,766", "created": 1608973890.766207, "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-26 10:11:30,765", "created": 1608973890.765834, "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": 765.8340930938721, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 535.4361534118652, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Request Data transfered via struct_json_protocol", "{ u'test': u'test' }", "" ], "asctime": "2020-12-26 10:11:30,766", "created": 1608973890.766, "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": 766.0000324249268, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 535.6020927429199, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 766.2069797515869, "msg": "Request Data transfered via struct_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 535.8090400695801, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.00020694732666015625 }, { "args": [ "5", "" ], "asctime": "2020-12-26 10:11:30,766", "created": 1608973890.766766, "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-26 10:11:30,766", "created": 1608973890.766463, "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": 766.463041305542, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 536.0651016235352, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Response Status (Operation not permitted) transfered via struct_json_protocol", "5", "" ], "asctime": "2020-12-26 10:11:30,766", "created": 1608973890.766615, "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": 766.6149139404297, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 536.2169742584229, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 766.7660713195801, "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": 260862, "processName": "MainProcess", "relativeCreated": 536.3681316375732, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.00015115737915039062 }, { "args": [ "[1, 3, u's']", "" ], "asctime": "2020-12-26 10:11:30,767", "created": 1608973890.767411, "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-26 10:11:30,767", "created": 1608973890.767024, "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": 767.024040222168, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 536.6261005401611, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Response Data transfered via struct_json_protocol", "[ 1, 3, u's' ]", "" ], "asctime": "2020-12-26 10:11:30,767", "created": 1608973890.767197, "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": 767.1968936920166, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 536.7989540100098, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 767.4109935760498, "msg": "Response Data transfered via struct_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 537.013053894043, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.00021409988403320312 }, { "args": [ "None", "" ], "asctime": "2020-12-26 10:11:30,868", "created": 1608973890.868695, "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": [ " SP server:", "0.1", "11", "45054" ], "asctime": "2020-12-26 10:11:30,868", "created": 1608973890.868018, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 387, "message": " SP server: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 868.0179119110107, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 637.6199722290039, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for struct_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:30,868", "created": 1608973890.868339, "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": 868.3390617370605, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 637.9411220550537, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for struct_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:30,868", "created": 1608973890.868515, "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": 868.5150146484375, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 638.1170749664307, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 868.6950206756592, "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": 260862, "processName": "MainProcess", "relativeCreated": 638.2970809936523, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.0001800060272216797 }, { "args": [ "None", "" ], "asctime": "2020-12-26 10:11:30,970", "created": 1608973890.970038, "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": [ " SP server:", "0.1", "10", "45054" ], "asctime": "2020-12-26 10:11:30,969", "created": 1608973890.969304, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 387, "message": " SP server: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 969.304084777832, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 738.9061450958252, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for struct_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:30,969", "created": 1608973890.969659, "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": 969.6590900421143, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 739.2611503601074, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for struct_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:30,969", "created": 1608973890.969858, "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": 969.857931137085, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 739.4599914550781, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 970.0379371643066, "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": 260862, "processName": "MainProcess", "relativeCreated": 739.6399974822998, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.0001800060272216797 } ], "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.7087440490722656, "time_finished": "2020-12-26 10:11:30,970", "time_start": "2020-12-26 10:11:30,261" }, "socket_protocol: Client setting the channel name.": { "args": null, "asctime": "2020-12-26 10:11:41,952", "created": 1608973901.952394, "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": 952.3940086364746, "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": 260862, "processName": "MainProcess", "relativeCreated": 11721.996068954468, "testcaseLogger": [ { "args": [], "asctime": "2020-12-26 10:11:42,263", "created": 1608973902.263105, "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": [ " SP server:" ], "asctime": "2020-12-26 10:11:41,952", "created": 1608973901.952946, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 952.9459476470947, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 11722.548007965088, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:41,953", "created": 1608973901.95342, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP server: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 953.4199237823486, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 11723.021984100342, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "'__channel_name_response__'", "6", "0", "'ut_response_callback'" ], "asctime": "2020-12-26 10:11:41,953", "created": 1608973901.953656, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "add", "levelname": "WARNING", "levelno": 30, "lineno": 91, "message": "Overwriting existing callback '__channel_name_response__' for service_id (6) and data_id (0) to 'ut_response_callback'!", "module": "__init__", "msecs": 953.6559581756592, "msg": "Overwriting existing callback %s for service_id (%s) and data_id (%s) to %s!", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 11723.258018493652, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP client:" ], "asctime": "2020-12-26 10:11:41,954", "created": 1608973901.954053, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP client: Cleaning up receive-buffer", "module": "__init__", "msecs": 954.0529251098633, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.ut_client_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 11723.654985427856, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP client:" ], "asctime": "2020-12-26 10:11:41,954", "created": 1608973901.954466, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP client: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 954.4661045074463, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.ut_client_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 11724.06816482544, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:41,954", "created": 1608973901.954673, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 954.6730518341064, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 11724.2751121521, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:", 0, 5, 0, "None" ], "asctime": "2020-12-26 10:11:41,954", "created": 1608973901.954865, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 0, service_id: 5, data_id: 0, data: \"None\"", "module": "__init__", "msecs": 954.8649787902832, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 11724.467039108276, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:41,955", "created": 1608973901.955311, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 955.3110599517822, "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": 260862, "processName": "MainProcess", "relativeCreated": 11724.913120269775, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP client:" ], "asctime": "2020-12-26 10:11:41,956", "created": 1608973901.956616, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP client: Cleaning up receive-buffer", "module": "__init__", "msecs": 956.6159248352051, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.ut_client_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 11726.217985153198, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:42,107", "created": 1608973902.107583, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 107.58304595947266, "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": 260862, "processName": "MainProcess", "relativeCreated": 11877.185106277466, "thread": 139911126587136, "threadName": "Thread-34" }, { "args": [ " SP client:", "0", "5", "0", "None" ], "asctime": "2020-12-26 10:11:42,108", "created": 1608973902.108017, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 325, "message": " SP client: RX <- status: 0, service_id: 5, data_id: 0, data: \"None\"", "module": "__init__", "msecs": 108.0169677734375, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.ut_client_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 11877.61902809143, "thread": 139911126587136, "threadName": "Thread-34" }, { "args": [ " SP client:", "__channel_name_request__" ], "asctime": "2020-12-26 10:11:42,108", "created": 1608973902.108255, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 342, "message": " SP client: Executing callback __channel_name_request__ to process received data", "module": "__init__", "msecs": 108.25490951538086, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol.ut_client_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 11877.856969833374, "thread": 139911126587136, "threadName": "Thread-34" }, { "args": [ " SP client:", 0, 6, 0, "'ut_client_set_channel_name'" ], "asctime": "2020-12-26 10:11:42,108", "created": 1608973902.108473, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP client: TX -> status: 0, service_id: 6, data_id: 0, data: \"'ut_client_set_channel_name'\"", "module": "__init__", "msecs": 108.47306251525879, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.ut_client_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 11878.075122833252, "thread": 139911126587136, "threadName": "Thread-34" }, { "args": [], "asctime": "2020-12-26 10:11:42,109", "created": 1608973902.109035, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 109.03501510620117, "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": 260862, "processName": "MainProcess", "relativeCreated": 11878.637075424194, "thread": 139911126587136, "threadName": "Thread-34" }, { "args": [], "asctime": "2020-12-26 10:11:42,260", "created": 1608973902.260329, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 260.329008102417, "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": 260862, "processName": "MainProcess", "relativeCreated": 12029.93106842041, "thread": 139911118194432, "threadName": "Thread-35" }, { "args": [ " SP server:", "0", "6", "0", "u'ut_client_set_channel_name'" ], "asctime": "2020-12-26 10:11:42,260", "created": 1608973902.260801, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 325, "message": " SP server: RX <- status: 0, service_id: 6, data_id: 0, data: \"u'ut_client_set_channel_name'\"", "module": "__init__", "msecs": 260.8010768890381, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 12030.403137207031, "thread": 139911118194432, "threadName": "Thread-35" }, { "args": [ " SP server:", "ut_response_callback" ], "asctime": "2020-12-26 10:11:42,261", "created": 1608973902.261051, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 359, "message": " SP server: Executing callback ut_response_callback to process received data", "module": "__init__", "msecs": 261.0509395599365, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 12030.65299987793, "thread": 139911118194432, "threadName": "Thread-35" }, { "args": [ " SP server:", "'ut_client_set_channel_name'" ], "asctime": "2020-12-26 10:11:42,261", "created": 1608973902.261408, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__channel_name_response__", "levelname": "INFO", "levelno": 20, "lineno": 273, "message": " SP server: channel name is now 'ut_client_set_channel_name'", "module": "__init__", "msecs": 261.40809059143066, "msg": "%s channel name is now %s", "name": "root.socket_protocol.ut_client_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 12031.010150909424, "thread": 139911118194432, "threadName": "Thread-35" } ], "msecs": 263.1049156188965, "msg": "Initiating communication including channel_name exchange.", "name": "__tLogger__", "pathname": "src/tests/test_channel_name.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 12032.70697593689, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.0016968250274658203 }, { "args": [ "'ut_client_set_channel_name'", "" ], "asctime": "2020-12-26 10:11:42,264", "created": 1608973902.264025, "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-26 10:11:42,263", "created": 1608973902.263645, "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": 263.6449337005615, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 12033.246994018555, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Channel name for server", "'ut_client_set_channel_name'", "" ], "asctime": "2020-12-26 10:11:42,263", "created": 1608973902.263849, "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": 263.84902000427246, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 12033.451080322266, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 264.0249729156494, "msg": "Channel name for server is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 12033.627033233643, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.00017595291137695312 }, { "args": [ "'ut_client_set_channel_name'", "" ], "asctime": "2020-12-26 10:11:42,264", "created": 1608973902.264622, "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-26 10:11:42,264", "created": 1608973902.264298, "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": 264.2979621887207, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 12033.900022506714, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Channel name for client", "'ut_client_set_channel_name'", "" ], "asctime": "2020-12-26 10:11:42,264", "created": 1608973902.264462, "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": 264.4619941711426, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 12034.064054489136, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 264.6219730377197, "msg": "Channel name for client is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 12034.224033355713, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.00015997886657714844 } ], "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.3122279644012451, "time_finished": "2020-12-26 10:11:42,264", "time_start": "2020-12-26 10:11:41,952" }, "socket_protocol: Server and Client setting different channel names.": { "args": null, "asctime": "2020-12-26 10:11:42,265", "created": 1608973902.265175, "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": 265.17510414123535, "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": 260862, "processName": "MainProcess", "relativeCreated": 12034.777164459229, "testcaseLogger": [ { "args": [], "asctime": "2020-12-26 10:11:42,575", "created": 1608973902.57505, "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": [ " SP server:" ], "asctime": "2020-12-26 10:11:42,265", "created": 1608973902.265705, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 265.7051086425781, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.ut_server_and_client_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 12035.307168960571, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:42,266", "created": 1608973902.266155, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP server: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 266.1550045013428, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.ut_server_and_client_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 12035.757064819336, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "'__channel_name_response__'", "6", "0", "'ut_response_callback'" ], "asctime": "2020-12-26 10:11:42,266", "created": 1608973902.26639, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "add", "levelname": "WARNING", "levelno": 30, "lineno": 91, "message": "Overwriting existing callback '__channel_name_response__' for service_id (6) and data_id (0) to 'ut_response_callback'!", "module": "__init__", "msecs": 266.3900852203369, "msg": "Overwriting existing callback %s for service_id (%s) and data_id (%s) to %s!", "name": "root.socket_protocol.ut_server_and_client_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 12035.99214553833, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP client:" ], "asctime": "2020-12-26 10:11:42,266", "created": 1608973902.26676, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP client: Cleaning up receive-buffer", "module": "__init__", "msecs": 266.76011085510254, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.foo", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 12036.362171173096, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP client:" ], "asctime": "2020-12-26 10:11:42,267", "created": 1608973902.267167, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP client: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 267.1670913696289, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.foo", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 12036.769151687622, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:42,267", "created": 1608973902.267404, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 267.40407943725586, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.ut_server_and_client_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 12037.006139755249, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:", 0, 5, 0, "'ut_server_and_client_set_channel_name'" ], "asctime": "2020-12-26 10:11:42,267", "created": 1608973902.267616, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 0, service_id: 5, data_id: 0, data: \"'ut_server_and_client_set_channel_name'\"", "module": "__init__", "msecs": 267.61603355407715, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.ut_server_and_client_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 12037.21809387207, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:42,268", "created": 1608973902.268188, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 268.1879997253418, "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": 260862, "processName": "MainProcess", "relativeCreated": 12037.790060043335, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP client:" ], "asctime": "2020-12-26 10:11:42,268", "created": 1608973902.268984, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP client: Cleaning up receive-buffer", "module": "__init__", "msecs": 268.9840793609619, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.foo", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 12038.586139678955, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:42,419", "created": 1608973902.419279, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 419.2790985107422, "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": 260862, "processName": "MainProcess", "relativeCreated": 12188.881158828735, "thread": 139911118194432, "threadName": "Thread-36" }, { "args": [ " SP client:", "0", "5", "0", "u'ut_server_and_client_set_channel_name'" ], "asctime": "2020-12-26 10:11:42,419", "created": 1608973902.419555, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 325, "message": " SP client: RX <- status: 0, service_id: 5, data_id: 0, data: \"u'ut_server_and_client_set_channel_name'\"", "module": "__init__", "msecs": 419.5549488067627, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.foo", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 12189.157009124756, "thread": 139911118194432, "threadName": "Thread-36" }, { "args": [ " SP client:", "__channel_name_request__" ], "asctime": "2020-12-26 10:11:42,419", "created": 1608973902.419684, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 342, "message": " SP client: Executing callback __channel_name_request__ to process received data", "module": "__init__", "msecs": 419.68393325805664, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol.foo", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 12189.28599357605, "thread": 139911118194432, "threadName": "Thread-36" }, { "args": [ " SP client:", "'foo'", "u'ut_server_and_client_set_channel_name'" ], "asctime": "2020-12-26 10:11:42,419", "created": 1608973902.419876, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__channel_name_request__", "levelname": "WARNING", "levelno": 30, "lineno": 264, "message": " SP client: overwriting user defined channel name from 'foo' to u'ut_server_and_client_set_channel_name'", "module": "__init__", "msecs": 419.8760986328125, "msg": "%s overwriting user defined channel name from %s to %s", "name": "root.socket_protocol.ut_server_and_client_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 12189.478158950806, "thread": 139911118194432, "threadName": "Thread-36" }, { "args": [ " SP client:", 0, 6, 0, "None" ], "asctime": "2020-12-26 10:11:42,419", "created": 1608973902.419983, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP client: TX -> status: 0, service_id: 6, data_id: 0, data: \"None\"", "module": "__init__", "msecs": 419.98291015625, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.ut_server_and_client_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 12189.584970474243, "thread": 139911118194432, "threadName": "Thread-36" }, { "args": [], "asctime": "2020-12-26 10:11:42,420", "created": 1608973902.420223, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 420.2229976654053, "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": 260862, "processName": "MainProcess", "relativeCreated": 12189.825057983398, "thread": 139911118194432, "threadName": "Thread-36" }, { "args": [], "asctime": "2020-12-26 10:11:42,571", "created": 1608973902.571017, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 571.0170269012451, "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": 260862, "processName": "MainProcess", "relativeCreated": 12340.619087219238, "thread": 139911126587136, "threadName": "Thread-37" }, { "args": [ " SP server:", "0", "6", "0", "None" ], "asctime": "2020-12-26 10:11:42,571", "created": 1608973902.571469, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 325, "message": " SP server: RX <- status: 0, service_id: 6, data_id: 0, data: \"None\"", "module": "__init__", "msecs": 571.4690685272217, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.ut_server_and_client_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 12341.071128845215, "thread": 139911126587136, "threadName": "Thread-37" }, { "args": [ " SP server:", "ut_response_callback" ], "asctime": "2020-12-26 10:11:42,571", "created": 1608973902.571714, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 359, "message": " SP server: Executing callback ut_response_callback to process received data", "module": "__init__", "msecs": 571.713924407959, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol.ut_server_and_client_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 12341.315984725952, "thread": 139911126587136, "threadName": "Thread-37" } ], "msecs": 575.0501155853271, "msg": "Initiating communication including channel_name exchange.", "name": "__tLogger__", "pathname": "src/tests/test_channel_name.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 12344.65217590332, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.003336191177368164 }, { "args": [ "'ut_server_and_client_set_channel_name'", "" ], "asctime": "2020-12-26 10:11:42,575", "created": 1608973902.575967, "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-26 10:11:42,575", "created": 1608973902.575585, "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": 575.584888458252, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 12345.186948776245, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Channel name for server", "'ut_server_and_client_set_channel_name'", "" ], "asctime": "2020-12-26 10:11:42,575", "created": 1608973902.575788, "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": 575.7880210876465, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 12345.39008140564, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 575.9670734405518, "msg": "Channel name for server is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 12345.569133758545, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.00017905235290527344 }, { "args": [ "'ut_server_and_client_set_channel_name'", "" ], "asctime": "2020-12-26 10:11:42,576", "created": 1608973902.576595, "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-26 10:11:42,576", "created": 1608973902.576259, "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": 576.2588977813721, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 12345.860958099365, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Channel name for client", "'ut_server_and_client_set_channel_name'", "" ], "asctime": "2020-12-26 10:11:42,576", "created": 1608973902.576424, "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": 576.4238834381104, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 12346.025943756104, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 576.5950679779053, "msg": "Channel name for client is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 12346.197128295898, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.00017118453979492188 } ], "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.3114199638366699, "time_finished": "2020-12-26 10:11:42,576", "time_start": "2020-12-26 10:11:42,265" }, "socket_protocol: Server and Client setting the same channel name.": { "args": null, "asctime": "2020-12-26 10:11:42,577", "created": 1608973902.57711, "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": 577.1100521087646, "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": 260862, "processName": "MainProcess", "relativeCreated": 12346.712112426758, "testcaseLogger": [ { "args": [], "asctime": "2020-12-26 10:11:42,886", "created": 1608973902.886923, "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": [ " SP server:" ], "asctime": "2020-12-26 10:11:42,577", "created": 1608973902.5776, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 577.6000022888184, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.ut_server_and_client_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 12347.202062606812, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:42,578", "created": 1608973902.578047, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP server: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 578.0470371246338, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.ut_server_and_client_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 12347.649097442627, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "'__channel_name_response__'", "6", "0", "'ut_response_callback'" ], "asctime": "2020-12-26 10:11:42,578", "created": 1608973902.578282, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "add", "levelname": "WARNING", "levelno": 30, "lineno": 91, "message": "Overwriting existing callback '__channel_name_response__' for service_id (6) and data_id (0) to 'ut_response_callback'!", "module": "__init__", "msecs": 578.2821178436279, "msg": "Overwriting existing callback %s for service_id (%s) and data_id (%s) to %s!", "name": "root.socket_protocol.ut_server_and_client_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 12347.884178161621, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP client:" ], "asctime": "2020-12-26 10:11:42,578", "created": 1608973902.57864, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP client: Cleaning up receive-buffer", "module": "__init__", "msecs": 578.6399841308594, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.ut_server_and_client_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 12348.242044448853, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP client:" ], "asctime": "2020-12-26 10:11:42,579", "created": 1608973902.579038, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP client: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 579.0379047393799, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.ut_server_and_client_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 12348.639965057373, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:42,579", "created": 1608973902.579259, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 579.258918762207, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.ut_server_and_client_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 12348.8609790802, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:", 0, 5, 0, "'ut_server_and_client_set_channel_name'" ], "asctime": "2020-12-26 10:11:42,579", "created": 1608973902.579464, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 0, service_id: 5, data_id: 0, data: \"'ut_server_and_client_set_channel_name'\"", "module": "__init__", "msecs": 579.4639587402344, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.ut_server_and_client_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 12349.066019058228, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:42,580", "created": 1608973902.580018, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 580.0180435180664, "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": 260862, "processName": "MainProcess", "relativeCreated": 12349.62010383606, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP client:" ], "asctime": "2020-12-26 10:11:42,580", "created": 1608973902.580822, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP client: Cleaning up receive-buffer", "module": "__init__", "msecs": 580.8219909667969, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.ut_server_and_client_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 12350.42405128479, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:42,731", "created": 1608973902.731285, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 731.2850952148438, "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": 260862, "processName": "MainProcess", "relativeCreated": 12500.887155532837, "thread": 139911126587136, "threadName": "Thread-38" }, { "args": [ " SP client:", "0", "5", "0", "u'ut_server_and_client_set_channel_name'" ], "asctime": "2020-12-26 10:11:42,731", "created": 1608973902.731741, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 325, "message": " SP client: RX <- status: 0, service_id: 5, data_id: 0, data: \"u'ut_server_and_client_set_channel_name'\"", "module": "__init__", "msecs": 731.7409515380859, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.ut_server_and_client_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 12501.34301185608, "thread": 139911126587136, "threadName": "Thread-38" }, { "args": [ " SP client:", "__channel_name_request__" ], "asctime": "2020-12-26 10:11:42,731", "created": 1608973902.73198, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 342, "message": " SP client: Executing callback __channel_name_request__ to process received data", "module": "__init__", "msecs": 731.9800853729248, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol.ut_server_and_client_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 12501.582145690918, "thread": 139911126587136, "threadName": "Thread-38" }, { "args": [ " SP client:", 0, 6, 0, "None" ], "asctime": "2020-12-26 10:11:42,732", "created": 1608973902.732352, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP client: TX -> status: 0, service_id: 6, data_id: 0, data: \"None\"", "module": "__init__", "msecs": 732.3520183563232, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.ut_server_and_client_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 12501.954078674316, "thread": 139911126587136, "threadName": "Thread-38" }, { "args": [], "asctime": "2020-12-26 10:11:42,732", "created": 1608973902.732842, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 732.841968536377, "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": 260862, "processName": "MainProcess", "relativeCreated": 12502.44402885437, "thread": 139911126587136, "threadName": "Thread-38" }, { "args": [], "asctime": "2020-12-26 10:11:42,883", "created": 1608973902.883981, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 883.9809894561768, "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": 260862, "processName": "MainProcess", "relativeCreated": 12653.58304977417, "thread": 139911118194432, "threadName": "Thread-39" }, { "args": [ " SP server:", "0", "6", "0", "None" ], "asctime": "2020-12-26 10:11:42,884", "created": 1608973902.884444, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 325, "message": " SP server: RX <- status: 0, service_id: 6, data_id: 0, data: \"None\"", "module": "__init__", "msecs": 884.443998336792, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.ut_server_and_client_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 12654.046058654785, "thread": 139911118194432, "threadName": "Thread-39" }, { "args": [ " SP server:", "ut_response_callback" ], "asctime": "2020-12-26 10:11:42,884", "created": 1608973902.88469, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 359, "message": " SP server: Executing callback ut_response_callback to process received data", "module": "__init__", "msecs": 884.6900463104248, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol.ut_server_and_client_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 12654.292106628418, "thread": 139911118194432, "threadName": "Thread-39" } ], "msecs": 886.92307472229, "msg": "Initiating communication including channel_name exchange.", "name": "__tLogger__", "pathname": "src/tests/test_channel_name.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 12656.525135040283, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.0022330284118652344 }, { "args": [ "'ut_server_and_client_set_channel_name'", "" ], "asctime": "2020-12-26 10:11:42,888", "created": 1608973902.888393, "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-26 10:11:42,887", "created": 1608973902.887753, "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": 887.7530097961426, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 12657.355070114136, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Channel name for server", "'ut_server_and_client_set_channel_name'", "" ], "asctime": "2020-12-26 10:11:42,888", "created": 1608973902.888084, "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": 888.0839347839355, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 12657.685995101929, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 888.3929252624512, "msg": "Channel name for server is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 12657.994985580444, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.000308990478515625 }, { "args": [ "'ut_server_and_client_set_channel_name'", "" ], "asctime": "2020-12-26 10:11:42,889", "created": 1608973902.88954, "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-26 10:11:42,888", "created": 1608973902.888912, "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": 888.9119625091553, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 12658.514022827148, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Channel name for client", "'ut_server_and_client_set_channel_name'", "" ], "asctime": "2020-12-26 10:11:42,889", "created": 1608973902.88923, "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": 889.2300128936768, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 12658.83207321167, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 889.5399570465088, "msg": "Channel name for client is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 12659.142017364502, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.00030994415283203125 } ], "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.31242990493774414, "time_finished": "2020-12-26 10:11:42,889", "time_start": "2020-12-26 10:11:42,577" }, "socket_protocol: Server setting the channel name.": { "args": null, "asctime": "2020-12-26 10:11:41,640", "created": 1608973901.640505, "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": 640.5050754547119, "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": 260862, "processName": "MainProcess", "relativeCreated": 11410.107135772705, "testcaseLogger": [ { "args": [], "asctime": "2020-12-26 10:11:41,950", "created": 1608973901.950374, "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": [ " SP server:" ], "asctime": "2020-12-26 10:11:41,641", "created": 1608973901.64108, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 641.0799026489258, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.ut_server_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 11410.681962966919, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:41,641", "created": 1608973901.641537, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP server: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 641.5369510650635, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.ut_server_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 11411.139011383057, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "'__channel_name_response__'", "6", "0", "'ut_response_callback'" ], "asctime": "2020-12-26 10:11:41,641", "created": 1608973901.641798, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "add", "levelname": "WARNING", "levelno": 30, "lineno": 91, "message": "Overwriting existing callback '__channel_name_response__' for service_id (6) and data_id (0) to 'ut_response_callback'!", "module": "__init__", "msecs": 641.7980194091797, "msg": "Overwriting existing callback %s for service_id (%s) and data_id (%s) to %s!", "name": "root.socket_protocol.ut_server_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 11411.400079727173, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP client:" ], "asctime": "2020-12-26 10:11:41,642", "created": 1608973901.642145, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP client: Cleaning up receive-buffer", "module": "__init__", "msecs": 642.1449184417725, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 11411.746978759766, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP client:" ], "asctime": "2020-12-26 10:11:41,642", "created": 1608973901.642553, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP client: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 642.5530910491943, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 11412.155151367188, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:41,642", "created": 1608973901.642769, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 642.7690982818604, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.ut_server_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 11412.371158599854, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP server:", 0, 5, 0, "'ut_server_set_channel_name'" ], "asctime": "2020-12-26 10:11:41,642", "created": 1608973901.642963, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 0, service_id: 5, data_id: 0, data: \"'ut_server_set_channel_name'\"", "module": "__init__", "msecs": 642.9629325866699, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.ut_server_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 11412.564992904663, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:41,643", "created": 1608973901.64349, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 643.4900760650635, "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": 260862, "processName": "MainProcess", "relativeCreated": 11413.092136383057, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ " SP client:" ], "asctime": "2020-12-26 10:11:41,644", "created": 1608973901.644271, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP client: Cleaning up receive-buffer", "module": "__init__", "msecs": 644.2708969116211, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 11413.872957229614, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:41,794", "created": 1608973901.794746, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 794.745922088623, "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": 260862, "processName": "MainProcess", "relativeCreated": 11564.347982406616, "thread": 139911118194432, "threadName": "Thread-32" }, { "args": [ " SP client:", "0", "5", "0", "u'ut_server_set_channel_name'" ], "asctime": "2020-12-26 10:11:41,795", "created": 1608973901.795186, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 325, "message": " SP client: RX <- status: 0, service_id: 5, data_id: 0, data: \"u'ut_server_set_channel_name'\"", "module": "__init__", "msecs": 795.1860427856445, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 11564.788103103638, "thread": 139911118194432, "threadName": "Thread-32" }, { "args": [ " SP client:", "__channel_name_request__" ], "asctime": "2020-12-26 10:11:41,795", "created": 1608973901.795427, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 342, "message": " SP client: Executing callback __channel_name_request__ to process received data", "module": "__init__", "msecs": 795.4270839691162, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 11565.02914428711, "thread": 139911118194432, "threadName": "Thread-32" }, { "args": [ " SP client:", "'ut_server_set_channel_name'" ], "asctime": "2020-12-26 10:11:41,795", "created": 1608973901.795776, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__channel_name_request__", "levelname": "INFO", "levelno": 20, "lineno": 266, "message": " SP client: channel name is now 'ut_server_set_channel_name'", "module": "__init__", "msecs": 795.7758903503418, "msg": "%s channel name is now %s", "name": "root.socket_protocol.ut_server_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 11565.377950668335, "thread": 139911118194432, "threadName": "Thread-32" }, { "args": [ " SP client:", 0, 6, 0, "None" ], "asctime": "2020-12-26 10:11:41,795", "created": 1608973901.79597, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP client: TX -> status: 0, service_id: 6, data_id: 0, data: \"None\"", "module": "__init__", "msecs": 795.9699630737305, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.ut_server_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 11565.572023391724, "thread": 139911118194432, "threadName": "Thread-32" }, { "args": [], "asctime": "2020-12-26 10:11:41,796", "created": 1608973901.796418, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 796.4179515838623, "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": 260862, "processName": "MainProcess", "relativeCreated": 11566.020011901855, "thread": 139911118194432, "threadName": "Thread-32" }, { "args": [], "asctime": "2020-12-26 10:11:41,947", "created": 1608973901.947671, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 947.6709365844727, "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": 260862, "processName": "MainProcess", "relativeCreated": 11717.272996902466, "thread": 139911126587136, "threadName": "Thread-33" }, { "args": [ " SP server:", "0", "6", "0", "None" ], "asctime": "2020-12-26 10:11:41,948", "created": 1608973901.948176, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 325, "message": " SP server: RX <- status: 0, service_id: 6, data_id: 0, data: \"None\"", "module": "__init__", "msecs": 948.1759071350098, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.ut_server_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 11717.777967453003, "thread": 139911126587136, "threadName": "Thread-33" }, { "args": [ " SP server:", "ut_response_callback" ], "asctime": "2020-12-26 10:11:41,948", "created": 1608973901.948423, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 359, "message": " SP server: Executing callback ut_response_callback to process received data", "module": "__init__", "msecs": 948.422908782959, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol.ut_server_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 11718.024969100952, "thread": 139911126587136, "threadName": "Thread-33" } ], "msecs": 950.3738880157471, "msg": "Initiating communication including channel_name exchange.", "name": "__tLogger__", "pathname": "src/tests/test_channel_name.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 11719.97594833374, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.001950979232788086 }, { "args": [ "'ut_server_set_channel_name'", "" ], "asctime": "2020-12-26 10:11:41,951", "created": 1608973901.951311, "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-26 10:11:41,950", "created": 1608973901.95093, "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": 950.930118560791, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 11720.532178878784, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Channel name for server", "'ut_server_set_channel_name'", "" ], "asctime": "2020-12-26 10:11:41,951", "created": 1608973901.951132, "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": 951.13205909729, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 11720.734119415283, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 951.3111114501953, "msg": "Channel name for server is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 11720.913171768188, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.00017905235290527344 }, { "args": [ "'ut_server_set_channel_name'", "" ], "asctime": "2020-12-26 10:11:41,951", "created": 1608973901.951932, "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-26 10:11:41,951", "created": 1608973901.951597, "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": 951.5969753265381, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 11721.199035644531, "thread": 139911147616064, "threadName": "MainThread" }, { "args": [ "Channel name for client", "'ut_server_set_channel_name'", "" ], "asctime": "2020-12-26 10:11:41,951", "created": 1608973901.951763, "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": 951.7629146575928, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 11721.364974975586, "thread": 139911147616064, "threadName": "MainThread" } ], "msecs": 951.9319534301758, "msg": "Channel name for client is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260862, "processName": "MainProcess", "relativeCreated": 11721.534013748169, "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.0001690387725830078 } ], "thread": 139911147616064, "threadName": "MainThread", "time_consumption": 0.31142687797546387, "time_finished": "2020-12-26 10:11:41,951", "time_start": "2020-12-26 10:11:41,640" } }, "testrun_id": "p2", "time_consumption": 12.6174156665802, "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-26 10:11:54,310", "created": 1608973914.3105853, "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": 310.58526039123535, "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": 260919, "processName": "MainProcess", "relativeCreated": 11000.380992889404, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2020-12-26 10:11:54,312", "created": 1608973914.312084, "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": [ " SP server:" ], "asctime": "2020-12-26 10:11:54,310", "created": 1608973914.310956, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 310.9560012817383, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11000.751733779907, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:54,311", "created": 1608973914.3113139, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP server: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 311.3138675689697, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11001.109600067139, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:54,311", "created": 1608973914.311598, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 311.5980625152588, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11001.393795013428, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:54,311", "created": 1608973914.3119173, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP server: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 311.9173049926758, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11001.713037490845, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 312.0839595794678, "msg": "Authentification with no secret definition (pure_json_protocol).", "name": "__tLogger__", "pathname": "src/tests/test_handling_errors.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11001.879692077637, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.0001666545867919922 }, { "args": [ "False", "" ], "asctime": "2020-12-26 10:11:54,312", "created": 1608973914.3126004, "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-26 10:11:54,312", "created": 1608973914.312315, "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": 312.3149871826172, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11002.110719680786, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Return value of authentification", "False", "" ], "asctime": "2020-12-26 10:11:54,312", "created": 1608973914.3124595, "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": 312.45946884155273, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11002.255201339722, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 312.60037422180176, "msg": "Return value of authentification is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11002.39610671997, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.00014090538024902344 } ], "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.0020151138305664062, "time_finished": "2020-12-26 10:11:54,312", "time_start": "2020-12-26 10:11:54,310" }, "socket_protocol.pure_json_protocol: Authentification required, but not processed/ correctly processed.": { "args": null, "asctime": "2020-12-26 10:11:52,897", "created": 1608973912.897943, "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": 897.9430198669434, "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": 260919, "processName": "MainProcess", "relativeCreated": 9587.738752365112, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2020-12-26 10:11:54,105", "created": 1608973914.1052094, "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": [ " SP server:" ], "asctime": "2020-12-26 10:11:52,898", "created": 1608973912.898367, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 898.3669281005859, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 9588.162660598755, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:52,898", "created": 1608973912.8987405, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP server: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 898.7405300140381, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 9588.536262512207, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:52,899", "created": 1608973912.899013, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 899.0130424499512, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 9588.80877494812, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:52,899", "created": 1608973912.8993306, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP server: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 899.3306159973145, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 9589.126348495483, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:52,899", "created": 1608973912.899535, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "authentificate", "levelname": "INFO", "levelno": 20, "lineno": 456, "message": " SP server: Requesting seed for authentification", "module": "__init__", "msecs": 899.5349407196045, "msg": "%s Requesting seed for authentification", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 9589.330673217773, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:", 0, 1, 0, "None" ], "asctime": "2020-12-26 10:11:52,899", "created": 1608973912.8996866, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 0, service_id: 1, data_id: 0, data: \"None\"", "module": "__init__", "msecs": 899.6865749359131, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 9589.482307434082, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:52,900", "created": 1608973912.9000463, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 900.0463485717773, "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": 260919, "processName": "MainProcess", "relativeCreated": 9589.842081069946, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:53,051", "created": 1608973913.051011, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 51.011085510253906, "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": 260919, "processName": "MainProcess", "relativeCreated": 9740.806818008423, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-26" }, { "args": [ " SP server:", "0", "1", "0", "None" ], "asctime": "2020-12-26 10:11:53,051", "created": 1608973913.051458, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 319, "message": " SP server: RX <- status: 0, service_id: 1, data_id: 0, data: \"None\"", "module": "__init__", "msecs": 51.457881927490234, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 9741.25361442566, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-26" }, { "args": [ " SP server:", "__authentificate_create_seed__" ], "asctime": "2020-12-26 10:11:53,051", "created": 1608973913.0516784, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 342, "message": " SP server: Executing callback __authentificate_create_seed__ to process received data", "module": "__init__", "msecs": 51.67841911315918, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 9741.474151611328, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-26" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:53,051", "created": 1608973913.0518332, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentificate_create_seed__", "levelname": "INFO", "levelno": 20, "lineno": 482, "message": " SP server: Got seed request, sending seed for authentification", "module": "__init__", "msecs": 51.833152770996094, "msg": "%s Got seed request, sending seed for authentification", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 9741.628885269165, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-26" }, { "args": [ " SP server:", 0, 2, 0, "'3435b2d76e662ed74d4c53b5f9fc840b079a402602fd1813c078d5f8a3f22992'" ], "asctime": "2020-12-26 10:11:53,052", "created": 1608973913.0520978, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 0, service_id: 2, data_id: 0, data: \"'3435b2d76e662ed74d4c53b5f9fc840b079a402602fd1813c078d5f8a3f22992'\"", "module": "__init__", "msecs": 52.09779739379883, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 9741.893529891968, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-26" }, { "args": [], "asctime": "2020-12-26 10:11:53,052", "created": 1608973913.0525556, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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 33 34 33 35 62 32 64 37 36 65 36 36 32 65 64 37 34 64 34 63 35 33 62 35 66 39 66 63 38 34 30 62 30 37 39 61 34 30 32 36 30 32 66 64 31 38 31 33 63 30 37 38 64 35 66 38 61 33 66 32 32 39 39 32 22 7d 05 ef eb 79", "module": "test_helpers", "msecs": 52.55556106567383, "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 33 34 33 35 62 32 64 37 36 65 36 36 32 65 64 37 34 64 34 63 35 33 62 35 66 39 66 63 38 34 30 62 30 37 39 61 34 30 32 36 30 32 66 64 31 38 31 33 63 30 37 38 64 35 66 38 61 33 66 32 32 39 39 32 22 7d 05 ef eb 79", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 9742.351293563843, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-26" }, { "args": [], "asctime": "2020-12-26 10:11:53,203", "created": 1608973913.2036593, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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 33 34 33 35 62 32 64 37 36 65 36 36 32 65 64 37 34 64 34 63 35 33 62 35 66 39 66 63 38 34 30 62 30 37 39 61 34 30 32 36 30 32 66 64 31 38 31 33 63 30 37 38 64 35 66 38 61 33 66 32 32 39 39 32 22 7d 05 ef eb 79", "module": "test_helpers", "msecs": 203.6592960357666, "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 33 34 33 35 62 32 64 37 36 65 36 36 32 65 64 37 34 64 34 63 35 33 62 35 66 39 66 63 38 34 30 62 30 37 39 61 34 30 32 36 30 32 66 64 31 38 31 33 63 30 37 38 64 35 66 38 61 33 66 32 32 39 39 32 22 7d 05 ef eb 79", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 9893.455028533936, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-27" }, { "args": [ " SP server:", "0", "2", "0", "'3435b2d76e662ed74d4c53b5f9fc840b079a402602fd1813c078d5f8a3f22992'" ], "asctime": "2020-12-26 10:11:53,204", "created": 1608973913.204058, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 319, "message": " SP server: RX <- status: 0, service_id: 2, data_id: 0, data: \"'3435b2d76e662ed74d4c53b5f9fc840b079a402602fd1813c078d5f8a3f22992'\"", "module": "__init__", "msecs": 204.0579319000244, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 9893.853664398193, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-27" }, { "args": [ " SP server:", "__authentificate_create_key__" ], "asctime": "2020-12-26 10:11:53,204", "created": 1608973913.204274, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 342, "message": " SP server: Executing callback __authentificate_create_key__ to process received data", "module": "__init__", "msecs": 204.27393913269043, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 9894.06967163086, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-27" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:53,204", "created": 1608973913.2044497, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentificate_create_key__", "levelname": "INFO", "levelno": 20, "lineno": 491, "message": " SP server: Got seed, sending key for authentification", "module": "__init__", "msecs": 204.44965362548828, "msg": "%s Got seed, sending key for authentification", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 9894.245386123657, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-27" }, { "args": [ " SP server:", 0, 3, 0, "'989e9f888834c797745607d3f35a2355b3dbca31e05ec51e5147f54b32959ee93a06276b54b7fc8cff09f372fc4eb356a960ecbc43298a83c46eeab1d2e939d5'" ], "asctime": "2020-12-26 10:11:53,204", "created": 1608973913.2046673, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 0, service_id: 3, data_id: 0, data: \"'989e9f888834c797745607d3f35a2355b3dbca31e05ec51e5147f54b32959ee93a06276b54b7fc8cff09f372fc4eb356a960ecbc43298a83c46eeab1d2e939d5'\"", "module": "__init__", "msecs": 204.667329788208, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 9894.463062286377, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-27" }, { "args": [], "asctime": "2020-12-26 10:11:53,205", "created": 1608973913.2052586, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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 39 38 39 65 39 66 38 38 38 38 33 34 63 37 39 37 37 34 35 36 30 37 64 33 66 33 35 61 32 33 35 35 62 33 64 62 63 61 33 31 65 30 35 65 63 35 31 65 35 31 34 37 66 35 34 62 33 32 39 35 39 65 65 39 33 61 30 36 32 37 36 62 35 34 62 37 66 63 38 63 66 66 30 39 66 33 37 32 66 63 34 65 62 33 35 36 61 39 36 30 65 63 62 63 34 33 32 39 38 61 38 33 63 34 36 65 65 61 62 31 64 32 65 39 33 39 64 35 22 7d 4c 92 b1 60", "module": "test_helpers", "msecs": 205.25860786437988, "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 39 38 39 65 39 66 38 38 38 38 33 34 63 37 39 37 37 34 35 36 30 37 64 33 66 33 35 61 32 33 35 35 62 33 64 62 63 61 33 31 65 30 35 65 63 35 31 65 35 31 34 37 66 35 34 62 33 32 39 35 39 65 65 39 33 61 30 36 32 37 36 62 35 34 62 37 66 63 38 63 66 66 30 39 66 33 37 32 66 63 34 65 62 33 35 36 61 39 36 30 65 63 62 63 34 33 32 39 38 61 38 33 63 34 36 65 65 61 62 31 64 32 65 39 33 39 64 35 22 7d 4c 92 b1 60", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 9895.054340362549, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-27" }, { "args": [], "asctime": "2020-12-26 10:11:53,356", "created": 1608973913.3564603, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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 39 38 39 65 39 66 38 38 38 38 33 34 63 37 39 37 37 34 35 36 30 37 64 33 66 33 35 61 32 33 35 35 62 33 64 62 63 61 33 31 65 30 35 65 63 35 31 65 35 31 34 37 66 35 34 62 33 32 39 35 39 65 65 39 33 61 30 36 32 37 36 62 35 34 62 37 66 63 38 63 66 66 30 39 66 33 37 32 66 63 34 65 62 33 35 36 61 39 36 30 65 63 62 63 34 33 32 39 38 61 38 33 63 34 36 65 65 61 62 31 64 32 65 39 33 39 64 35 22 7d 4c 92 b1 60", "module": "test_helpers", "msecs": 356.4603328704834, "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 39 38 39 65 39 66 38 38 38 38 33 34 63 37 39 37 37 34 35 36 30 37 64 33 66 33 35 61 32 33 35 35 62 33 64 62 63 61 33 31 65 30 35 65 63 35 31 65 35 31 34 37 66 35 34 62 33 32 39 35 39 65 65 39 33 61 30 36 32 37 36 62 35 34 62 37 66 63 38 63 66 66 30 39 66 33 37 32 66 63 34 65 62 33 35 36 61 39 36 30 65 63 62 63 34 33 32 39 38 61 38 33 63 34 36 65 65 61 62 31 64 32 65 39 33 39 64 35 22 7d 4c 92 b1 60", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 10046.256065368652, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-28" }, { "args": [ " SP server:", "0", "3", "0", "'989e9f888834c797745607d3f35a2355b3dbca31e05ec51e5147f54b32959ee93a06276b54b7fc8cff09f372fc4eb356a960ecbc43298a83c46eeab1d2e939d5'" ], "asctime": "2020-12-26 10:11:53,356", "created": 1608973913.35691, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 319, "message": " SP server: RX <- status: 0, service_id: 3, data_id: 0, data: \"'989e9f888834c797745607d3f35a2355b3dbca31e05ec51e5147f54b32959ee93a06276b54b7fc8cff09f372fc4eb356a960ecbc43298a83c46eeab1d2e939d5'\"", "module": "__init__", "msecs": 356.90999031066895, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 10046.705722808838, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-28" }, { "args": [ " SP server:", "__authentificate_check_key__" ], "asctime": "2020-12-26 10:11:53,357", "created": 1608973913.357154, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 342, "message": " SP server: Executing callback __authentificate_check_key__ to process received data", "module": "__init__", "msecs": 357.15389251708984, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 10046.949625015259, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-28" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:53,357", "created": 1608973913.3573587, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentificate_check_key__", "levelname": "INFO", "levelno": 20, "lineno": 505, "message": " SP server: Got incorrect key, sending negative authentification feedback", "module": "__init__", "msecs": 357.3586940765381, "msg": "%s Got incorrect key, sending negative authentification feedback", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 10047.154426574707, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-28" }, { "args": [ " SP server:", 0, 4, 0, "False" ], "asctime": "2020-12-26 10:11:53,357", "created": 1608973913.3575382, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 0, service_id: 4, data_id: 0, data: \"False\"", "module": "__init__", "msecs": 357.53822326660156, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 10047.33395576477, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-28" }, { "args": [], "asctime": "2020-12-26 10:11:53,357", "created": 1608973913.3578928, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 357.8927516937256, "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": 260919, "processName": "MainProcess", "relativeCreated": 10047.688484191895, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-28" }, { "args": [], "asctime": "2020-12-26 10:11:53,508", "created": 1608973913.5089314, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 508.93139839172363, "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": 260919, "processName": "MainProcess", "relativeCreated": 10198.727130889893, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-29" }, { "args": [ " SP server:", "0", "4", "0", "False" ], "asctime": "2020-12-26 10:11:53,509", "created": 1608973913.5093606, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 319, "message": " SP server: RX <- status: 0, service_id: 4, data_id: 0, data: \"False\"", "module": "__init__", "msecs": 509.36055183410645, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 10199.156284332275, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-29" }, { "args": [ " SP server:", "__authentificate_process_feedback__" ], "asctime": "2020-12-26 10:11:53,509", "created": 1608973913.509576, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 359, "message": " SP server: Executing callback __authentificate_process_feedback__ to process received data", "module": "__init__", "msecs": 509.57608222961426, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 10199.371814727783, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-29" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:53,509", "created": 1608973913.5097406, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentificate_process_feedback__", "levelname": "WARNING", "levelno": 30, "lineno": 515, "message": " SP server: Got negative authentification feedback", "module": "__init__", "msecs": 509.74059104919434, "msg": "%s Got negative authentification feedback", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 10199.536323547363, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-29" }, { "args": [ " SP server:", 0, 10, 45054, "{'test': 'test'}" ], "asctime": "2020-12-26 10:11:53,602", "created": 1608973913.6025016, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 0, service_id: 10, data_id: 45054, data: \"{'test': 'test'}\"", "module": "__init__", "msecs": 602.501630783081, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 10292.29736328125, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:53,603", "created": 1608973913.6030674, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 603.0673980712891, "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": 260919, "processName": "MainProcess", "relativeCreated": 10292.863130569458, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:53,754", "created": 1608973913.7540894, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 754.08935546875, "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": 260919, "processName": "MainProcess", "relativeCreated": 10443.885087966919, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-30" }, { "args": [ " SP server:", "0", "10", "45054", "{'test': 'test'}" ], "asctime": "2020-12-26 10:11:53,754", "created": 1608973913.7545245, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 319, "message": " SP server: RX <- status: 0, service_id: 10, data_id: 45054, data: \"{'test': 'test'}\"", "module": "__init__", "msecs": 754.5244693756104, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 10444.32020187378, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-30" }, { "args": [ " SP server:", "Unknown Client" ], "asctime": "2020-12-26 10:11:53,754", "created": 1608973913.754742, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 335, "message": " SP server: Received message needs authentification: Unknown Client. Sending negative response.", "module": "__init__", "msecs": 754.741907119751, "msg": "%s Received message needs authentification: %s. Sending negative response.", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 10444.53763961792, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-30" }, { "args": [ " SP server:", 2, 11, 45054, "None" ], "asctime": "2020-12-26 10:11:53,754", "created": 1608973913.7549033, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 2, service_id: 11, data_id: 45054, data: \"None\"", "module": "__init__", "msecs": 754.9033164978027, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 10444.699048995972, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-30" }, { "args": [], "asctime": "2020-12-26 10:11:53,755", "created": 1608973913.7552593, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 755.2592754364014, "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": 260919, "processName": "MainProcess", "relativeCreated": 10445.05500793457, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-30" }, { "args": [], "asctime": "2020-12-26 10:11:53,906", "created": 1608973913.906239, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 906.2390327453613, "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": 260919, "processName": "MainProcess", "relativeCreated": 10596.03476524353, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-31" }, { "args": [ " SP server:", "2", "11", "45054", "None" ], "asctime": "2020-12-26 10:11:53,906", "created": 1608973913.9066412, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 319, "message": " SP server: RX <- status: 2, service_id: 11, data_id: 45054, data: \"None\"", "module": "__init__", "msecs": 906.6412448883057, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 10596.436977386475, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-31" }, { "args": [ " SP server:", "Authentification required" ], "asctime": "2020-12-26 10:11:53,906", "created": 1608973913.9069057, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 352, "message": " SP server: Received message has a peculiar status: Authentification required", "module": "__init__", "msecs": 906.9056510925293, "msg": "%s Received message has a peculiar status: %s", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 10596.701383590698, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-31" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:53,907", "created": 1608973913.9071188, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__buffer_received_data__", "levelname": "DEBUG", "levelno": 10, "lineno": 370, "message": " SP server: Message data is stored in buffer and is now ready to be retrieved by receive method", "module": "__init__", "msecs": 907.1187973022461, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 10596.914529800415, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-31" } ], "msecs": 105.2093505859375, "msg": "Authentification with different secrets for request and response instance (pure_json_protocol).", "name": "__tLogger__", "pathname": "src/tests/test_handling_errors.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 10795.005083084106, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.1980905532836914 }, { "args": [ "False", "" ], "asctime": "2020-12-26 10:11:54,106", "created": 1608973914.1060321, "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-26 10:11:54,105", "created": 1608973914.1056948, "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": 105.69477081298828, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 10795.490503311157, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Return value of authentification", "False", "" ], "asctime": "2020-12-26 10:11:54,105", "created": 1608973914.1058762, "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": 105.87620735168457, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 10795.671939849854, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 106.03213310241699, "msg": "Return value of authentification is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 10795.827865600586, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.00015592575073242188 }, { "args": [ "True", "" ], "asctime": "2020-12-26 10:11:54,106", "created": 1608973914.1065564, "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-26 10:11:54,106", "created": 1608973914.106276, "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": 106.27603530883789, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 10796.071767807007, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-12-26 10:11:54,106", "created": 1608973914.10642, "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": 106.42004013061523, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 10796.215772628784, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 106.55641555786133, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 10796.35214805603, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.00013637542724609375 }, { "args": [ "2", "" ], "asctime": "2020-12-26 10:11:54,107", "created": 1608973914.1070602, "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-26 10:11:54,106", "created": 1608973914.106774, "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": 106.77409172058105, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 10796.56982421875, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Response Status (Authentification required) transfered via pure_json_protocol", "2", "" ], "asctime": "2020-12-26 10:11:54,106", "created": 1608973914.1069229, "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": 106.92286491394043, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 10796.71859741211, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 107.06019401550293, "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": 260919, "processName": "MainProcess", "relativeCreated": 10796.855926513672, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.0001373291015625 }, { "args": [ "None", "" ], "asctime": "2020-12-26 10:11:54,107", "created": 1608973914.1075408, "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-26 10:11:54,107", "created": 1608973914.1072693, "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": 107.269287109375, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 10797.065019607544, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Response Data (no data) transfered via pure_json_protocol", "None", "" ], "asctime": "2020-12-26 10:11:54,107", "created": 1608973914.1074064, "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": 107.4063777923584, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 10797.202110290527, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 107.54084587097168, "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": 260919, "processName": "MainProcess", "relativeCreated": 10797.33657836914, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.00013446807861328125 }, { "args": [ "None", "" ], "asctime": "2020-12-26 10:11:54,208", "created": 1608973914.208797, "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": [ " SP server:", "0.1", "11", "45054" ], "asctime": "2020-12-26 10:11:54,208", "created": 1608973914.208116, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 387, "message": " SP server: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 208.1160545349121, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 10897.911787033081, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:54,208", "created": 1608973914.20842, "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": 208.4200382232666, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 10898.215770721436, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:54,208", "created": 1608973914.208587, "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": 208.5869312286377, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 10898.382663726807, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 208.79697799682617, "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": 260919, "processName": "MainProcess", "relativeCreated": 10898.592710494995, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.00021004676818847656 }, { "args": [ "None", "" ], "asctime": "2020-12-26 10:11:54,310", "created": 1608973914.310045, "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": [ " SP server:", "0.1", "10", "45054" ], "asctime": "2020-12-26 10:11:54,309", "created": 1608973914.3094268, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 387, "message": " SP server: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 309.42678451538086, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 10999.22251701355, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:54,309", "created": 1608973914.3097236, "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": 309.7236156463623, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 10999.519348144531, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:54,309", "created": 1608973914.3098912, "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": 309.8912239074707, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 10999.68695640564, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 310.0450038909912, "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": 260919, "processName": "MainProcess", "relativeCreated": 10999.84073638916, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.0001537799835205078 } ], "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 1.4121019840240479, "time_finished": "2020-12-26 10:11:54,310", "time_start": "2020-12-26 10:11:52,897" }, "socket_protocol.pure_json_protocol: Checksum corumpation while sending.": { "args": null, "asctime": "2020-12-26 10:11:50,269", "created": 1608973910.269505, "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": 269.5050239562988, "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": 260919, "processName": "MainProcess", "relativeCreated": 6959.300756454468, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2020-12-26 10:11:50,572", "created": 1608973910.572697, "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": [ " SP server:" ], "asctime": "2020-12-26 10:11:50,269", "created": 1608973910.2698925, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 269.89245414733887, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 6959.688186645508, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:50,270", "created": 1608973910.2702549, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP server: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 270.25485038757324, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 6960.050582885742, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:50,270", "created": 1608973910.270527, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 270.5268859863281, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 6960.322618484497, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:50,270", "created": 1608973910.2708461, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP server: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 270.8461284637451, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 6960.641860961914, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:", 0, 10, 45054, "{'test': 'test'}" ], "asctime": "2020-12-26 10:11:50,271", "created": 1608973910.2710736, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 0, service_id: 10, data_id: 45054, data: \"{'test': 'test'}\"", "module": "__init__", "msecs": 271.073579788208, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 6960.869312286377, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:50,271", "created": 1608973910.271502, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 271.5020179748535, "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": 260919, "processName": "MainProcess", "relativeCreated": 6961.2977504730225, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:50,422", "created": 1608973910.422503, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 422.5029945373535, "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": 260919, "processName": "MainProcess", "relativeCreated": 7112.2987270355225, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-23" }, { "args": [ " SP 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-26 10:11:50,422", "created": 1608973910.4229977, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 316, "message": " SP 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": 422.99771308898926, "msg": "%s Received message has a wrong checksum and will be ignored: %s.", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 7112.793445587158, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-23" } ], "msecs": 572.6969242095947, "msg": "Send data with wrong checksum by pure_json_protocol.", "name": "__tLogger__", "pathname": "src/tests/test_communication_errors.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 7262.492656707764, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.14969921112060547 }, { "args": [ "True", "" ], "asctime": "2020-12-26 10:11:50,573", "created": 1608973910.5735312, "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-26 10:11:50,573", "created": 1608973910.5731618, "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": 573.1618404388428, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 7262.957572937012, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-12-26 10:11:50,573", "created": 1608973910.5733697, "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": 573.3697414398193, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 7263.165473937988, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 573.5311508178711, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 7263.32688331604, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.0001614093780517578 }, { "args": [ "False", "" ], "asctime": "2020-12-26 10:11:50,574", "created": 1608973910.5740902, "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-26 10:11:50,573", "created": 1608973910.573765, "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": 573.7650394439697, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 7263.560771942139, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Callback executed variable", "False", "" ], "asctime": "2020-12-26 10:11:50,573", "created": 1608973910.5739117, "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": 573.9116668701172, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 7263.707399368286, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 574.0902423858643, "msg": "Callback executed variable is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 7263.885974884033, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.0001785755157470703 }, { "args": [ "None", "" ], "asctime": "2020-12-26 10:11:50,675", "created": 1608973910.6753385, "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": [ " SP server:", "0.1", "11", "45054" ], "asctime": "2020-12-26 10:11:50,674", "created": 1608973910.6746745, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 387, "message": " SP server: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 674.6745109558105, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 7364.4702434539795, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:50,675", "created": 1608973910.6750023, "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": 675.0023365020752, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 7364.798069000244, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:50,675", "created": 1608973910.6751719, "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": 675.1718521118164, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 7364.967584609985, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 675.3385066986084, "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": 260919, "processName": "MainProcess", "relativeCreated": 7365.134239196777, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.0001666545867919922 }, { "args": [ "None", "" ], "asctime": "2020-12-26 10:11:50,776", "created": 1608973910.776583, "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": [ " SP server:", "0.1", "10", "45054" ], "asctime": "2020-12-26 10:11:50,775", "created": 1608973910.77596, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 387, "message": " SP server: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 775.9599685668945, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 7465.7557010650635, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:50,776", "created": 1608973910.776261, "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": 776.2610912322998, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 7466.056823730469, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:50,776", "created": 1608973910.776429, "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": 776.4289379119873, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 7466.224670410156, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 776.5829563140869, "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": 260919, "processName": "MainProcess", "relativeCreated": 7466.378688812256, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.00015401840209960938 } ], "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.5070779323577881, "time_finished": "2020-12-26 10:11:50,776", "time_start": "2020-12-26 10:11:50,269" }, "socket_protocol.pure_json_protocol: Incompatible Callback return value(s).": { "args": null, "asctime": "2020-12-26 10:11:54,313", "created": 1608973914.3130188, "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": 313.018798828125, "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": 260919, "processName": "MainProcess", "relativeCreated": 11002.814531326294, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2020-12-26 10:11:54,318", "created": 1608973914.3183715, "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": [ " SP server:" ], "asctime": "2020-12-26 10:11:54,313", "created": 1608973914.3133879, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 313.3878707885742, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11003.183603286743, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:54,313", "created": 1608973914.313741, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP server: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 313.74096870422363, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11003.536701202393, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:54,314", "created": 1608973914.3140025, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 314.00251388549805, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11003.798246383667, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:54,314", "created": 1608973914.3143115, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP server: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 314.3115043640137, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11004.107236862183, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:", 0, 10, 45054, "None" ], "asctime": "2020-12-26 10:11:54,314", "created": 1608973914.3145401, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 0, service_id: 10, data_id: 45054, data: \"None\"", "module": "__init__", "msecs": 314.54014778137207, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11004.335880279541, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:54,314", "created": 1608973914.3149111, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 314.9111270904541, "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": 260919, "processName": "MainProcess", "relativeCreated": 11004.706859588623, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:54,315", "created": 1608973914.3151848, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 315.1848316192627, "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": 260919, "processName": "MainProcess", "relativeCreated": 11004.980564117432, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:", "0", "10", "45054", "None" ], "asctime": "2020-12-26 10:11:54,315", "created": 1608973914.315434, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 319, "message": " SP server: RX <- status: 0, service_id: 10, data_id: 45054, data: \"None\"", "module": "__init__", "msecs": 315.4339790344238, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11005.229711532593, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:", "response_data_method_fail" ], "asctime": "2020-12-26 10:11:54,315", "created": 1608973914.3156219, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 342, "message": " SP server: Executing callback response_data_method_fail to process received data", "module": "__init__", "msecs": 315.62185287475586, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11005.417585372925, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:", 0, 10, 48879, "None" ], "asctime": "2020-12-26 10:11:54,315", "created": 1608973914.3158276, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 0, service_id: 10, data_id: 48879, data: \"None\"", "module": "__init__", "msecs": 315.8276081085205, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11005.62334060669, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:54,316", "created": 1608973914.316162, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 316.162109375, "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": 260919, "processName": "MainProcess", "relativeCreated": 11005.957841873169, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:54,316", "created": 1608973914.3164139, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 316.41387939453125, "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": 260919, "processName": "MainProcess", "relativeCreated": 11006.2096118927, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:", "0", "10", "48879", "None" ], "asctime": "2020-12-26 10:11:54,316", "created": 1608973914.3166392, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 319, "message": " SP server: RX <- status: 0, service_id: 10, data_id: 48879, data: \"None\"", "module": "__init__", "msecs": 316.6391849517822, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11006.434917449951, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:54,316", "created": 1608973914.3168895, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 337, "message": " SP server: Received message with no registered callback. Sending negative response.", "module": "__init__", "msecs": 316.88952445983887, "msg": "%s Received message with no registered callback. Sending negative response.", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11006.685256958008, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:", 1, 11, 48879, "None" ], "asctime": "2020-12-26 10:11:54,317", "created": 1608973914.3170547, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 1, service_id: 11, data_id: 48879, data: \"None\"", "module": "__init__", "msecs": 317.05474853515625, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11006.850481033325, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:54,317", "created": 1608973914.317382, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 317.3820972442627, "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": 260919, "processName": "MainProcess", "relativeCreated": 11007.177829742432, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:54,317", "created": 1608973914.3176339, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 317.63386726379395, "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": 260919, "processName": "MainProcess", "relativeCreated": 11007.429599761963, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:", "1", "11", "48879", "None" ], "asctime": "2020-12-26 10:11:54,317", "created": 1608973914.317859, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 319, "message": " SP server: RX <- status: 1, service_id: 11, data_id: 48879, data: \"None\"", "module": "__init__", "msecs": 317.8589344024658, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11007.654666900635, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:", "Request has no callback. Data buffered." ], "asctime": "2020-12-26 10:11:54,318", "created": 1608973914.3180447, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 352, "message": " SP server: Received message has a peculiar status: Request has no callback. Data buffered.", "module": "__init__", "msecs": 318.04466247558594, "msg": "%s Received message has a peculiar status: %s", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11007.840394973755, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:", "response_data_method_fail" ], "asctime": "2020-12-26 10:11:54,318", "created": 1608973914.31818, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 359, "message": " SP server: Executing callback response_data_method_fail to process received data", "module": "__init__", "msecs": 318.1800842285156, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11007.975816726685, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 318.3715343475342, "msg": "Send and received data with incompatible callback (pure_json_protocol).", "name": "__tLogger__", "pathname": "src/tests/test_handling_errors.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11008.167266845703, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.0001914501190185547 }, { "args": [ "True", "" ], "asctime": "2020-12-26 10:11:54,318", "created": 1608973914.3189192, "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-26 10:11:54,318", "created": 1608973914.3186378, "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": 318.6378479003906, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11008.43358039856, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Exception (TypeError) detection variable", "True", "" ], "asctime": "2020-12-26 10:11:54,318", "created": 1608973914.3187819, "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": 318.78185272216797, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11008.577585220337, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 318.91918182373047, "msg": "Exception (TypeError) detection variable is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11008.7149143219, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.0001373291015625 }, { "args": [ "None", "" ], "asctime": "2020-12-26 10:11:54,420", "created": 1608973914.42013, "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": [ " SP server:", "0.1", "11", "45054" ], "asctime": "2020-12-26 10:11:54,419", "created": 1608973914.4194705, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 387, "message": " SP server: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 419.47054862976074, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11109.26628112793, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:54,419", "created": 1608973914.4197922, "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": 419.79217529296875, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11109.587907791138, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:54,419", "created": 1608973914.4199705, "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": 419.9705123901367, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11109.766244888306, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 420.13001441955566, "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": 260919, "processName": "MainProcess", "relativeCreated": 11109.925746917725, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.0001595020294189453 }, { "args": [ "None", "" ], "asctime": "2020-12-26 10:11:54,521", "created": 1608973914.5214465, "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": [ " SP server:", "0.1", "10", "45054" ], "asctime": "2020-12-26 10:11:54,520", "created": 1608973914.520776, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 387, "message": " SP server: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 520.7760334014893, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11210.571765899658, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:54,521", "created": 1608973914.5210986, "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": 521.0986137390137, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11210.894346237183, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:54,521", "created": 1608973914.521278, "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": 521.277904510498, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11211.073637008667, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 521.4464664459229, "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": 260919, "processName": "MainProcess", "relativeCreated": 11211.242198944092, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.0001685619354248047 }, { "args": [ "True", "" ], "asctime": "2020-12-26 10:11:54,521", "created": 1608973914.5219986, "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-26 10:11:54,521", "created": 1608973914.5217147, "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": 521.7146873474121, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11211.510419845581, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Exception (TypeError) detection variable", "True", "" ], "asctime": "2020-12-26 10:11:54,521", "created": 1608973914.5218604, "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": 521.8603610992432, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11211.656093597412, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 521.9986438751221, "msg": "Exception (TypeError) detection variable is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11211.794376373291, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.00013828277587890625 }, { "args": [ "None", "" ], "asctime": "2020-12-26 10:11:54,623", "created": 1608973914.6232026, "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": [ " SP server:", "0.1", "11", "48879" ], "asctime": "2020-12-26 10:11:54,622", "created": 1608973914.6225808, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 387, "message": " SP server: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 48879) not in buffer.", "module": "__init__", "msecs": 622.5807666778564, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11312.376499176025, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-12-26 10:11:54,622", "created": 1608973914.62288, "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": 622.8799819946289, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11312.675714492798, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-12-26 10:11:54,623", "created": 1608973914.6230488, "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": 623.0487823486328, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11312.844514846802, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 623.2025623321533, "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": 260919, "processName": "MainProcess", "relativeCreated": 11312.998294830322, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.0001537799835205078 }, { "args": [ "None", "" ], "asctime": "2020-12-26 10:11:54,724", "created": 1608973914.7244606, "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": [ " SP server:", "0.1", "10", "48879" ], "asctime": "2020-12-26 10:11:54,723", "created": 1608973914.7238128, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 387, "message": " SP server: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 48879) not in buffer.", "module": "__init__", "msecs": 723.8128185272217, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11413.60855102539, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-12-26 10:11:54,724", "created": 1608973914.724113, "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": 724.1129875183105, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11413.90872001648, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-12-26 10:11:54,724", "created": 1608973914.724282, "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": 724.2820262908936, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11414.077758789062, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 724.4606018066406, "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": 260919, "processName": "MainProcess", "relativeCreated": 11414.25633430481, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.0001785755157470703 } ], "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.4114418029785156, "time_finished": "2020-12-26 10:11:54,724", "time_start": "2020-12-26 10:11:54,313" }, "socket_protocol.pure_json_protocol: No Callback at response instance for the request.": { "args": null, "asctime": "2020-12-26 10:11:52,188", "created": 1608973912.1884153, "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": 188.4152889251709, "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": 260919, "processName": "MainProcess", "relativeCreated": 8878.21102142334, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2020-12-26 10:11:52,693", "created": 1608973912.693067, "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": [ " SP server:" ], "asctime": "2020-12-26 10:11:52,188", "created": 1608973912.1888402, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 188.84015083312988, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 8878.635883331299, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:52,189", "created": 1608973912.1892025, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP server: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 189.20254707336426, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 8878.998279571533, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:52,189", "created": 1608973912.1894863, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 189.48626518249512, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 8879.281997680664, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:52,189", "created": 1608973912.1898263, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP server: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 189.82625007629395, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 8879.621982574463, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:", 0, 10, 45054, "{'test': 'test'}" ], "asctime": "2020-12-26 10:11:52,190", "created": 1608973912.1900046, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 0, service_id: 10, data_id: 45054, data: \"{'test': 'test'}\"", "module": "__init__", "msecs": 190.0045871734619, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 8879.80031967163, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:52,190", "created": 1608973912.190405, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 190.40489196777344, "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": 260919, "processName": "MainProcess", "relativeCreated": 8880.200624465942, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:52,341", "created": 1608973912.3413181, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 341.31813049316406, "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": 260919, "processName": "MainProcess", "relativeCreated": 9031.113862991333, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-24" }, { "args": [ " SP server:", "0", "10", "45054", "{'test': 'test'}" ], "asctime": "2020-12-26 10:11:52,341", "created": 1608973912.3417592, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 319, "message": " SP server: RX <- status: 0, service_id: 10, data_id: 45054, data: \"{'test': 'test'}\"", "module": "__init__", "msecs": 341.75920486450195, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 9031.55493736267, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-24" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:52,341", "created": 1608973912.3419945, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 337, "message": " SP server: Received message with no registered callback. Sending negative response.", "module": "__init__", "msecs": 341.9945240020752, "msg": "%s Received message with no registered callback. Sending negative response.", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 9031.790256500244, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-24" }, { "args": [ " SP server:", 1, 11, 45054, "None" ], "asctime": "2020-12-26 10:11:52,342", "created": 1608973912.3421834, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 1, service_id: 11, data_id: 45054, data: \"None\"", "module": "__init__", "msecs": 342.18335151672363, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 9031.979084014893, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-24" }, { "args": [], "asctime": "2020-12-26 10:11:52,342", "created": 1608973912.342543, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 342.5428867340088, "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": 260919, "processName": "MainProcess", "relativeCreated": 9032.338619232178, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-24" }, { "args": [], "asctime": "2020-12-26 10:11:52,493", "created": 1608973912.4934816, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 493.4816360473633, "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": 260919, "processName": "MainProcess", "relativeCreated": 9183.277368545532, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-25" }, { "args": [ " SP server:", "1", "11", "45054", "None" ], "asctime": "2020-12-26 10:11:52,493", "created": 1608973912.4939115, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 319, "message": " SP server: RX <- status: 1, service_id: 11, data_id: 45054, data: \"None\"", "module": "__init__", "msecs": 493.9115047454834, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 9183.707237243652, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-25" }, { "args": [ " SP server:", "Request has no callback. Data buffered." ], "asctime": "2020-12-26 10:11:52,494", "created": 1608973912.4941516, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 352, "message": " SP server: Received message has a peculiar status: Request has no callback. Data buffered.", "module": "__init__", "msecs": 494.1515922546387, "msg": "%s Received message has a peculiar status: %s", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 9183.947324752808, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-25" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:52,494", "created": 1608973912.4943423, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__buffer_received_data__", "levelname": "DEBUG", "levelno": 10, "lineno": 370, "message": " SP server: Message data is stored in buffer and is now ready to be retrieved by receive method", "module": "__init__", "msecs": 494.3423271179199, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 9184.138059616089, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-25" } ], "msecs": 693.0670738220215, "msg": "Send data, but no callback registered (pure_json_protocol).", "name": "__tLogger__", "pathname": "src/tests/test_handling_errors.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 9382.86280632019, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.19872474670410156 }, { "args": [ "True", "" ], "asctime": "2020-12-26 10:11:52,693", "created": 1608973912.693833, "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-26 10:11:52,693", "created": 1608973912.6934988, "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": 693.4988498687744, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 9383.294582366943, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-12-26 10:11:52,693", "created": 1608973912.6936777, "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": 693.6776638031006, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 9383.47339630127, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 693.8331127166748, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 9383.628845214844, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.00015544891357421875 }, { "args": [ "1", "" ], "asctime": "2020-12-26 10:11:52,694", "created": 1608973912.694367, "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-26 10:11:52,694", "created": 1608973912.694075, "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": 694.0751075744629, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 9383.870840072632, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Response Status (Request has no callback. Data buffered.) transfered via pure_json_protocol", "1", "" ], "asctime": "2020-12-26 10:11:52,694", "created": 1608973912.6942246, "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": 694.2245960235596, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 9384.020328521729, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 694.3669319152832, "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": 260919, "processName": "MainProcess", "relativeCreated": 9384.162664413452, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.0001423358917236328 }, { "args": [ "None", "" ], "asctime": "2020-12-26 10:11:52,694", "created": 1608973912.694879, "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-26 10:11:52,694", "created": 1608973912.694586, "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": 694.5860385894775, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 9384.381771087646, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Response Data (no data) transfered via pure_json_protocol", "None", "" ], "asctime": "2020-12-26 10:11:52,694", "created": 1608973912.6947281, "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": 694.7281360626221, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 9384.523868560791, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 694.8790550231934, "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": 260919, "processName": "MainProcess", "relativeCreated": 9384.674787521362, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.00015091896057128906 }, { "args": [ "None", "" ], "asctime": "2020-12-26 10:11:52,796", "created": 1608973912.79606, "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": [ " SP server:", "0.1", "11", "45054" ], "asctime": "2020-12-26 10:11:52,795", "created": 1608973912.7954357, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 387, "message": " SP server: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 795.4356670379639, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 9485.231399536133, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:52,795", "created": 1608973912.795736, "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": 795.7360744476318, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 9485.5318069458, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:52,795", "created": 1608973912.7959049, "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": 795.9048748016357, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 9485.700607299805, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 796.0600852966309, "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": 260919, "processName": "MainProcess", "relativeCreated": 9485.8558177948, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.0001552104949951172 }, { "args": [ "None", "" ], "asctime": "2020-12-26 10:11:52,897", "created": 1608973912.8974283, "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": [ " SP server:", "0.1", "10", "45054" ], "asctime": "2020-12-26 10:11:52,896", "created": 1608973912.8966737, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 387, "message": " SP server: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 896.6736793518066, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 9586.469411849976, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:52,896", "created": 1608973912.8969991, "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": 896.9991207122803, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 9586.79485321045, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:52,897", "created": 1608973912.897206, "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": 897.2060680389404, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 9587.00180053711, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 897.4282741546631, "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": 260919, "processName": "MainProcess", "relativeCreated": 9587.224006652832, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.00022220611572265625 } ], "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.7090129852294922, "time_finished": "2020-12-26 10:11:52,897", "time_start": "2020-12-26 10:11:52,188" }, "socket_protocol.pure_json_protocol: Register a second Callback with the same service_id.": { "args": null, "asctime": "2020-12-26 10:11:48,346", "created": 1608973908.3463144, "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": 346.3144302368164, "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": 260919, "processName": "MainProcess", "relativeCreated": 5036.110162734985, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2020-12-26 10:11:48,850", "created": 1608973908.8505213, "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": [ " SP server:" ], "asctime": "2020-12-26 10:11:48,346", "created": 1608973908.3467178, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 346.71783447265625, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 5036.513566970825, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:48,347", "created": 1608973908.3470855, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP server: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 347.08547592163086, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 5036.8812084198, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:48,347", "created": 1608973908.347361, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 347.36108779907227, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 5037.156820297241, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:48,347", "created": 1608973908.3476808, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP server: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 347.68080711364746, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 5037.476539611816, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:", 0, 10, 45054, "{'test': 'test'}" ], "asctime": "2020-12-26 10:11:48,347", "created": 1608973908.3479316, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 0, service_id: 10, data_id: 45054, data: \"{'test': 'test'}\"", "module": "__init__", "msecs": 347.9316234588623, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 5037.727355957031, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:48,348", "created": 1608973908.3483512, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 348.35124015808105, "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": 260919, "processName": "MainProcess", "relativeCreated": 5038.14697265625, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:48,499", "created": 1608973908.4994187, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 499.4187355041504, "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": 260919, "processName": "MainProcess", "relativeCreated": 5189.214468002319, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-17" }, { "args": [ " SP server:", "0", "10", "45054", "{'test': 'test'}" ], "asctime": "2020-12-26 10:11:48,499", "created": 1608973908.4998384, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 319, "message": " SP server: RX <- status: 0, service_id: 10, data_id: 45054, data: \"{'test': 'test'}\"", "module": "__init__", "msecs": 499.83835220336914, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 5189.634084701538, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-17" }, { "args": [ " SP server:", "response_data_method_2" ], "asctime": "2020-12-26 10:11:48,500", "created": 1608973908.5000474, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 342, "message": " SP server: Executing callback response_data_method_2 to process received data", "module": "__init__", "msecs": 500.0474452972412, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 5189.84317779541, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-17" }, { "args": [ " SP server:", 5, 11, 45054, "[1, 3, 's']" ], "asctime": "2020-12-26 10:11:48,500", "created": 1608973908.5002272, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, 's']\"", "module": "__init__", "msecs": 500.2272129058838, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 5190.022945404053, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-17" }, { "args": [], "asctime": "2020-12-26 10:11:48,500", "created": 1608973908.5006506, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 500.65064430236816, "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": 260919, "processName": "MainProcess", "relativeCreated": 5190.446376800537, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-17" }, { "args": [], "asctime": "2020-12-26 10:11:48,651", "created": 1608973908.6518054, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 651.8054008483887, "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": 260919, "processName": "MainProcess", "relativeCreated": 5341.601133346558, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-18" }, { "args": [ " SP server:", "5", "11", "45054", "[1, 3, 's']" ], "asctime": "2020-12-26 10:11:48,652", "created": 1608973908.6522408, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 319, "message": " SP server: RX <- status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, 's']\"", "module": "__init__", "msecs": 652.2407531738281, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 5342.036485671997, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-18" }, { "args": [ " SP server:", "Operation not permitted" ], "asctime": "2020-12-26 10:11:48,652", "created": 1608973908.6524794, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 352, "message": " SP server: Received message has a peculiar status: Operation not permitted", "module": "__init__", "msecs": 652.4794101715088, "msg": "%s Received message has a peculiar status: %s", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 5342.275142669678, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-18" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:48,652", "created": 1608973908.6526668, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__buffer_received_data__", "levelname": "DEBUG", "levelno": 10, "lineno": 370, "message": " SP server: Message data is stored in buffer and is now ready to be retrieved by receive method", "module": "__init__", "msecs": 652.6668071746826, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 5342.462539672852, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-18" } ], "msecs": 850.5213260650635, "msg": "Send and received data by pure_json_protocol.", "name": "__tLogger__", "pathname": "src/tests/test_normal_operation.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 5540.317058563232, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.19785451889038086 }, { "args": [ "True", "" ], "asctime": "2020-12-26 10:11:48,851", "created": 1608973908.8512812, "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-26 10:11:48,850", "created": 1608973908.8509474, "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": 850.947380065918, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 5540.743112564087, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-12-26 10:11:48,851", "created": 1608973908.8511257, "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": 851.1257171630859, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 5540.921449661255, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 851.2811660766602, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 5541.076898574829, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.00015544891357421875 }, { "args": [ "0", "" ], "asctime": "2020-12-26 10:11:48,851", "created": 1608973908.8518255, "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-26 10:11:48,851", "created": 1608973908.8515422, "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": 851.5422344207764, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 5541.337966918945, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Request Status (Okay) transfered via pure_json_protocol", "0", "" ], "asctime": "2020-12-26 10:11:48,851", "created": 1608973908.851689, "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": 851.6891002655029, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 5541.484832763672, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 851.825475692749, "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": 260919, "processName": "MainProcess", "relativeCreated": 5541.621208190918, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.00013637542724609375 }, { "args": [ "{'test': 'test'}", "" ], "asctime": "2020-12-26 10:11:48,852", "created": 1608973908.8523912, "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-26 10:11:48,852", "created": 1608973908.8520594, "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": 852.0593643188477, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 5541.855096817017, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Request Data transfered via pure_json_protocol", "{ 'test': 'test' }", "" ], "asctime": "2020-12-26 10:11:48,852", "created": 1608973908.8522096, "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": 852.2095680236816, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 5542.005300521851, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 852.391242980957, "msg": "Request Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 5542.186975479126, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.00018167495727539062 }, { "args": [ "5", "" ], "asctime": "2020-12-26 10:11:48,852", "created": 1608973908.8529484, "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-26 10:11:48,852", "created": 1608973908.8526168, "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": 852.6167869567871, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 5542.412519454956, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Response Status (Operation not permitted) transfered via pure_json_protocol", "5", "" ], "asctime": "2020-12-26 10:11:48,852", "created": 1608973908.8528085, "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": 852.8084754943848, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 5542.604207992554, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 852.9484272003174, "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": 260919, "processName": "MainProcess", "relativeCreated": 5542.744159698486, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.0001399517059326172 }, { "args": [ "[1, 3, 's']", "" ], "asctime": "2020-12-26 10:11:48,853", "created": 1608973908.8535173, "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-26 10:11:48,853", "created": 1608973908.853179, "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": 853.1789779663086, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 5542.9747104644775, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Response Data transfered via pure_json_protocol", "[ 1, 3, 's' ]", "" ], "asctime": "2020-12-26 10:11:48,853", "created": 1608973908.8533294, "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": 853.3294200897217, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 5543.125152587891, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 853.5172939300537, "msg": "Response Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 5543.313026428223, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.00018787384033203125 }, { "args": [ "None", "" ], "asctime": "2020-12-26 10:11:48,954", "created": 1608973908.954737, "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": [ " SP server:", "0.1", "11", "45054" ], "asctime": "2020-12-26 10:11:48,954", "created": 1608973908.954081, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 387, "message": " SP server: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 954.0810585021973, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 5643.876791000366, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:48,954", "created": 1608973908.954408, "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": 954.4079303741455, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 5644.203662872314, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:48,954", "created": 1608973908.9545803, "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": 954.5803070068359, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 5644.376039505005, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 954.7369480133057, "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": 260919, "processName": "MainProcess", "relativeCreated": 5644.532680511475, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.00015664100646972656 }, { "args": [ "None", "" ], "asctime": "2020-12-26 10:11:49,055", "created": 1608973909.0559819, "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": [ " SP server:", "0.1", "10", "45054" ], "asctime": "2020-12-26 10:11:49,055", "created": 1608973909.0553627, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 387, "message": " SP server: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 55.362701416015625, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 5745.158433914185, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:49,055", "created": 1608973909.055663, "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": 55.663108825683594, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 5745.4588413238525, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:49,055", "created": 1608973909.0558295, "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": 55.829524993896484, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 5745.625257492065, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 55.98187446594238, "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": 260919, "processName": "MainProcess", "relativeCreated": 5745.777606964111, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.00015234947204589844 } ], "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.709667444229126, "time_finished": "2020-12-26 10:11:49,055", "time_start": "2020-12-26 10:11:48,346" }, "socket_protocol.pure_json_protocol: Send and receive check including authentification.": { "args": null, "asctime": "2020-12-26 10:11:44,798", "created": 1608973904.7981963, "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": 798.1963157653809, "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": 260919, "processName": "MainProcess", "relativeCreated": 1487.9920482635498, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2020-12-26 10:11:46,005", "created": 1608973906.0055242, "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": [ " SP server:" ], "asctime": "2020-12-26 10:11:44,798", "created": 1608973904.7985897, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 798.5897064208984, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 1488.3854389190674, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:44,798", "created": 1608973904.798962, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP server: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 798.9621162414551, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 1488.757848739624, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:44,799", "created": 1608973904.7992368, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 799.2367744445801, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 1489.032506942749, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:44,799", "created": 1608973904.799554, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP server: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 799.5541095733643, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 1489.3498420715332, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:44,799", "created": 1608973904.7997627, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "authentificate", "levelname": "INFO", "levelno": 20, "lineno": 456, "message": " SP server: Requesting seed for authentification", "module": "__init__", "msecs": 799.7627258300781, "msg": "%s Requesting seed for authentification", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 1489.558458328247, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:", 0, 1, 0, "None" ], "asctime": "2020-12-26 10:11:44,799", "created": 1608973904.799925, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 0, service_id: 1, data_id: 0, data: \"None\"", "module": "__init__", "msecs": 799.9250888824463, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 1489.7208213806152, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:44,800", "created": 1608973904.800294, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 800.2939224243164, "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": 260919, "processName": "MainProcess", "relativeCreated": 1490.0896549224854, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:44,951", "created": 1608973904.951343, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 951.3430595397949, "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": 260919, "processName": "MainProcess", "relativeCreated": 1641.1387920379639, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-5" }, { "args": [ " SP server:", "0", "1", "0", "None" ], "asctime": "2020-12-26 10:11:44,951", "created": 1608973904.9517784, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 319, "message": " SP server: RX <- status: 0, service_id: 1, data_id: 0, data: \"None\"", "module": "__init__", "msecs": 951.7784118652344, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 1641.5741443634033, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-5" }, { "args": [ " SP server:", "__authentificate_create_seed__" ], "asctime": "2020-12-26 10:11:44,952", "created": 1608973904.952005, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 342, "message": " SP server: Executing callback __authentificate_create_seed__ to process received data", "module": "__init__", "msecs": 952.0049095153809, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 1641.8006420135498, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-5" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:44,952", "created": 1608973904.9521606, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentificate_create_seed__", "levelname": "INFO", "levelno": 20, "lineno": 482, "message": " SP server: Got seed request, sending seed for authentification", "module": "__init__", "msecs": 952.1605968475342, "msg": "%s Got seed request, sending seed for authentification", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 1641.9563293457031, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-5" }, { "args": [ " SP server:", 0, 2, 0, "'20c0a07412777f13f1ae039c95f678598ff4ac31cd106b762df43c9c183171d9'" ], "asctime": "2020-12-26 10:11:44,952", "created": 1608973904.9523602, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 0, service_id: 2, data_id: 0, data: \"'20c0a07412777f13f1ae039c95f678598ff4ac31cd106b762df43c9c183171d9'\"", "module": "__init__", "msecs": 952.3601531982422, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 1642.1558856964111, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-5" }, { "args": [], "asctime": "2020-12-26 10:11:44,952", "created": 1608973904.952876, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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 32 30 63 30 61 30 37 34 31 32 37 37 37 66 31 33 66 31 61 65 30 33 39 63 39 35 66 36 37 38 35 39 38 66 66 34 61 63 33 31 63 64 31 30 36 62 37 36 32 64 66 34 33 63 39 63 31 38 33 31 37 31 64 39 22 7d d5 b1 e4 80", "module": "test_helpers", "msecs": 952.876091003418, "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 32 30 63 30 61 30 37 34 31 32 37 37 37 66 31 33 66 31 61 65 30 33 39 63 39 35 66 36 37 38 35 39 38 66 66 34 61 63 33 31 63 64 31 30 36 62 37 36 32 64 66 34 33 63 39 63 31 38 33 31 37 31 64 39 22 7d d5 b1 e4 80", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 1642.671823501587, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-5" }, { "args": [], "asctime": "2020-12-26 10:11:45,103", "created": 1608973905.1039398, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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 32 30 63 30 61 30 37 34 31 32 37 37 37 66 31 33 66 31 61 65 30 33 39 63 39 35 66 36 37 38 35 39 38 66 66 34 61 63 33 31 63 64 31 30 36 62 37 36 32 64 66 34 33 63 39 63 31 38 33 31 37 31 64 39 22 7d d5 b1 e4 80", "module": "test_helpers", "msecs": 103.93977165222168, "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 32 30 63 30 61 30 37 34 31 32 37 37 37 66 31 33 66 31 61 65 30 33 39 63 39 35 66 36 37 38 35 39 38 66 66 34 61 63 33 31 63 64 31 30 36 62 37 36 32 64 66 34 33 63 39 63 31 38 33 31 37 31 64 39 22 7d d5 b1 e4 80", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 1793.7355041503906, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-6" }, { "args": [ " SP server:", "0", "2", "0", "'20c0a07412777f13f1ae039c95f678598ff4ac31cd106b762df43c9c183171d9'" ], "asctime": "2020-12-26 10:11:45,104", "created": 1608973905.104375, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 319, "message": " SP server: RX <- status: 0, service_id: 2, data_id: 0, data: \"'20c0a07412777f13f1ae039c95f678598ff4ac31cd106b762df43c9c183171d9'\"", "module": "__init__", "msecs": 104.37488555908203, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 1794.170618057251, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-6" }, { "args": [ " SP server:", "__authentificate_create_key__" ], "asctime": "2020-12-26 10:11:45,104", "created": 1608973905.1046128, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 342, "message": " SP server: Executing callback __authentificate_create_key__ to process received data", "module": "__init__", "msecs": 104.61282730102539, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 1794.4085597991943, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-6" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:45,104", "created": 1608973905.1048074, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentificate_create_key__", "levelname": "INFO", "levelno": 20, "lineno": 491, "message": " SP server: Got seed, sending key for authentification", "module": "__init__", "msecs": 104.80737686157227, "msg": "%s Got seed, sending key for authentification", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 1794.6031093597412, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-6" }, { "args": [ " SP server:", 0, 3, 0, "'1561c9c70281318df82bf7e6deb57bd5be9eab1af3ce8e4d326381bfc092ba701a5af7ed0ae3c7a80176b6c4863366b1178435ae7c95160278fe39e2ef4b9c46'" ], "asctime": "2020-12-26 10:11:45,105", "created": 1608973905.1050365, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 0, service_id: 3, data_id: 0, data: \"'1561c9c70281318df82bf7e6deb57bd5be9eab1af3ce8e4d326381bfc092ba701a5af7ed0ae3c7a80176b6c4863366b1178435ae7c95160278fe39e2ef4b9c46'\"", "module": "__init__", "msecs": 105.03649711608887, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 1794.8322296142578, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-6" }, { "args": [], "asctime": "2020-12-26 10:11:45,105", "created": 1608973905.105615, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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 35 36 31 63 39 63 37 30 32 38 31 33 31 38 64 66 38 32 62 66 37 65 36 64 65 62 35 37 62 64 35 62 65 39 65 61 62 31 61 66 33 63 65 38 65 34 64 33 32 36 33 38 31 62 66 63 30 39 32 62 61 37 30 31 61 35 61 66 37 65 64 30 61 65 33 63 37 61 38 30 31 37 36 62 36 63 34 38 36 33 33 36 36 62 31 31 37 38 34 33 35 61 65 37 63 39 35 31 36 30 32 37 38 66 65 33 39 65 32 65 66 34 62 39 63 34 36 22 7d 35 c5 3a 5e", "module": "test_helpers", "msecs": 105.61490058898926, "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 35 36 31 63 39 63 37 30 32 38 31 33 31 38 64 66 38 32 62 66 37 65 36 64 65 62 35 37 62 64 35 62 65 39 65 61 62 31 61 66 33 63 65 38 65 34 64 33 32 36 33 38 31 62 66 63 30 39 32 62 61 37 30 31 61 35 61 66 37 65 64 30 61 65 33 63 37 61 38 30 31 37 36 62 36 63 34 38 36 33 33 36 36 62 31 31 37 38 34 33 35 61 65 37 63 39 35 31 36 30 32 37 38 66 65 33 39 65 32 65 66 34 62 39 63 34 36 22 7d 35 c5 3a 5e", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 1795.4106330871582, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-6" }, { "args": [], "asctime": "2020-12-26 10:11:45,256", "created": 1608973905.2568314, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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 35 36 31 63 39 63 37 30 32 38 31 33 31 38 64 66 38 32 62 66 37 65 36 64 65 62 35 37 62 64 35 62 65 39 65 61 62 31 61 66 33 63 65 38 65 34 64 33 32 36 33 38 31 62 66 63 30 39 32 62 61 37 30 31 61 35 61 66 37 65 64 30 61 65 33 63 37 61 38 30 31 37 36 62 36 63 34 38 36 33 33 36 36 62 31 31 37 38 34 33 35 61 65 37 63 39 35 31 36 30 32 37 38 66 65 33 39 65 32 65 66 34 62 39 63 34 36 22 7d 35 c5 3a 5e", "module": "test_helpers", "msecs": 256.83140754699707, "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 35 36 31 63 39 63 37 30 32 38 31 33 31 38 64 66 38 32 62 66 37 65 36 64 65 62 35 37 62 64 35 62 65 39 65 61 62 31 61 66 33 63 65 38 65 34 64 33 32 36 33 38 31 62 66 63 30 39 32 62 61 37 30 31 61 35 61 66 37 65 64 30 61 65 33 63 37 61 38 30 31 37 36 62 36 63 34 38 36 33 33 36 36 62 31 31 37 38 34 33 35 61 65 37 63 39 35 31 36 30 32 37 38 66 65 33 39 65 32 65 66 34 62 39 63 34 36 22 7d 35 c5 3a 5e", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 1946.627140045166, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-7" }, { "args": [ " SP server:", "0", "3", "0", "'1561c9c70281318df82bf7e6deb57bd5be9eab1af3ce8e4d326381bfc092ba701a5af7ed0ae3c7a80176b6c4863366b1178435ae7c95160278fe39e2ef4b9c46'" ], "asctime": "2020-12-26 10:11:45,257", "created": 1608973905.2572436, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 319, "message": " SP server: RX <- status: 0, service_id: 3, data_id: 0, data: \"'1561c9c70281318df82bf7e6deb57bd5be9eab1af3ce8e4d326381bfc092ba701a5af7ed0ae3c7a80176b6c4863366b1178435ae7c95160278fe39e2ef4b9c46'\"", "module": "__init__", "msecs": 257.2436332702637, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 1947.0393657684326, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-7" }, { "args": [ " SP server:", "__authentificate_check_key__" ], "asctime": "2020-12-26 10:11:45,257", "created": 1608973905.2574754, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 342, "message": " SP server: Executing callback __authentificate_check_key__ to process received data", "module": "__init__", "msecs": 257.4753761291504, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 1947.2711086273193, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-7" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:45,257", "created": 1608973905.257991, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentificate_check_key__", "levelname": "INFO", "levelno": 20, "lineno": 501, "message": " SP server: Got correct key, sending positive authentification feedback", "module": "__init__", "msecs": 257.99107551574707, "msg": "%s Got correct key, sending positive authentification feedback", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 1947.786808013916, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-7" }, { "args": [ " SP server:", 0, 4, 0, "True" ], "asctime": "2020-12-26 10:11:45,258", "created": 1608973905.2581904, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 0, service_id: 4, data_id: 0, data: \"True\"", "module": "__init__", "msecs": 258.190393447876, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 1947.986125946045, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-7" }, { "args": [], "asctime": "2020-12-26 10:11:45,258", "created": 1608973905.2585523, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 258.55231285095215, "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": 260919, "processName": "MainProcess", "relativeCreated": 1948.348045349121, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-7" }, { "args": [], "asctime": "2020-12-26 10:11:45,409", "created": 1608973905.4094331, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 409.43312644958496, "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": 260919, "processName": "MainProcess", "relativeCreated": 2099.228858947754, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-8" }, { "args": [ " SP server:", "0", "4", "0", "True" ], "asctime": "2020-12-26 10:11:45,409", "created": 1608973905.4098709, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 319, "message": " SP server: RX <- status: 0, service_id: 4, data_id: 0, data: \"True\"", "module": "__init__", "msecs": 409.87086296081543, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 2099.6665954589844, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-8" }, { "args": [ " SP server:", "__authentificate_process_feedback__" ], "asctime": "2020-12-26 10:11:45,410", "created": 1608973905.410086, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 359, "message": " SP server: Executing callback __authentificate_process_feedback__ to process received data", "module": "__init__", "msecs": 410.08591651916504, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 2099.881649017334, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-8" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:45,410", "created": 1608973905.4102838, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentificate_process_feedback__", "levelname": "INFO", "levelno": 20, "lineno": 512, "message": " SP server: Got positive authentification feedback", "module": "__init__", "msecs": 410.28380393981934, "msg": "%s Got positive authentification feedback", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 2100.0795364379883, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-8" }, { "args": [ " SP server:", 0, 10, 45054, "{'test': 'test'}" ], "asctime": "2020-12-26 10:11:45,502", "created": 1608973905.5028813, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 0, service_id: 10, data_id: 45054, data: \"{'test': 'test'}\"", "module": "__init__", "msecs": 502.8812885284424, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 2192.6770210266113, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:45,503", "created": 1608973905.5034564, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 503.45635414123535, "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": 260919, "processName": "MainProcess", "relativeCreated": 2193.2520866394043, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:45,654", "created": 1608973905.6544788, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 654.4787883758545, "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": 260919, "processName": "MainProcess", "relativeCreated": 2344.2745208740234, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-9" }, { "args": [ " SP server:", "0", "10", "45054", "{'test': 'test'}" ], "asctime": "2020-12-26 10:11:45,654", "created": 1608973905.6548939, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 319, "message": " SP server: RX <- status: 0, service_id: 10, data_id: 45054, data: \"{'test': 'test'}\"", "module": "__init__", "msecs": 654.8938751220703, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 2344.6896076202393, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-9" }, { "args": [ " SP server:", "response_data_method" ], "asctime": "2020-12-26 10:11:45,655", "created": 1608973905.6551368, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 342, "message": " SP server: Executing callback response_data_method to process received data", "module": "__init__", "msecs": 655.1368236541748, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 2344.9325561523438, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-9" }, { "args": [ " SP server:", 5, 11, 45054, "[1, 3, 's']" ], "asctime": "2020-12-26 10:11:45,655", "created": 1608973905.6553154, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, 's']\"", "module": "__init__", "msecs": 655.3153991699219, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 2345.111131668091, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-9" }, { "args": [], "asctime": "2020-12-26 10:11:45,655", "created": 1608973905.6557012, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 655.7011604309082, "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": 260919, "processName": "MainProcess", "relativeCreated": 2345.496892929077, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-9" }, { "args": [], "asctime": "2020-12-26 10:11:45,806", "created": 1608973905.8066835, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 806.6835403442383, "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": 260919, "processName": "MainProcess", "relativeCreated": 2496.479272842407, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-10" }, { "args": [ " SP server:", "5", "11", "45054", "[1, 3, 's']" ], "asctime": "2020-12-26 10:11:45,807", "created": 1608973905.8071256, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 319, "message": " SP server: RX <- status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, 's']\"", "module": "__init__", "msecs": 807.1255683898926, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 2496.9213008880615, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-10" }, { "args": [ " SP server:", "Operation not permitted" ], "asctime": "2020-12-26 10:11:45,807", "created": 1608973905.8073664, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 352, "message": " SP server: Received message has a peculiar status: Operation not permitted", "module": "__init__", "msecs": 807.3663711547852, "msg": "%s Received message has a peculiar status: %s", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 2497.162103652954, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-10" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:45,807", "created": 1608973905.8075545, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__buffer_received_data__", "levelname": "DEBUG", "levelno": 10, "lineno": 370, "message": " SP server: Message data is stored in buffer and is now ready to be retrieved by receive method", "module": "__init__", "msecs": 807.5544834136963, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 2497.3502159118652, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-10" } ], "msecs": 5.524158477783203, "msg": "Send and received data by pure_json_protocol.", "name": "__tLogger__", "pathname": "src/tests/test_normal_operation.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 2695.319890975952, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.19796967506408691 }, { "args": [ "True", "" ], "asctime": "2020-12-26 10:11:46,006", "created": 1608973906.0063574, "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-26 10:11:46,005", "created": 1608973906.005994, "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": 5.994081497192383, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 2695.7898139953613, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Return value of authentification", "True", "" ], "asctime": "2020-12-26 10:11:46,006", "created": 1608973906.0061975, "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": 6.197452545166016, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 2695.993185043335, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 6.357431411743164, "msg": "Return value of authentification is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 2696.153163909912, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.00015997886657714844 }, { "args": [ "True", "" ], "asctime": "2020-12-26 10:11:46,006", "created": 1608973906.0068693, "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-26 10:11:46,006", "created": 1608973906.006587, "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": 6.587028503417969, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 2696.382761001587, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-12-26 10:11:46,006", "created": 1608973906.006732, "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": 6.731986999511719, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 2696.5277194976807, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 6.869316101074219, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 2696.665048599243, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.0001373291015625 }, { "args": [ "0", "" ], "asctime": "2020-12-26 10:11:46,007", "created": 1608973906.0073588, "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-26 10:11:46,007", "created": 1608973906.0070848, "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": 7.084846496582031, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 2696.880578994751, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Request Status (Okay) transfered via pure_json_protocol", "0", "" ], "asctime": "2020-12-26 10:11:46,007", "created": 1608973906.0072236, "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": 7.223606109619141, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 2697.019338607788, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 7.358789443969727, "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": 260919, "processName": "MainProcess", "relativeCreated": 2697.1545219421387, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.00013518333435058594 }, { "args": [ "{'test': 'test'}", "" ], "asctime": "2020-12-26 10:11:46,007", "created": 1608973906.0079117, "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-26 10:11:46,007", "created": 1608973906.0075855, "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": 7.5855255126953125, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 2697.3812580108643, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Request Data transfered via pure_json_protocol", "{ 'test': 'test' }", "" ], "asctime": "2020-12-26 10:11:46,007", "created": 1608973906.0077338, "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": 7.733821868896484, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 2697.5295543670654, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 7.91168212890625, "msg": "Request Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 2697.707414627075, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.00017786026000976562 }, { "args": [ "5", "" ], "asctime": "2020-12-26 10:11:46,008", "created": 1608973906.0084374, "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-26 10:11:46,008", "created": 1608973906.0081487, "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": 8.148670196533203, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 2697.944402694702, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Response Status (Operation not permitted) transfered via pure_json_protocol", "5", "" ], "asctime": "2020-12-26 10:11:46,008", "created": 1608973906.0082998, "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": 8.299827575683594, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 2698.0955600738525, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 8.437395095825195, "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": 260919, "processName": "MainProcess", "relativeCreated": 2698.233127593994, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.00013756752014160156 }, { "args": [ "[1, 3, 's']", "" ], "asctime": "2020-12-26 10:11:46,009", "created": 1608973906.0090501, "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-26 10:11:46,008", "created": 1608973906.0086665, "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": 8.666515350341797, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 2698.4622478485107, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Response Data transfered via pure_json_protocol", "[ 1, 3, 's' ]", "" ], "asctime": "2020-12-26 10:11:46,008", "created": 1608973906.0088587, "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": 8.858680725097656, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 2698.6544132232666, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 9.050130844116211, "msg": "Response Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 2698.845863342285, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.0001914501190185547 }, { "args": [ "None", "" ], "asctime": "2020-12-26 10:11:46,110", "created": 1608973906.110308, "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": [ " SP server:", "0.1", "11", "45054" ], "asctime": "2020-12-26 10:11:46,109", "created": 1608973906.1096473, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 387, "message": " SP server: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 109.64727401733398, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 2799.443006515503, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:46,109", "created": 1608973906.1099706, "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": 109.9705696105957, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 2799.7663021087646, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:46,110", "created": 1608973906.1101522, "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": 110.1522445678711, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 2799.94797706604, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 110.30793190002441, "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": 260919, "processName": "MainProcess", "relativeCreated": 2800.1036643981934, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.0001556873321533203 }, { "args": [ "None", "" ], "asctime": "2020-12-26 10:11:46,211", "created": 1608973906.2115884, "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": [ " SP server:", "0.1", "10", "45054" ], "asctime": "2020-12-26 10:11:46,210", "created": 1608973906.2109323, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 387, "message": " SP server: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 210.93225479125977, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 2900.7279872894287, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:46,211", "created": 1608973906.2112288, "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": 211.2288475036621, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 2901.024580001831, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:46,211", "created": 1608973906.211396, "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": 211.3959789276123, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 2901.1917114257812, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 211.58838272094727, "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": 260919, "processName": "MainProcess", "relativeCreated": 2901.384115219116, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.00019240379333496094 } ], "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 1.4133920669555664, "time_finished": "2020-12-26 10:11:46,211", "time_start": "2020-12-26 10:11:44,798" }, "socket_protocol.pure_json_protocol: Send and receive check.": { "args": null, "asctime": "2020-12-26 10:11:44,087", "created": 1608973904.0878015, "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": 87.80145645141602, "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": 260919, "processName": "MainProcess", "relativeCreated": 777.597188949585, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2020-12-26 10:11:44,592", "created": 1608973904.5920641, "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": [ " SP server:" ], "asctime": "2020-12-26 10:11:44,088", "created": 1608973904.0881982, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 88.19818496704102, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 777.99391746521, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:44,088", "created": 1608973904.088576, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP server: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 88.57607841491699, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 778.3718109130859, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:44,088", "created": 1608973904.0888987, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 88.8986587524414, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 778.6943912506104, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:44,089", "created": 1608973904.0892262, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP server: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 89.22624588012695, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 779.0219783782959, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:", 0, 10, 45054, "{'test': 'test'}" ], "asctime": "2020-12-26 10:11:44,089", "created": 1608973904.0894809, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 0, service_id: 10, data_id: 45054, data: \"{'test': 'test'}\"", "module": "__init__", "msecs": 89.48087692260742, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 779.2766094207764, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:44,089", "created": 1608973904.0899503, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 89.9503231048584, "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": 260919, "processName": "MainProcess", "relativeCreated": 779.7460556030273, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:44,240", "created": 1608973904.2409513, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 240.9512996673584, "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": 260919, "processName": "MainProcess", "relativeCreated": 930.7470321655273, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-3" }, { "args": [ " SP server:", "0", "10", "45054", "{'test': 'test'}" ], "asctime": "2020-12-26 10:11:44,241", "created": 1608973904.2413967, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 319, "message": " SP server: RX <- status: 0, service_id: 10, data_id: 45054, data: \"{'test': 'test'}\"", "module": "__init__", "msecs": 241.39666557312012, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 931.1923980712891, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-3" }, { "args": [ " SP server:", "response_data_method" ], "asctime": "2020-12-26 10:11:44,241", "created": 1608973904.2416146, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 342, "message": " SP server: Executing callback response_data_method to process received data", "module": "__init__", "msecs": 241.61458015441895, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 931.4103126525879, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-3" }, { "args": [ " SP server:", 5, 11, 45054, "[1, 3, 's']" ], "asctime": "2020-12-26 10:11:44,241", "created": 1608973904.2417934, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, 's']\"", "module": "__init__", "msecs": 241.79339408874512, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 931.5891265869141, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-3" }, { "args": [], "asctime": "2020-12-26 10:11:44,242", "created": 1608973904.242179, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 242.17891693115234, "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": 260919, "processName": "MainProcess", "relativeCreated": 931.9746494293213, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-3" }, { "args": [], "asctime": "2020-12-26 10:11:44,393", "created": 1608973904.393137, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 393.13697814941406, "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": 260919, "processName": "MainProcess", "relativeCreated": 1082.932710647583, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-4" }, { "args": [ " SP server:", "5", "11", "45054", "[1, 3, 's']" ], "asctime": "2020-12-26 10:11:44,393", "created": 1608973904.3935678, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 319, "message": " SP server: RX <- status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, 's']\"", "module": "__init__", "msecs": 393.5678005218506, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 1083.3635330200195, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-4" }, { "args": [ " SP server:", "Operation not permitted" ], "asctime": "2020-12-26 10:11:44,393", "created": 1608973904.3938062, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 352, "message": " SP server: Received message has a peculiar status: Operation not permitted", "module": "__init__", "msecs": 393.80621910095215, "msg": "%s Received message has a peculiar status: %s", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 1083.601951599121, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-4" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:44,394", "created": 1608973904.3940127, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__buffer_received_data__", "levelname": "DEBUG", "levelno": 10, "lineno": 370, "message": " SP server: Message data is stored in buffer and is now ready to be retrieved by receive method", "module": "__init__", "msecs": 394.0126895904541, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 1083.808422088623, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-4" } ], "msecs": 592.0641422271729, "msg": "Send and received data by pure_json_protocol.", "name": "__tLogger__", "pathname": "src/tests/test_normal_operation.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 1281.8598747253418, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.19805145263671875 }, { "args": [ "True", "" ], "asctime": "2020-12-26 10:11:44,592", "created": 1608973904.5928795, "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-26 10:11:44,592", "created": 1608973904.5924969, "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": 592.4968719482422, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 1282.2926044464111, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-12-26 10:11:44,592", "created": 1608973904.5926776, "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": 592.6775932312012, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 1282.4733257293701, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 592.8795337677002, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 1282.6752662658691, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.00020194053649902344 }, { "args": [ "0", "" ], "asctime": "2020-12-26 10:11:44,593", "created": 1608973904.5934298, "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-26 10:11:44,593", "created": 1608973904.5931454, "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": 593.1453704833984, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 1282.9411029815674, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Request Status (Okay) transfered via pure_json_protocol", "0", "" ], "asctime": "2020-12-26 10:11:44,593", "created": 1608973904.593293, "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": 593.2929515838623, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 1283.0886840820312, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 593.4298038482666, "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": 260919, "processName": "MainProcess", "relativeCreated": 1283.2255363464355, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.00013685226440429688 }, { "args": [ "{'test': 'test'}", "" ], "asctime": "2020-12-26 10:11:44,593", "created": 1608973904.5939884, "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-26 10:11:44,593", "created": 1608973904.5936637, "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": 593.6636924743652, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 1283.4594249725342, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Request Data transfered via pure_json_protocol", "{ 'test': 'test' }", "" ], "asctime": "2020-12-26 10:11:44,593", "created": 1608973904.5938141, "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": 593.8141345977783, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 1283.6098670959473, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 593.9884185791016, "msg": "Request Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 1283.7841510772705, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.0001742839813232422 }, { "args": [ "5", "" ], "asctime": "2020-12-26 10:11:44,594", "created": 1608973904.594509, "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-26 10:11:44,594", "created": 1608973904.5942106, "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": 594.2106246948242, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 1284.0063571929932, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Response Status (Operation not permitted) transfered via pure_json_protocol", "5", "" ], "asctime": "2020-12-26 10:11:44,594", "created": 1608973904.5943608, "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": 594.3608283996582, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 1284.1565608978271, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 594.5088863372803, "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": 260919, "processName": "MainProcess", "relativeCreated": 1284.3046188354492, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.0001480579376220703 }, { "args": [ "[1, 3, 's']", "" ], "asctime": "2020-12-26 10:11:44,595", "created": 1608973904.5951004, "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-26 10:11:44,594", "created": 1608973904.5947483, "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": 594.7482585906982, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 1284.5439910888672, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Response Data transfered via pure_json_protocol", "[ 1, 3, 's' ]", "" ], "asctime": "2020-12-26 10:11:44,594", "created": 1608973904.5949106, "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": 594.9106216430664, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 1284.7063541412354, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 595.1004028320312, "msg": "Response Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 1284.8961353302002, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.00018978118896484375 }, { "args": [ "None", "" ], "asctime": "2020-12-26 10:11:44,696", "created": 1608973904.6963015, "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": [ " SP server:", "0.1", "11", "45054" ], "asctime": "2020-12-26 10:11:44,695", "created": 1608973904.6956017, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 387, "message": " SP server: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 695.6017017364502, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 1385.3974342346191, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:44,695", "created": 1608973904.695918, "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": 695.918083190918, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 1385.713815689087, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:44,696", "created": 1608973904.696116, "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": 696.1159706115723, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 1385.9117031097412, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 696.3014602661133, "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": 260919, "processName": "MainProcess", "relativeCreated": 1386.0971927642822, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.00018548965454101562 }, { "args": [ "None", "" ], "asctime": "2020-12-26 10:11:44,797", "created": 1608973904.7976484, "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": [ " SP server:", "0.1", "10", "45054" ], "asctime": "2020-12-26 10:11:44,796", "created": 1608973904.7969959, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 387, "message": " SP server: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 796.9958782196045, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 1486.7916107177734, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:44,797", "created": 1608973904.7973142, "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": 797.3141670227051, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 1487.109899520874, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:44,797", "created": 1608973904.7974854, "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": 797.4853515625, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 1487.281084060669, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 797.6484298706055, "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": 260919, "processName": "MainProcess", "relativeCreated": 1487.4441623687744, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.00016307830810546875 } ], "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.7098469734191895, "time_finished": "2020-12-26 10:11:44,797", "time_start": "2020-12-26 10:11:44,087" }, "socket_protocol.pure_json_protocol: Timeout measurement for authentification and send method.": { "args": null, "asctime": "2020-12-26 10:11:50,777", "created": 1608973910.7771187, "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": 777.1186828613281, "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": 260919, "processName": "MainProcess", "relativeCreated": 7466.914415359497, "stack_info": null, "testcaseLogger": [ { "args": [ "0.20149755477905273", "0.2", "0.22000000000000003", "" ], "asctime": "2020-12-26 10:11:50,981", "created": 1608973910.9810126, "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.20149755477905273 in [0.2 ... 0.22000000000000003] and Type is ).", "module": "test", "moduleLogger": [ { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:50,777", "created": 1608973910.777525, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 777.5249481201172, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 7467.320680618286, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:50,777", "created": 1608973910.7779686, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP server: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 777.9686450958252, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 7467.764377593994, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:50,778", "created": 1608973910.778309, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 778.3091068267822, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 7468.104839324951, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:50,778", "created": 1608973910.7787023, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP server: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 778.7022590637207, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 7468.49799156189, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:50,778", "created": 1608973910.7789307, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "authentificate", "levelname": "INFO", "levelno": 20, "lineno": 456, "message": " SP server: Requesting seed for authentification", "module": "__init__", "msecs": 778.9306640625, "msg": "%s Requesting seed for authentification", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 7468.726396560669, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:", 0, 1, 0, "None" ], "asctime": "2020-12-26 10:11:50,779", "created": 1608973910.7791314, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 0, service_id: 1, data_id: 0, data: \"None\"", "module": "__init__", "msecs": 779.1314125061035, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 7468.9271450042725, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:50,779", "created": 1608973910.7796562, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 779.656171798706, "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": 260919, "processName": "MainProcess", "relativeCreated": 7469.451904296875, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Timeout for authentification", "0.20149755477905273", "" ], "asctime": "2020-12-26 10:11:50,980", "created": 1608973910.9804895, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Timeout for authentification): 0.20149755477905273 ()", "module": "test", "msecs": 980.4894924163818, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 7670.285224914551, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Timeout for authentification", "0.2", "0.22000000000000003" ], "asctime": "2020-12-26 10:11:50,980", "created": 1608973910.9807968, "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": 980.7968139648438, "msg": "Expectation (%s): %s <= result <= %s", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 7670.592546463013, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 981.0125827789307, "msg": "Timeout for authentification is correct (Content %s in [%s ... %s] and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 7670.8083152771, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.00021576881408691406 }, { "args": [ "0.5021364688873291", "0.5", "0.55", "" ], "asctime": "2020-12-26 10:11:51,483", "created": 1608973911.4839575, "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.5021364688873291 in [0.5 ... 0.55] and Type is ).", "module": "test", "moduleLogger": [ { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:50,981", "created": 1608973910.9813147, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "authentificate", "levelname": "INFO", "levelno": 20, "lineno": 456, "message": " SP server: Requesting seed for authentification", "module": "__init__", "msecs": 981.3146591186523, "msg": "%s Requesting seed for authentification", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 7671.110391616821, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:", 0, 1, 0, "None" ], "asctime": "2020-12-26 10:11:50,981", "created": 1608973910.9814918, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 0, service_id: 1, data_id: 0, data: \"None\"", "module": "__init__", "msecs": 981.4918041229248, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 7671.287536621094, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:50,981", "created": 1608973910.9818816, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 981.8816184997559, "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": 260919, "processName": "MainProcess", "relativeCreated": 7671.677350997925, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Timeout for authentification", "0.5021364688873291", "" ], "asctime": "2020-12-26 10:11:51,483", "created": 1608973911.4835036, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Timeout for authentification): 0.5021364688873291 ()", "module": "test", "msecs": 483.5035800933838, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 8173.299312591553, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Timeout for authentification", "0.5", "0.55" ], "asctime": "2020-12-26 10:11:51,483", "created": 1608973911.4837768, "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": 483.7768077850342, "msg": "Expectation (%s): %s <= result <= %s", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 8173.572540283203, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 483.95752906799316, "msg": "Timeout for authentification is correct (Content %s in [%s ... %s] and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 8173.753261566162, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.00018072128295898438 }, { "args": [ "0.20085549354553223", "0.2", "0.22000000000000003", "" ], "asctime": "2020-12-26 10:11:51,685", "created": 1608973911.6854582, "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.20085549354553223 in [0.2 ... 0.22000000000000003] and Type is ).", "module": "test", "moduleLogger": [ { "args": [ " SP server:", "0.2", "30", "0" ], "asctime": "2020-12-26 10:11:51,684", "created": 1608973911.6848147, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 387, "message": " SP server: TIMEOUT (0.2s): Requested data (service_id: 30; data_id: 0) not in buffer.", "module": "__init__", "msecs": 684.8146915435791, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 8374.610424041748, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Timeout for send method", "0.20085549354553223", "" ], "asctime": "2020-12-26 10:11:51,685", "created": 1608973911.6851187, "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.20085549354553223 ()", "module": "test", "msecs": 685.1186752319336, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 8374.914407730103, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Timeout for send method", "0.2", "0.22000000000000003" ], "asctime": "2020-12-26 10:11:51,685", "created": 1608973911.6852944, "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": 685.2943897247314, "msg": "Expectation (%s): %s <= result <= %s", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 8375.0901222229, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 685.4581832885742, "msg": "Timeout for send method is correct (Content %s in [%s ... %s] and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 8375.253915786743, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.00016379356384277344 }, { "args": [ "0.5018312931060791", "0.5", "0.55", "" ], "asctime": "2020-12-26 10:11:52,187", "created": 1608973912.1879427, "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.5018312931060791 in [0.5 ... 0.55] and Type is ).", "module": "test", "moduleLogger": [ { "args": [ " SP server:", "0.5", "30", "0" ], "asctime": "2020-12-26 10:11:52,187", "created": 1608973912.1872766, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 387, "message": " SP server: TIMEOUT (0.5s): Requested data (service_id: 30; data_id: 0) not in buffer.", "module": "__init__", "msecs": 187.27660179138184, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 8877.07233428955, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Timeout for send method", "0.5018312931060791", "" ], "asctime": "2020-12-26 10:11:52,187", "created": 1608973912.1876035, "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.5018312931060791 ()", "module": "test", "msecs": 187.60347366333008, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 8877.399206161499, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Timeout for send method", "0.5", "0.55" ], "asctime": "2020-12-26 10:11:52,187", "created": 1608973912.1877785, "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": 187.77847290039062, "msg": "Expectation (%s): %s <= result <= %s", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 8877.57420539856, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 187.9427433013916, "msg": "Timeout for send method is correct (Content %s in [%s ... %s] and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 8877.73847579956, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.00016427040100097656 } ], "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 1.4108240604400635, "time_finished": "2020-12-26 10:11:52,187", "time_start": "2020-12-26 10:11:50,777" }, "socket_protocol.pure_json_protocol: Wildcard Callback registration for data_id.": { "args": null, "asctime": "2020-12-26 10:11:47,632", "created": 1608973907.6327226, "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": 632.7226161956787, "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": 260919, "processName": "MainProcess", "relativeCreated": 4322.518348693848, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2020-12-26 10:11:48,137", "created": 1608973908.1371083, "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": [ " SP server:" ], "asctime": "2020-12-26 10:11:47,633", "created": 1608973907.6331632, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 633.1632137298584, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 4322.958946228027, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:47,633", "created": 1608973907.633538, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP server: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 633.538007736206, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 4323.333740234375, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:47,633", "created": 1608973907.633825, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 633.8250637054443, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 4323.620796203613, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:47,634", "created": 1608973907.6341429, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP server: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 634.1428756713867, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 4323.938608169556, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:", 0, 10, 48879, "{'test': 'test'}" ], "asctime": "2020-12-26 10:11:47,634", "created": 1608973907.6345046, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 0, service_id: 10, data_id: 48879, data: \"{'test': 'test'}\"", "module": "__init__", "msecs": 634.5045566558838, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 4324.300289154053, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:47,634", "created": 1608973907.6349497, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 634.9496841430664, "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": 260919, "processName": "MainProcess", "relativeCreated": 4324.745416641235, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:47,785", "created": 1608973907.785938, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 785.938024520874, "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": 260919, "processName": "MainProcess", "relativeCreated": 4475.733757019043, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-15" }, { "args": [ " SP server:", "0", "10", "48879", "{'test': 'test'}" ], "asctime": "2020-12-26 10:11:47,786", "created": 1608973907.786414, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 319, "message": " SP server: RX <- status: 0, service_id: 10, data_id: 48879, data: \"{'test': 'test'}\"", "module": "__init__", "msecs": 786.4139080047607, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 4476.20964050293, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-15" }, { "args": [ " SP server:", "response_data_method" ], "asctime": "2020-12-26 10:11:47,786", "created": 1608973907.7866237, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 342, "message": " SP server: Executing callback response_data_method to process received data", "module": "__init__", "msecs": 786.6237163543701, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 4476.419448852539, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-15" }, { "args": [ " SP server:", 5, 11, 48879, "[1, 3, 's']" ], "asctime": "2020-12-26 10:11:47,786", "created": 1608973907.7868047, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 5, service_id: 11, data_id: 48879, data: \"[1, 3, 's']\"", "module": "__init__", "msecs": 786.8046760559082, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 4476.600408554077, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-15" }, { "args": [], "asctime": "2020-12-26 10:11:47,787", "created": 1608973907.787198, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 787.1980667114258, "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": 260919, "processName": "MainProcess", "relativeCreated": 4476.993799209595, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-15" }, { "args": [], "asctime": "2020-12-26 10:11:47,938", "created": 1608973907.9382033, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 938.2033348083496, "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": 260919, "processName": "MainProcess", "relativeCreated": 4627.999067306519, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-16" }, { "args": [ " SP server:", "5", "11", "48879", "[1, 3, 's']" ], "asctime": "2020-12-26 10:11:47,938", "created": 1608973907.9386618, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 319, "message": " SP server: RX <- status: 5, service_id: 11, data_id: 48879, data: \"[1, 3, 's']\"", "module": "__init__", "msecs": 938.6618137359619, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 4628.457546234131, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-16" }, { "args": [ " SP server:", "Operation not permitted" ], "asctime": "2020-12-26 10:11:47,938", "created": 1608973907.9389062, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 352, "message": " SP server: Received message has a peculiar status: Operation not permitted", "module": "__init__", "msecs": 938.906192779541, "msg": "%s Received message has a peculiar status: %s", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 4628.70192527771, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-16" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:47,939", "created": 1608973907.9390972, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__buffer_received_data__", "levelname": "DEBUG", "levelno": 10, "lineno": 370, "message": " SP server: Message data is stored in buffer and is now ready to be retrieved by receive method", "module": "__init__", "msecs": 939.0971660614014, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 4628.89289855957, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-16" } ], "msecs": 137.10832595825195, "msg": "Send and received data by pure_json_protocol. Wildcard callback registerd for .", "name": "__tLogger__", "pathname": "src/tests/test_normal_operation.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 4826.904058456421, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.19801115989685059 }, { "args": [ "True", "" ], "asctime": "2020-12-26 10:11:48,137", "created": 1608973908.1378791, "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-26 10:11:48,137", "created": 1608973908.137541, "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": 137.5410556793213, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 4827.33678817749, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-12-26 10:11:48,137", "created": 1608973908.1377218, "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": 137.72177696228027, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 4827.517509460449, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 137.8791332244873, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 4827.674865722656, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.00015735626220703125 }, { "args": [ "0", "" ], "asctime": "2020-12-26 10:11:48,141", "created": 1608973908.141566, "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-26 10:11:48,141", "created": 1608973908.1411884, "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": 141.188383102417, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 4830.984115600586, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Request Status (Okay) transfered via pure_json_protocol", "0", "" ], "asctime": "2020-12-26 10:11:48,141", "created": 1608973908.1414018, "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": 141.4017677307129, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 4831.197500228882, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 141.56603813171387, "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": 260919, "processName": "MainProcess", "relativeCreated": 4831.361770629883, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.00016427040100097656 }, { "args": [ "{'test': 'test'}", "" ], "asctime": "2020-12-26 10:11:48,142", "created": 1608973908.1421728, "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-26 10:11:48,141", "created": 1608973908.141828, "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": 141.82806015014648, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 4831.623792648315, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Request Data transfered via pure_json_protocol", "{ 'test': 'test' }", "" ], "asctime": "2020-12-26 10:11:48,141", "created": 1608973908.141991, "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": 141.99090003967285, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 4831.786632537842, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 142.17281341552734, "msg": "Request Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 4831.968545913696, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.0001819133758544922 }, { "args": [ "5", "" ], "asctime": "2020-12-26 10:11:48,142", "created": 1608973908.142702, "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-26 10:11:48,142", "created": 1608973908.1424048, "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": 142.40479469299316, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 4832.200527191162, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Response Status (Operation not permitted) transfered via pure_json_protocol", "5", "" ], "asctime": "2020-12-26 10:11:48,142", "created": 1608973908.142547, "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": 142.5468921661377, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 4832.342624664307, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 142.7021026611328, "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": 260919, "processName": "MainProcess", "relativeCreated": 4832.497835159302, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.0001552104949951172 }, { "args": [ "[1, 3, 's']", "" ], "asctime": "2020-12-26 10:11:48,143", "created": 1608973908.1432815, "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-26 10:11:48,142", "created": 1608973908.1429374, "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": 142.93742179870605, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 4832.733154296875, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Response Data transfered via pure_json_protocol", "[ 1, 3, 's' ]", "" ], "asctime": "2020-12-26 10:11:48,143", "created": 1608973908.1430905, "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": 143.09048652648926, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 4832.886219024658, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 143.2814598083496, "msg": "Response Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 4833.077192306519, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.00019097328186035156 }, { "args": [ "None", "" ], "asctime": "2020-12-26 10:11:48,244", "created": 1608973908.244474, "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": [ " SP server:", "0.1", "11", "48879" ], "asctime": "2020-12-26 10:11:48,243", "created": 1608973908.2438545, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 387, "message": " SP server: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 48879) not in buffer.", "module": "__init__", "msecs": 243.85452270507812, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 4933.650255203247, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-12-26 10:11:48,244", "created": 1608973908.2441537, "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": 244.1537380218506, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 4933.9494705200195, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-12-26 10:11:48,244", "created": 1608973908.2443218, "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": 244.3218231201172, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 4934.117555618286, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 244.47393417358398, "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": 260919, "processName": "MainProcess", "relativeCreated": 4934.269666671753, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.00015211105346679688 }, { "args": [ "None", "" ], "asctime": "2020-12-26 10:11:48,345", "created": 1608973908.345738, "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": [ " SP server:", "0.1", "10", "48879" ], "asctime": "2020-12-26 10:11:48,345", "created": 1608973908.3450708, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 387, "message": " SP server: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 48879) not in buffer.", "module": "__init__", "msecs": 345.07083892822266, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 5034.866571426392, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-12-26 10:11:48,345", "created": 1608973908.3454018, "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": 345.4017639160156, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 5035.197496414185, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-12-26 10:11:48,345", "created": 1608973908.3455796, "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": 345.5796241760254, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 5035.375356674194, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 345.7379341125488, "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": 260919, "processName": "MainProcess", "relativeCreated": 5035.533666610718, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.0001583099365234375 } ], "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.7130153179168701, "time_finished": "2020-12-26 10:11:48,345", "time_start": "2020-12-26 10:11:47,632" }, "socket_protocol.pure_json_protocol: Wildcard Callback registration for service_id and data_id.": { "args": null, "asctime": "2020-12-26 10:11:46,212", "created": 1608973906.2121089, "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": 212.10885047912598, "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": 260919, "processName": "MainProcess", "relativeCreated": 2901.904582977295, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2020-12-26 10:11:46,716", "created": 1608973906.716242, "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": [ " SP server:" ], "asctime": "2020-12-26 10:11:46,212", "created": 1608973906.2125008, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 212.50081062316895, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 2902.296543121338, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:46,212", "created": 1608973906.2129035, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP server: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 212.90349960327148, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 2902.6992321014404, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:46,213", "created": 1608973906.2131796, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 213.1795883178711, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 2902.97532081604, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:46,213", "created": 1608973906.213496, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP server: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 213.49596977233887, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 2903.291702270508, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:", 0, 10, 48879, "{'test': 'test'}" ], "asctime": "2020-12-26 10:11:46,213", "created": 1608973906.2137005, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 0, service_id: 10, data_id: 48879, data: \"{'test': 'test'}\"", "module": "__init__", "msecs": 213.700532913208, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 2903.496265411377, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:46,214", "created": 1608973906.2141156, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 214.11561965942383, "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": 260919, "processName": "MainProcess", "relativeCreated": 2903.911352157593, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:46,365", "created": 1608973906.3651314, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 365.1313781738281, "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": 260919, "processName": "MainProcess", "relativeCreated": 3054.927110671997, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-11" }, { "args": [ " SP server:", "0", "10", "48879", "{'test': 'test'}" ], "asctime": "2020-12-26 10:11:46,365", "created": 1608973906.3655398, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 319, "message": " SP server: RX <- status: 0, service_id: 10, data_id: 48879, data: \"{'test': 'test'}\"", "module": "__init__", "msecs": 365.5397891998291, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 3055.335521697998, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-11" }, { "args": [ " SP server:", "response_data_method" ], "asctime": "2020-12-26 10:11:46,365", "created": 1608973906.36577, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 342, "message": " SP server: Executing callback response_data_method to process received data", "module": "__init__", "msecs": 365.7701015472412, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 3055.56583404541, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-11" }, { "args": [ " SP server:", 5, 11, 48879, "[1, 3, 's']" ], "asctime": "2020-12-26 10:11:46,365", "created": 1608973906.3659527, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 5, service_id: 11, data_id: 48879, data: \"[1, 3, 's']\"", "module": "__init__", "msecs": 365.952730178833, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 3055.748462677002, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-11" }, { "args": [], "asctime": "2020-12-26 10:11:46,366", "created": 1608973906.3663301, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 366.3301467895508, "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": 260919, "processName": "MainProcess", "relativeCreated": 3056.1258792877197, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-11" }, { "args": [], "asctime": "2020-12-26 10:11:46,517", "created": 1608973906.5173707, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 517.3707008361816, "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": 260919, "processName": "MainProcess", "relativeCreated": 3207.1664333343506, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-12" }, { "args": [ " SP server:", "5", "11", "48879", "[1, 3, 's']" ], "asctime": "2020-12-26 10:11:46,517", "created": 1608973906.5178301, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 319, "message": " SP server: RX <- status: 5, service_id: 11, data_id: 48879, data: \"[1, 3, 's']\"", "module": "__init__", "msecs": 517.8301334381104, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 3207.6258659362793, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-12" }, { "args": [ " SP server:", "Operation not permitted" ], "asctime": "2020-12-26 10:11:46,518", "created": 1608973906.518076, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 352, "message": " SP server: Received message has a peculiar status: Operation not permitted", "module": "__init__", "msecs": 518.0759429931641, "msg": "%s Received message has a peculiar status: %s", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 3207.871675491333, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-12" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:46,518", "created": 1608973906.5182667, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__buffer_received_data__", "levelname": "DEBUG", "levelno": 10, "lineno": 370, "message": " SP server: Message data is stored in buffer and is now ready to be retrieved by receive method", "module": "__init__", "msecs": 518.2666778564453, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 3208.0624103546143, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-12" } ], "msecs": 716.2420749664307, "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": 260919, "processName": "MainProcess", "relativeCreated": 3406.0378074645996, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.19797539710998535 }, { "args": [ "True", "" ], "asctime": "2020-12-26 10:11:46,717", "created": 1608973906.7170389, "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-26 10:11:46,716", "created": 1608973906.7166684, "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": 716.6683673858643, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 3406.464099884033, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-12-26 10:11:46,716", "created": 1608973906.7168834, "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": 716.8834209442139, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 3406.679153442383, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 717.0388698577881, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 3406.834602355957, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.00015544891357421875 }, { "args": [ "0", "" ], "asctime": "2020-12-26 10:11:46,717", "created": 1608973906.7176325, "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-26 10:11:46,717", "created": 1608973906.7173245, "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": 717.3244953155518, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 3407.1202278137207, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Request Status (Okay) transfered via pure_json_protocol", "0", "" ], "asctime": "2020-12-26 10:11:46,717", "created": 1608973906.7174704, "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": 717.4704074859619, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 3407.266139984131, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 717.632532119751, "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": 260919, "processName": "MainProcess", "relativeCreated": 3407.42826461792, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.0001621246337890625 }, { "args": [ "{'test': 'test'}", "" ], "asctime": "2020-12-26 10:11:46,718", "created": 1608973906.7183633, "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-26 10:11:46,718", "created": 1608973906.7180073, "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": 718.0073261260986, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 3407.8030586242676, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Request Data transfered via pure_json_protocol", "{ 'test': 'test' }", "" ], "asctime": "2020-12-26 10:11:46,718", "created": 1608973906.7181711, "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": 718.1711196899414, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 3407.9668521881104, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 718.3632850646973, "msg": "Request Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 3408.159017562866, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.00019216537475585938 }, { "args": [ "5", "" ], "asctime": "2020-12-26 10:11:46,718", "created": 1608973906.718889, "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-26 10:11:46,718", "created": 1608973906.7186124, "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": 718.6124324798584, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 3408.4081649780273, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Response Status (Operation not permitted) transfered via pure_json_protocol", "5", "" ], "asctime": "2020-12-26 10:11:46,718", "created": 1608973906.7187538, "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": 718.7538146972656, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 3408.5495471954346, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 718.8889980316162, "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": 260919, "processName": "MainProcess", "relativeCreated": 3408.684730529785, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.00013518333435058594 }, { "args": [ "[1, 3, 's']", "" ], "asctime": "2020-12-26 10:11:46,719", "created": 1608973906.7194674, "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-26 10:11:46,719", "created": 1608973906.7191234, "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": 719.123363494873, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 3408.919095993042, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Response Data transfered via pure_json_protocol", "[ 1, 3, 's' ]", "" ], "asctime": "2020-12-26 10:11:46,719", "created": 1608973906.7192764, "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": 719.2764282226562, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 3409.072160720825, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 719.4674015045166, "msg": "Response Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 3409.2631340026855, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.00019097328186035156 }, { "args": [ "None", "" ], "asctime": "2020-12-26 10:11:46,820", "created": 1608973906.8207235, "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": [ " SP server:", "0.1", "11", "48879" ], "asctime": "2020-12-26 10:11:46,820", "created": 1608973906.8200579, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 387, "message": " SP server: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 48879) not in buffer.", "module": "__init__", "msecs": 820.0578689575195, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 3509.8536014556885, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-12-26 10:11:46,820", "created": 1608973906.820387, "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": 820.3868865966797, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 3510.1826190948486, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-12-26 10:11:46,820", "created": 1608973906.8205662, "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": 820.5661773681641, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 3510.361909866333, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 820.7235336303711, "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": 260919, "processName": "MainProcess", "relativeCreated": 3510.51926612854, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.00015735626220703125 }, { "args": [ "None", "" ], "asctime": "2020-12-26 10:11:46,922", "created": 1608973906.9220223, "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": [ " SP server:", "0.1", "10", "48879" ], "asctime": "2020-12-26 10:11:46,921", "created": 1608973906.9214, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 387, "message": " SP server: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 48879) not in buffer.", "module": "__init__", "msecs": 921.4000701904297, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 3611.1958026885986, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-12-26 10:11:46,921", "created": 1608973906.9217012, "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": 921.701192855835, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 3611.496925354004, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-12-26 10:11:46,921", "created": 1608973906.9218688, "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": 921.8688011169434, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 3611.6645336151123, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 922.0223426818848, "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": 260919, "processName": "MainProcess", "relativeCreated": 3611.8180751800537, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.00015354156494140625 } ], "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.7099134922027588, "time_finished": "2020-12-26 10:11:46,922", "time_start": "2020-12-26 10:11:46,212" }, "socket_protocol.pure_json_protocol: Wildcard Callback registration for service_id.": { "args": null, "asctime": "2020-12-26 10:11:46,922", "created": 1608973906.922548, "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": 922.5480556488037, "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": 260919, "processName": "MainProcess", "relativeCreated": 3612.3437881469727, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2020-12-26 10:11:47,426", "created": 1608973907.4267416, "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": [ " SP server:" ], "asctime": "2020-12-26 10:11:46,922", "created": 1608973906.922938, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 922.9381084442139, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 3612.733840942383, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:46,923", "created": 1608973906.9233005, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP server: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 923.3005046844482, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 3613.096237182617, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:46,923", "created": 1608973906.9235756, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 923.5756397247314, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 3613.3713722229004, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:46,923", "created": 1608973906.9239097, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP server: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 923.9096641540527, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 3613.7053966522217, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:", 0, 10, 48879, "{'test': 'test'}" ], "asctime": "2020-12-26 10:11:46,924", "created": 1608973906.9241211, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 0, service_id: 10, data_id: 48879, data: \"{'test': 'test'}\"", "module": "__init__", "msecs": 924.1211414337158, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 3613.9168739318848, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:46,924", "created": 1608973906.9245355, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 924.5355129241943, "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": 260919, "processName": "MainProcess", "relativeCreated": 3614.3312454223633, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:47,075", "created": 1608973907.075576, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 75.5760669708252, "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": 260919, "processName": "MainProcess", "relativeCreated": 3765.371799468994, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-13" }, { "args": [ " SP server:", "0", "10", "48879", "{'test': 'test'}" ], "asctime": "2020-12-26 10:11:47,076", "created": 1608973907.0760128, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 319, "message": " SP server: RX <- status: 0, service_id: 10, data_id: 48879, data: \"{'test': 'test'}\"", "module": "__init__", "msecs": 76.01284980773926, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 3765.808582305908, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-13" }, { "args": [ " SP server:", "response_data_method" ], "asctime": "2020-12-26 10:11:47,076", "created": 1608973907.076237, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 342, "message": " SP server: Executing callback response_data_method to process received data", "module": "__init__", "msecs": 76.23696327209473, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 3766.0326957702637, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-13" }, { "args": [ " SP server:", 5, 11, 48879, "[1, 3, 's']" ], "asctime": "2020-12-26 10:11:47,076", "created": 1608973907.07642, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 5, service_id: 11, data_id: 48879, data: \"[1, 3, 's']\"", "module": "__init__", "msecs": 76.42006874084473, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 3766.2158012390137, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-13" }, { "args": [], "asctime": "2020-12-26 10:11:47,076", "created": 1608973907.0768285, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 76.8284797668457, "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": 260919, "processName": "MainProcess", "relativeCreated": 3766.6242122650146, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-13" }, { "args": [], "asctime": "2020-12-26 10:11:47,227", "created": 1608973907.227824, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 227.82397270202637, "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": 260919, "processName": "MainProcess", "relativeCreated": 3917.6197052001953, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-14" }, { "args": [ " SP server:", "5", "11", "48879", "[1, 3, 's']" ], "asctime": "2020-12-26 10:11:47,228", "created": 1608973907.2282481, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 319, "message": " SP server: RX <- status: 5, service_id: 11, data_id: 48879, data: \"[1, 3, 's']\"", "module": "__init__", "msecs": 228.24811935424805, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 3918.043851852417, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-14" }, { "args": [ " SP server:", "Operation not permitted" ], "asctime": "2020-12-26 10:11:47,228", "created": 1608973907.2285216, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 352, "message": " SP server: Received message has a peculiar status: Operation not permitted", "module": "__init__", "msecs": 228.52158546447754, "msg": "%s Received message has a peculiar status: %s", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 3918.3173179626465, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-14" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:47,228", "created": 1608973907.2287173, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__buffer_received_data__", "levelname": "DEBUG", "levelno": 10, "lineno": 370, "message": " SP server: Message data is stored in buffer and is now ready to be retrieved by receive method", "module": "__init__", "msecs": 228.71732711791992, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 3918.513059616089, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-14" } ], "msecs": 426.7416000366211, "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": 260919, "processName": "MainProcess", "relativeCreated": 4116.53733253479, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.19802427291870117 }, { "args": [ "True", "" ], "asctime": "2020-12-26 10:11:47,427", "created": 1608973907.4275289, "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-26 10:11:47,427", "created": 1608973907.4271674, "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": 427.1674156188965, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 4116.963148117065, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-12-26 10:11:47,427", "created": 1608973907.4273472, "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": 427.34718322753906, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 4117.142915725708, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 427.52885818481445, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 4117.324590682983, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.00018167495727539062 }, { "args": [ "0", "" ], "asctime": "2020-12-26 10:11:47,428", "created": 1608973907.4280503, "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-26 10:11:47,427", "created": 1608973907.4277658, "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": 427.7658462524414, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 4117.56157875061, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Request Status (Okay) transfered via pure_json_protocol", "0", "" ], "asctime": "2020-12-26 10:11:47,427", "created": 1608973907.4279125, "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": 427.91247367858887, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 4117.708206176758, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 428.05027961730957, "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": 260919, "processName": "MainProcess", "relativeCreated": 4117.8460121154785, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.00013780593872070312 }, { "args": [ "{'test': 'test'}", "" ], "asctime": "2020-12-26 10:11:47,428", "created": 1608973907.428626, "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-26 10:11:47,428", "created": 1608973907.4282823, "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": 428.2822608947754, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 4118.077993392944, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Request Data transfered via pure_json_protocol", "{ 'test': 'test' }", "" ], "asctime": "2020-12-26 10:11:47,428", "created": 1608973907.428445, "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": 428.44510078430176, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 4118.240833282471, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 428.62606048583984, "msg": "Request Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 4118.421792984009, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.00018095970153808594 }, { "args": [ "5", "" ], "asctime": "2020-12-26 10:11:47,429", "created": 1608973907.4291546, "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-26 10:11:47,428", "created": 1608973907.4288836, "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": 428.88355255126953, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 4118.6792850494385, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Response Status (Operation not permitted) transfered via pure_json_protocol", "5", "" ], "asctime": "2020-12-26 10:11:47,429", "created": 1608973907.429023, "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": 429.02302742004395, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 4118.818759918213, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 429.154634475708, "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": 260919, "processName": "MainProcess", "relativeCreated": 4118.950366973877, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.0001316070556640625 }, { "args": [ "[1, 3, 's']", "" ], "asctime": "2020-12-26 10:11:47,429", "created": 1608973907.4297204, "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-26 10:11:47,429", "created": 1608973907.4293818, "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": 429.3818473815918, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 4119.177579879761, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Response Data transfered via pure_json_protocol", "[ 1, 3, 's' ]", "" ], "asctime": "2020-12-26 10:11:47,429", "created": 1608973907.4295335, "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": 429.5334815979004, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 4119.329214096069, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 429.720401763916, "msg": "Response Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 4119.516134262085, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.000186920166015625 }, { "args": [ "None", "" ], "asctime": "2020-12-26 10:11:47,530", "created": 1608973907.5309262, "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": [ " SP server:", "0.1", "11", "48879" ], "asctime": "2020-12-26 10:11:47,530", "created": 1608973907.530305, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 387, "message": " SP server: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 48879) not in buffer.", "module": "__init__", "msecs": 530.3049087524414, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 4220.10064125061, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-12-26 10:11:47,530", "created": 1608973907.5306046, "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": 530.6046009063721, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 4220.400333404541, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-12-26 10:11:47,530", "created": 1608973907.5307722, "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": 530.7722091674805, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 4220.567941665649, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 530.9262275695801, "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": 260919, "processName": "MainProcess", "relativeCreated": 4220.721960067749, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.00015401840209960938 }, { "args": [ "None", "" ], "asctime": "2020-12-26 10:11:47,632", "created": 1608973907.6322103, "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": [ " SP server:", "0.1", "10", "48879" ], "asctime": "2020-12-26 10:11:47,631", "created": 1608973907.6315615, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 387, "message": " SP server: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 48879) not in buffer.", "module": "__init__", "msecs": 631.5615177154541, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 4321.357250213623, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-12-26 10:11:47,631", "created": 1608973907.6318874, "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": 631.8874359130859, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 4321.683168411255, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-12-26 10:11:47,632", "created": 1608973907.6320574, "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": 632.0574283599854, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 4321.853160858154, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 632.2102546691895, "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": 260919, "processName": "MainProcess", "relativeCreated": 4322.005987167358, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.00015282630920410156 } ], "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.7096621990203857, "time_finished": "2020-12-26 10:11:47,632", "time_start": "2020-12-26 10:11:46,922" }, "socket_protocol.struct_json_protocol: Send and receive check (Twice for coverage of buffer initialisation).": { "args": null, "asctime": "2020-12-26 10:11:49,056", "created": 1608973909.0565164, "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": 56.516408920288086, "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": 260919, "processName": "MainProcess", "relativeCreated": 5746.312141418457, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2020-12-26 10:11:50,063", "created": 1608973910.0633225, "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": [ " SP server:" ], "asctime": "2020-12-26 10:11:49,056", "created": 1608973909.056933, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 56.932926177978516, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 5746.7286586761475, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:49,057", "created": 1608973909.0572946, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP server: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 57.294607162475586, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 5747.0903396606445, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:49,057", "created": 1608973909.0575593, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 57.55925178527832, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 5747.354984283447, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:49,057", "created": 1608973909.0578775, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP server: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 57.877540588378906, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 5747.673273086548, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:", 0, 10, 45054, "{'test': 'test'}" ], "asctime": "2020-12-26 10:11:49,058", "created": 1608973909.0580885, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 0, service_id: 10, data_id: 45054, data: \"{'test': 'test'}\"", "module": "__init__", "msecs": 58.08854103088379, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 5747.884273529053, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:49,058", "created": 1608973909.0584695, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 58.469533920288086, "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": 260919, "processName": "MainProcess", "relativeCreated": 5748.265266418457, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:49,209", "created": 1608973909.209392, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 209.39207077026367, "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": 260919, "processName": "MainProcess", "relativeCreated": 5899.187803268433, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-19" }, { "args": [ " SP server:", "0", "10", "45054", "{'test': 'test'}" ], "asctime": "2020-12-26 10:11:49,209", "created": 1608973909.2098808, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 319, "message": " SP server: RX <- status: 0, service_id: 10, data_id: 45054, data: \"{'test': 'test'}\"", "module": "__init__", "msecs": 209.88082885742188, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 5899.676561355591, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-19" }, { "args": [ " SP server:", "response_data_method" ], "asctime": "2020-12-26 10:11:49,210", "created": 1608973909.2100878, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 342, "message": " SP server: Executing callback response_data_method to process received data", "module": "__init__", "msecs": 210.08777618408203, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 5899.883508682251, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-19" }, { "args": [ " SP server:", 5, 11, 45054, "[1, 3, 's']" ], "asctime": "2020-12-26 10:11:49,210", "created": 1608973909.2102683, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, 's']\"", "module": "__init__", "msecs": 210.2682590484619, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 5900.063991546631, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-19" }, { "args": [], "asctime": "2020-12-26 10:11:49,210", "created": 1608973909.2106004, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 210.6003761291504, "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": 260919, "processName": "MainProcess", "relativeCreated": 5900.396108627319, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-19" }, { "args": [], "asctime": "2020-12-26 10:11:49,361", "created": 1608973909.3614404, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 361.44042015075684, "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": 260919, "processName": "MainProcess", "relativeCreated": 6051.236152648926, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-20" }, { "args": [ " SP server:", "5", "11", "45054", "[1, 3, 's']" ], "asctime": "2020-12-26 10:11:49,361", "created": 1608973909.3619184, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 319, "message": " SP server: RX <- status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, 's']\"", "module": "__init__", "msecs": 361.91844940185547, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 6051.714181900024, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-20" }, { "args": [ " SP server:", "Operation not permitted" ], "asctime": "2020-12-26 10:11:49,362", "created": 1608973909.3621576, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 352, "message": " SP server: Received message has a peculiar status: Operation not permitted", "module": "__init__", "msecs": 362.15758323669434, "msg": "%s Received message has a peculiar status: %s", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 6051.953315734863, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-20" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:49,362", "created": 1608973909.3623486, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__buffer_received_data__", "levelname": "DEBUG", "levelno": 10, "lineno": 370, "message": " SP server: Message data is stored in buffer and is now ready to be retrieved by receive method", "module": "__init__", "msecs": 362.3485565185547, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 6052.144289016724, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-20" }, { "args": [ " SP server:", 0, 10, 45054, "{'test': 'test'}" ], "asctime": "2020-12-26 10:11:49,560", "created": 1608973909.5606494, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 0, service_id: 10, data_id: 45054, data: \"{'test': 'test'}\"", "module": "__init__", "msecs": 560.6493949890137, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 6250.445127487183, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:49,561", "created": 1608973909.561212, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 561.2120628356934, "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": 260919, "processName": "MainProcess", "relativeCreated": 6251.007795333862, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:49,712", "created": 1608973909.7121716, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 712.1715545654297, "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": 260919, "processName": "MainProcess", "relativeCreated": 6401.967287063599, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-21" }, { "args": [ " SP server:", "0", "10", "45054", "{'test': 'test'}" ], "asctime": "2020-12-26 10:11:49,712", "created": 1608973909.7126615, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 319, "message": " SP server: RX <- status: 0, service_id: 10, data_id: 45054, data: \"{'test': 'test'}\"", "module": "__init__", "msecs": 712.6615047454834, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 6402.457237243652, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-21" }, { "args": [ " SP server:", "response_data_method" ], "asctime": "2020-12-26 10:11:49,712", "created": 1608973909.7129016, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 342, "message": " SP server: Executing callback response_data_method to process received data", "module": "__init__", "msecs": 712.9015922546387, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 6402.697324752808, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-21" }, { "args": [ " SP server:", 5, 11, 45054, "[1, 3, 's']" ], "asctime": "2020-12-26 10:11:49,713", "created": 1608973909.7130818, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, 's']\"", "module": "__init__", "msecs": 713.0818367004395, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 6402.877569198608, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-21" }, { "args": [], "asctime": "2020-12-26 10:11:49,713", "created": 1608973909.7134173, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 713.4172916412354, "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": 260919, "processName": "MainProcess", "relativeCreated": 6403.213024139404, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-21" }, { "args": [], "asctime": "2020-12-26 10:11:49,864", "created": 1608973909.8643053, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 864.3052577972412, "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": 260919, "processName": "MainProcess", "relativeCreated": 6554.10099029541, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-22" }, { "args": [ " SP server:", "5", "11", "45054", "[1, 3, 's']" ], "asctime": "2020-12-26 10:11:49,864", "created": 1608973909.864822, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 319, "message": " SP server: RX <- status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, 's']\"", "module": "__init__", "msecs": 864.8219108581543, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 6554.617643356323, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-22" }, { "args": [ " SP server:", "Operation not permitted" ], "asctime": "2020-12-26 10:11:49,865", "created": 1608973909.8650627, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 352, "message": " SP server: Received message has a peculiar status: Operation not permitted", "module": "__init__", "msecs": 865.0627136230469, "msg": "%s Received message has a peculiar status: %s", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 6554.858446121216, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-22" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:49,865", "created": 1608973909.8652608, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__buffer_received_data__", "levelname": "DEBUG", "levelno": 10, "lineno": 370, "message": " SP server: Message data is stored in buffer and is now ready to be retrieved by receive method", "module": "__init__", "msecs": 865.2608394622803, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 6555.056571960449, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-22" } ], "msecs": 63.32254409790039, "msg": "Send and received data by struct_json_protocol.", "name": "__tLogger__", "pathname": "src/tests/test_normal_operation.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 6753.118276596069, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.19806170463562012 }, { "args": [ "True", "" ], "asctime": "2020-12-26 10:11:50,064", "created": 1608973910.0641067, "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-26 10:11:50,063", "created": 1608973910.063776, "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": 63.77601623535156, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 6753.5717487335205, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-12-26 10:11:50,063", "created": 1608973910.0639546, "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": 63.95459175109863, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 6753.750324249268, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 64.10670280456543, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 6753.902435302734, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.00015211105346679688 }, { "args": [ "0", "" ], "asctime": "2020-12-26 10:11:50,064", "created": 1608973910.0646188, "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-26 10:11:50,064", "created": 1608973910.0643384, "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": 64.33844566345215, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 6754.134178161621, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Request Status (Okay) transfered via struct_json_protocol", "0", "" ], "asctime": "2020-12-26 10:11:50,064", "created": 1608973910.0644822, "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": 64.48221206665039, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 6754.277944564819, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 64.61882591247559, "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": 260919, "processName": "MainProcess", "relativeCreated": 6754.4145584106445, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.0001366138458251953 }, { "args": [ "{'test': 'test'}", "" ], "asctime": "2020-12-26 10:11:50,065", "created": 1608973910.0652418, "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-26 10:11:50,064", "created": 1608973910.0649037, "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": 64.90373611450195, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 6754.699468612671, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Request Data transfered via struct_json_protocol", "{ 'test': 'test' }", "" ], "asctime": "2020-12-26 10:11:50,065", "created": 1608973910.0650582, "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": 65.05823135375977, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 6754.853963851929, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 65.24181365966797, "msg": "Request Data transfered via struct_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 6755.037546157837, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.00018358230590820312 }, { "args": [ "5", "" ], "asctime": "2020-12-26 10:11:50,065", "created": 1608973910.0657501, "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-26 10:11:50,065", "created": 1608973910.0654657, "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": 65.46568870544434, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 6755.261421203613, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Response Status (Operation not permitted) transfered via struct_json_protocol", "5", "" ], "asctime": "2020-12-26 10:11:50,065", "created": 1608973910.0656023, "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": 65.60230255126953, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 6755.3980350494385, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 65.7501220703125, "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": 260919, "processName": "MainProcess", "relativeCreated": 6755.545854568481, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.00014781951904296875 }, { "args": [ "[1, 3, 's']", "" ], "asctime": "2020-12-26 10:11:50,066", "created": 1608973910.0663211, "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-26 10:11:50,065", "created": 1608973910.065981, "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": 65.98091125488281, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 6755.776643753052, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Response Data transfered via struct_json_protocol", "[ 1, 3, 's' ]", "" ], "asctime": "2020-12-26 10:11:50,066", "created": 1608973910.066132, "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": 66.1320686340332, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 6755.927801132202, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 66.32113456726074, "msg": "Response Data transfered via struct_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 6756.11686706543, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.00018906593322753906 }, { "args": [ "None", "" ], "asctime": "2020-12-26 10:11:50,167", "created": 1608973910.167647, "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": [ " SP server:", "0.1", "11", "45054" ], "asctime": "2020-12-26 10:11:50,166", "created": 1608973910.1669004, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 387, "message": " SP server: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 166.9003963470459, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 6856.696128845215, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for struct_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:50,167", "created": 1608973910.167247, "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": 167.24705696105957, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 6857.0427894592285, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for struct_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:50,167", "created": 1608973910.1674852, "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": 167.48523712158203, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 6857.280969619751, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 167.6468849182129, "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": 260919, "processName": "MainProcess", "relativeCreated": 6857.442617416382, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.00016164779663085938 }, { "args": [ "None", "" ], "asctime": "2020-12-26 10:11:50,268", "created": 1608973910.2689736, "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": [ " SP server:", "0.1", "10", "45054" ], "asctime": "2020-12-26 10:11:50,268", "created": 1608973910.2682614, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 387, "message": " SP server: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 268.2614326477051, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 6958.057165145874, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for struct_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:50,268", "created": 1608973910.2685819, "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": 268.5818672180176, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 6958.3775997161865, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for struct_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:50,268", "created": 1608973910.2687945, "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": 268.7945365905762, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 6958.590269088745, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 268.97358894348145, "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": 260919, "processName": "MainProcess", "relativeCreated": 6958.76932144165, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.00017905235290527344 } ], "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 1.2124571800231934, "time_finished": "2020-12-26 10:11:50,268", "time_start": "2020-12-26 10:11:49,056" }, "socket_protocol.struct_json_protocol: Send and receive check.": { "args": null, "asctime": "2020-12-26 10:11:43,378", "created": 1608973903.3787975, "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": 378.7975311279297, "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": 260919, "processName": "MainProcess", "relativeCreated": 68.59326362609863, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2020-12-26 10:11:43,881", "created": 1608973903.8814838, "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": [ " SP server:" ], "asctime": "2020-12-26 10:11:43,379", "created": 1608973903.379063, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 379.0628910064697, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 68.85862350463867, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:43,379", "created": 1608973903.379219, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP server: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 379.21905517578125, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 69.0147876739502, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:43,379", "created": 1608973903.3792927, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 379.29272651672363, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 69.08845901489258, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:43,379", "created": 1608973903.3793755, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP server: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 379.3754577636719, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 69.17119026184082, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:", 0, 10, 45054, "{'test': 'test'}" ], "asctime": "2020-12-26 10:11:43,379", "created": 1608973903.3794327, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 0, service_id: 10, data_id: 45054, data: \"{'test': 'test'}\"", "module": "__init__", "msecs": 379.43267822265625, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 69.2284107208252, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:43,379", "created": 1608973903.379553, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 379.55307960510254, "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": 260919, "processName": "MainProcess", "relativeCreated": 69.34881210327148, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:43,530", "created": 1608973903.5302277, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 530.2276611328125, "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": 260919, "processName": "MainProcess", "relativeCreated": 220.02339363098145, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-1" }, { "args": [ " SP server:", "0", "10", "45054", "{'test': 'test'}" ], "asctime": "2020-12-26 10:11:43,530", "created": 1608973903.5307825, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 319, "message": " SP server: RX <- status: 0, service_id: 10, data_id: 45054, data: \"{'test': 'test'}\"", "module": "__init__", "msecs": 530.7824611663818, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 220.57819366455078, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-1" }, { "args": [ " SP server:", "response_data_method" ], "asctime": "2020-12-26 10:11:43,530", "created": 1608973903.5309916, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 342, "message": " SP server: Executing callback response_data_method to process received data", "module": "__init__", "msecs": 530.9915542602539, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 220.78728675842285, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-1" }, { "args": [ " SP server:", 5, 11, 45054, "[1, 3, 's']" ], "asctime": "2020-12-26 10:11:43,531", "created": 1608973903.5311697, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, 's']\"", "module": "__init__", "msecs": 531.1696529388428, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 220.96538543701172, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-1" }, { "args": [], "asctime": "2020-12-26 10:11:43,531", "created": 1608973903.5315187, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 531.5186977386475, "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": 260919, "processName": "MainProcess", "relativeCreated": 221.3144302368164, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-1" }, { "args": [], "asctime": "2020-12-26 10:11:43,682", "created": 1608973903.6825514, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 682.551383972168, "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": 260919, "processName": "MainProcess", "relativeCreated": 372.3471164703369, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-2" }, { "args": [ " SP server:", "5", "11", "45054", "[1, 3, 's']" ], "asctime": "2020-12-26 10:11:43,683", "created": 1608973903.6830697, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 319, "message": " SP server: RX <- status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, 's']\"", "module": "__init__", "msecs": 683.0697059631348, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 372.8654384613037, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-2" }, { "args": [ " SP server:", "Operation not permitted" ], "asctime": "2020-12-26 10:11:43,683", "created": 1608973903.6833255, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 352, "message": " SP server: Received message has a peculiar status: Operation not permitted", "module": "__init__", "msecs": 683.3255290985107, "msg": "%s Received message has a peculiar status: %s", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 373.1212615966797, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-2" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:43,683", "created": 1608973903.6835272, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__buffer_received_data__", "levelname": "DEBUG", "levelno": 10, "lineno": 370, "message": " SP server: Message data is stored in buffer and is now ready to be retrieved by receive method", "module": "__init__", "msecs": 683.5272312164307, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 373.3229637145996, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-2" } ], "msecs": 881.483793258667, "msg": "Send and received data by struct_json_protocol.", "name": "__tLogger__", "pathname": "src/tests/test_normal_operation.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 571.2795257568359, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.19795656204223633 }, { "args": [ "True", "" ], "asctime": "2020-12-26 10:11:43,882", "created": 1608973903.8822627, "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-26 10:11:43,881", "created": 1608973903.8819113, "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": 881.9112777709961, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 571.707010269165, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-12-26 10:11:43,882", "created": 1608973903.882091, "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": 882.0910453796387, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 571.8867778778076, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 882.2627067565918, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 572.0584392547607, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.000171661376953125 }, { "args": [ "0", "" ], "asctime": "2020-12-26 10:11:43,882", "created": 1608973903.8827887, "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-26 10:11:43,882", "created": 1608973903.882504, "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": 882.5039863586426, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 572.2997188568115, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Request Status (Okay) transfered via struct_json_protocol", "0", "" ], "asctime": "2020-12-26 10:11:43,882", "created": 1608973903.88265, "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": 882.6498985290527, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 572.4456310272217, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 882.7886581420898, "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": 260919, "processName": "MainProcess", "relativeCreated": 572.5843906402588, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.00013875961303710938 }, { "args": [ "{'test': 'test'}", "" ], "asctime": "2020-12-26 10:11:43,883", "created": 1608973903.8834639, "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-26 10:11:43,883", "created": 1608973903.8830845, "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": 883.0845355987549, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 572.8802680969238, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Request Data transfered via struct_json_protocol", "{ 'test': 'test' }", "" ], "asctime": "2020-12-26 10:11:43,883", "created": 1608973903.8832421, "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": 883.242130279541, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 573.03786277771, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 883.4638595581055, "msg": "Request Data transfered via struct_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 573.2595920562744, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.00022172927856445312 }, { "args": [ "5", "" ], "asctime": "2020-12-26 10:11:43,884", "created": 1608973903.8841116, "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-26 10:11:43,883", "created": 1608973903.88381, "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": 883.8100433349609, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 573.6057758331299, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Response Status (Operation not permitted) transfered via struct_json_protocol", "5", "" ], "asctime": "2020-12-26 10:11:43,883", "created": 1608973903.8839712, "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": 883.9712142944336, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 573.7669467926025, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 884.1116428375244, "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": 260919, "processName": "MainProcess", "relativeCreated": 573.9073753356934, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.0001404285430908203 }, { "args": [ "[1, 3, 's']", "" ], "asctime": "2020-12-26 10:11:43,884", "created": 1608973903.8846998, "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-26 10:11:43,884", "created": 1608973903.884349, "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": 884.3491077423096, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 574.1448402404785, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Response Data transfered via struct_json_protocol", "[ 1, 3, 's' ]", "" ], "asctime": "2020-12-26 10:11:43,884", "created": 1608973903.8845043, "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": 884.5043182373047, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 574.3000507354736, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 884.699821472168, "msg": "Response Data transfered via struct_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 574.4955539703369, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.00019550323486328125 }, { "args": [ "None", "" ], "asctime": "2020-12-26 10:11:43,985", "created": 1608973903.9859889, "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": [ " SP server:", "0.1", "11", "45054" ], "asctime": "2020-12-26 10:11:43,985", "created": 1608973903.9853358, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 387, "message": " SP server: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 985.3358268737793, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 675.1315593719482, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for struct_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:43,985", "created": 1608973903.9856408, "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": 985.6407642364502, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 675.4364967346191, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for struct_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:43,985", "created": 1608973903.9858077, "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": 985.8076572418213, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 675.6033897399902, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 985.9888553619385, "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": 260919, "processName": "MainProcess", "relativeCreated": 675.7845878601074, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.0001811981201171875 }, { "args": [ "None", "" ], "asctime": "2020-12-26 10:11:44,087", "created": 1608973904.0872743, "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": [ " SP server:", "0.1", "10", "45054" ], "asctime": "2020-12-26 10:11:44,086", "created": 1608973904.0866222, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 387, "message": " SP server: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 86.62223815917969, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 776.4179706573486, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for struct_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:44,086", "created": 1608973904.086949, "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": 86.94911003112793, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 776.7448425292969, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for struct_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-12-26 10:11:44,087", "created": 1608973904.0871189, "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": 87.11886405944824, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 776.9145965576172, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 87.27431297302246, "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": 260919, "processName": "MainProcess", "relativeCreated": 777.0700454711914, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.00015544891357421875 } ], "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.7084767818450928, "time_finished": "2020-12-26 10:11:44,087", "time_start": "2020-12-26 10:11:43,378" }, "socket_protocol: Client setting the channel name.": { "args": null, "asctime": "2020-12-26 10:11:55,036", "created": 1608973915.0360408, "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": 36.0407829284668, "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": 260919, "processName": "MainProcess", "relativeCreated": 11725.836515426636, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2020-12-26 10:11:55,344", "created": 1608973915.3448455, "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": [ " SP server:" ], "asctime": "2020-12-26 10:11:55,036", "created": 1608973915.0363746, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 36.374568939208984, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11726.170301437378, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:55,036", "created": 1608973915.0366857, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP server: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 36.68570518493652, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11726.481437683105, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "'__channel_name_response__'", "6", "0", "'ut_response_callback'" ], "asctime": "2020-12-26 10:11:55,036", "created": 1608973915.0369065, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "add", "levelname": "WARNING", "levelno": 30, "lineno": 91, "message": "Overwriting existing callback '__channel_name_response__' for service_id (6) and data_id (0) to 'ut_response_callback'!", "module": "__init__", "msecs": 36.90648078918457, "msg": "Overwriting existing callback %s for service_id (%s) and data_id (%s) to %s!", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11726.702213287354, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP client:" ], "asctime": "2020-12-26 10:11:55,037", "created": 1608973915.0371692, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP client: Cleaning up receive-buffer", "module": "__init__", "msecs": 37.16921806335449, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.ut_client_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11726.964950561523, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP client:" ], "asctime": "2020-12-26 10:11:55,037", "created": 1608973915.037476, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP client: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 37.4760627746582, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.ut_client_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11727.271795272827, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:55,037", "created": 1608973915.0376382, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 37.638187408447266, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11727.433919906616, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:", 0, 5, 0, "None" ], "asctime": "2020-12-26 10:11:55,037", "created": 1608973915.0377839, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 0, service_id: 5, data_id: 0, data: \"None\"", "module": "__init__", "msecs": 37.78386116027832, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11727.579593658447, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:55,038", "created": 1608973915.0381067, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 38.106679916381836, "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": 260919, "processName": "MainProcess", "relativeCreated": 11727.90241241455, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP client:" ], "asctime": "2020-12-26 10:11:55,038", "created": 1608973915.0386927, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP client: Cleaning up receive-buffer", "module": "__init__", "msecs": 38.69271278381348, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.ut_client_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11728.488445281982, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:55,189", "created": 1608973915.1890094, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 189.009428024292, "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": 260919, "processName": "MainProcess", "relativeCreated": 11878.805160522461, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-34" }, { "args": [ " SP client:", "0", "5", "0", "None" ], "asctime": "2020-12-26 10:11:55,189", "created": 1608973915.189412, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 319, "message": " SP client: RX <- status: 0, service_id: 5, data_id: 0, data: \"None\"", "module": "__init__", "msecs": 189.41211700439453, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.ut_client_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11879.207849502563, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-34" }, { "args": [ " SP client:", "__channel_name_request__" ], "asctime": "2020-12-26 10:11:55,189", "created": 1608973915.1896207, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 342, "message": " SP client: Executing callback __channel_name_request__ to process received data", "module": "__init__", "msecs": 189.6207332611084, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol.ut_client_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11879.416465759277, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-34" }, { "args": [ " SP client:", 0, 6, 0, "'ut_client_set_channel_name'" ], "asctime": "2020-12-26 10:11:55,189", "created": 1608973915.189815, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP client: TX -> status: 0, service_id: 6, data_id: 0, data: \"'ut_client_set_channel_name'\"", "module": "__init__", "msecs": 189.81504440307617, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.ut_client_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11879.610776901245, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-34" }, { "args": [], "asctime": "2020-12-26 10:11:55,190", "created": 1608973915.1902099, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 190.20986557006836, "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": 260919, "processName": "MainProcess", "relativeCreated": 11880.005598068237, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-34" }, { "args": [], "asctime": "2020-12-26 10:11:55,341", "created": 1608973915.3412554, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 341.25542640686035, "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": 260919, "processName": "MainProcess", "relativeCreated": 12031.05115890503, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-35" }, { "args": [ " SP server:", "0", "6", "0", "'ut_client_set_channel_name'" ], "asctime": "2020-12-26 10:11:55,341", "created": 1608973915.341658, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 319, "message": " SP server: RX <- status: 0, service_id: 6, data_id: 0, data: \"'ut_client_set_channel_name'\"", "module": "__init__", "msecs": 341.6581153869629, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 12031.453847885132, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-35" }, { "args": [ " SP server:", "ut_response_callback" ], "asctime": "2020-12-26 10:11:55,341", "created": 1608973915.3418858, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 359, "message": " SP server: Executing callback ut_response_callback to process received data", "module": "__init__", "msecs": 341.8858051300049, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 12031.681537628174, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-35" }, { "args": [ " SP server:", "'ut_client_set_channel_name'" ], "asctime": "2020-12-26 10:11:55,342", "created": 1608973915.3421648, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__channel_name_response__", "levelname": "INFO", "levelno": 20, "lineno": 273, "message": " SP server: channel name is now 'ut_client_set_channel_name'", "module": "__init__", "msecs": 342.1647548675537, "msg": "%s channel name is now %s", "name": "root.socket_protocol.ut_client_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 12031.960487365723, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-35" } ], "msecs": 344.8455333709717, "msg": "Initiating communication including channel_name exchange.", "name": "__tLogger__", "pathname": "src/tests/test_channel_name.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 12034.64126586914, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.0026807785034179688 }, { "args": [ "'ut_client_set_channel_name'", "" ], "asctime": "2020-12-26 10:11:55,345", "created": 1608973915.3456476, "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-26 10:11:55,345", "created": 1608973915.3453128, "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": 345.31283378601074, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 12035.10856628418, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Channel name for server", "'ut_client_set_channel_name'", "" ], "asctime": "2020-12-26 10:11:55,345", "created": 1608973915.3454916, "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": 345.4916477203369, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 12035.287380218506, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 345.64757347106934, "msg": "Channel name for server is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 12035.443305969238, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.00015592575073242188 }, { "args": [ "'ut_client_set_channel_name'", "" ], "asctime": "2020-12-26 10:11:55,346", "created": 1608973915.346201, "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-26 10:11:55,345", "created": 1608973915.3459136, "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": 345.9136486053467, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 12035.709381103516, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Channel name for client", "'ut_client_set_channel_name'", "" ], "asctime": "2020-12-26 10:11:55,346", "created": 1608973915.3460631, "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": 346.06313705444336, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 12035.858869552612, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 346.20094299316406, "msg": "Channel name for client is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 12035.996675491333, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.00013780593872070312 } ], "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.31016016006469727, "time_finished": "2020-12-26 10:11:55,346", "time_start": "2020-12-26 10:11:55,036" }, "socket_protocol: Server and Client setting different channel names.": { "args": null, "asctime": "2020-12-26 10:11:55,346", "created": 1608973915.346605, "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": 346.6050624847412, "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": 260919, "processName": "MainProcess", "relativeCreated": 12036.40079498291, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2020-12-26 10:11:55,655", "created": 1608973915.6559138, "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": [ " SP server:" ], "asctime": "2020-12-26 10:11:55,347", "created": 1608973915.3470314, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 347.0313549041748, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.ut_server_and_client_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 12036.827087402344, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:55,347", "created": 1608973915.3473983, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP server: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 347.3982810974121, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.ut_server_and_client_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 12037.194013595581, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "'__channel_name_response__'", "6", "0", "'ut_response_callback'" ], "asctime": "2020-12-26 10:11:55,347", "created": 1608973915.3476298, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "add", "levelname": "WARNING", "levelno": 30, "lineno": 91, "message": "Overwriting existing callback '__channel_name_response__' for service_id (6) and data_id (0) to 'ut_response_callback'!", "module": "__init__", "msecs": 347.6297855377197, "msg": "Overwriting existing callback %s for service_id (%s) and data_id (%s) to %s!", "name": "root.socket_protocol.ut_server_and_client_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 12037.425518035889, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP client:" ], "asctime": "2020-12-26 10:11:55,347", "created": 1608973915.3479233, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP client: Cleaning up receive-buffer", "module": "__init__", "msecs": 347.92327880859375, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.foo", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 12037.719011306763, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP client:" ], "asctime": "2020-12-26 10:11:55,348", "created": 1608973915.3482568, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP client: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 348.25682640075684, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.foo", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 12038.052558898926, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:55,348", "created": 1608973915.3484418, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 348.44183921813965, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.ut_server_and_client_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 12038.237571716309, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:", 0, 5, 0, "'ut_server_and_client_set_channel_name'" ], "asctime": "2020-12-26 10:11:55,348", "created": 1608973915.3486028, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 0, service_id: 5, data_id: 0, data: \"'ut_server_and_client_set_channel_name'\"", "module": "__init__", "msecs": 348.6027717590332, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.ut_server_and_client_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 12038.398504257202, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:55,349", "created": 1608973915.349039, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 349.03907775878906, "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": 260919, "processName": "MainProcess", "relativeCreated": 12038.834810256958, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP client:" ], "asctime": "2020-12-26 10:11:55,349", "created": 1608973915.349687, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP client: Cleaning up receive-buffer", "module": "__init__", "msecs": 349.6870994567871, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.foo", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 12039.482831954956, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:55,500", "created": 1608973915.500041, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 500.04100799560547, "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": 260919, "processName": "MainProcess", "relativeCreated": 12189.836740493774, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-36" }, { "args": [ " SP client:", "0", "5", "0", "'ut_server_and_client_set_channel_name'" ], "asctime": "2020-12-26 10:11:55,500", "created": 1608973915.5004447, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 319, "message": " SP client: RX <- status: 0, service_id: 5, data_id: 0, data: \"'ut_server_and_client_set_channel_name'\"", "module": "__init__", "msecs": 500.4446506500244, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.foo", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 12190.240383148193, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-36" }, { "args": [ " SP client:", "__channel_name_request__" ], "asctime": "2020-12-26 10:11:55,500", "created": 1608973915.5006776, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 342, "message": " SP client: Executing callback __channel_name_request__ to process received data", "module": "__init__", "msecs": 500.67758560180664, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol.foo", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 12190.473318099976, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-36" }, { "args": [ " SP client:", "'foo'", "'ut_server_and_client_set_channel_name'" ], "asctime": "2020-12-26 10:11:55,500", "created": 1608973915.5009804, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__channel_name_request__", "levelname": "WARNING", "levelno": 30, "lineno": 264, "message": " SP client: overwriting user defined channel name from 'foo' to 'ut_server_and_client_set_channel_name'", "module": "__init__", "msecs": 500.9803771972656, "msg": "%s overwriting user defined channel name from %s to %s", "name": "root.socket_protocol.ut_server_and_client_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 12190.776109695435, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-36" }, { "args": [ " SP client:", 0, 6, 0, "None" ], "asctime": "2020-12-26 10:11:55,501", "created": 1608973915.5011535, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP client: TX -> status: 0, service_id: 6, data_id: 0, data: \"None\"", "module": "__init__", "msecs": 501.15346908569336, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.ut_server_and_client_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 12190.949201583862, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-36" }, { "args": [], "asctime": "2020-12-26 10:11:55,501", "created": 1608973915.5015252, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 501.5251636505127, "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": 260919, "processName": "MainProcess", "relativeCreated": 12191.320896148682, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-36" }, { "args": [], "asctime": "2020-12-26 10:11:55,652", "created": 1608973915.6524947, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 652.4946689605713, "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": 260919, "processName": "MainProcess", "relativeCreated": 12342.29040145874, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-37" }, { "args": [ " SP server:", "0", "6", "0", "None" ], "asctime": "2020-12-26 10:11:55,652", "created": 1608973915.6529493, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 319, "message": " SP server: RX <- status: 0, service_id: 6, data_id: 0, data: \"None\"", "module": "__init__", "msecs": 652.949333190918, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.ut_server_and_client_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 12342.745065689087, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-37" }, { "args": [ " SP server:", "ut_response_callback" ], "asctime": "2020-12-26 10:11:55,653", "created": 1608973915.6531696, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 359, "message": " SP server: Executing callback ut_response_callback to process received data", "module": "__init__", "msecs": 653.1696319580078, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol.ut_server_and_client_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 12342.965364456177, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-37" } ], "msecs": 655.9138298034668, "msg": "Initiating communication including channel_name exchange.", "name": "__tLogger__", "pathname": "src/tests/test_channel_name.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 12345.709562301636, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.0027441978454589844 }, { "args": [ "'ut_server_and_client_set_channel_name'", "" ], "asctime": "2020-12-26 10:11:55,656", "created": 1608973915.6567063, "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-26 10:11:55,656", "created": 1608973915.656368, "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": 656.3680171966553, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 12346.163749694824, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Channel name for server", "'ut_server_and_client_set_channel_name'", "" ], "asctime": "2020-12-26 10:11:55,656", "created": 1608973915.6565485, "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": 656.5485000610352, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 12346.344232559204, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 656.7063331604004, "msg": "Channel name for server is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 12346.50206565857, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.00015783309936523438 }, { "args": [ "'ut_server_and_client_set_channel_name'", "" ], "asctime": "2020-12-26 10:11:55,657", "created": 1608973915.6572888, "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-26 10:11:55,657", "created": 1608973915.657002, "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": 657.0019721984863, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 12346.797704696655, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Channel name for client", "'ut_server_and_client_set_channel_name'", "" ], "asctime": "2020-12-26 10:11:55,657", "created": 1608973915.65715, "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": 657.1500301361084, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 12346.945762634277, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 657.2887897491455, "msg": "Channel name for client is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 12347.084522247314, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.00013875961303710938 } ], "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.3106837272644043, "time_finished": "2020-12-26 10:11:55,657", "time_start": "2020-12-26 10:11:55,346" }, "socket_protocol: Server and Client setting the same channel name.": { "args": null, "asctime": "2020-12-26 10:11:55,657", "created": 1608973915.6577017, "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": 657.7017307281494, "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": 260919, "processName": "MainProcess", "relativeCreated": 12347.497463226318, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2020-12-26 10:11:55,966", "created": 1608973915.9663775, "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": [ " SP server:" ], "asctime": "2020-12-26 10:11:55,658", "created": 1608973915.6580803, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 658.0803394317627, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.ut_server_and_client_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 12347.876071929932, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:55,658", "created": 1608973915.6584363, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP server: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 658.4362983703613, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.ut_server_and_client_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 12348.23203086853, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "'__channel_name_response__'", "6", "0", "'ut_response_callback'" ], "asctime": "2020-12-26 10:11:55,658", "created": 1608973915.6586344, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "add", "levelname": "WARNING", "levelno": 30, "lineno": 91, "message": "Overwriting existing callback '__channel_name_response__' for service_id (6) and data_id (0) to 'ut_response_callback'!", "module": "__init__", "msecs": 658.6344242095947, "msg": "Overwriting existing callback %s for service_id (%s) and data_id (%s) to %s!", "name": "root.socket_protocol.ut_server_and_client_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 12348.430156707764, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP client:" ], "asctime": "2020-12-26 10:11:55,658", "created": 1608973915.6588838, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP client: Cleaning up receive-buffer", "module": "__init__", "msecs": 658.883810043335, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.ut_server_and_client_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 12348.679542541504, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP client:" ], "asctime": "2020-12-26 10:11:55,659", "created": 1608973915.6592257, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP client: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 659.2257022857666, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.ut_server_and_client_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 12349.021434783936, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:55,659", "created": 1608973915.6594055, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 659.4054698944092, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.ut_server_and_client_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 12349.201202392578, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:", 0, 5, 0, "'ut_server_and_client_set_channel_name'" ], "asctime": "2020-12-26 10:11:55,659", "created": 1608973915.6595688, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 0, service_id: 5, data_id: 0, data: \"'ut_server_and_client_set_channel_name'\"", "module": "__init__", "msecs": 659.5687866210938, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.ut_server_and_client_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 12349.364519119263, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:55,659", "created": 1608973915.6599848, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 659.984827041626, "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": 260919, "processName": "MainProcess", "relativeCreated": 12349.780559539795, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP client:" ], "asctime": "2020-12-26 10:11:55,660", "created": 1608973915.6604733, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP client: Cleaning up receive-buffer", "module": "__init__", "msecs": 660.4733467102051, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.ut_server_and_client_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 12350.269079208374, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:55,810", "created": 1608973915.8109453, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 810.9452724456787, "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": 260919, "processName": "MainProcess", "relativeCreated": 12500.741004943848, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-38" }, { "args": [ " SP client:", "0", "5", "0", "'ut_server_and_client_set_channel_name'" ], "asctime": "2020-12-26 10:11:55,811", "created": 1608973915.8113465, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 319, "message": " SP client: RX <- status: 0, service_id: 5, data_id: 0, data: \"'ut_server_and_client_set_channel_name'\"", "module": "__init__", "msecs": 811.3465309143066, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.ut_server_and_client_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 12501.142263412476, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-38" }, { "args": [ " SP client:", "__channel_name_request__" ], "asctime": "2020-12-26 10:11:55,811", "created": 1608973915.8115551, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 342, "message": " SP client: Executing callback __channel_name_request__ to process received data", "module": "__init__", "msecs": 811.5551471710205, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol.ut_server_and_client_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 12501.35087966919, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-38" }, { "args": [ " SP client:", 0, 6, 0, "None" ], "asctime": "2020-12-26 10:11:55,811", "created": 1608973915.8118222, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP client: TX -> status: 0, service_id: 6, data_id: 0, data: \"None\"", "module": "__init__", "msecs": 811.8221759796143, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.ut_server_and_client_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 12501.617908477783, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-38" }, { "args": [], "asctime": "2020-12-26 10:11:55,812", "created": 1608973915.8121803, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 812.1802806854248, "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": 260919, "processName": "MainProcess", "relativeCreated": 12501.976013183594, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-38" }, { "args": [], "asctime": "2020-12-26 10:11:55,963", "created": 1608973915.9632127, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 963.2127285003662, "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": 260919, "processName": "MainProcess", "relativeCreated": 12653.008460998535, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-39" }, { "args": [ " SP server:", "0", "6", "0", "None" ], "asctime": "2020-12-26 10:11:55,963", "created": 1608973915.9636147, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 319, "message": " SP server: RX <- status: 0, service_id: 6, data_id: 0, data: \"None\"", "module": "__init__", "msecs": 963.6147022247314, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.ut_server_and_client_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 12653.4104347229, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-39" }, { "args": [ " SP server:", "ut_response_callback" ], "asctime": "2020-12-26 10:11:55,963", "created": 1608973915.9638371, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 359, "message": " SP server: Executing callback ut_response_callback to process received data", "module": "__init__", "msecs": 963.8371467590332, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol.ut_server_and_client_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 12653.632879257202, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-39" } ], "msecs": 966.3774967193604, "msg": "Initiating communication including channel_name exchange.", "name": "__tLogger__", "pathname": "src/tests/test_channel_name.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 12656.17322921753, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.0025403499603271484 }, { "args": [ "'ut_server_and_client_set_channel_name'", "" ], "asctime": "2020-12-26 10:11:55,967", "created": 1608973915.967172, "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-26 10:11:55,966", "created": 1608973915.966837, "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": 966.8369293212891, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 12656.632661819458, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Channel name for server", "'ut_server_and_client_set_channel_name'", "" ], "asctime": "2020-12-26 10:11:55,967", "created": 1608973915.9670155, "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": 967.0155048370361, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 12656.811237335205, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 967.1719074249268, "msg": "Channel name for server is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 12656.967639923096, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.000156402587890625 }, { "args": [ "'ut_server_and_client_set_channel_name'", "" ], "asctime": "2020-12-26 10:11:55,967", "created": 1608973915.9678686, "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-26 10:11:55,967", "created": 1608973915.9674292, "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": 967.4291610717773, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 12657.224893569946, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Channel name for client", "'ut_server_and_client_set_channel_name'", "" ], "asctime": "2020-12-26 10:11:55,967", "created": 1608973915.9676673, "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": 967.6673412322998, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 12657.463073730469, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 967.8685665130615, "msg": "Channel name for client is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 12657.66429901123, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.00020122528076171875 } ], "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.3101668357849121, "time_finished": "2020-12-26 10:11:55,967", "time_start": "2020-12-26 10:11:55,657" }, "socket_protocol: Server setting the channel name.": { "args": null, "asctime": "2020-12-26 10:11:54,725", "created": 1608973914.7250314, "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": 725.0313758850098, "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": 260919, "processName": "MainProcess", "relativeCreated": 11414.827108383179, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2020-12-26 10:11:55,033", "created": 1608973915.0339434, "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": [ " SP server:" ], "asctime": "2020-12-26 10:11:54,725", "created": 1608973914.7254598, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 725.4598140716553, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.ut_server_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11415.255546569824, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:54,725", "created": 1608973914.7258458, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP server: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 725.8458137512207, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.ut_server_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11415.64154624939, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "'__channel_name_response__'", "6", "0", "'ut_response_callback'" ], "asctime": "2020-12-26 10:11:54,726", "created": 1608973914.7260678, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "add", "levelname": "WARNING", "levelno": 30, "lineno": 91, "message": "Overwriting existing callback '__channel_name_response__' for service_id (6) and data_id (0) to 'ut_response_callback'!", "module": "__init__", "msecs": 726.0677814483643, "msg": "Overwriting existing callback %s for service_id (%s) and data_id (%s) to %s!", "name": "root.socket_protocol.ut_server_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11415.863513946533, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP client:" ], "asctime": "2020-12-26 10:11:54,726", "created": 1608973914.7263231, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP client: Cleaning up receive-buffer", "module": "__init__", "msecs": 726.323127746582, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11416.118860244751, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP client:" ], "asctime": "2020-12-26 10:11:54,726", "created": 1608973914.7266412, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 277, "message": " SP client: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 726.6411781311035, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11416.436910629272, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:" ], "asctime": "2020-12-26 10:11:54,726", "created": 1608973914.726814, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP server: Cleaning up receive-buffer", "module": "__init__", "msecs": 726.8140316009521, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.ut_server_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11416.609764099121, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP server:", 0, 5, 0, "'ut_server_set_channel_name'" ], "asctime": "2020-12-26 10:11:54,726", "created": 1608973914.7269955, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP server: TX -> status: 0, service_id: 5, data_id: 0, data: \"'ut_server_set_channel_name'\"", "module": "__init__", "msecs": 726.9954681396484, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.ut_server_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11416.791200637817, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:54,727", "created": 1608973914.7274053, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 727.405309677124, "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": 260919, "processName": "MainProcess", "relativeCreated": 11417.201042175293, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ " SP client:" ], "asctime": "2020-12-26 10:11:54,728", "created": 1608973914.7280889, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 373, "message": " SP client: Cleaning up receive-buffer", "module": "__init__", "msecs": 728.0888557434082, "msg": "%s Cleaning up receive-buffer", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11417.884588241577, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [], "asctime": "2020-12-26 10:11:54,878", "created": 1608973914.8784702, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 878.4701824188232, "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": 260919, "processName": "MainProcess", "relativeCreated": 11568.265914916992, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-32" }, { "args": [ " SP client:", "0", "5", "0", "'ut_server_set_channel_name'" ], "asctime": "2020-12-26 10:11:54,878", "created": 1608973914.8788922, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 319, "message": " SP client: RX <- status: 0, service_id: 5, data_id: 0, data: \"'ut_server_set_channel_name'\"", "module": "__init__", "msecs": 878.892183303833, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11568.687915802002, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-32" }, { "args": [ " SP client:", "__channel_name_request__" ], "asctime": "2020-12-26 10:11:54,879", "created": 1608973914.8791187, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 342, "message": " SP client: Executing callback __channel_name_request__ to process received data", "module": "__init__", "msecs": 879.1186809539795, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol.all_others", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11568.914413452148, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-32" }, { "args": [ " SP client:", "'ut_server_set_channel_name'" ], "asctime": "2020-12-26 10:11:54,879", "created": 1608973914.8793771, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__channel_name_request__", "levelname": "INFO", "levelno": 20, "lineno": 266, "message": " SP client: channel name is now 'ut_server_set_channel_name'", "module": "__init__", "msecs": 879.3771266937256, "msg": "%s channel name is now %s", "name": "root.socket_protocol.ut_server_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11569.172859191895, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-32" }, { "args": [ " SP client:", 0, 6, 0, "None" ], "asctime": "2020-12-26 10:11:54,879", "created": 1608973914.879545, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 412, "message": " SP client: TX -> status: 0, service_id: 6, data_id: 0, data: \"None\"", "module": "__init__", "msecs": 879.5449733734131, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "root.socket_protocol.ut_server_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11569.340705871582, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-32" }, { "args": [], "asctime": "2020-12-26 10:11:54,879", "created": 1608973914.87991, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 63, "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": 879.9099922180176, "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": 260919, "processName": "MainProcess", "relativeCreated": 11569.705724716187, "stack_info": null, "thread": 139748489201408, "threadName": "Thread-32" }, { "args": [], "asctime": "2020-12-26 10:11:55,030", "created": 1608973915.0308764, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 74, "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": 30.87639808654785, "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": 260919, "processName": "MainProcess", "relativeCreated": 11720.672130584717, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-33" }, { "args": [ " SP server:", "0", "6", "0", "None" ], "asctime": "2020-12-26 10:11:55,031", "created": 1608973915.031237, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 319, "message": " SP server: RX <- status: 0, service_id: 6, data_id: 0, data: \"None\"", "module": "__init__", "msecs": 31.236886978149414, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "root.socket_protocol.ut_server_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11721.032619476318, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-33" }, { "args": [ " SP server:", "ut_response_callback" ], "asctime": "2020-12-26 10:11:55,031", "created": 1608973915.031431, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 359, "message": " SP server: Executing callback ut_response_callback to process received data", "module": "__init__", "msecs": 31.430959701538086, "msg": "%s Executing callback %s to process received data", "name": "root.socket_protocol.ut_server_set_channel_name", "pathname": "src/socket_protocol/__init__.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11721.226692199707, "stack_info": null, "thread": 139748497594112, "threadName": "Thread-33" } ], "msecs": 33.94341468811035, "msg": "Initiating communication including channel_name exchange.", "name": "__tLogger__", "pathname": "src/tests/test_channel_name.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11723.73914718628, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.0025124549865722656 }, { "args": [ "'ut_server_set_channel_name'", "" ], "asctime": "2020-12-26 10:11:55,035", "created": 1608973915.0351858, "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-26 10:11:55,034", "created": 1608973915.0348597, "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": 34.859657287597656, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11724.655389785767, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Channel name for server", "'ut_server_set_channel_name'", "" ], "asctime": "2020-12-26 10:11:55,035", "created": 1608973915.0350358, "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": 35.03584861755371, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11724.831581115723, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 35.185813903808594, "msg": "Channel name for server is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11724.981546401978, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.0001499652862548828 }, { "args": [ "'ut_server_set_channel_name'", "" ], "asctime": "2020-12-26 10:11:55,035", "created": 1608973915.0356703, "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-26 10:11:55,035", "created": 1608973915.0354097, "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": 35.40968894958496, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11725.205421447754, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" }, { "args": [ "Channel name for client", "'ut_server_set_channel_name'", "" ], "asctime": "2020-12-26 10:11:55,035", "created": 1608973915.035544, "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": 35.54391860961914, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11725.339651107788, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread" } ], "msecs": 35.67028045654297, "msg": "Channel name for client is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 260919, "processName": "MainProcess", "relativeCreated": 11725.466012954712, "stack_info": null, "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.00012636184692382812 } ], "thread": 139748523513664, "threadName": "MainThread", "time_consumption": 0.3106389045715332, "time_finished": "2020-12-26 10:11:55,035", "time_start": "2020-12-26 10:11:54,725" } }, "testrun_id": "p3", "time_consumption": 12.580554962158203, "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": "9553e12e9d4099ace581b5decf091c01" } }