{ "coverage_information": [ { "branch_coverage": 100.0, "filepath": "/user_data/data/dirk/prj/unittest/socket_protocol/pylibs/socket_protocol", "files": [ { "branch_coverage": 100.0, "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": 40, "start": 39 }, { "coverage_state": "clean", "end": 42, "start": 41 }, { "coverage_state": "covered", "end": 43, "start": 43 }, { "coverage_state": "clean", "end": 45, "start": 44 }, { "coverage_state": "covered", "end": 46, "start": 46 }, { "coverage_state": "clean", "end": 49, "start": 47 }, { "coverage_state": "covered", "end": 51, "start": 50 }, { "coverage_state": "clean", "end": 53, "start": 52 }, { "coverage_state": "covered", "end": 56, "start": 54 }, { "coverage_state": "clean", "end": 57, "start": 57 }, { "coverage_state": "covered", "end": 78, "start": 58 }, { "coverage_state": "clean", "end": 79, "start": 79 }, { "coverage_state": "covered", "end": 85, "start": 80 }, { "coverage_state": "clean", "end": 87, "start": 86 }, { "coverage_state": "covered", "end": 92, "start": 88 }, { "coverage_state": "clean", "end": 93, "start": 93 }, { "coverage_state": "covered", "end": 95, "start": 94 }, { "coverage_state": "clean", "end": 96, "start": 96 }, { "coverage_state": "covered", "end": 98, "start": 97 }, { "coverage_state": "clean", "end": 99, "start": 99 }, { "coverage_state": "covered", "end": 101, "start": 100 }, { "coverage_state": "clean", "end": 102, "start": 102 }, { "coverage_state": "covered", "end": 104, "start": 103 }, { "coverage_state": "clean", "end": 105, "start": 105 }, { "coverage_state": "covered", "end": 107, "start": 106 }, { "coverage_state": "clean", "end": 109, "start": 108 }, { "coverage_state": "covered", "end": 110, "start": 110 }, { "coverage_state": "clean", "end": 136, "start": 111 }, { "coverage_state": "covered", "end": 137, "start": 137 }, { "coverage_state": "clean", "end": 138, "start": 138 }, { "coverage_state": "covered", "end": 148, "start": 139 }, { "coverage_state": "clean", "end": 149, "start": 149 }, { "coverage_state": "covered", "end": 150, "start": 150 }, { "coverage_state": "clean", "end": 156, "start": 151 }, { "coverage_state": "covered", "end": 157, "start": 157 }, { "coverage_state": "clean", "end": 158, "start": 158 }, { "coverage_state": "covered", "end": 165, "start": 159 }, { "coverage_state": "clean", "end": 171, "start": 166 }, { "coverage_state": "covered", "end": 177, "start": 172 }, { "coverage_state": "clean", "end": 182, "start": 178 }, { "coverage_state": "covered", "end": 196, "start": 183 }, { "coverage_state": "clean", "end": 197, "start": 197 }, { "coverage_state": "covered", "end": 200, "start": 198 }, { "coverage_state": "clean", "end": 201, "start": 201 }, { "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": 214, "start": 210 }, { "coverage_state": "clean", "end": 215, "start": 215 }, { "coverage_state": "covered", "end": 218, "start": 216 }, { "coverage_state": "clean", "end": 219, "start": 219 }, { "coverage_state": "covered", "end": 224, "start": 220 }, { "coverage_state": "clean", "end": 225, "start": 225 }, { "coverage_state": "covered", "end": 228, "start": 226 }, { "coverage_state": "clean", "end": 229, "start": 229 }, { "coverage_state": "covered", "end": 230, "start": 230 }, { "coverage_state": "clean", "end": 231, "start": 231 }, { "coverage_state": "covered", "end": 233, "start": 232 }, { "coverage_state": "clean", "end": 234, "start": 234 }, { "coverage_state": "covered", "end": 238, "start": 235 }, { "coverage_state": "clean", "end": 239, "start": 239 }, { "coverage_state": "covered", "end": 241, "start": 240 }, { "coverage_state": "clean", "end": 248, "start": 242 }, { "coverage_state": "covered", "end": 250, "start": 249 }, { "coverage_state": "clean", "end": 253, "start": 251 }, { "coverage_state": "covered", "end": 261, "start": 254 }, { "coverage_state": "clean", "end": 262, "start": 262 }, { "coverage_state": "covered", "end": 268, "start": 263 }, { "coverage_state": "clean", "end": 272, "start": 269 }, { "coverage_state": "covered", "end": 278, "start": 273 }, { "coverage_state": "clean", "end": 279, "start": 279 }, { "coverage_state": "covered", "end": 284, "start": 280 }, { "coverage_state": "clean", "end": 285, "start": 285 }, { "coverage_state": "covered", "end": 292, "start": 286 }, { "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": 310, "start": 298 }, { "coverage_state": "clean", "end": 311, "start": 311 }, { "coverage_state": "covered", "end": 313, "start": 312 }, { "coverage_state": "clean", "end": 314, "start": 314 }, { "coverage_state": "covered", "end": 315, "start": 315 }, { "coverage_state": "clean", "end": 333, "start": 316 }, { "coverage_state": "covered", "end": 335, "start": 334 }, { "coverage_state": "clean", "end": 336, "start": 336 }, { "coverage_state": "covered", "end": 337, "start": 337 }, { "coverage_state": "clean", "end": 360, "start": 338 }, { "coverage_state": "covered", "end": 361, "start": 361 }, { "coverage_state": "clean", "end": 362, "start": 362 }, { "coverage_state": "covered", "end": 363, "start": 363 }, { "coverage_state": "clean", "end": 375, "start": 364 }, { "coverage_state": "covered", "end": 388, "start": 376 }, { "coverage_state": "clean", "end": 389, "start": 389 }, { "coverage_state": "covered", "end": 390, "start": 390 }, { "coverage_state": "clean", "end": 394, "start": 391 }, { "coverage_state": "covered", "end": 395, "start": 395 }, { "coverage_state": "clean", "end": 396, "start": 396 }, { "coverage_state": "covered", "end": 399, "start": 397 }, { "coverage_state": "clean", "end": 400, "start": 400 }, { "coverage_state": "covered", "end": 401, "start": 401 }, { "coverage_state": "clean", "end": 402, "start": 402 }, { "coverage_state": "covered", "end": 407, "start": 403 }, { "coverage_state": "clean", "end": 408, "start": 408 }, { "coverage_state": "covered", "end": 410, "start": 409 }, { "coverage_state": "clean", "end": 411, "start": 411 }, { "coverage_state": "covered", "end": 417, "start": 412 }, { "coverage_state": "clean", "end": 418, "start": 418 }, { "coverage_state": "covered", "end": 424, "start": 419 }, { "coverage_state": "clean", "end": 425, "start": 425 }, { "coverage_state": "covered", "end": 428, "start": 426 }, { "coverage_state": "clean", "end": 429, "start": 429 }, { "coverage_state": "covered", "end": 434, "start": 430 }, { "coverage_state": "clean", "end": 435, "start": 435 }, { "coverage_state": "covered", "end": 438, "start": 436 }, { "coverage_state": "clean", "end": 440, "start": 439 }, { "coverage_state": "covered", "end": 441, "start": 441 }, { "coverage_state": "clean", "end": 464, "start": 442 }, { "coverage_state": "covered", "end": 466, "start": 465 }, { "coverage_state": "clean", "end": 467, "start": 467 }, { "coverage_state": "covered", "end": 473, "start": 468 }, { "coverage_state": "clean", "end": 474, "start": 474 }, { "coverage_state": "covered", "end": 477, "start": 475 }, { "coverage_state": "clean", "end": 478, "start": 478 }, { "coverage_state": "covered", "end": 479, "start": 479 }, { "coverage_state": "clean", "end": 480, "start": 480 }, { "coverage_state": "covered", "end": 482, "start": 481 }, { "coverage_state": "clean", "end": 483, "start": 483 }, { "coverage_state": "covered", "end": 485, "start": 484 }, { "coverage_state": "clean", "end": null, "start": 486 } ], "line_coverage": 100.0, "name": "socket_protocol.__init__.py" } ], "line_coverage": 100.0, "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 Callback which is already defined.", "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." ] }, "specification": {}, "system_information": { "Architecture": "64bit", "Distribution": "LinuxMint 19.3 tricia", "Hostname": "ahorn", "Kernel": "5.3.0-28-generic (#30~18.04.1-Ubuntu SMP Fri Jan 17 06:14:09 UTC 2020)", "Machine": "x86_64", "Path": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest", "System": "Linux", "Username": "dirk" }, "testobject_information": { "Dependencies": [ [ "stringtools", "88a3eed174bd2239a6c1d928081e5b6d" ] ], "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": "44bfc23658f5a000bcabcf2a34875620" }, "testrun_list": [ { "heading_dict": {}, "interpreter": "python 2.7.17 (final)", "name": "Default Testsession name", "number_of_failed_tests": 0, "number_of_possibly_failed_tests": 0, "number_of_successfull_tests": 15, "number_of_tests": 15, "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-01-29 07:23:18,047", "created": 1580278998.047247, "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": 47.24693298339844, "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": 7115, "processName": "MainProcess", "relativeCreated": 10939.647912979126, "testcaseLogger": [ { "args": [], "asctime": "2020-01-29 07:23:18,048", "created": 1580278998.048621, "exc_info": null, "exc_text": null, "filename": "test_handling_errors.py", "funcName": "authentification_no_secret", "levelname": "DEBUG", "levelno": 10, "lineno": 109, "message": "Authentification with no secret definition (pure_json_protocol).", "module": "test_handling_errors", "moduleLogger": [ { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:18,047", "created": 1580278998.047543, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 295, "message": "SJP: Cleaning up receive-buffer", "module": "__init__", "msecs": 47.54304885864258, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 10939.94402885437, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:18,047", "created": 1580278998.0479, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 199, "message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 47.89996147155762, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 10940.300941467285, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:18,048", "created": 1580278998.048101, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 295, "message": "SJP: Cleaning up receive-buffer", "module": "__init__", "msecs": 48.100948333740234, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 10940.501928329468, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:18,048", "created": 1580278998.048411, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 199, "message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 48.410892486572266, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 10940.8118724823, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 48.62093925476074, "msg": "Authentification with no secret definition (pure_json_protocol).", "name": "__tLogger__", "pathname": "src/tests/test_handling_errors.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 10941.021919250488, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 0.00021004676818847656 }, { "args": [ "False", "" ], "asctime": "2020-01-29 07:23:18,049", "created": 1580278998.049191, "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-01-29 07:23:18,048", "created": 1580278998.048881, "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": 48.88105392456055, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 10941.282033920288, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Return value of authentification", "False", "" ], "asctime": "2020-01-29 07:23:18,049", "created": 1580278998.049035, "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": 49.035072326660156, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 10941.436052322388, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 49.19099807739258, "msg": "Return value of authentification is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 10941.59197807312, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 0.00015592575073242188 } ], "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 0.0019440650939941406, "time_finished": "2020-01-29 07:23:18,049", "time_start": "2020-01-29 07:23:18,047" }, "socket_protocol.pure_json_protocol: Authentification required, but not processed/ correctly processed.": { "args": null, "asctime": "2020-01-29 07:23:16,632", "created": 1580278996.632857, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 42, "message": "socket_protocol.pure_json_protocol: Authentification required, but not processed/ correctly processed.", "module": "__init__", "moduleLogger": [], "msecs": 632.857084274292, "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": 7115, "processName": "MainProcess", "relativeCreated": 9525.25806427002, "testcaseLogger": [ { "args": [], "asctime": "2020-01-29 07:23:17,839", "created": 1580278997.839158, "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": [ "SJP:" ], "asctime": "2020-01-29 07:23:16,633", "created": 1580278996.633199, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 295, "message": "SJP: Cleaning up receive-buffer", "module": "__init__", "msecs": 633.1989765167236, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 9525.599956512451, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:16,633", "created": 1580278996.633592, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 199, "message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 633.591890335083, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 9525.99287033081, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:16,633", "created": 1580278996.633792, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 295, "message": "SJP: Cleaning up receive-buffer", "module": "__init__", "msecs": 633.7919235229492, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 9526.192903518677, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:16,634", "created": 1580278996.634112, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 199, "message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 634.1118812561035, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 9526.512861251831, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:16,634", "created": 1580278996.634338, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "authentificate", "levelname": "INFO", "levelno": 20, "lineno": 378, "message": "SJP: Requesting seed for authentification", "module": "__init__", "msecs": 634.3379020690918, "msg": "%s Requesting seed for authentification", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 9526.73888206482, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "SJP:", 0, 1, 0, "None" ], "asctime": "2020-01-29 07:23:16,634", "created": 1580278996.634512, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 0, service_id: 1, data_id: 0, data: \"None\"", "module": "__init__", "msecs": 634.5119476318359, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 9526.912927627563, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:16,634", "created": 1580278996.63494, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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": 634.9399089813232, "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": 7115, "processName": "MainProcess", "relativeCreated": 9527.34088897705, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:16,785", "created": 1580278996.785891, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 66, "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": 785.891056060791, "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": 7115, "processName": "MainProcess", "relativeCreated": 9678.292036056519, "thread": 140487038072576, "threadName": "Thread-26" }, { "args": [ "SJP:", "0", "1", "0", "None" ], "asctime": "2020-01-29 07:23:16,786", "created": 1580278996.786259, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 247, "message": "SJP: RX <- status: 0, service_id: 1, data_id: 0, data: \"None\"", "module": "__init__", "msecs": 786.2589359283447, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 9678.659915924072, "thread": 140487038072576, "threadName": "Thread-26" }, { "args": [ "SJP:", "__authentificate_create_seed__" ], "asctime": "2020-01-29 07:23:16,786", "created": 1580278996.78649, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 264, "message": "SJP: Executing callback __authentificate_create_seed__ to process received data", "module": "__init__", "msecs": 786.4899635314941, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 9678.890943527222, "thread": 140487038072576, "threadName": "Thread-26" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:16,786", "created": 1580278996.786653, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentificate_create_seed__", "levelname": "INFO", "levelno": 20, "lineno": 404, "message": "SJP: Got seed request, sending seed for authentification", "module": "__init__", "msecs": 786.6530418395996, "msg": "%s Got seed request, sending seed for authentification", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 9679.054021835327, "thread": 140487038072576, "threadName": "Thread-26" }, { "args": [ "SJP:", 0, 2, 0, "'da7700cc13defc6cb1edbf070d870e33e6c7de100ed3b618ea764b9f8f1b7ef2'" ], "asctime": "2020-01-29 07:23:16,786", "created": 1580278996.786881, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 0, service_id: 2, data_id: 0, data: \"'da7700cc13defc6cb1edbf070d870e33e6c7de100ed3b618ea764b9f8f1b7ef2'\"", "module": "__init__", "msecs": 786.8809700012207, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 9679.281949996948, "thread": 140487038072576, "threadName": "Thread-26" }, { "args": [], "asctime": "2020-01-29 07:23:16,787", "created": 1580278996.787465, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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 64 61 37 37 30 30 63 63 31 33 64 65 66 63 36 63 62 31 65 64 62 66 30 37 30 64 38 37 30 65 33 33 65 36 63 37 64 65 31 30 30 65 64 33 62 36 31 38 65 61 37 36 34 62 39 66 38 66 31 62 37 65 66 32 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 16 95 fe 2e", "module": "test_helpers", "msecs": 787.4650955200195, "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 64 61 37 37 30 30 63 63 31 33 64 65 66 63 36 63 62 31 65 64 62 66 30 37 30 64 38 37 30 65 33 33 65 36 63 37 64 65 31 30 30 65 64 33 62 36 31 38 65 61 37 36 34 62 39 66 38 66 31 62 37 65 66 32 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 16 95 fe 2e", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 9679.866075515747, "thread": 140487038072576, "threadName": "Thread-26" }, { "args": [], "asctime": "2020-01-29 07:23:16,938", "created": 1580278996.938699, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 66, "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 64 61 37 37 30 30 63 63 31 33 64 65 66 63 36 63 62 31 65 64 62 66 30 37 30 64 38 37 30 65 33 33 65 36 63 37 64 65 31 30 30 65 64 33 62 36 31 38 65 61 37 36 34 62 39 66 38 66 31 62 37 65 66 32 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 16 95 fe 2e", "module": "test_helpers", "msecs": 938.6990070343018, "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 64 61 37 37 30 30 63 63 31 33 64 65 66 63 36 63 62 31 65 64 62 66 30 37 30 64 38 37 30 65 33 33 65 36 63 37 64 65 31 30 30 65 64 33 62 36 31 38 65 61 37 36 34 62 39 66 38 66 31 62 37 65 66 32 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 16 95 fe 2e", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 9831.09998703003, "thread": 140487116760832, "threadName": "Thread-27" }, { "args": [ "SJP:", "0", "2", "0", "u'da7700cc13defc6cb1edbf070d870e33e6c7de100ed3b618ea764b9f8f1b7ef2'" ], "asctime": "2020-01-29 07:23:16,939", "created": 1580278996.939065, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 247, "message": "SJP: RX <- status: 0, service_id: 2, data_id: 0, data: \"u'da7700cc13defc6cb1edbf070d870e33e6c7de100ed3b618ea764b9f8f1b7ef2'\"", "module": "__init__", "msecs": 939.0649795532227, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 9831.46595954895, "thread": 140487116760832, "threadName": "Thread-27" }, { "args": [ "SJP:", "__authentificate_create_key__" ], "asctime": "2020-01-29 07:23:16,939", "created": 1580278996.939291, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 264, "message": "SJP: Executing callback __authentificate_create_key__ to process received data", "module": "__init__", "msecs": 939.2910003662109, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 9831.691980361938, "thread": 140487116760832, "threadName": "Thread-27" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:16,939", "created": 1580278996.939453, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentificate_create_key__", "levelname": "INFO", "levelno": 20, "lineno": 413, "message": "SJP: Got seed, sending key for authentification", "module": "__init__", "msecs": 939.4528865814209, "msg": "%s Got seed, sending key for authentification", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 9831.853866577148, "thread": 140487116760832, "threadName": "Thread-27" }, { "args": [ "SJP:", 0, 3, 0, "'d5d1672dedcccda1026a7f34ab5ae8bec00e68f8583e8dc6bc77a60363fff0c37589e1b6127c7a52e47fa8c5c0e34041848ce4950a744ce91f6b3a508ffd1c8e'" ], "asctime": "2020-01-29 07:23:16,939", "created": 1580278996.939703, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 0, service_id: 3, data_id: 0, data: \"'d5d1672dedcccda1026a7f34ab5ae8bec00e68f8583e8dc6bc77a60363fff0c37589e1b6127c7a52e47fa8c5c0e34041848ce4950a744ce91f6b3a508ffd1c8e'\"", "module": "__init__", "msecs": 939.7029876708984, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 9832.103967666626, "thread": 140487116760832, "threadName": "Thread-27" }, { "args": [], "asctime": "2020-01-29 07:23:16,940", "created": 1580278996.940488, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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 64 35 64 31 36 37 32 64 65 64 63 63 63 64 61 31 30 32 36 61 37 66 33 34 61 62 35 61 65 38 62 65 63 30 30 65 36 38 66 38 35 38 33 65 38 64 63 36 62 63 37 37 61 36 30 33 36 33 66 66 66 30 63 33 37 35 38 39 65 31 62 36 31 32 37 63 37 61 35 32 65 34 37 66 61 38 63 35 63 30 65 33 34 30 34 31 38 34 38 63 65 34 39 35 30 61 37 34 34 63 65 39 31 66 36 62 33 61 35 30 38 66 66 64 31 63 38 65 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 39 b3 59 ab", "module": "test_helpers", "msecs": 940.4881000518799, "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 64 35 64 31 36 37 32 64 65 64 63 63 63 64 61 31 30 32 36 61 37 66 33 34 61 62 35 61 65 38 62 65 63 30 30 65 36 38 66 38 35 38 33 65 38 64 63 36 62 63 37 37 61 36 30 33 36 33 66 66 66 30 63 33 37 35 38 39 65 31 62 36 31 32 37 63 37 61 35 32 65 34 37 66 61 38 63 35 63 30 65 33 34 30 34 31 38 34 38 63 65 34 39 35 30 61 37 34 34 63 65 39 31 66 36 62 33 61 35 30 38 66 66 64 31 63 38 65 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 39 b3 59 ab", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 9832.889080047607, "thread": 140487116760832, "threadName": "Thread-27" }, { "args": [], "asctime": "2020-01-29 07:23:17,091", "created": 1580278997.091828, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 66, "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 64 35 64 31 36 37 32 64 65 64 63 63 63 64 61 31 30 32 36 61 37 66 33 34 61 62 35 61 65 38 62 65 63 30 30 65 36 38 66 38 35 38 33 65 38 64 63 36 62 63 37 37 61 36 30 33 36 33 66 66 66 30 63 33 37 35 38 39 65 31 62 36 31 32 37 63 37 61 35 32 65 34 37 66 61 38 63 35 63 30 65 33 34 30 34 31 38 34 38 63 65 34 39 35 30 61 37 34 34 63 65 39 31 66 36 62 33 61 35 30 38 66 66 64 31 63 38 65 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 39 b3 59 ab", "module": "test_helpers", "msecs": 91.8281078338623, "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 64 35 64 31 36 37 32 64 65 64 63 63 63 64 61 31 30 32 36 61 37 66 33 34 61 62 35 61 65 38 62 65 63 30 30 65 36 38 66 38 35 38 33 65 38 64 63 36 62 63 37 37 61 36 30 33 36 33 66 66 66 30 63 33 37 35 38 39 65 31 62 36 31 32 37 63 37 61 35 32 65 34 37 66 61 38 63 35 63 30 65 33 34 30 34 31 38 34 38 63 65 34 39 35 30 61 37 34 34 63 65 39 31 66 36 62 33 61 35 30 38 66 66 64 31 63 38 65 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 39 b3 59 ab", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 9984.22908782959, "thread": 140487038072576, "threadName": "Thread-28" }, { "args": [ "SJP:", "0", "3", "0", "u'd5d1672dedcccda1026a7f34ab5ae8bec00e68f8583e8dc6bc77a60363fff0c37589e1b6127c7a52e47fa8c5c0e34041848ce4950a744ce91f6b3a508ffd1c8e'" ], "asctime": "2020-01-29 07:23:17,092", "created": 1580278997.092248, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 247, "message": "SJP: RX <- status: 0, service_id: 3, data_id: 0, data: \"u'd5d1672dedcccda1026a7f34ab5ae8bec00e68f8583e8dc6bc77a60363fff0c37589e1b6127c7a52e47fa8c5c0e34041848ce4950a744ce91f6b3a508ffd1c8e'\"", "module": "__init__", "msecs": 92.24796295166016, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 9984.648942947388, "thread": 140487038072576, "threadName": "Thread-28" }, { "args": [ "SJP:", "__authentificate_check_key__" ], "asctime": "2020-01-29 07:23:17,092", "created": 1580278997.092477, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 264, "message": "SJP: Executing callback __authentificate_check_key__ to process received data", "module": "__init__", "msecs": 92.47708320617676, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 9984.878063201904, "thread": 140487038072576, "threadName": "Thread-28" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:17,092", "created": 1580278997.092689, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentificate_check_key__", "levelname": "INFO", "levelno": 20, "lineno": 427, "message": "SJP: Got incorrect key, sending negative authentification feedback", "module": "__init__", "msecs": 92.68903732299805, "msg": "%s Got incorrect key, sending negative authentification feedback", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 9985.090017318726, "thread": 140487038072576, "threadName": "Thread-28" }, { "args": [ "SJP:", 0, 4, 0, "False" ], "asctime": "2020-01-29 07:23:17,092", "created": 1580278997.092904, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 0, service_id: 4, data_id: 0, data: \"False\"", "module": "__init__", "msecs": 92.90409088134766, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 9985.305070877075, "thread": 140487038072576, "threadName": "Thread-28" }, { "args": [], "asctime": "2020-01-29 07:23:17,093", "created": 1580278997.093362, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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": 93.36209297180176, "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": 7115, "processName": "MainProcess", "relativeCreated": 9985.76307296753, "thread": 140487038072576, "threadName": "Thread-28" }, { "args": [], "asctime": "2020-01-29 07:23:17,244", "created": 1580278997.244511, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 66, "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": 244.51088905334473, "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": 7115, "processName": "MainProcess", "relativeCreated": 10136.911869049072, "thread": 140487116760832, "threadName": "Thread-29" }, { "args": [ "SJP:", "0", "4", "0", "False" ], "asctime": "2020-01-29 07:23:17,244", "created": 1580278997.244918, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 247, "message": "SJP: RX <- status: 0, service_id: 4, data_id: 0, data: \"False\"", "module": "__init__", "msecs": 244.9181079864502, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 10137.319087982178, "thread": 140487116760832, "threadName": "Thread-29" }, { "args": [ "SJP:", "__authentificate_process_feedback__" ], "asctime": "2020-01-29 07:23:17,245", "created": 1580278997.245194, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 281, "message": "SJP: Executing callback __authentificate_process_feedback__ to process received data", "module": "__init__", "msecs": 245.1939582824707, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 10137.594938278198, "thread": 140487116760832, "threadName": "Thread-29" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:17,245", "created": 1580278997.245405, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentificate_process_feedback__", "levelname": "WARNING", "levelno": 30, "lineno": 437, "message": "SJP: Got negative authentification feedback", "module": "__init__", "msecs": 245.4049587249756, "msg": "%s Got negative authentification feedback", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 10137.805938720703, "thread": 140487116760832, "threadName": "Thread-29" }, { "args": [ "SJP:", 0, 10, 45054, "{u'test': u'test'}" ], "asctime": "2020-01-29 07:23:17,336", "created": 1580278997.336876, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 0, service_id: 10, data_id: 45054, data: \"{u'test': u'test'}\"", "module": "__init__", "msecs": 336.87591552734375, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 10229.276895523071, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:17,337", "created": 1580278997.337216, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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": 337.2159004211426, "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": 7115, "processName": "MainProcess", "relativeCreated": 10229.61688041687, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:17,488", "created": 1580278997.48812, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 66, "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": 488.12007904052734, "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": 7115, "processName": "MainProcess", "relativeCreated": 10380.521059036255, "thread": 140487116760832, "threadName": "Thread-30" }, { "args": [ "SJP:", "0", "10", "45054", "{u'test': u'test'}" ], "asctime": "2020-01-29 07:23:17,488", "created": 1580278997.488537, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 247, "message": "SJP: RX <- status: 0, service_id: 10, data_id: 45054, data: \"{u'test': u'test'}\"", "module": "__init__", "msecs": 488.537073135376, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 10380.938053131104, "thread": 140487116760832, "threadName": "Thread-30" }, { "args": [ "SJP:", "Unknown Client" ], "asctime": "2020-01-29 07:23:17,488", "created": 1580278997.488754, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 257, "message": "SJP: Received message needs authentification: Unknown Client. Sending negative response.", "module": "__init__", "msecs": 488.7540340423584, "msg": "%s Received message needs authentification: %s. Sending negative response.", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 10381.155014038086, "thread": 140487116760832, "threadName": "Thread-30" }, { "args": [ "SJP:", 2, 11, 45054, "None" ], "asctime": "2020-01-29 07:23:17,488", "created": 1580278997.488921, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 2, service_id: 11, data_id: 45054, data: \"None\"", "module": "__init__", "msecs": 488.9209270477295, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 10381.321907043457, "thread": 140487116760832, "threadName": "Thread-30" }, { "args": [], "asctime": "2020-01-29 07:23:17,489", "created": 1580278997.489395, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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": 489.3949031829834, "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": 7115, "processName": "MainProcess", "relativeCreated": 10381.795883178711, "thread": 140487116760832, "threadName": "Thread-30" }, { "args": [], "asctime": "2020-01-29 07:23:17,640", "created": 1580278997.640548, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 66, "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": 640.5479907989502, "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": 7115, "processName": "MainProcess", "relativeCreated": 10532.948970794678, "thread": 140487038072576, "threadName": "Thread-31" }, { "args": [ "SJP:", "2", "11", "45054", "None" ], "asctime": "2020-01-29 07:23:17,640", "created": 1580278997.640977, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 247, "message": "SJP: RX <- status: 2, service_id: 11, data_id: 45054, data: \"None\"", "module": "__init__", "msecs": 640.9769058227539, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 10533.377885818481, "thread": 140487038072576, "threadName": "Thread-31" }, { "args": [ "SJP:", "Authentification required" ], "asctime": "2020-01-29 07:23:17,641", "created": 1580278997.641284, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 274, "message": "SJP: Received message has a peculiar status: Authentification required", "module": "__init__", "msecs": 641.2839889526367, "msg": "%s Received message has a peculiar status: %s", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 10533.684968948364, "thread": 140487038072576, "threadName": "Thread-31" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:17,641", "created": 1580278997.641516, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__buffer_received_data__", "levelname": "DEBUG", "levelno": 10, "lineno": 292, "message": "SJP: Message data is stored in buffer and is now ready to be retrieved by receive method", "module": "__init__", "msecs": 641.5159702301025, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 10533.91695022583, "thread": 140487038072576, "threadName": "Thread-31" } ], "msecs": 839.1580581665039, "msg": "Authentification with different secrets for request and response instance (pure_json_protocol).", "name": "__tLogger__", "pathname": "src/tests/test_handling_errors.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 10731.559038162231, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 0.19764208793640137 }, { "args": [ "False", "" ], "asctime": "2020-01-29 07:23:17,840", "created": 1580278997.840072, "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-01-29 07:23:17,839", "created": 1580278997.8397, "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": 839.6999835968018, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 10732.10096359253, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Return value of authentification", "False", "" ], "asctime": "2020-01-29 07:23:17,839", "created": 1580278997.839897, "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": 839.8969173431396, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 10732.297897338867, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 840.0719165802002, "msg": "Return value of authentification is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 10732.472896575928, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 0.00017499923706054688 }, { "args": [ "True", "" ], "asctime": "2020-01-29 07:23:17,840", "created": 1580278997.840663, "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-01-29 07:23:17,840", "created": 1580278997.840337, "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": 840.3370380401611, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 10732.738018035889, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-01-29 07:23:17,840", "created": 1580278997.840497, "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": 840.4970169067383, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 10732.897996902466, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 840.662956237793, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 10733.06393623352, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 0.0001659393310546875 }, { "args": [ "2", "" ], "asctime": "2020-01-29 07:23:17,841", "created": 1580278997.841284, "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-01-29 07:23:17,840", "created": 1580278997.840922, "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": 840.9221172332764, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 10733.323097229004, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Response Status (Authentification required) transfered via pure_json_protocol", "2", "" ], "asctime": "2020-01-29 07:23:17,841", "created": 1580278997.841085, "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": 841.0849571228027, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 10733.48593711853, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 841.2840366363525, "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": 7115, "processName": "MainProcess", "relativeCreated": 10733.68501663208, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 0.0001990795135498047 }, { "args": [ "None", "" ], "asctime": "2020-01-29 07:23:17,841", "created": 1580278997.841885, "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-01-29 07:23:17,841", "created": 1580278997.841556, "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": 841.5560722351074, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 10733.957052230835, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Response Data (no data) transfered via pure_json_protocol", "None", "" ], "asctime": "2020-01-29 07:23:17,841", "created": 1580278997.841721, "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": 841.7210578918457, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 10734.122037887573, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 841.8850898742676, "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": 7115, "processName": "MainProcess", "relativeCreated": 10734.286069869995, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 0.000164031982421875 }, { "args": [ "None", "" ], "asctime": "2020-01-29 07:23:17,943", "created": 1580278997.943225, "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": [ "SJP:", "0.1", "11", "45054" ], "asctime": "2020-01-29 07:23:17,942", "created": 1580278997.942488, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 309, "message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 942.4879550933838, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 10834.888935089111, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:17,942", "created": 1580278997.942833, "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": 942.8329467773438, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 10835.233926773071, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:17,943", "created": 1580278997.943026, "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": 943.026065826416, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 10835.427045822144, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 943.2249069213867, "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": 7115, "processName": "MainProcess", "relativeCreated": 10835.625886917114, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 0.00019884109497070312 }, { "args": [ "None", "" ], "asctime": "2020-01-29 07:23:18,044", "created": 1580278998.044602, "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": [ "SJP:", "0.1", "10", "45054" ], "asctime": "2020-01-29 07:23:18,043", "created": 1580278998.043882, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 309, "message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 43.881893157958984, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 10936.282873153687, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:18,044", "created": 1580278998.04423, "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": 44.229984283447266, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 10936.630964279175, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:18,044", "created": 1580278998.044424, "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": 44.42405700683594, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 10936.825037002563, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 44.6019172668457, "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": 7115, "processName": "MainProcess", "relativeCreated": 10937.002897262573, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 0.00017786026000976562 } ], "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 1.4117448329925537, "time_finished": "2020-01-29 07:23:18,044", "time_start": "2020-01-29 07:23:16,632" }, "socket_protocol.pure_json_protocol: Checksum corumpation while sending.": { "args": null, "asctime": "2020-01-29 07:23:14,012", "created": 1580278994.012356, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 36, "message": "socket_protocol.pure_json_protocol: Checksum corumpation while sending.", "module": "__init__", "moduleLogger": [], "msecs": 12.356042861938477, "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": 7115, "processName": "MainProcess", "relativeCreated": 6904.757022857666, "testcaseLogger": [ { "args": [], "asctime": "2020-01-29 07:23:14,314", "created": 1580278994.314076, "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": [ "SJP:" ], "asctime": "2020-01-29 07:23:14,012", "created": 1580278994.012512, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 295, "message": "SJP: Cleaning up receive-buffer", "module": "__init__", "msecs": 12.511968612670898, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 6904.912948608398, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:14,012", "created": 1580278994.012704, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 199, "message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 12.703895568847656, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 6905.104875564575, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:14,012", "created": 1580278994.012812, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 295, "message": "SJP: Cleaning up receive-buffer", "module": "__init__", "msecs": 12.811899185180664, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 6905.212879180908, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:14,013", "created": 1580278994.013, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 199, "message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 13.000011444091797, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 6905.400991439819, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "SJP:", 0, 10, 45054, "{u'test': u'test'}" ], "asctime": "2020-01-29 07:23:14,013", "created": 1580278994.013132, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 0, service_id: 10, data_id: 45054, data: \"{u'test': u'test'}\"", "module": "__init__", "msecs": 13.132095336914062, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 6905.533075332642, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:14,013", "created": 1580278994.01342, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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": 13.42010498046875, "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": 7115, "processName": "MainProcess", "relativeCreated": 6905.821084976196, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:14,164", "created": 1580278994.164034, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 66, "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": 164.0338897705078, "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": 7115, "processName": "MainProcess", "relativeCreated": 7056.434869766235, "thread": 140487116760832, "threadName": "Thread-23" }, { "args": [ "SJP:", "(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-01-29 07:23:14,164", "created": 1580278994.164335, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 238, "message": "SJP: 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": 164.3350124359131, "msg": "%s Received message has a wrong checksum and will be ignored: %s.", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 7056.735992431641, "thread": 140487116760832, "threadName": "Thread-23" } ], "msecs": 314.0759468078613, "msg": "Send data with wrong checksum by pure_json_protocol.", "name": "__tLogger__", "pathname": "src/tests/test_communication_errors.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 7206.476926803589, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 0.14974093437194824 }, { "args": [ "True", "" ], "asctime": "2020-01-29 07:23:14,314", "created": 1580278994.314462, "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-01-29 07:23:14,314", "created": 1580278994.314305, "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": 314.30506706237793, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 7206.7060470581055, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-01-29 07:23:14,314", "created": 1580278994.314381, "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": 314.3808841705322, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 7206.78186416626, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 314.46194648742676, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 7206.862926483154, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 8.106231689453125e-05 }, { "args": [ "False", "" ], "asctime": "2020-01-29 07:23:14,314", "created": 1580278994.314694, "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-01-29 07:23:14,314", "created": 1580278994.3146, "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": 314.59999084472656, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 7207.000970840454, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Callback executed variable", "False", "" ], "asctime": "2020-01-29 07:23:14,314", "created": 1580278994.31465, "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": 314.6500587463379, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 7207.051038742065, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 314.6939277648926, "msg": "Callback executed variable is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 7207.09490776062, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 4.38690185546875e-05 }, { "args": [ "None", "" ], "asctime": "2020-01-29 07:23:14,415", "created": 1580278994.415264, "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": [ "SJP:", "0.1", "11", "45054" ], "asctime": "2020-01-29 07:23:14,414", "created": 1580278994.414977, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 309, "message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 414.9770736694336, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 7307.378053665161, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:14,415", "created": 1580278994.415131, "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": 415.1310920715332, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 7307.532072067261, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:14,415", "created": 1580278994.415199, "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": 415.19904136657715, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 7307.600021362305, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 415.2638912200928, "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": 7115, "processName": "MainProcess", "relativeCreated": 7307.66487121582, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 6.4849853515625e-05 }, { "args": [ "None", "" ], "asctime": "2020-01-29 07:23:14,516", "created": 1580278994.516152, "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": [ "SJP:", "0.1", "10", "45054" ], "asctime": "2020-01-29 07:23:14,515", "created": 1580278994.515845, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 309, "message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 515.8450603485107, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 7408.246040344238, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:14,516", "created": 1580278994.516018, "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": 516.0179138183594, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 7408.418893814087, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:14,516", "created": 1580278994.516085, "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": 516.0849094390869, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 7408.485889434814, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 516.1519050598145, "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": 7115, "processName": "MainProcess", "relativeCreated": 7408.552885055542, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 6.699562072753906e-05 } ], "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 0.503795862197876, "time_finished": "2020-01-29 07:23:14,516", "time_start": "2020-01-29 07:23:14,012" }, "socket_protocol.pure_json_protocol: Incompatible Callback return value(s).": { "args": null, "asctime": "2020-01-29 07:23:18,049", "created": 1580278998.049642, "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": 49.642086029052734, "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": 7115, "processName": "MainProcess", "relativeCreated": 10942.04306602478, "testcaseLogger": [ { "args": [], "asctime": "2020-01-29 07:23:18,055", "created": 1580278998.055842, "exc_info": null, "exc_text": null, "filename": "test_handling_errors.py", "funcName": "callback_rv_error", "levelname": "DEBUG", "levelno": 10, "lineno": 144, "message": "Send and received data with incompatible callback (pure_json_protocol).", "module": "test_handling_errors", "moduleLogger": [ { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:18,049", "created": 1580278998.049935, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 295, "message": "SJP: Cleaning up receive-buffer", "module": "__init__", "msecs": 49.935102462768555, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 10942.336082458496, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:18,050", "created": 1580278998.050296, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 199, "message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 50.29606819152832, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 10942.697048187256, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:18,050", "created": 1580278998.050501, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 295, "message": "SJP: Cleaning up receive-buffer", "module": "__init__", "msecs": 50.501108169555664, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 10942.902088165283, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:18,050", "created": 1580278998.050821, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 199, "message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 50.82106590270996, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 10943.222045898438, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "SJP:", 0, 10, 45054, "None" ], "asctime": "2020-01-29 07:23:18,051", "created": 1580278998.051089, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 0, service_id: 10, data_id: 45054, data: \"None\"", "module": "__init__", "msecs": 51.08904838562012, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 10943.490028381348, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:18,051", "created": 1580278998.051553, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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": 51.55301094055176, "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": 7115, "processName": "MainProcess", "relativeCreated": 10943.95399093628, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:18,051", "created": 1580278998.051969, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 66, "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": 51.969051361083984, "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": 7115, "processName": "MainProcess", "relativeCreated": 10944.370031356812, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "SJP:", "0", "10", "45054", "None" ], "asctime": "2020-01-29 07:23:18,052", "created": 1580278998.052262, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 247, "message": "SJP: RX <- status: 0, service_id: 10, data_id: 45054, data: \"None\"", "module": "__init__", "msecs": 52.262067794799805, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 10944.663047790527, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "SJP:", "response_data_method_fail" ], "asctime": "2020-01-29 07:23:18,052", "created": 1580278998.052458, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 264, "message": "SJP: Executing callback response_data_method_fail to process received data", "module": "__init__", "msecs": 52.45804786682129, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 10944.859027862549, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "SJP:", 0, 10, 48879, "None" ], "asctime": "2020-01-29 07:23:18,052", "created": 1580278998.052794, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 0, service_id: 10, data_id: 48879, data: \"None\"", "module": "__init__", "msecs": 52.79397964477539, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 10945.194959640503, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:18,053", "created": 1580278998.053256, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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": 53.25603485107422, "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": 7115, "processName": "MainProcess", "relativeCreated": 10945.657014846802, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:18,053", "created": 1580278998.053628, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 66, "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": 53.627967834472656, "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": 7115, "processName": "MainProcess", "relativeCreated": 10946.0289478302, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "SJP:", "0", "10", "48879", "None" ], "asctime": "2020-01-29 07:23:18,053", "created": 1580278998.053878, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 247, "message": "SJP: RX <- status: 0, service_id: 10, data_id: 48879, data: \"None\"", "module": "__init__", "msecs": 53.878068923950195, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 10946.279048919678, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:18,054", "created": 1580278998.054096, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 259, "message": "SJP: Received message with no registered callback. Sending negative response.", "module": "__init__", "msecs": 54.09598350524902, "msg": "%s Received message with no registered callback. Sending negative response.", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 10946.496963500977, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "SJP:", 1, 11, 48879, "None" ], "asctime": "2020-01-29 07:23:18,054", "created": 1580278998.054287, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 1, service_id: 11, data_id: 48879, data: \"None\"", "module": "__init__", "msecs": 54.286956787109375, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 10946.687936782837, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:18,054", "created": 1580278998.054711, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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": 54.711103439331055, "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": 7115, "processName": "MainProcess", "relativeCreated": 10947.112083435059, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:18,055", "created": 1580278998.055055, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 66, "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": 55.05490303039551, "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": 7115, "processName": "MainProcess", "relativeCreated": 10947.455883026123, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "SJP:", "1", "11", "48879", "None" ], "asctime": "2020-01-29 07:23:18,055", "created": 1580278998.055298, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 247, "message": "SJP: RX <- status: 1, service_id: 11, data_id: 48879, data: \"None\"", "module": "__init__", "msecs": 55.2980899810791, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 10947.699069976807, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "SJP:", "Request has no callback. Data buffered." ], "asctime": "2020-01-29 07:23:18,055", "created": 1580278998.055495, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 274, "message": "SJP: Received message has a peculiar status: Request has no callback. Data buffered.", "module": "__init__", "msecs": 55.49502372741699, "msg": "%s Received message has a peculiar status: %s", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 10947.896003723145, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "SJP:", "response_data_method_fail" ], "asctime": "2020-01-29 07:23:18,055", "created": 1580278998.055645, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 281, "message": "SJP: Executing callback response_data_method_fail to process received data", "module": "__init__", "msecs": 55.644989013671875, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 10948.0459690094, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 55.841922760009766, "msg": "Send and received data with incompatible callback (pure_json_protocol).", "name": "__tLogger__", "pathname": "src/tests/test_handling_errors.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 10948.242902755737, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 0.00019693374633789062 }, { "args": [ "True", "" ], "asctime": "2020-01-29 07:23:18,056", "created": 1580278998.05647, "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-01-29 07:23:18,056", "created": 1580278998.056161, "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": 56.160926818847656, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 10948.561906814575, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Exception (TypeError) detection variable", "True", "" ], "asctime": "2020-01-29 07:23:18,056", "created": 1580278998.056317, "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": 56.31709098815918, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 10948.718070983887, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 56.46991729736328, "msg": "Exception (TypeError) detection variable is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 10948.87089729309, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 0.00015282630920410156 }, { "args": [ "None", "" ], "asctime": "2020-01-29 07:23:18,157", "created": 1580278998.157715, "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": [ "SJP:", "0.1", "11", "45054" ], "asctime": "2020-01-29 07:23:18,157", "created": 1580278998.15705, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 309, "message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 157.04989433288574, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 11049.450874328613, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:18,157", "created": 1580278998.157387, "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": 157.38701820373535, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 11049.787998199463, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:18,157", "created": 1580278998.157559, "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": 157.55891799926758, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 11049.959897994995, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 157.7150821685791, "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": 7115, "processName": "MainProcess", "relativeCreated": 11050.116062164307, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 0.00015616416931152344 }, { "args": [ "None", "" ], "asctime": "2020-01-29 07:23:18,258", "created": 1580278998.258988, "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": [ "SJP:", "0.1", "10", "45054" ], "asctime": "2020-01-29 07:23:18,258", "created": 1580278998.258278, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 309, "message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 258.27789306640625, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 11150.678873062134, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:18,258", "created": 1580278998.258618, "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": 258.6181163787842, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 11151.019096374512, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:18,258", "created": 1580278998.25881, "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": 258.81004333496094, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 11151.211023330688, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 258.9879035949707, "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": 7115, "processName": "MainProcess", "relativeCreated": 11151.388883590698, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 0.00017786026000976562 }, { "args": [ "True", "" ], "asctime": "2020-01-29 07:23:18,259", "created": 1580278998.259614, "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-01-29 07:23:18,259", "created": 1580278998.259302, "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": 259.30190086364746, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 11151.702880859375, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Exception (TypeError) detection variable", "True", "" ], "asctime": "2020-01-29 07:23:18,259", "created": 1580278998.25946, "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": 259.4599723815918, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 11151.86095237732, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 259.6139907836914, "msg": "Exception (TypeError) detection variable is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 11152.014970779419, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 0.00015401840209960938 }, { "args": [ "None", "" ], "asctime": "2020-01-29 07:23:18,360", "created": 1580278998.360594, "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": [ "SJP:", "0.1", "11", "48879" ], "asctime": "2020-01-29 07:23:18,360", "created": 1580278998.360118, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 309, "message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 48879) not in buffer.", "module": "__init__", "msecs": 360.11791229248047, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 11252.518892288208, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-01-29 07:23:18,360", "created": 1580278998.360364, "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": 360.3639602661133, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 11252.76494026184, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-01-29 07:23:18,360", "created": 1580278998.360483, "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": 360.48293113708496, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 11252.883911132812, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 360.5940341949463, "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": 7115, "processName": "MainProcess", "relativeCreated": 11252.995014190674, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 0.00011110305786132812 }, { "args": [ "None", "" ], "asctime": "2020-01-29 07:23:18,461", "created": 1580278998.461894, "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": [ "SJP:", "0.1", "10", "48879" ], "asctime": "2020-01-29 07:23:18,461", "created": 1580278998.461104, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 309, "message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 48879) not in buffer.", "module": "__init__", "msecs": 461.1039161682129, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 11353.50489616394, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-01-29 07:23:18,461", "created": 1580278998.461481, "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": 461.48109436035156, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 11353.88207435608, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-01-29 07:23:18,461", "created": 1580278998.461698, "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": 461.698055267334, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 11354.099035263062, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 461.89403533935547, "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": 7115, "processName": "MainProcess", "relativeCreated": 11354.295015335083, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 0.00019598007202148438 } ], "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 0.41225194931030273, "time_finished": "2020-01-29 07:23:18,461", "time_start": "2020-01-29 07:23:18,049" }, "socket_protocol.pure_json_protocol: No Callback at response instance for the request.": { "args": null, "asctime": "2020-01-29 07:23:15,924", "created": 1580278995.924614, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 41, "message": "socket_protocol.pure_json_protocol: No Callback at response instance for the request.", "module": "__init__", "moduleLogger": [], "msecs": 924.6139526367188, "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": 7115, "processName": "MainProcess", "relativeCreated": 8817.014932632446, "testcaseLogger": [ { "args": [], "asctime": "2020-01-29 07:23:16,428", "created": 1580278996.428302, "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": [ "SJP:" ], "asctime": "2020-01-29 07:23:15,924", "created": 1580278995.924931, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 295, "message": "SJP: Cleaning up receive-buffer", "module": "__init__", "msecs": 924.9310493469238, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 8817.332029342651, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:15,925", "created": 1580278995.925342, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 199, "message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 925.3420829772949, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 8817.743062973022, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:15,925", "created": 1580278995.925552, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 295, "message": "SJP: Cleaning up receive-buffer", "module": "__init__", "msecs": 925.5518913269043, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 8817.952871322632, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:15,925", "created": 1580278995.92587, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 199, "message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 925.8699417114258, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 8818.270921707153, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "SJP:", 0, 10, 45054, "{u'test': u'test'}" ], "asctime": "2020-01-29 07:23:15,926", "created": 1580278995.926075, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 0, service_id: 10, data_id: 45054, data: \"{u'test': u'test'}\"", "module": "__init__", "msecs": 926.0749816894531, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 8818.47596168518, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:15,926", "created": 1580278995.926569, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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": 926.5689849853516, "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": 7115, "processName": "MainProcess", "relativeCreated": 8818.96996498108, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:16,077", "created": 1580278996.077598, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 66, "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": 77.59809494018555, "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": 7115, "processName": "MainProcess", "relativeCreated": 8969.999074935913, "thread": 140487116760832, "threadName": "Thread-24" }, { "args": [ "SJP:", "0", "10", "45054", "{u'test': u'test'}" ], "asctime": "2020-01-29 07:23:16,077", "created": 1580278996.077977, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 247, "message": "SJP: RX <- status: 0, service_id: 10, data_id: 45054, data: \"{u'test': u'test'}\"", "module": "__init__", "msecs": 77.97694206237793, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 8970.377922058105, "thread": 140487116760832, "threadName": "Thread-24" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:16,078", "created": 1580278996.078229, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 259, "message": "SJP: Received message with no registered callback. Sending negative response.", "module": "__init__", "msecs": 78.22895050048828, "msg": "%s Received message with no registered callback. Sending negative response.", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 8970.629930496216, "thread": 140487116760832, "threadName": "Thread-24" }, { "args": [ "SJP:", 1, 11, 45054, "None" ], "asctime": "2020-01-29 07:23:16,078", "created": 1580278996.078439, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 1, service_id: 11, data_id: 45054, data: \"None\"", "module": "__init__", "msecs": 78.43899726867676, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 8970.839977264404, "thread": 140487116760832, "threadName": "Thread-24" }, { "args": [], "asctime": "2020-01-29 07:23:16,078", "created": 1580278996.078876, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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": 78.87601852416992, "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": 7115, "processName": "MainProcess", "relativeCreated": 8971.276998519897, "thread": 140487116760832, "threadName": "Thread-24" }, { "args": [], "asctime": "2020-01-29 07:23:16,229", "created": 1580278996.229851, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 66, "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": 229.85100746154785, "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": 7115, "processName": "MainProcess", "relativeCreated": 9122.251987457275, "thread": 140487038072576, "threadName": "Thread-25" }, { "args": [ "SJP:", "1", "11", "45054", "None" ], "asctime": "2020-01-29 07:23:16,230", "created": 1580278996.23022, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 247, "message": "SJP: RX <- status: 1, service_id: 11, data_id: 45054, data: \"None\"", "module": "__init__", "msecs": 230.22007942199707, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 9122.621059417725, "thread": 140487038072576, "threadName": "Thread-25" }, { "args": [ "SJP:", "Request has no callback. Data buffered." ], "asctime": "2020-01-29 07:23:16,230", "created": 1580278996.23048, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 274, "message": "SJP: Received message has a peculiar status: Request has no callback. Data buffered.", "module": "__init__", "msecs": 230.47995567321777, "msg": "%s Received message has a peculiar status: %s", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 9122.880935668945, "thread": 140487038072576, "threadName": "Thread-25" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:16,230", "created": 1580278996.230682, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__buffer_received_data__", "levelname": "DEBUG", "levelno": 10, "lineno": 292, "message": "SJP: Message data is stored in buffer and is now ready to be retrieved by receive method", "module": "__init__", "msecs": 230.6818962097168, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 9123.082876205444, "thread": 140487038072576, "threadName": "Thread-25" } ], "msecs": 428.3020496368408, "msg": "Send data, but no callback registered (pure_json_protocol).", "name": "__tLogger__", "pathname": "src/tests/test_handling_errors.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 9320.703029632568, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 0.19762015342712402 }, { "args": [ "True", "" ], "asctime": "2020-01-29 07:23:16,429", "created": 1580278996.42907, "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-01-29 07:23:16,428", "created": 1580278996.428704, "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": 428.70402336120605, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 9321.105003356934, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-01-29 07:23:16,428", "created": 1580278996.428895, "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": 428.8949966430664, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 9321.295976638794, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 429.06999588012695, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 9321.470975875854, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 0.00017499923706054688 }, { "args": [ "1", "" ], "asctime": "2020-01-29 07:23:16,429", "created": 1580278996.429656, "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-01-29 07:23:16,429", "created": 1580278996.429355, "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": 429.3549060821533, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 9321.75588607788, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Response Status (Request has no callback. Data buffered.) transfered via pure_json_protocol", "1", "" ], "asctime": "2020-01-29 07:23:16,429", "created": 1580278996.429509, "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": 429.50892448425293, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 9321.90990447998, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 429.6560287475586, "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": 7115, "processName": "MainProcess", "relativeCreated": 9322.057008743286, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 0.00014710426330566406 }, { "args": [ "None", "" ], "asctime": "2020-01-29 07:23:16,430", "created": 1580278996.430179, "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-01-29 07:23:16,429", "created": 1580278996.429893, "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": 429.89301681518555, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 9322.293996810913, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Response Data (no data) transfered via pure_json_protocol", "None", "" ], "asctime": "2020-01-29 07:23:16,430", "created": 1580278996.430036, "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": 430.0360679626465, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 9322.437047958374, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 430.1791191101074, "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": 7115, "processName": "MainProcess", "relativeCreated": 9322.580099105835, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 0.0001430511474609375 }, { "args": [ "None", "" ], "asctime": "2020-01-29 07:23:16,531", "created": 1580278996.531281, "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": [ "SJP:", "0.1", "11", "45054" ], "asctime": "2020-01-29 07:23:16,530", "created": 1580278996.530658, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 309, "message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 530.6580066680908, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 9423.058986663818, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:16,530", "created": 1580278996.530921, "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": 530.9209823608398, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 9423.321962356567, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:16,531", "created": 1580278996.531115, "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": 531.1150550842285, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 9423.516035079956, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 531.2809944152832, "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": 7115, "processName": "MainProcess", "relativeCreated": 9423.68197441101, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 0.0001659393310546875 }, { "args": [ "None", "" ], "asctime": "2020-01-29 07:23:16,632", "created": 1580278996.632363, "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": [ "SJP:", "0.1", "10", "45054" ], "asctime": "2020-01-29 07:23:16,631", "created": 1580278996.631748, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 309, "message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 631.7479610443115, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 9524.148941040039, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:16,632", "created": 1580278996.632012, "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": 632.011890411377, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 9524.412870407104, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:16,632", "created": 1580278996.632194, "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": 632.1940422058105, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 9524.595022201538, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 632.3630809783936, "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": 7115, "processName": "MainProcess", "relativeCreated": 9524.764060974121, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 0.0001690387725830078 } ], "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 0.7077491283416748, "time_finished": "2020-01-29 07:23:16,632", "time_start": "2020-01-29 07:23:15,924" }, "socket_protocol.pure_json_protocol: Register a Callback which is already defined.": { "args": null, "asctime": "2020-01-29 07:23:18,045", "created": 1580278998.045155, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 43, "message": "socket_protocol.pure_json_protocol: Register a Callback which is already defined.", "module": "__init__", "moduleLogger": [], "msecs": 45.15504837036133, "msg": "socket_protocol.pure_json_protocol: Register a Callback which is already defined.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest/src/tests/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 10937.556028366089, "testcaseLogger": [ { "args": [], "asctime": "2020-01-29 07:23:18,046", "created": 1580278998.0462, "exc_info": null, "exc_text": null, "filename": "test_handling_errors.py", "funcName": "callback_conf_error", "levelname": "DEBUG", "levelno": 10, "lineno": 94, "message": "Registering two callbacks which overlap for at least one message (pure_json_protocol).", "module": "test_handling_errors", "moduleLogger": [ { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:18,045", "created": 1580278998.045529, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 295, "message": "SJP: Cleaning up receive-buffer", "module": "__init__", "msecs": 45.52888870239258, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 10937.92986869812, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:18,045", "created": 1580278998.045918, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 199, "message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 45.91798782348633, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 10938.318967819214, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 46.20003700256348, "msg": "Registering two callbacks which overlap for at least one message (pure_json_protocol).", "name": "__tLogger__", "pathname": "src/tests/test_handling_errors.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 10938.601016998291, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 0.00028204917907714844 }, { "args": [ "True", "" ], "asctime": "2020-01-29 07:23:18,046", "created": 1580278998.046804, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Exception (RegistrationError) detection variable is correct (Content True and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Exception (RegistrationError) detection variable", "True", "" ], "asctime": "2020-01-29 07:23:18,046", "created": 1580278998.046472, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Exception (RegistrationError) detection variable): True ()", "module": "test", "msecs": 46.47207260131836, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 10938.873052597046, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Exception (RegistrationError) detection variable", "True", "" ], "asctime": "2020-01-29 07:23:18,046", "created": 1580278998.046636, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Exception (RegistrationError) detection variable): result = True ()", "module": "test", "msecs": 46.636104583740234, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 10939.037084579468, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 46.803951263427734, "msg": "Exception (RegistrationError) detection variable is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 10939.204931259155, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 0.0001678466796875 } ], "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 0.0016489028930664062, "time_finished": "2020-01-29 07:23:18,046", "time_start": "2020-01-29 07:23:18,045" }, "socket_protocol.pure_json_protocol: Register a second Callback with the same service_id.": { "args": null, "asctime": "2020-01-29 07:23:12,096", "created": 1580278992.096374, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 31, "message": "socket_protocol.pure_json_protocol: Register a second Callback with the same service_id.", "module": "__init__", "moduleLogger": [], "msecs": 96.3740348815918, "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": 7115, "processName": "MainProcess", "relativeCreated": 4988.775014877319, "testcaseLogger": [ { "args": [], "asctime": "2020-01-29 07:23:12,598", "created": 1580278992.598197, "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": [ "SJP:" ], "asctime": "2020-01-29 07:23:12,096", "created": 1580278992.096484, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 295, "message": "SJP: Cleaning up receive-buffer", "module": "__init__", "msecs": 96.48394584655762, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 4988.884925842285, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:12,096", "created": 1580278992.09661, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 199, "message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 96.61006927490234, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 4989.01104927063, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:12,096", "created": 1580278992.096679, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 295, "message": "SJP: Cleaning up receive-buffer", "module": "__init__", "msecs": 96.6789722442627, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 4989.07995223999, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:12,096", "created": 1580278992.096797, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 199, "message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 96.79698944091797, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 4989.1979694366455, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "SJP:", 0, 10, 45054, "{u'test': u'test'}" ], "asctime": "2020-01-29 07:23:12,096", "created": 1580278992.096927, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 0, service_id: 10, data_id: 45054, data: \"{u'test': u'test'}\"", "module": "__init__", "msecs": 96.92692756652832, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 4989.327907562256, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:12,097", "created": 1580278992.097088, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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": 97.08809852600098, "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": 7115, "processName": "MainProcess", "relativeCreated": 4989.4890785217285, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:12,247", "created": 1580278992.247548, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 66, "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": 247.54810333251953, "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": 7115, "processName": "MainProcess", "relativeCreated": 5139.949083328247, "thread": 140487038072576, "threadName": "Thread-17" }, { "args": [ "SJP:", "0", "10", "45054", "{u'test': u'test'}" ], "asctime": "2020-01-29 07:23:12,247", "created": 1580278992.247742, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 247, "message": "SJP: RX <- status: 0, service_id: 10, data_id: 45054, data: \"{u'test': u'test'}\"", "module": "__init__", "msecs": 247.7419376373291, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 5140.142917633057, "thread": 140487038072576, "threadName": "Thread-17" }, { "args": [ "SJP:", "response_data_method_2" ], "asctime": "2020-01-29 07:23:12,247", "created": 1580278992.247839, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 264, "message": "SJP: Executing callback response_data_method_2 to process received data", "module": "__init__", "msecs": 247.83897399902344, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 5140.239953994751, "thread": 140487038072576, "threadName": "Thread-17" }, { "args": [ "SJP:", 5, 11, 45054, "[1, 3, u's']" ], "asctime": "2020-01-29 07:23:12,247", "created": 1580278992.247919, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, u's']\"", "module": "__init__", "msecs": 247.91908264160156, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 5140.320062637329, "thread": 140487038072576, "threadName": "Thread-17" }, { "args": [], "asctime": "2020-01-29 07:23:12,248", "created": 1580278992.24808, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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": 248.08001518249512, "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": 7115, "processName": "MainProcess", "relativeCreated": 5140.480995178223, "thread": 140487038072576, "threadName": "Thread-17" }, { "args": [], "asctime": "2020-01-29 07:23:12,398", "created": 1580278992.398515, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 66, "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": 398.514986038208, "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": 7115, "processName": "MainProcess", "relativeCreated": 5290.915966033936, "thread": 140487116760832, "threadName": "Thread-18" }, { "args": [ "SJP:", "5", "11", "45054", "[1, 3, u's']" ], "asctime": "2020-01-29 07:23:12,398", "created": 1580278992.398684, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 247, "message": "SJP: RX <- status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, u's']\"", "module": "__init__", "msecs": 398.684024810791, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 5291.085004806519, "thread": 140487116760832, "threadName": "Thread-18" }, { "args": [ "SJP:", "Operation not permitted" ], "asctime": "2020-01-29 07:23:12,398", "created": 1580278992.398767, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 274, "message": "SJP: Received message has a peculiar status: Operation not permitted", "module": "__init__", "msecs": 398.76699447631836, "msg": "%s Received message has a peculiar status: %s", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 5291.167974472046, "thread": 140487116760832, "threadName": "Thread-18" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:12,398", "created": 1580278992.398826, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__buffer_received_data__", "levelname": "DEBUG", "levelno": 10, "lineno": 292, "message": "SJP: Message data is stored in buffer and is now ready to be retrieved by receive method", "module": "__init__", "msecs": 398.82588386535645, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 5291.226863861084, "thread": 140487116760832, "threadName": "Thread-18" } ], "msecs": 598.1969833374023, "msg": "Send and received data by pure_json_protocol.", "name": "__tLogger__", "pathname": "src/tests/test_normal_operation.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 5490.59796333313, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 0.1993710994720459 }, { "args": [ "True", "" ], "asctime": "2020-01-29 07:23:12,598", "created": 1580278992.598706, "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-01-29 07:23:12,598", "created": 1580278992.598493, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return value of send method): True ()", "module": "test", "msecs": 598.4930992126465, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 5490.894079208374, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-01-29 07:23:12,598", "created": 1580278992.598606, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return value of send method): result = True ()", "module": "test", "msecs": 598.6061096191406, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 5491.007089614868, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 598.7060070037842, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 5491.106986999512, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 9.989738464355469e-05 }, { "args": [ "0", "" ], "asctime": "2020-01-29 07:23:12,599", "created": 1580278992.59903, "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-01-29 07:23:12,598", "created": 1580278992.598856, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Request Status (Okay) transfered via pure_json_protocol): 0 ()", "module": "test", "msecs": 598.8559722900391, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 5491.256952285767, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Request Status (Okay) transfered via pure_json_protocol", "0", "" ], "asctime": "2020-01-29 07:23:12,598", "created": 1580278992.598945, "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": 598.944902420044, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 5491.3458824157715, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 599.0300178527832, "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": 7115, "processName": "MainProcess", "relativeCreated": 5491.430997848511, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 8.511543273925781e-05 }, { "args": [ "{u'test': u'test'}", "" ], "asctime": "2020-01-29 07:23:12,599", "created": 1580278992.599377, "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-01-29 07:23:12,599", "created": 1580278992.599177, "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": 599.1768836975098, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 5491.577863693237, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Request Data transfered via pure_json_protocol", "{ u'test': u'test' }", "" ], "asctime": "2020-01-29 07:23:12,599", "created": 1580278992.599267, "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": 599.2670059204102, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 5491.667985916138, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 599.376916885376, "msg": "Request Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 5491.7778968811035, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 0.00010991096496582031 }, { "args": [ "5", "" ], "asctime": "2020-01-29 07:23:12,599", "created": 1580278992.599696, "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-01-29 07:23:12,599", "created": 1580278992.599522, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Response Status (Operation not permitted) transfered via pure_json_protocol): 5 ()", "module": "test", "msecs": 599.5221138000488, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 5491.923093795776, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Response Status (Operation not permitted) transfered via pure_json_protocol", "5", "" ], "asctime": "2020-01-29 07:23:12,599", "created": 1580278992.599607, "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": 599.606990814209, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 5492.0079708099365, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 599.6959209442139, "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": 7115, "processName": "MainProcess", "relativeCreated": 5492.096900939941, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 8.893013000488281e-05 }, { "args": [ "[1, 3, u's']", "" ], "asctime": "2020-01-29 07:23:12,600", "created": 1580278992.600053, "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-01-29 07:23:12,599", "created": 1580278992.599847, "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": 599.8470783233643, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 5492.248058319092, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Response Data transfered via pure_json_protocol", "[ 1, 3, u's' ]", "" ], "asctime": "2020-01-29 07:23:12,599", "created": 1580278992.599937, "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": 599.9369621276855, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 5492.337942123413, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 600.053071975708, "msg": "Response Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 5492.454051971436, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 0.00011610984802246094 }, { "args": [ "None", "" ], "asctime": "2020-01-29 07:23:12,701", "created": 1580278992.701085, "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": [ "SJP:", "0.1", "11", "45054" ], "asctime": "2020-01-29 07:23:12,700", "created": 1580278992.700443, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 309, "message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 700.4430294036865, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 5592.844009399414, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:12,700", "created": 1580278992.70073, "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": 700.7300853729248, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 5593.131065368652, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:12,700", "created": 1580278992.700914, "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": 700.9139060974121, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 5593.31488609314, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 701.085090637207, "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": 7115, "processName": "MainProcess", "relativeCreated": 5593.486070632935, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 0.00017118453979492188 }, { "args": [ "None", "" ], "asctime": "2020-01-29 07:23:12,802", "created": 1580278992.80222, "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": [ "SJP:", "0.1", "10", "45054" ], "asctime": "2020-01-29 07:23:12,801", "created": 1580278992.801596, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 309, "message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 801.59592628479, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 5693.996906280518, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:12,801", "created": 1580278992.801861, "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": 801.861047744751, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 5694.2620277404785, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:12,802", "created": 1580278992.802056, "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": 802.056074142456, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 5694.457054138184, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 802.2201061248779, "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": 7115, "processName": "MainProcess", "relativeCreated": 5694.6210861206055, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 0.000164031982421875 } ], "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 0.7058460712432861, "time_finished": "2020-01-29 07:23:12,802", "time_start": "2020-01-29 07:23:12,096" }, "socket_protocol.pure_json_protocol: Send and receive check including authentification.": { "args": null, "asctime": "2020-01-29 07:23:08,575", "created": 1580278988.575057, "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 including authentification.", "module": "__init__", "moduleLogger": [], "msecs": 575.0570297241211, "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": 7115, "processName": "MainProcess", "relativeCreated": 1467.4580097198486, "testcaseLogger": [ { "args": [], "asctime": "2020-01-29 07:23:09,778", "created": 1580278989.77856, "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": [ "SJP:" ], "asctime": "2020-01-29 07:23:08,575", "created": 1580278988.575159, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 295, "message": "SJP: Cleaning up receive-buffer", "module": "__init__", "msecs": 575.1590728759766, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 1467.560052871704, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:08,575", "created": 1580278988.575283, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 199, "message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 575.2830505371094, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 1467.684030532837, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:08,575", "created": 1580278988.575351, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 295, "message": "SJP: Cleaning up receive-buffer", "module": "__init__", "msecs": 575.3509998321533, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 1467.7519798278809, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:08,575", "created": 1580278988.575447, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 199, "message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 575.4470825195312, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 1467.8480625152588, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:08,575", "created": 1580278988.575517, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "authentificate", "levelname": "INFO", "levelno": 20, "lineno": 378, "message": "SJP: Requesting seed for authentification", "module": "__init__", "msecs": 575.516939163208, "msg": "%s Requesting seed for authentification", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 1467.9179191589355, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "SJP:", 0, 1, 0, "None" ], "asctime": "2020-01-29 07:23:08,575", "created": 1580278988.575575, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 0, service_id: 1, data_id: 0, data: \"None\"", "module": "__init__", "msecs": 575.5751132965088, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 1467.9760932922363, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:08,575", "created": 1580278988.575713, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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": 575.7129192352295, "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": 7115, "processName": "MainProcess", "relativeCreated": 1468.113899230957, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:08,726", "created": 1580278988.726152, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 66, "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": 726.1519432067871, "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": 7115, "processName": "MainProcess", "relativeCreated": 1618.5529232025146, "thread": 140487116760832, "threadName": "Thread-5" }, { "args": [ "SJP:", "0", "1", "0", "None" ], "asctime": "2020-01-29 07:23:08,726", "created": 1580278988.726341, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 247, "message": "SJP: RX <- status: 0, service_id: 1, data_id: 0, data: \"None\"", "module": "__init__", "msecs": 726.3410091400146, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 1618.7419891357422, "thread": 140487116760832, "threadName": "Thread-5" }, { "args": [ "SJP:", "__authentificate_create_seed__" ], "asctime": "2020-01-29 07:23:08,726", "created": 1580278988.726439, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 264, "message": "SJP: Executing callback __authentificate_create_seed__ to process received data", "module": "__init__", "msecs": 726.4389991760254, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 1618.839979171753, "thread": 140487116760832, "threadName": "Thread-5" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:08,726", "created": 1580278988.726512, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentificate_create_seed__", "levelname": "INFO", "levelno": 20, "lineno": 404, "message": "SJP: Got seed request, sending seed for authentification", "module": "__init__", "msecs": 726.5119552612305, "msg": "%s Got seed request, sending seed for authentification", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 1618.912935256958, "thread": 140487116760832, "threadName": "Thread-5" }, { "args": [ "SJP:", 0, 2, 0, "'0cdb40d33d9d2821ef18e2336f30f235cd5b936f666c1470c2b24278ec4fae97'" ], "asctime": "2020-01-29 07:23:08,726", "created": 1580278988.7266, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 0, service_id: 2, data_id: 0, data: \"'0cdb40d33d9d2821ef18e2336f30f235cd5b936f666c1470c2b24278ec4fae97'\"", "module": "__init__", "msecs": 726.599931716919, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 1619.0009117126465, "thread": 140487116760832, "threadName": "Thread-5" }, { "args": [], "asctime": "2020-01-29 07:23:08,726", "created": 1580278988.726803, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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 30 63 64 62 34 30 64 33 33 64 39 64 32 38 32 31 65 66 31 38 65 32 33 33 36 66 33 30 66 32 33 35 63 64 35 62 39 33 36 66 36 36 36 63 31 34 37 30 63 32 62 32 34 32 37 38 65 63 34 66 61 65 39 37 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 47 0c 2d 0c", "module": "test_helpers", "msecs": 726.8030643463135, "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 30 63 64 62 34 30 64 33 33 64 39 64 32 38 32 31 65 66 31 38 65 32 33 33 36 66 33 30 66 32 33 35 63 64 35 62 39 33 36 66 36 36 36 63 31 34 37 30 63 32 62 32 34 32 37 38 65 63 34 66 61 65 39 37 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 47 0c 2d 0c", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 1619.204044342041, "thread": 140487116760832, "threadName": "Thread-5" }, { "args": [], "asctime": "2020-01-29 07:23:08,877", "created": 1580278988.877313, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 66, "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 30 63 64 62 34 30 64 33 33 64 39 64 32 38 32 31 65 66 31 38 65 32 33 33 36 66 33 30 66 32 33 35 63 64 35 62 39 33 36 66 36 36 36 63 31 34 37 30 63 32 62 32 34 32 37 38 65 63 34 66 61 65 39 37 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 47 0c 2d 0c", "module": "test_helpers", "msecs": 877.3128986358643, "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 30 63 64 62 34 30 64 33 33 64 39 64 32 38 32 31 65 66 31 38 65 32 33 33 36 66 33 30 66 32 33 35 63 64 35 62 39 33 36 66 36 36 36 63 31 34 37 30 63 32 62 32 34 32 37 38 65 63 34 66 61 65 39 37 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 47 0c 2d 0c", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 1769.7138786315918, "thread": 140487038072576, "threadName": "Thread-6" }, { "args": [ "SJP:", "0", "2", "0", "u'0cdb40d33d9d2821ef18e2336f30f235cd5b936f666c1470c2b24278ec4fae97'" ], "asctime": "2020-01-29 07:23:08,877", "created": 1580278988.877491, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 247, "message": "SJP: RX <- status: 0, service_id: 2, data_id: 0, data: \"u'0cdb40d33d9d2821ef18e2336f30f235cd5b936f666c1470c2b24278ec4fae97'\"", "module": "__init__", "msecs": 877.4909973144531, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 1769.8919773101807, "thread": 140487038072576, "threadName": "Thread-6" }, { "args": [ "SJP:", "__authentificate_create_key__" ], "asctime": "2020-01-29 07:23:08,877", "created": 1580278988.877594, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 264, "message": "SJP: Executing callback __authentificate_create_key__ to process received data", "module": "__init__", "msecs": 877.593994140625, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 1769.9949741363525, "thread": 140487038072576, "threadName": "Thread-6" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:08,877", "created": 1580278988.87766, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentificate_create_key__", "levelname": "INFO", "levelno": 20, "lineno": 413, "message": "SJP: Got seed, sending key for authentification", "module": "__init__", "msecs": 877.6600360870361, "msg": "%s Got seed, sending key for authentification", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 1770.0610160827637, "thread": 140487038072576, "threadName": "Thread-6" }, { "args": [ "SJP:", 0, 3, 0, "'a3847d3f2d7f0791ce459dcf0b5ae84ba744080e51bd84d485c9732df2052b7d673eb45768ba85abbee42f37bb98b9e8c8f81560eb0d9d785ab5bf190b19c314'" ], "asctime": "2020-01-29 07:23:08,877", "created": 1580278988.877759, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 0, service_id: 3, data_id: 0, data: \"'a3847d3f2d7f0791ce459dcf0b5ae84ba744080e51bd84d485c9732df2052b7d673eb45768ba85abbee42f37bb98b9e8c8f81560eb0d9d785ab5bf190b19c314'\"", "module": "__init__", "msecs": 877.7589797973633, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 1770.1599597930908, "thread": 140487038072576, "threadName": "Thread-6" }, { "args": [], "asctime": "2020-01-29 07:23:08,877", "created": 1580278988.877999, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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 61 33 38 34 37 64 33 66 32 64 37 66 30 37 39 31 63 65 34 35 39 64 63 66 30 62 35 61 65 38 34 62 61 37 34 34 30 38 30 65 35 31 62 64 38 34 64 34 38 35 63 39 37 33 32 64 66 32 30 35 32 62 37 64 36 37 33 65 62 34 35 37 36 38 62 61 38 35 61 62 62 65 65 34 32 66 33 37 62 62 39 38 62 39 65 38 63 38 66 38 31 35 36 30 65 62 30 64 39 64 37 38 35 61 62 35 62 66 31 39 30 62 31 39 63 33 31 34 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 83 91 71 cc", "module": "test_helpers", "msecs": 877.9990673065186, "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 61 33 38 34 37 64 33 66 32 64 37 66 30 37 39 31 63 65 34 35 39 64 63 66 30 62 35 61 65 38 34 62 61 37 34 34 30 38 30 65 35 31 62 64 38 34 64 34 38 35 63 39 37 33 32 64 66 32 30 35 32 62 37 64 36 37 33 65 62 34 35 37 36 38 62 61 38 35 61 62 62 65 65 34 32 66 33 37 62 62 39 38 62 39 65 38 63 38 66 38 31 35 36 30 65 62 30 64 39 64 37 38 35 61 62 35 62 66 31 39 30 62 31 39 63 33 31 34 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 83 91 71 cc", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 1770.400047302246, "thread": 140487038072576, "threadName": "Thread-6" }, { "args": [], "asctime": "2020-01-29 07:23:09,028", "created": 1580278989.028637, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 66, "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 61 33 38 34 37 64 33 66 32 64 37 66 30 37 39 31 63 65 34 35 39 64 63 66 30 62 35 61 65 38 34 62 61 37 34 34 30 38 30 65 35 31 62 64 38 34 64 34 38 35 63 39 37 33 32 64 66 32 30 35 32 62 37 64 36 37 33 65 62 34 35 37 36 38 62 61 38 35 61 62 62 65 65 34 32 66 33 37 62 62 39 38 62 39 65 38 63 38 66 38 31 35 36 30 65 62 30 64 39 64 37 38 35 61 62 35 62 66 31 39 30 62 31 39 63 33 31 34 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 83 91 71 cc", "module": "test_helpers", "msecs": 28.636932373046875, "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 61 33 38 34 37 64 33 66 32 64 37 66 30 37 39 31 63 65 34 35 39 64 63 66 30 62 35 61 65 38 34 62 61 37 34 34 30 38 30 65 35 31 62 64 38 34 64 34 38 35 63 39 37 33 32 64 66 32 30 35 32 62 37 64 36 37 33 65 62 34 35 37 36 38 62 61 38 35 61 62 62 65 65 34 32 66 33 37 62 62 39 38 62 39 65 38 63 38 66 38 31 35 36 30 65 62 30 64 39 64 37 38 35 61 62 35 62 66 31 39 30 62 31 39 63 33 31 34 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 83 91 71 cc", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 1921.0379123687744, "thread": 140487116760832, "threadName": "Thread-7" }, { "args": [ "SJP:", "0", "3", "0", "u'a3847d3f2d7f0791ce459dcf0b5ae84ba744080e51bd84d485c9732df2052b7d673eb45768ba85abbee42f37bb98b9e8c8f81560eb0d9d785ab5bf190b19c314'" ], "asctime": "2020-01-29 07:23:09,028", "created": 1580278989.02883, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 247, "message": "SJP: RX <- status: 0, service_id: 3, data_id: 0, data: \"u'a3847d3f2d7f0791ce459dcf0b5ae84ba744080e51bd84d485c9732df2052b7d673eb45768ba85abbee42f37bb98b9e8c8f81560eb0d9d785ab5bf190b19c314'\"", "module": "__init__", "msecs": 28.83005142211914, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 1921.2310314178467, "thread": 140487116760832, "threadName": "Thread-7" }, { "args": [ "SJP:", "__authentificate_check_key__" ], "asctime": "2020-01-29 07:23:09,028", "created": 1580278989.028937, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 264, "message": "SJP: Executing callback __authentificate_check_key__ to process received data", "module": "__init__", "msecs": 28.937101364135742, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 1921.3380813598633, "thread": 140487116760832, "threadName": "Thread-7" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:09,029", "created": 1580278989.029021, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentificate_check_key__", "levelname": "INFO", "levelno": 20, "lineno": 423, "message": "SJP: Got correct key, sending positive authentification feedback", "module": "__init__", "msecs": 29.021024703979492, "msg": "%s Got correct key, sending positive authentification feedback", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 1921.422004699707, "thread": 140487116760832, "threadName": "Thread-7" }, { "args": [ "SJP:", 0, 4, 0, "True" ], "asctime": "2020-01-29 07:23:09,029", "created": 1580278989.029098, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 0, service_id: 4, data_id: 0, data: \"True\"", "module": "__init__", "msecs": 29.098033905029297, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 1921.4990139007568, "thread": 140487116760832, "threadName": "Thread-7" }, { "args": [], "asctime": "2020-01-29 07:23:09,029", "created": 1580278989.02925, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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": 29.249906539916992, "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": 7115, "processName": "MainProcess", "relativeCreated": 1921.6508865356445, "thread": 140487116760832, "threadName": "Thread-7" }, { "args": [], "asctime": "2020-01-29 07:23:09,179", "created": 1580278989.179708, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 66, "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": 179.70800399780273, "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": 7115, "processName": "MainProcess", "relativeCreated": 2072.1089839935303, "thread": 140487038072576, "threadName": "Thread-8" }, { "args": [ "SJP:", "0", "4", "0", "True" ], "asctime": "2020-01-29 07:23:09,179", "created": 1580278989.179888, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 247, "message": "SJP: RX <- status: 0, service_id: 4, data_id: 0, data: \"True\"", "module": "__init__", "msecs": 179.8880100250244, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 2072.288990020752, "thread": 140487038072576, "threadName": "Thread-8" }, { "args": [ "SJP:", "__authentificate_process_feedback__" ], "asctime": "2020-01-29 07:23:09,179", "created": 1580278989.179985, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 281, "message": "SJP: Executing callback __authentificate_process_feedback__ to process received data", "module": "__init__", "msecs": 179.98504638671875, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 2072.3860263824463, "thread": 140487038072576, "threadName": "Thread-8" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:09,180", "created": 1580278989.180061, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentificate_process_feedback__", "levelname": "INFO", "levelno": 20, "lineno": 434, "message": "SJP: Got positive authentification feedback", "module": "__init__", "msecs": 180.06110191345215, "msg": "%s Got positive authentification feedback", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 2072.4620819091797, "thread": 140487038072576, "threadName": "Thread-8" }, { "args": [ "SJP:", 0, 10, 45054, "{u'test': u'test'}" ], "asctime": "2020-01-29 07:23:09,277", "created": 1580278989.277094, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 0, service_id: 10, data_id: 45054, data: \"{u'test': u'test'}\"", "module": "__init__", "msecs": 277.09388732910156, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 2169.494867324829, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:09,277", "created": 1580278989.277366, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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": 277.36592292785645, "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": 7115, "processName": "MainProcess", "relativeCreated": 2169.766902923584, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:09,427", "created": 1580278989.427883, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 66, "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": 427.8829097747803, "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": 7115, "processName": "MainProcess", "relativeCreated": 2320.283889770508, "thread": 140487038072576, "threadName": "Thread-9" }, { "args": [ "SJP:", "0", "10", "45054", "{u'test': u'test'}" ], "asctime": "2020-01-29 07:23:09,428", "created": 1580278989.42808, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 247, "message": "SJP: RX <- status: 0, service_id: 10, data_id: 45054, data: \"{u'test': u'test'}\"", "module": "__init__", "msecs": 428.08008193969727, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 2320.481061935425, "thread": 140487038072576, "threadName": "Thread-9" }, { "args": [ "SJP:", "response_data_method" ], "asctime": "2020-01-29 07:23:09,428", "created": 1580278989.428179, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 264, "message": "SJP: Executing callback response_data_method to process received data", "module": "__init__", "msecs": 428.1790256500244, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 2320.580005645752, "thread": 140487038072576, "threadName": "Thread-9" }, { "args": [ "SJP:", 5, 11, 45054, "[1, 3, u's']" ], "asctime": "2020-01-29 07:23:09,428", "created": 1580278989.428257, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, u's']\"", "module": "__init__", "msecs": 428.2569885253906, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 2320.657968521118, "thread": 140487038072576, "threadName": "Thread-9" }, { "args": [], "asctime": "2020-01-29 07:23:09,428", "created": 1580278989.428414, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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": 428.41410636901855, "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": 7115, "processName": "MainProcess", "relativeCreated": 2320.815086364746, "thread": 140487038072576, "threadName": "Thread-9" }, { "args": [], "asctime": "2020-01-29 07:23:09,578", "created": 1580278989.578873, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 66, "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": 578.8729190826416, "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": 7115, "processName": "MainProcess", "relativeCreated": 2471.273899078369, "thread": 140487116760832, "threadName": "Thread-10" }, { "args": [ "SJP:", "5", "11", "45054", "[1, 3, u's']" ], "asctime": "2020-01-29 07:23:09,579", "created": 1580278989.579082, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 247, "message": "SJP: RX <- status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, u's']\"", "module": "__init__", "msecs": 579.0820121765137, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 2471.482992172241, "thread": 140487116760832, "threadName": "Thread-10" }, { "args": [ "SJP:", "Operation not permitted" ], "asctime": "2020-01-29 07:23:09,579", "created": 1580278989.579195, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 274, "message": "SJP: Received message has a peculiar status: Operation not permitted", "module": "__init__", "msecs": 579.1950225830078, "msg": "%s Received message has a peculiar status: %s", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 2471.5960025787354, "thread": 140487116760832, "threadName": "Thread-10" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:09,579", "created": 1580278989.579281, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__buffer_received_data__", "levelname": "DEBUG", "levelno": 10, "lineno": 292, "message": "SJP: Message data is stored in buffer and is now ready to be retrieved by receive method", "module": "__init__", "msecs": 579.2810916900635, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 2471.682071685791, "thread": 140487116760832, "threadName": "Thread-10" } ], "msecs": 778.5599231719971, "msg": "Send and received data by pure_json_protocol.", "name": "__tLogger__", "pathname": "src/tests/test_normal_operation.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 2670.9609031677246, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 0.1992788314819336 }, { "args": [ "True", "" ], "asctime": "2020-01-29 07:23:09,778", "created": 1580278989.778937, "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-01-29 07:23:09,778", "created": 1580278989.778788, "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": 778.7880897521973, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 2671.189069747925, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Return value of authentification", "True", "" ], "asctime": "2020-01-29 07:23:09,778", "created": 1580278989.778873, "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": 778.8729667663574, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 2671.273946762085, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 778.9371013641357, "msg": "Return value of authentification is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 2671.3380813598633, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 6.413459777832031e-05 }, { "args": [ "True", "" ], "asctime": "2020-01-29 07:23:09,779", "created": 1580278989.779135, "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-01-29 07:23:09,779", "created": 1580278989.779032, "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": 779.0319919586182, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 2671.4329719543457, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-01-29 07:23:09,779", "created": 1580278989.779084, "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": 779.0839672088623, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 2671.48494720459, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 779.13498878479, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 2671.5359687805176, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 5.1021575927734375e-05 }, { "args": [ "0", "" ], "asctime": "2020-01-29 07:23:09,779", "created": 1580278989.779308, "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-01-29 07:23:09,779", "created": 1580278989.779216, "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": 779.2160511016846, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 2671.617031097412, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Request Status (Okay) transfered via pure_json_protocol", "0", "" ], "asctime": "2020-01-29 07:23:09,779", "created": 1580278989.779264, "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": 779.263973236084, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 2671.6649532318115, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 779.3080806732178, "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": 7115, "processName": "MainProcess", "relativeCreated": 2671.7090606689453, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 4.410743713378906e-05 }, { "args": [ "{u'test': u'test'}", "" ], "asctime": "2020-01-29 07:23:09,779", "created": 1580278989.779497, "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-01-29 07:23:09,779", "created": 1580278989.779388, "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": 779.3879508972168, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 2671.7889308929443, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Request Data transfered via pure_json_protocol", "{ u'test': u'test' }", "" ], "asctime": "2020-01-29 07:23:09,779", "created": 1580278989.779438, "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": 779.4380187988281, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 2671.8389987945557, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 779.4969081878662, "msg": "Request Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 2671.8978881835938, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 5.888938903808594e-05 }, { "args": [ "5", "" ], "asctime": "2020-01-29 07:23:09,779", "created": 1580278989.779658, "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-01-29 07:23:09,779", "created": 1580278989.779574, "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": 779.573917388916, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 2671.9748973846436, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Response Status (Operation not permitted) transfered via pure_json_protocol", "5", "" ], "asctime": "2020-01-29 07:23:09,779", "created": 1580278989.779616, "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": 779.616117477417, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 2672.0170974731445, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 779.6580791473389, "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": 7115, "processName": "MainProcess", "relativeCreated": 2672.0590591430664, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 4.1961669921875e-05 }, { "args": [ "[1, 3, u's']", "" ], "asctime": "2020-01-29 07:23:09,779", "created": 1580278989.779841, "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-01-29 07:23:09,779", "created": 1580278989.779734, "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": 779.7338962554932, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 2672.1348762512207, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Response Data transfered via pure_json_protocol", "[ 1, 3, u's' ]", "" ], "asctime": "2020-01-29 07:23:09,779", "created": 1580278989.779781, "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": 779.7811031341553, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 2672.182083129883, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 779.8409461975098, "msg": "Response Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 2672.2419261932373, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 5.984306335449219e-05 }, { "args": [ "None", "" ], "asctime": "2020-01-29 07:23:09,880", "created": 1580278989.880411, "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": [ "SJP:", "0.1", "11", "45054" ], "asctime": "2020-01-29 07:23:09,880", "created": 1580278989.880104, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 309, "message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 880.1040649414062, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 2772.505044937134, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:09,880", "created": 1580278989.880251, "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": 880.2509307861328, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 2772.6519107818604, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:09,880", "created": 1580278989.880341, "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": 880.3410530090332, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 2772.7420330047607, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 880.41090965271, "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": 7115, "processName": "MainProcess", "relativeCreated": 2772.8118896484375, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 6.985664367675781e-05 }, { "args": [ "None", "" ], "asctime": "2020-01-29 07:23:09,981", "created": 1580278989.981091, "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": [ "SJP:", "0.1", "10", "45054" ], "asctime": "2020-01-29 07:23:09,980", "created": 1580278989.98071, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 309, "message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 980.7100296020508, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 2873.1110095977783, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:09,980", "created": 1580278989.9809, "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": 980.9000492095947, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 2873.3010292053223, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:09,980", "created": 1580278989.980997, "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": 980.9970855712891, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 2873.3980655670166, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 981.0910224914551, "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": 7115, "processName": "MainProcess", "relativeCreated": 2873.4920024871826, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 9.393692016601562e-05 } ], "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 1.406033992767334, "time_finished": "2020-01-29 07:23:09,981", "time_start": "2020-01-29 07:23:08,575" }, "socket_protocol.pure_json_protocol: Send and receive check.": { "args": null, "asctime": "2020-01-29 07:23:07,870", "created": 1580278987.870665, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 26, "message": "socket_protocol.pure_json_protocol: Send and receive check.", "module": "__init__", "moduleLogger": [], "msecs": 870.6650733947754, "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": 7115, "processName": "MainProcess", "relativeCreated": 763.0660533905029, "testcaseLogger": [ { "args": [], "asctime": "2020-01-29 07:23:08,372", "created": 1580278988.37246, "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": [ "SJP:" ], "asctime": "2020-01-29 07:23:07,870", "created": 1580278987.870779, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 295, "message": "SJP: Cleaning up receive-buffer", "module": "__init__", "msecs": 870.7790374755859, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 763.1800174713135, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:07,870", "created": 1580278987.870909, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 199, "message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 870.9089756011963, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 763.3099555969238, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:07,870", "created": 1580278987.870987, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 295, "message": "SJP: Cleaning up receive-buffer", "module": "__init__", "msecs": 870.9869384765625, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 763.38791847229, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:07,871", "created": 1580278987.871087, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 199, "message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 871.0870742797852, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 763.4880542755127, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "SJP:", 0, 10, 45054, "{u'test': u'test'}" ], "asctime": "2020-01-29 07:23:07,871", "created": 1580278987.871167, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 0, service_id: 10, data_id: 45054, data: \"{u'test': u'test'}\"", "module": "__init__", "msecs": 871.1669445037842, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 763.5679244995117, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:07,871", "created": 1580278987.871329, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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": 871.3290691375732, "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": 7115, "processName": "MainProcess", "relativeCreated": 763.7300491333008, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:08,021", "created": 1580278988.021946, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 66, "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": 21.945953369140625, "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": 7115, "processName": "MainProcess", "relativeCreated": 914.3469333648682, "thread": 140487038072576, "threadName": "Thread-3" }, { "args": [ "SJP:", "0", "10", "45054", "{u'test': u'test'}" ], "asctime": "2020-01-29 07:23:08,022", "created": 1580278988.022131, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 247, "message": "SJP: RX <- status: 0, service_id: 10, data_id: 45054, data: \"{u'test': u'test'}\"", "module": "__init__", "msecs": 22.130966186523438, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 914.531946182251, "thread": 140487038072576, "threadName": "Thread-3" }, { "args": [ "SJP:", "response_data_method" ], "asctime": "2020-01-29 07:23:08,022", "created": 1580278988.022228, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 264, "message": "SJP: Executing callback response_data_method to process received data", "module": "__init__", "msecs": 22.228002548217773, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 914.6289825439453, "thread": 140487038072576, "threadName": "Thread-3" }, { "args": [ "SJP:", 5, 11, 45054, "[1, 3, u's']" ], "asctime": "2020-01-29 07:23:08,022", "created": 1580278988.022301, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, u's']\"", "module": "__init__", "msecs": 22.30095863342285, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 914.7019386291504, "thread": 140487038072576, "threadName": "Thread-3" }, { "args": [], "asctime": "2020-01-29 07:23:08,022", "created": 1580278988.022457, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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": 22.456884384155273, "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": 7115, "processName": "MainProcess", "relativeCreated": 914.8578643798828, "thread": 140487038072576, "threadName": "Thread-3" }, { "args": [], "asctime": "2020-01-29 07:23:08,172", "created": 1580278988.17295, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 66, "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": 172.95002937316895, "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": 7115, "processName": "MainProcess", "relativeCreated": 1065.3510093688965, "thread": 140487116760832, "threadName": "Thread-4" }, { "args": [ "SJP:", "5", "11", "45054", "[1, 3, u's']" ], "asctime": "2020-01-29 07:23:08,173", "created": 1580278988.17321, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 247, "message": "SJP: RX <- status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, u's']\"", "module": "__init__", "msecs": 173.20990562438965, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 1065.6108856201172, "thread": 140487116760832, "threadName": "Thread-4" }, { "args": [ "SJP:", "Operation not permitted" ], "asctime": "2020-01-29 07:23:08,173", "created": 1580278988.17338, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 274, "message": "SJP: Received message has a peculiar status: Operation not permitted", "module": "__init__", "msecs": 173.37989807128906, "msg": "%s Received message has a peculiar status: %s", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 1065.7808780670166, "thread": 140487116760832, "threadName": "Thread-4" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:08,173", "created": 1580278988.173492, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__buffer_received_data__", "levelname": "DEBUG", "levelno": 10, "lineno": 292, "message": "SJP: Message data is stored in buffer and is now ready to be retrieved by receive method", "module": "__init__", "msecs": 173.4919548034668, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 1065.8929347991943, "thread": 140487116760832, "threadName": "Thread-4" } ], "msecs": 372.45988845825195, "msg": "Send and received data by pure_json_protocol.", "name": "__tLogger__", "pathname": "src/tests/test_normal_operation.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 1264.8608684539795, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 0.19896793365478516 }, { "args": [ "True", "" ], "asctime": "2020-01-29 07:23:08,372", "created": 1580278988.372794, "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-01-29 07:23:08,372", "created": 1580278988.372652, "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": 372.6520538330078, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 1265.0530338287354, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-01-29 07:23:08,372", "created": 1580278988.372733, "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": 372.73311614990234, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 1265.1340961456299, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 372.79391288757324, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 1265.1948928833008, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 6.079673767089844e-05 }, { "args": [ "0", "" ], "asctime": "2020-01-29 07:23:08,372", "created": 1580278988.372981, "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-01-29 07:23:08,372", "created": 1580278988.37288, "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": 372.8799819946289, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 1265.2809619903564, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Request Status (Okay) transfered via pure_json_protocol", "0", "" ], "asctime": "2020-01-29 07:23:08,372", "created": 1580278988.372933, "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": 372.93291091918945, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 1265.333890914917, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 372.98107147216797, "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": 7115, "processName": "MainProcess", "relativeCreated": 1265.3820514678955, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 4.8160552978515625e-05 }, { "args": [ "{u'test': u'test'}", "" ], "asctime": "2020-01-29 07:23:08,373", "created": 1580278988.373165, "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-01-29 07:23:08,373", "created": 1580278988.373061, "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": 373.060941696167, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 1265.4619216918945, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Request Data transfered via pure_json_protocol", "{ u'test': u'test' }", "" ], "asctime": "2020-01-29 07:23:08,373", "created": 1580278988.373107, "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": 373.1069564819336, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 1265.5079364776611, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 373.1648921966553, "msg": "Request Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 1265.5658721923828, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 5.793571472167969e-05 }, { "args": [ "5", "" ], "asctime": "2020-01-29 07:23:08,373", "created": 1580278988.373348, "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-01-29 07:23:08,373", "created": 1580278988.373253, "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": 373.25310707092285, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 1265.6540870666504, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Response Status (Operation not permitted) transfered via pure_json_protocol", "5", "" ], "asctime": "2020-01-29 07:23:08,373", "created": 1580278988.373302, "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": 373.3019828796387, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 1265.7029628753662, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 373.3479976654053, "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": 7115, "processName": "MainProcess", "relativeCreated": 1265.7489776611328, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 4.601478576660156e-05 }, { "args": [ "[1, 3, u's']", "" ], "asctime": "2020-01-29 07:23:08,373", "created": 1580278988.373526, "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-01-29 07:23:08,373", "created": 1580278988.373424, "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": 373.4240531921387, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 1265.8250331878662, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Response Data transfered via pure_json_protocol", "[ 1, 3, u's' ]", "" ], "asctime": "2020-01-29 07:23:08,373", "created": 1580278988.373468, "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": 373.46792221069336, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 1265.868902206421, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 373.52609634399414, "msg": "Response Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 1265.9270763397217, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 5.817413330078125e-05 }, { "args": [ "None", "" ], "asctime": "2020-01-29 07:23:08,474", "created": 1580278988.474219, "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": [ "SJP:", "0.1", "11", "45054" ], "asctime": "2020-01-29 07:23:08,473", "created": 1580278988.473787, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 309, "message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 473.7870693206787, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 1366.1880493164062, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:08,473", "created": 1580278988.473989, "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": 473.98900985717773, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 1366.3899898529053, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:08,474", "created": 1580278988.474115, "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": 474.11489486694336, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 1366.515874862671, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 474.21908378601074, "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": 7115, "processName": "MainProcess", "relativeCreated": 1366.6200637817383, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 0.00010418891906738281 }, { "args": [ "None", "" ], "asctime": "2020-01-29 07:23:08,574", "created": 1580278988.574864, "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": [ "SJP:", "0.1", "10", "45054" ], "asctime": "2020-01-29 07:23:08,574", "created": 1580278988.574564, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 309, "message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 574.5639801025391, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 1466.9649600982666, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:08,574", "created": 1580278988.574711, "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": 574.7110843658447, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 1467.1120643615723, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:08,574", "created": 1580278988.574796, "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": 574.7959613800049, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 1467.1969413757324, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 574.8639106750488, "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": 7115, "processName": "MainProcess", "relativeCreated": 1467.2648906707764, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 6.794929504394531e-05 } ], "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 0.7041988372802734, "time_finished": "2020-01-29 07:23:08,574", "time_start": "2020-01-29 07:23:07,870" }, "socket_protocol.pure_json_protocol: Timeout measurement for authentification and send method.": { "args": null, "asctime": "2020-01-29 07:23:14,516", "created": 1580278994.516435, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 37, "message": "socket_protocol.pure_json_protocol: Timeout measurement for authentification and send method.", "module": "__init__", "moduleLogger": [], "msecs": 516.434907913208, "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": 7115, "processName": "MainProcess", "relativeCreated": 7408.835887908936, "testcaseLogger": [ { "args": [ "0.20073795318603516", "0.2", "0.22000000000000003", "" ], "asctime": "2020-01-29 07:23:14,718", "created": 1580278994.718291, "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.20073795318603516 in [0.2 ... 0.22000000000000003] and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:14,516", "created": 1580278994.516572, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 295, "message": "SJP: Cleaning up receive-buffer", "module": "__init__", "msecs": 516.5719985961914, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 7408.972978591919, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:14,516", "created": 1580278994.51678, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 199, "message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 516.779899597168, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 7409.1808795928955, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:14,516", "created": 1580278994.516897, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 295, "message": "SJP: Cleaning up receive-buffer", "module": "__init__", "msecs": 516.8969631195068, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 7409.297943115234, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:14,517", "created": 1580278994.517046, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 199, "message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 517.0459747314453, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 7409.446954727173, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:14,517", "created": 1580278994.517128, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "authentificate", "levelname": "INFO", "levelno": 20, "lineno": 378, "message": "SJP: Requesting seed for authentification", "module": "__init__", "msecs": 517.1279907226562, "msg": "%s Requesting seed for authentification", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 7409.528970718384, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "SJP:", 0, 1, 0, "None" ], "asctime": "2020-01-29 07:23:14,517", "created": 1580278994.517212, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 0, service_id: 1, data_id: 0, data: \"None\"", "module": "__init__", "msecs": 517.2119140625, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 7409.6128940582275, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:14,517", "created": 1580278994.517468, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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": 517.4679756164551, "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": 7115, "processName": "MainProcess", "relativeCreated": 7409.868955612183, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Timeout for authentification", "0.20073795318603516", "" ], "asctime": "2020-01-29 07:23:14,717", "created": 1580278994.717912, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Timeout for authentification): 0.20073795318603516 ()", "module": "test", "msecs": 717.911958694458, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 7610.312938690186, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Timeout for authentification", "0.2", "0.22000000000000003" ], "asctime": "2020-01-29 07:23:14,718", "created": 1580278994.718079, "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": 718.0790901184082, "msg": "Expectation (%s): %s <= result <= %s", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 7610.480070114136, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 718.2910442352295, "msg": "Timeout for authentification is correct (Content %s in [%s ... %s] and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 7610.692024230957, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 0.00021195411682128906 }, { "args": [ "0.5015730857849121", "0.5", "0.55", "" ], "asctime": "2020-01-29 07:23:15,220", "created": 1580278995.220632, "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.5015730857849121 in [0.5 ... 0.55] and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:14,718", "created": 1580278994.718495, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "authentificate", "levelname": "INFO", "levelno": 20, "lineno": 378, "message": "SJP: Requesting seed for authentification", "module": "__init__", "msecs": 718.4948921203613, "msg": "%s Requesting seed for authentification", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 7610.895872116089, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "SJP:", 0, 1, 0, "None" ], "asctime": "2020-01-29 07:23:14,718", "created": 1580278994.7186, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 0, service_id: 1, data_id: 0, data: \"None\"", "module": "__init__", "msecs": 718.6000347137451, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 7611.001014709473, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:14,718", "created": 1580278994.718841, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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": 718.8410758972168, "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": 7115, "processName": "MainProcess", "relativeCreated": 7611.242055892944, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Timeout for authentification", "0.5015730857849121", "" ], "asctime": "2020-01-29 07:23:15,220", "created": 1580278995.220141, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Timeout for authentification): 0.5015730857849121 ()", "module": "test", "msecs": 220.14093399047852, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 8112.541913986206, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Timeout for authentification", "0.5", "0.55" ], "asctime": "2020-01-29 07:23:15,220", "created": 1580278995.220432, "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": 220.43204307556152, "msg": "Expectation (%s): %s <= result <= %s", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 8112.833023071289, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 220.63207626342773, "msg": "Timeout for authentification is correct (Content %s in [%s ... %s] and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 8113.033056259155, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 0.00020003318786621094 }, { "args": [ "0.20078516006469727", "0.2", "0.22000000000000003", "" ], "asctime": "2020-01-29 07:23:15,422", "created": 1580278995.42212, "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.20078516006469727 in [0.2 ... 0.22000000000000003] and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "SJP:", "0.2", "30", "0" ], "asctime": "2020-01-29 07:23:15,421", "created": 1580278995.421434, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 309, "message": "SJP: TIMEOUT (0.2s): Requested data (service_id: 30; data_id: 0) not in buffer.", "module": "__init__", "msecs": 421.4339256286621, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 8313.83490562439, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Timeout for send method", "0.20078516006469727", "" ], "asctime": "2020-01-29 07:23:15,421", "created": 1580278995.421752, "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.20078516006469727 ()", "module": "test", "msecs": 421.7519760131836, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 8314.152956008911, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Timeout for send method", "0.2", "0.22000000000000003" ], "asctime": "2020-01-29 07:23:15,421", "created": 1580278995.42194, "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": 421.9400882720947, "msg": "Expectation (%s): %s <= result <= %s", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 8314.341068267822, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 422.1200942993164, "msg": "Timeout for send method is correct (Content %s in [%s ... %s] and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 8314.521074295044, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 0.0001800060272216797 }, { "args": [ "0.501331090927124", "0.5", "0.55", "" ], "asctime": "2020-01-29 07:23:15,924", "created": 1580278995.924146, "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.501331090927124 in [0.5 ... 0.55] and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "SJP:", "0.5", "30", "0" ], "asctime": "2020-01-29 07:23:15,923", "created": 1580278995.923486, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 309, "message": "SJP: TIMEOUT (0.5s): Requested data (service_id: 30; data_id: 0) not in buffer.", "module": "__init__", "msecs": 923.4859943389893, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 8815.886974334717, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Timeout for send method", "0.501331090927124", "" ], "asctime": "2020-01-29 07:23:15,923", "created": 1580278995.92376, "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.501331090927124 ()", "module": "test", "msecs": 923.759937286377, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 8816.160917282104, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Timeout for send method", "0.5", "0.55" ], "asctime": "2020-01-29 07:23:15,923", "created": 1580278995.923945, "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": 923.9449501037598, "msg": "Expectation (%s): %s <= result <= %s", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 8816.345930099487, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 924.1459369659424, "msg": "Timeout for send method is correct (Content %s in [%s ... %s] and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 8816.54691696167, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 0.0002009868621826172 } ], "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 1.4077110290527344, "time_finished": "2020-01-29 07:23:15,924", "time_start": "2020-01-29 07:23:14,516" }, "socket_protocol.pure_json_protocol: Wildcard Callback registration for data_id.": { "args": null, "asctime": "2020-01-29 07:23:11,392", "created": 1580278991.392155, "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 data_id.", "module": "__init__", "moduleLogger": [], "msecs": 392.1549320220947, "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": 7115, "processName": "MainProcess", "relativeCreated": 4284.555912017822, "testcaseLogger": [ { "args": [], "asctime": "2020-01-29 07:23:11,893", "created": 1580278991.893897, "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": [ "SJP:" ], "asctime": "2020-01-29 07:23:11,392", "created": 1580278991.392263, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 295, "message": "SJP: Cleaning up receive-buffer", "module": "__init__", "msecs": 392.26293563842773, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 4284.663915634155, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:11,392", "created": 1580278991.392387, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 199, "message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 392.38691329956055, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 4284.787893295288, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:11,392", "created": 1580278991.392454, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 295, "message": "SJP: Cleaning up receive-buffer", "module": "__init__", "msecs": 392.4539089202881, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 4284.854888916016, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:11,392", "created": 1580278991.392551, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 199, "message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 392.5509452819824, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 4284.95192527771, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "SJP:", 0, 10, 48879, "{u'test': u'test'}" ], "asctime": "2020-01-29 07:23:11,392", "created": 1580278991.39263, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 0, service_id: 10, data_id: 48879, data: \"{u'test': u'test'}\"", "module": "__init__", "msecs": 392.63010025024414, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 4285.031080245972, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:11,392", "created": 1580278991.392787, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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": 392.78697967529297, "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": 7115, "processName": "MainProcess", "relativeCreated": 4285.1879596710205, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:11,543", "created": 1580278991.543277, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 66, "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": 543.2770252227783, "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": 7115, "processName": "MainProcess", "relativeCreated": 4435.678005218506, "thread": 140487116760832, "threadName": "Thread-15" }, { "args": [ "SJP:", "0", "10", "48879", "{u'test': u'test'}" ], "asctime": "2020-01-29 07:23:11,543", "created": 1580278991.543476, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 247, "message": "SJP: RX <- status: 0, service_id: 10, data_id: 48879, data: \"{u'test': u'test'}\"", "module": "__init__", "msecs": 543.4761047363281, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 4435.877084732056, "thread": 140487116760832, "threadName": "Thread-15" }, { "args": [ "SJP:", "response_data_method" ], "asctime": "2020-01-29 07:23:11,543", "created": 1580278991.543574, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 264, "message": "SJP: Executing callback response_data_method to process received data", "module": "__init__", "msecs": 543.5740947723389, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 4435.975074768066, "thread": 140487116760832, "threadName": "Thread-15" }, { "args": [ "SJP:", 5, 11, 48879, "[1, 3, u's']" ], "asctime": "2020-01-29 07:23:11,543", "created": 1580278991.543652, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 5, service_id: 11, data_id: 48879, data: \"[1, 3, u's']\"", "module": "__init__", "msecs": 543.6520576477051, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 4436.053037643433, "thread": 140487116760832, "threadName": "Thread-15" }, { "args": [], "asctime": "2020-01-29 07:23:11,543", "created": 1580278991.543815, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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": 543.8148975372314, "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": 7115, "processName": "MainProcess", "relativeCreated": 4436.215877532959, "thread": 140487116760832, "threadName": "Thread-15" }, { "args": [], "asctime": "2020-01-29 07:23:11,694", "created": 1580278991.69425, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 66, "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": 694.2501068115234, "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": 7115, "processName": "MainProcess", "relativeCreated": 4586.651086807251, "thread": 140487038072576, "threadName": "Thread-16" }, { "args": [ "SJP:", "5", "11", "48879", "[1, 3, u's']" ], "asctime": "2020-01-29 07:23:11,694", "created": 1580278991.694436, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 247, "message": "SJP: RX <- status: 5, service_id: 11, data_id: 48879, data: \"[1, 3, u's']\"", "module": "__init__", "msecs": 694.4360733032227, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 4586.83705329895, "thread": 140487038072576, "threadName": "Thread-16" }, { "args": [ "SJP:", "Operation not permitted" ], "asctime": "2020-01-29 07:23:11,694", "created": 1580278991.694553, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 274, "message": "SJP: Received message has a peculiar status: Operation not permitted", "module": "__init__", "msecs": 694.5528984069824, "msg": "%s Received message has a peculiar status: %s", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 4586.95387840271, "thread": 140487038072576, "threadName": "Thread-16" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:11,694", "created": 1580278991.694628, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__buffer_received_data__", "levelname": "DEBUG", "levelno": 10, "lineno": 292, "message": "SJP: Message data is stored in buffer and is now ready to be retrieved by receive method", "module": "__init__", "msecs": 694.6280002593994, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 4587.028980255127, "thread": 140487038072576, "threadName": "Thread-16" } ], "msecs": 893.8970565795898, "msg": "Send and received data by pure_json_protocol. Wildcard callback registerd for .", "name": "__tLogger__", "pathname": "src/tests/test_normal_operation.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 4786.298036575317, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 0.19926905632019043 }, { "args": [ "True", "" ], "asctime": "2020-01-29 07:23:11,894", "created": 1580278991.894263, "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-01-29 07:23:11,894", "created": 1580278991.894114, "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": 894.1140174865723, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 4786.5149974823, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-01-29 07:23:11,894", "created": 1580278991.894198, "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": 894.197940826416, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 4786.598920822144, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 894.2630290985107, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 4786.664009094238, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 6.508827209472656e-05 }, { "args": [ "0", "" ], "asctime": "2020-01-29 07:23:11,894", "created": 1580278991.894463, "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-01-29 07:23:11,894", "created": 1580278991.894359, "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": 894.3591117858887, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 4786.760091781616, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Request Status (Okay) transfered via pure_json_protocol", "0", "" ], "asctime": "2020-01-29 07:23:11,894", "created": 1580278991.894413, "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": 894.4129943847656, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 4786.813974380493, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 894.463062286377, "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": 7115, "processName": "MainProcess", "relativeCreated": 4786.8640422821045, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 5.0067901611328125e-05 }, { "args": [ "{u'test': u'test'}", "" ], "asctime": "2020-01-29 07:23:11,894", "created": 1580278991.894657, "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-01-29 07:23:11,894", "created": 1580278991.894548, "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": 894.5479393005371, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 4786.948919296265, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Request Data transfered via pure_json_protocol", "{ u'test': u'test' }", "" ], "asctime": "2020-01-29 07:23:11,894", "created": 1580278991.894598, "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.5980072021484, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 4786.998987197876, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 894.6568965911865, "msg": "Request Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 4787.057876586914, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 5.888938903808594e-05 }, { "args": [ "5", "" ], "asctime": "2020-01-29 07:23:11,894", "created": 1580278991.894822, "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-01-29 07:23:11,894", "created": 1580278991.894735, "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.7350978851318, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 4787.136077880859, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Response Status (Operation not permitted) transfered via pure_json_protocol", "5", "" ], "asctime": "2020-01-29 07:23:11,894", "created": 1580278991.894779, "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.7789669036865, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 4787.179946899414, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 894.8218822479248, "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": 7115, "processName": "MainProcess", "relativeCreated": 4787.222862243652, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 4.291534423828125e-05 }, { "args": [ "[1, 3, u's']", "" ], "asctime": "2020-01-29 07:23:11,894", "created": 1580278991.894998, "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-01-29 07:23:11,894", "created": 1580278991.894897, "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": 894.8969841003418, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 4787.297964096069, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Response Data transfered via pure_json_protocol", "[ 1, 3, u's' ]", "" ], "asctime": "2020-01-29 07:23:11,894", "created": 1580278991.894941, "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": 894.9410915374756, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 4787.342071533203, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 894.9980735778809, "msg": "Response Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 4787.399053573608, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 5.698204040527344e-05 }, { "args": [ "None", "" ], "asctime": "2020-01-29 07:23:11,995", "created": 1580278991.995575, "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": [ "SJP:", "0.1", "11", "48879" ], "asctime": "2020-01-29 07:23:11,995", "created": 1580278991.995261, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 309, "message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 48879) not in buffer.", "module": "__init__", "msecs": 995.2609539031982, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 4887.661933898926, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-01-29 07:23:11,995", "created": 1580278991.995416, "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": 995.4159259796143, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 4887.816905975342, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-01-29 07:23:11,995", "created": 1580278991.995508, "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": 995.5079555511475, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 4887.908935546875, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 995.574951171875, "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": 7115, "processName": "MainProcess", "relativeCreated": 4887.9759311676025, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 6.699562072753906e-05 }, { "args": [ "None", "" ], "asctime": "2020-01-29 07:23:12,096", "created": 1580278992.096182, "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": [ "SJP:", "0.1", "10", "48879" ], "asctime": "2020-01-29 07:23:12,095", "created": 1580278992.095871, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 309, "message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 48879) not in buffer.", "module": "__init__", "msecs": 95.8709716796875, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 4988.271951675415, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-01-29 07:23:12,096", "created": 1580278992.096026, "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": 96.02594375610352, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 4988.426923751831, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-01-29 07:23:12,096", "created": 1580278992.096112, "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": 96.11201286315918, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 4988.512992858887, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 96.18210792541504, "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": 7115, "processName": "MainProcess", "relativeCreated": 4988.583087921143, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 7.009506225585938e-05 } ], "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 0.7040271759033203, "time_finished": "2020-01-29 07:23:12,096", "time_start": "2020-01-29 07:23:11,392" }, "socket_protocol.pure_json_protocol: Wildcard Callback registration for service_id and data_id.": { "args": null, "asctime": "2020-01-29 07:23:09,981", "created": 1580278989.98133, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 28, "message": "socket_protocol.pure_json_protocol: Wildcard Callback registration for service_id and data_id.", "module": "__init__", "moduleLogger": [], "msecs": 981.3299179077148, "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": 7115, "processName": "MainProcess", "relativeCreated": 2873.7308979034424, "testcaseLogger": [ { "args": [], "asctime": "2020-01-29 07:23:10,483", "created": 1580278990.483213, "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": [ "SJP:" ], "asctime": "2020-01-29 07:23:09,981", "created": 1580278989.981456, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 295, "message": "SJP: Cleaning up receive-buffer", "module": "__init__", "msecs": 981.4560413360596, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 2873.857021331787, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:09,981", "created": 1580278989.981596, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 199, "message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 981.5959930419922, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 2873.9969730377197, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:09,981", "created": 1580278989.981677, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 295, "message": "SJP: Cleaning up receive-buffer", "module": "__init__", "msecs": 981.6770553588867, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 2874.0780353546143, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:09,981", "created": 1580278989.981789, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 199, "message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 981.7891120910645, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 2874.190092086792, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "SJP:", 0, 10, 48879, "{u'test': u'test'}" ], "asctime": "2020-01-29 07:23:09,981", "created": 1580278989.981879, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 0, service_id: 10, data_id: 48879, data: \"{u'test': u'test'}\"", "module": "__init__", "msecs": 981.8789958953857, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 2874.2799758911133, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:09,982", "created": 1580278989.982056, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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": 982.0559024810791, "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": 7115, "processName": "MainProcess", "relativeCreated": 2874.4568824768066, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:10,132", "created": 1580278990.132559, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 66, "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": 132.55906105041504, "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": 7115, "processName": "MainProcess", "relativeCreated": 3024.9600410461426, "thread": 140487116760832, "threadName": "Thread-11" }, { "args": [ "SJP:", "0", "10", "48879", "{u'test': u'test'}" ], "asctime": "2020-01-29 07:23:10,132", "created": 1580278990.13273, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 247, "message": "SJP: RX <- status: 0, service_id: 10, data_id: 48879, data: \"{u'test': u'test'}\"", "module": "__init__", "msecs": 132.73000717163086, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 3025.1309871673584, "thread": 140487116760832, "threadName": "Thread-11" }, { "args": [ "SJP:", "response_data_method" ], "asctime": "2020-01-29 07:23:10,132", "created": 1580278990.132805, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 264, "message": "SJP: Executing callback response_data_method to process received data", "module": "__init__", "msecs": 132.80510902404785, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 3025.2060890197754, "thread": 140487116760832, "threadName": "Thread-11" }, { "args": [ "SJP:", 5, 11, 48879, "[1, 3, u's']" ], "asctime": "2020-01-29 07:23:10,132", "created": 1580278990.132862, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 5, service_id: 11, data_id: 48879, data: \"[1, 3, u's']\"", "module": "__init__", "msecs": 132.86209106445312, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 3025.2630710601807, "thread": 140487116760832, "threadName": "Thread-11" }, { "args": [], "asctime": "2020-01-29 07:23:10,132", "created": 1580278990.133, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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": 132.99989700317383, "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": 7115, "processName": "MainProcess", "relativeCreated": 3025.4008769989014, "thread": 140487116760832, "threadName": "Thread-11" }, { "args": [], "asctime": "2020-01-29 07:23:10,283", "created": 1580278990.283491, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 66, "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": 283.4908962249756, "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": 7115, "processName": "MainProcess", "relativeCreated": 3175.891876220703, "thread": 140487038072576, "threadName": "Thread-12" }, { "args": [ "SJP:", "5", "11", "48879", "[1, 3, u's']" ], "asctime": "2020-01-29 07:23:10,283", "created": 1580278990.283753, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 247, "message": "SJP: RX <- status: 5, service_id: 11, data_id: 48879, data: \"[1, 3, u's']\"", "module": "__init__", "msecs": 283.7529182434082, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 3176.1538982391357, "thread": 140487038072576, "threadName": "Thread-12" }, { "args": [ "SJP:", "Operation not permitted" ], "asctime": "2020-01-29 07:23:10,283", "created": 1580278990.283927, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 274, "message": "SJP: Received message has a peculiar status: Operation not permitted", "module": "__init__", "msecs": 283.92696380615234, "msg": "%s Received message has a peculiar status: %s", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 3176.32794380188, "thread": 140487038072576, "threadName": "Thread-12" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:10,284", "created": 1580278990.284027, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__buffer_received_data__", "levelname": "DEBUG", "levelno": 10, "lineno": 292, "message": "SJP: Message data is stored in buffer and is now ready to be retrieved by receive method", "module": "__init__", "msecs": 284.027099609375, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 3176.4280796051025, "thread": 140487038072576, "threadName": "Thread-12" } ], "msecs": 483.212947845459, "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": 7115, "processName": "MainProcess", "relativeCreated": 3375.6139278411865, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 0.19918584823608398 }, { "args": [ "True", "" ], "asctime": "2020-01-29 07:23:10,483", "created": 1580278990.483718, "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-01-29 07:23:10,483", "created": 1580278990.483533, "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": 483.5329055786133, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 3375.933885574341, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-01-29 07:23:10,483", "created": 1580278990.483635, "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": 483.63494873046875, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 3376.0359287261963, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 483.7179183959961, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 3376.1188983917236, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 8.296966552734375e-05 }, { "args": [ "0", "" ], "asctime": "2020-01-29 07:23:10,483", "created": 1580278990.483956, "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-01-29 07:23:10,483", "created": 1580278990.483833, "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": 483.83307456970215, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 3376.2340545654297, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Request Status (Okay) transfered via pure_json_protocol", "0", "" ], "asctime": "2020-01-29 07:23:10,483", "created": 1580278990.483898, "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": 483.8979244232178, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 3376.2989044189453, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 483.95609855651855, "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": 7115, "processName": "MainProcess", "relativeCreated": 3376.357078552246, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 5.817413330078125e-05 }, { "args": [ "{u'test': u'test'}", "" ], "asctime": "2020-01-29 07:23:10,484", "created": 1580278990.484176, "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-01-29 07:23:10,484", "created": 1580278990.484052, "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": 484.0519428253174, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 3376.452922821045, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Request Data transfered via pure_json_protocol", "{ u'test': u'test' }", "" ], "asctime": "2020-01-29 07:23:10,484", "created": 1580278990.484109, "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": 484.10892486572266, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 3376.50990486145, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 484.1759204864502, "msg": "Request Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 3376.5769004821777, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 6.699562072753906e-05 }, { "args": [ "5", "" ], "asctime": "2020-01-29 07:23:10,485", "created": 1580278990.485774, "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-01-29 07:23:10,485", "created": 1580278990.485633, "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": 485.63289642333984, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 3378.0338764190674, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Response Status (Operation not permitted) transfered via pure_json_protocol", "5", "" ], "asctime": "2020-01-29 07:23:10,485", "created": 1580278990.485712, "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": 485.71205139160156, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 3378.113031387329, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 485.77404022216797, "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": 7115, "processName": "MainProcess", "relativeCreated": 3378.1750202178955, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 6.198883056640625e-05 }, { "args": [ "[1, 3, u's']", "" ], "asctime": "2020-01-29 07:23:10,486", "created": 1580278990.486007, "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-01-29 07:23:10,485", "created": 1580278990.485879, "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": 485.87894439697266, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 3378.2799243927, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Response Data transfered via pure_json_protocol", "[ 1, 3, u's' ]", "" ], "asctime": "2020-01-29 07:23:10,485", "created": 1580278990.485938, "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": 485.93807220458984, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 3378.3390522003174, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 486.0069751739502, "msg": "Response Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 3378.4079551696777, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 6.890296936035156e-05 }, { "args": [ "None", "" ], "asctime": "2020-01-29 07:23:10,586", "created": 1580278990.586601, "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": [ "SJP:", "0.1", "11", "48879" ], "asctime": "2020-01-29 07:23:10,586", "created": 1580278990.586294, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 309, "message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 48879) not in buffer.", "module": "__init__", "msecs": 586.2939357757568, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 3478.6949157714844, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-01-29 07:23:10,586", "created": 1580278990.58645, "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": 586.4500999450684, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 3478.851079940796, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-01-29 07:23:10,586", "created": 1580278990.586535, "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": 586.5349769592285, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 3478.935956954956, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 586.6010189056396, "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": 7115, "processName": "MainProcess", "relativeCreated": 3479.001998901367, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 6.604194641113281e-05 }, { "args": [ "None", "" ], "asctime": "2020-01-29 07:23:10,687", "created": 1580278990.687443, "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": [ "SJP:", "0.1", "10", "48879" ], "asctime": "2020-01-29 07:23:10,687", "created": 1580278990.687001, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 309, "message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 48879) not in buffer.", "module": "__init__", "msecs": 687.0009899139404, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 3579.401969909668, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-01-29 07:23:10,687", "created": 1580278990.687247, "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": 687.2470378875732, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 3579.648017883301, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-01-29 07:23:10,687", "created": 1580278990.687351, "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": 687.3509883880615, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 3579.751968383789, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 687.4430179595947, "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": 7115, "processName": "MainProcess", "relativeCreated": 3579.8439979553223, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 9.202957153320312e-05 } ], "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 0.7061131000518799, "time_finished": "2020-01-29 07:23:10,687", "time_start": "2020-01-29 07:23:09,981" }, "socket_protocol.pure_json_protocol: Wildcard Callback registration for service_id.": { "args": null, "asctime": "2020-01-29 07:23:10,687", "created": 1580278990.687722, "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.", "module": "__init__", "moduleLogger": [], "msecs": 687.7219676971436, "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": 7115, "processName": "MainProcess", "relativeCreated": 3580.122947692871, "testcaseLogger": [ { "args": [], "asctime": "2020-01-29 07:23:11,189", "created": 1580278991.189663, "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": [ "SJP:" ], "asctime": "2020-01-29 07:23:10,687", "created": 1580278990.687875, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 295, "message": "SJP: Cleaning up receive-buffer", "module": "__init__", "msecs": 687.8750324249268, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 3580.2760124206543, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:10,688", "created": 1580278990.68804, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 199, "message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 688.040018081665, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 3580.4409980773926, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:10,688", "created": 1580278990.688133, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 295, "message": "SJP: Cleaning up receive-buffer", "module": "__init__", "msecs": 688.1330013275146, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 3580.533981323242, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:10,688", "created": 1580278990.688255, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 199, "message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 688.2550716400146, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 3580.656051635742, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "SJP:", 0, 10, 48879, "{u'test': u'test'}" ], "asctime": "2020-01-29 07:23:10,688", "created": 1580278990.688354, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 0, service_id: 10, data_id: 48879, data: \"{u'test': u'test'}\"", "module": "__init__", "msecs": 688.3540153503418, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 3580.7549953460693, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:10,688", "created": 1580278990.688548, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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": 688.5480880737305, "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": 7115, "processName": "MainProcess", "relativeCreated": 3580.949068069458, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:10,839", "created": 1580278990.83904, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 66, "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": 839.0400409698486, "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": 7115, "processName": "MainProcess", "relativeCreated": 3731.441020965576, "thread": 140487038072576, "threadName": "Thread-13" }, { "args": [ "SJP:", "0", "10", "48879", "{u'test': u'test'}" ], "asctime": "2020-01-29 07:23:10,839", "created": 1580278990.839234, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 247, "message": "SJP: RX <- status: 0, service_id: 10, data_id: 48879, data: \"{u'test': u'test'}\"", "module": "__init__", "msecs": 839.2341136932373, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 3731.635093688965, "thread": 140487038072576, "threadName": "Thread-13" }, { "args": [ "SJP:", "response_data_method" ], "asctime": "2020-01-29 07:23:10,839", "created": 1580278990.839336, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 264, "message": "SJP: Executing callback response_data_method to process received data", "module": "__init__", "msecs": 839.3359184265137, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 3731.736898422241, "thread": 140487038072576, "threadName": "Thread-13" }, { "args": [ "SJP:", 5, 11, 48879, "[1, 3, u's']" ], "asctime": "2020-01-29 07:23:10,839", "created": 1580278990.839414, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 5, service_id: 11, data_id: 48879, data: \"[1, 3, u's']\"", "module": "__init__", "msecs": 839.4138813018799, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 3731.8148612976074, "thread": 140487038072576, "threadName": "Thread-13" }, { "args": [], "asctime": "2020-01-29 07:23:10,839", "created": 1580278990.839567, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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": 839.5669460296631, "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": 7115, "processName": "MainProcess", "relativeCreated": 3731.9679260253906, "thread": 140487038072576, "threadName": "Thread-13" }, { "args": [], "asctime": "2020-01-29 07:23:10,990", "created": 1580278990.990065, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 66, "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": 990.0650978088379, "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": 7115, "processName": "MainProcess", "relativeCreated": 3882.4660778045654, "thread": 140487116760832, "threadName": "Thread-14" }, { "args": [ "SJP:", "5", "11", "48879", "[1, 3, u's']" ], "asctime": "2020-01-29 07:23:10,990", "created": 1580278990.990299, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 247, "message": "SJP: RX <- status: 5, service_id: 11, data_id: 48879, data: \"[1, 3, u's']\"", "module": "__init__", "msecs": 990.2989864349365, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 3882.699966430664, "thread": 140487116760832, "threadName": "Thread-14" }, { "args": [ "SJP:", "Operation not permitted" ], "asctime": "2020-01-29 07:23:10,990", "created": 1580278990.990453, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 274, "message": "SJP: Received message has a peculiar status: Operation not permitted", "module": "__init__", "msecs": 990.4530048370361, "msg": "%s Received message has a peculiar status: %s", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 3882.8539848327637, "thread": 140487116760832, "threadName": "Thread-14" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:10,990", "created": 1580278990.990567, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__buffer_received_data__", "levelname": "DEBUG", "levelno": 10, "lineno": 292, "message": "SJP: Message data is stored in buffer and is now ready to be retrieved by receive method", "module": "__init__", "msecs": 990.5669689178467, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 3882.967948913574, "thread": 140487116760832, "threadName": "Thread-14" } ], "msecs": 189.66293334960938, "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": 7115, "processName": "MainProcess", "relativeCreated": 4082.063913345337, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 0.1990959644317627 }, { "args": [ "True", "" ], "asctime": "2020-01-29 07:23:11,190", "created": 1580278991.190034, "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-01-29 07:23:11,189", "created": 1580278991.18988, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return value of send method): True ()", "module": "test", "msecs": 189.8798942565918, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 4082.2808742523193, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-01-29 07:23:11,189", "created": 1580278991.189965, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return value of send method): result = True ()", "module": "test", "msecs": 189.96500968933105, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 4082.3659896850586, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 190.0339126586914, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 4082.434892654419, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 6.890296936035156e-05 }, { "args": [ "0", "" ], "asctime": "2020-01-29 07:23:11,190", "created": 1580278991.19023, "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-01-29 07:23:11,190", "created": 1580278991.190128, "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": 190.12808799743652, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 4082.529067993164, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Request Status (Okay) transfered via pure_json_protocol", "0", "" ], "asctime": "2020-01-29 07:23:11,190", "created": 1580278991.190183, "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": 190.18292427062988, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 4082.5839042663574, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 190.2298927307129, "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": 7115, "processName": "MainProcess", "relativeCreated": 4082.6308727264404, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 4.696846008300781e-05 }, { "args": [ "{u'test': u'test'}", "" ], "asctime": "2020-01-29 07:23:11,190", "created": 1580278991.190421, "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-01-29 07:23:11,190", "created": 1580278991.190313, "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": 190.31310081481934, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 4082.714080810547, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Request Data transfered via pure_json_protocol", "{ u'test': u'test' }", "" ], "asctime": "2020-01-29 07:23:11,190", "created": 1580278991.190361, "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": 190.36102294921875, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 4082.7620029449463, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 190.42110443115234, "msg": "Request Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 4082.82208442688, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 6.008148193359375e-05 }, { "args": [ "5", "" ], "asctime": "2020-01-29 07:23:11,190", "created": 1580278991.190583, "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-01-29 07:23:11,190", "created": 1580278991.190497, "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": 190.49692153930664, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 4082.897901535034, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Response Status (Operation not permitted) transfered via pure_json_protocol", "5", "" ], "asctime": "2020-01-29 07:23:11,190", "created": 1580278991.190541, "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": 190.54102897644043, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 4082.942008972168, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 190.5829906463623, "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": 7115, "processName": "MainProcess", "relativeCreated": 4082.98397064209, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 4.1961669921875e-05 }, { "args": [ "[1, 3, u's']", "" ], "asctime": "2020-01-29 07:23:11,190", "created": 1580278991.190769, "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-01-29 07:23:11,190", "created": 1580278991.190667, "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": 190.66691398620605, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 4083.0678939819336, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Response Data transfered via pure_json_protocol", "[ 1, 3, u's' ]", "" ], "asctime": "2020-01-29 07:23:11,190", "created": 1580278991.190712, "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": 190.71197509765625, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 4083.112955093384, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 190.76895713806152, "msg": "Response Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 4083.169937133789, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 5.698204040527344e-05 }, { "args": [ "None", "" ], "asctime": "2020-01-29 07:23:11,291", "created": 1580278991.291349, "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": [ "SJP:", "0.1", "11", "48879" ], "asctime": "2020-01-29 07:23:11,291", "created": 1580278991.291038, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 309, "message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 48879) not in buffer.", "module": "__init__", "msecs": 291.03803634643555, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 4183.439016342163, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-01-29 07:23:11,291", "created": 1580278991.291192, "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": 291.19205474853516, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 4183.593034744263, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-01-29 07:23:11,291", "created": 1580278991.291281, "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": 291.28098487854004, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 4183.681964874268, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 291.348934173584, "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": 7115, "processName": "MainProcess", "relativeCreated": 4183.7499141693115, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 6.794929504394531e-05 }, { "args": [ "None", "" ], "asctime": "2020-01-29 07:23:11,391", "created": 1580278991.391972, "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": [ "SJP:", "0.1", "10", "48879" ], "asctime": "2020-01-29 07:23:11,391", "created": 1580278991.391657, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 309, "message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 48879) not in buffer.", "module": "__init__", "msecs": 391.65711402893066, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 4284.058094024658, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-01-29 07:23:11,391", "created": 1580278991.391811, "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": 391.8108940124512, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 4284.211874008179, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-01-29 07:23:11,391", "created": 1580278991.3919, "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": 391.90006256103516, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 4284.301042556763, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 391.9720649719238, "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": 7115, "processName": "MainProcess", "relativeCreated": 4284.373044967651, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 7.200241088867188e-05 } ], "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 0.7042500972747803, "time_finished": "2020-01-29 07:23:11,391", "time_start": "2020-01-29 07:23:10,687" }, "socket_protocol.struct_json_protocol: Send and receive check (Twice for coverage of buffer initialisation).": { "args": null, "asctime": "2020-01-29 07:23:12,802", "created": 1580278992.802714, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 32, "message": "socket_protocol.struct_json_protocol: Send and receive check (Twice for coverage of buffer initialisation).", "module": "__init__", "moduleLogger": [], "msecs": 802.7141094207764, "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": 7115, "processName": "MainProcess", "relativeCreated": 5695.115089416504, "testcaseLogger": [ { "args": [], "asctime": "2020-01-29 07:23:13,808", "created": 1580278993.808602, "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": [ "SJP:" ], "asctime": "2020-01-29 07:23:12,803", "created": 1580278992.803023, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 295, "message": "SJP: Cleaning up receive-buffer", "module": "__init__", "msecs": 803.023099899292, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 5695.4240798950195, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:12,803", "created": 1580278992.803395, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 199, "message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 803.3950328826904, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 5695.796012878418, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:12,803", "created": 1580278992.803593, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 295, "message": "SJP: Cleaning up receive-buffer", "module": "__init__", "msecs": 803.5929203033447, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 5695.993900299072, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:12,803", "created": 1580278992.803902, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 199, "message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 803.9019107818604, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 5696.302890777588, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "SJP:", 0, 10, 45054, "{u'test': u'test'}" ], "asctime": "2020-01-29 07:23:12,804", "created": 1580278992.804161, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 0, service_id: 10, data_id: 45054, data: \"{u'test': u'test'}\"", "module": "__init__", "msecs": 804.1610717773438, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 5696.562051773071, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:12,804", "created": 1580278992.804559, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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": 804.5589923858643, "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": 7115, "processName": "MainProcess", "relativeCreated": 5696.959972381592, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:12,955", "created": 1580278992.955463, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 66, "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": 955.4629325866699, "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": 7115, "processName": "MainProcess", "relativeCreated": 5847.8639125823975, "thread": 140487116760832, "threadName": "Thread-19" }, { "args": [ "SJP:", "0", "10", "45054", "{u'test': u'test'}" ], "asctime": "2020-01-29 07:23:12,955", "created": 1580278992.955929, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 247, "message": "SJP: RX <- status: 0, service_id: 10, data_id: 45054, data: \"{u'test': u'test'}\"", "module": "__init__", "msecs": 955.9290409088135, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 5848.330020904541, "thread": 140487116760832, "threadName": "Thread-19" }, { "args": [ "SJP:", "response_data_method" ], "asctime": "2020-01-29 07:23:12,956", "created": 1580278992.956146, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 264, "message": "SJP: Executing callback response_data_method to process received data", "module": "__init__", "msecs": 956.1460018157959, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 5848.546981811523, "thread": 140487116760832, "threadName": "Thread-19" }, { "args": [ "SJP:", 5, 11, 45054, "[1, 3, u's']" ], "asctime": "2020-01-29 07:23:12,956", "created": 1580278992.956354, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, u's']\"", "module": "__init__", "msecs": 956.3539028167725, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 5848.7548828125, "thread": 140487116760832, "threadName": "Thread-19" }, { "args": [], "asctime": "2020-01-29 07:23:12,956", "created": 1580278992.956724, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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": 956.7239284515381, "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": 7115, "processName": "MainProcess", "relativeCreated": 5849.124908447266, "thread": 140487116760832, "threadName": "Thread-19" }, { "args": [], "asctime": "2020-01-29 07:23:13,107", "created": 1580278993.107846, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 66, "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": 107.84602165222168, "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": 7115, "processName": "MainProcess", "relativeCreated": 6000.247001647949, "thread": 140487038072576, "threadName": "Thread-20" }, { "args": [ "SJP:", "5", "11", "45054", "[1, 3, u's']" ], "asctime": "2020-01-29 07:23:13,108", "created": 1580278993.108256, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 247, "message": "SJP: RX <- status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, u's']\"", "module": "__init__", "msecs": 108.25610160827637, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 6000.657081604004, "thread": 140487038072576, "threadName": "Thread-20" }, { "args": [ "SJP:", "Operation not permitted" ], "asctime": "2020-01-29 07:23:13,108", "created": 1580278993.108512, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 274, "message": "SJP: Received message has a peculiar status: Operation not permitted", "module": "__init__", "msecs": 108.51192474365234, "msg": "%s Received message has a peculiar status: %s", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 6000.91290473938, "thread": 140487038072576, "threadName": "Thread-20" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:13,108", "created": 1580278993.108725, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__buffer_received_data__", "levelname": "DEBUG", "levelno": 10, "lineno": 292, "message": "SJP: Message data is stored in buffer and is now ready to be retrieved by receive method", "module": "__init__", "msecs": 108.72507095336914, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 6001.126050949097, "thread": 140487038072576, "threadName": "Thread-20" }, { "args": [ "SJP:", 0, 10, 45054, "{u'test': u'test'}" ], "asctime": "2020-01-29 07:23:13,306", "created": 1580278993.306229, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 0, service_id: 10, data_id: 45054, data: \"{u'test': u'test'}\"", "module": "__init__", "msecs": 306.2291145324707, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 6198.630094528198, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:13,306", "created": 1580278993.306724, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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": 306.72407150268555, "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": 7115, "processName": "MainProcess", "relativeCreated": 6199.125051498413, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:13,457", "created": 1580278993.457597, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 66, "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": 457.597017288208, "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": 7115, "processName": "MainProcess", "relativeCreated": 6349.997997283936, "thread": 140487038072576, "threadName": "Thread-21" }, { "args": [ "SJP:", "0", "10", "45054", "{u'test': u'test'}" ], "asctime": "2020-01-29 07:23:13,457", "created": 1580278993.457894, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 247, "message": "SJP: RX <- status: 0, service_id: 10, data_id: 45054, data: \"{u'test': u'test'}\"", "module": "__init__", "msecs": 457.89408683776855, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 6350.295066833496, "thread": 140487038072576, "threadName": "Thread-21" }, { "args": [ "SJP:", "response_data_method" ], "asctime": "2020-01-29 07:23:13,458", "created": 1580278993.458009, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 264, "message": "SJP: Executing callback response_data_method to process received data", "module": "__init__", "msecs": 458.0090045928955, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 6350.409984588623, "thread": 140487038072576, "threadName": "Thread-21" }, { "args": [ "SJP:", 5, 11, 45054, "[1, 3, u's']" ], "asctime": "2020-01-29 07:23:13,458", "created": 1580278993.458115, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, u's']\"", "module": "__init__", "msecs": 458.1151008605957, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 6350.516080856323, "thread": 140487038072576, "threadName": "Thread-21" }, { "args": [], "asctime": "2020-01-29 07:23:13,458", "created": 1580278993.458314, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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": 458.3139419555664, "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": 7115, "processName": "MainProcess", "relativeCreated": 6350.714921951294, "thread": 140487038072576, "threadName": "Thread-21" }, { "args": [], "asctime": "2020-01-29 07:23:13,608", "created": 1580278993.608934, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 66, "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": 608.9339256286621, "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": 7115, "processName": "MainProcess", "relativeCreated": 6501.33490562439, "thread": 140487116760832, "threadName": "Thread-22" }, { "args": [ "SJP:", "5", "11", "45054", "[1, 3, u's']" ], "asctime": "2020-01-29 07:23:13,609", "created": 1580278993.609204, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 247, "message": "SJP: RX <- status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, u's']\"", "module": "__init__", "msecs": 609.2040538787842, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 6501.605033874512, "thread": 140487116760832, "threadName": "Thread-22" }, { "args": [ "SJP:", "Operation not permitted" ], "asctime": "2020-01-29 07:23:13,609", "created": 1580278993.609355, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 274, "message": "SJP: Received message has a peculiar status: Operation not permitted", "module": "__init__", "msecs": 609.3549728393555, "msg": "%s Received message has a peculiar status: %s", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 6501.755952835083, "thread": 140487116760832, "threadName": "Thread-22" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:13,609", "created": 1580278993.609446, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__buffer_received_data__", "levelname": "DEBUG", "levelno": 10, "lineno": 292, "message": "SJP: Message data is stored in buffer and is now ready to be retrieved by receive method", "module": "__init__", "msecs": 609.4460487365723, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 6501.8470287323, "thread": 140487116760832, "threadName": "Thread-22" } ], "msecs": 808.6020946502686, "msg": "Send and received data by struct_json_protocol.", "name": "__tLogger__", "pathname": "src/tests/test_normal_operation.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 6701.003074645996, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 0.1991560459136963 }, { "args": [ "True", "" ], "asctime": "2020-01-29 07:23:13,809", "created": 1580278993.809202, "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-01-29 07:23:13,808", "created": 1580278993.808955, "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": 808.9549541473389, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 6701.355934143066, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-01-29 07:23:13,809", "created": 1580278993.80909, "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": 809.0898990631104, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 6701.490879058838, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 809.2019557952881, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 6701.602935791016, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 0.00011205673217773438 }, { "args": [ "0", "" ], "asctime": "2020-01-29 07:23:13,809", "created": 1580278993.809597, "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-01-29 07:23:13,809", "created": 1580278993.809404, "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": 809.4038963317871, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 6701.804876327515, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Request Status (Okay) transfered via struct_json_protocol", "0", "" ], "asctime": "2020-01-29 07:23:13,809", "created": 1580278993.809501, "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": 809.5009326934814, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 6701.901912689209, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 809.5970153808594, "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": 7115, "processName": "MainProcess", "relativeCreated": 6701.997995376587, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 9.608268737792969e-05 }, { "args": [ "{u'test': u'test'}", "" ], "asctime": "2020-01-29 07:23:13,809", "created": 1580278993.809943, "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-01-29 07:23:13,809", "created": 1580278993.809745, "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": 809.7450733184814, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 6702.146053314209, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Request Data transfered via struct_json_protocol", "{ u'test': u'test' }", "" ], "asctime": "2020-01-29 07:23:13,809", "created": 1580278993.809837, "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": 809.8371028900146, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 6702.238082885742, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 809.9429607391357, "msg": "Request Data transfered via struct_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 6702.343940734863, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 0.00010585784912109375 }, { "args": [ "5", "" ], "asctime": "2020-01-29 07:23:13,810", "created": 1580278993.810233, "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-01-29 07:23:13,810", "created": 1580278993.810082, "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": 810.081958770752, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 6702.4829387664795, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Response Status (Operation not permitted) transfered via struct_json_protocol", "5", "" ], "asctime": "2020-01-29 07:23:13,810", "created": 1580278993.81016, "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": 810.1599216461182, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 6702.560901641846, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 810.2331161499023, "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": 7115, "processName": "MainProcess", "relativeCreated": 6702.63409614563, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 7.319450378417969e-05 }, { "args": [ "[1, 3, u's']", "" ], "asctime": "2020-01-29 07:23:13,810", "created": 1580278993.81056, "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-01-29 07:23:13,810", "created": 1580278993.810373, "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": 810.373067855835, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 6702.7740478515625, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Response Data transfered via struct_json_protocol", "[ 1, 3, u's' ]", "" ], "asctime": "2020-01-29 07:23:13,810", "created": 1580278993.81045, "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": 810.4500770568848, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 6702.851057052612, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 810.5599880218506, "msg": "Response Data transfered via struct_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 6702.960968017578, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 0.00010991096496582031 }, { "args": [ "None", "" ], "asctime": "2020-01-29 07:23:13,911", "created": 1580278993.911381, "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": [ "SJP:", "0.1", "11", "45054" ], "asctime": "2020-01-29 07:23:13,910", "created": 1580278993.910898, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 309, "message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 910.897970199585, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 6803.2989501953125, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for struct_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:13,911", "created": 1580278993.911111, "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": 911.1111164093018, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 6803.512096405029, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for struct_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:13,911", "created": 1580278993.911246, "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": 911.2460613250732, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 6803.647041320801, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 911.3810062408447, "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": 7115, "processName": "MainProcess", "relativeCreated": 6803.781986236572, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 0.00013494491577148438 }, { "args": [ "None", "" ], "asctime": "2020-01-29 07:23:14,012", "created": 1580278994.012091, "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": [ "SJP:", "0.1", "10", "45054" ], "asctime": "2020-01-29 07:23:14,011", "created": 1580278994.011745, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 309, "message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 11.744976043701172, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 6904.145956039429, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for struct_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:14,011", "created": 1580278994.011912, "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": 11.912107467651367, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 6904.313087463379, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for struct_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:14,012", "created": 1580278994.01201, "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": 12.01009750366211, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 6904.41107749939, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 12.090921401977539, "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": 7115, "processName": "MainProcess", "relativeCreated": 6904.491901397705, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 8.082389831542969e-05 } ], "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 1.2093768119812012, "time_finished": "2020-01-29 07:23:14,012", "time_start": "2020-01-29 07:23:12,802" }, "socket_protocol.struct_json_protocol: Send and receive check.": { "args": null, "asctime": "2020-01-29 07:23:07,166", "created": 1580278987.166036, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 25, "message": "socket_protocol.struct_json_protocol: Send and receive check.", "module": "__init__", "moduleLogger": [], "msecs": 166.03589057922363, "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": 7115, "processName": "MainProcess", "relativeCreated": 58.43687057495117, "testcaseLogger": [ { "args": [], "asctime": "2020-01-29 07:23:07,667", "created": 1580278987.667939, "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": [ "SJP:" ], "asctime": "2020-01-29 07:23:07,166", "created": 1580278987.166226, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 295, "message": "SJP: Cleaning up receive-buffer", "module": "__init__", "msecs": 166.22591018676758, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 58.62689018249512, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:07,166", "created": 1580278987.166403, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 199, "message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 166.40305519104004, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 58.80403518676758, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:07,166", "created": 1580278987.166469, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 295, "message": "SJP: Cleaning up receive-buffer", "module": "__init__", "msecs": 166.46909713745117, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 58.87007713317871, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:07,166", "created": 1580278987.166568, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 199, "message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 166.56804084777832, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 58.96902084350586, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "SJP:", 0, 10, 45054, "{u'test': u'test'}" ], "asctime": "2020-01-29 07:23:07,166", "created": 1580278987.166644, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 0, service_id: 10, data_id: 45054, data: \"{u'test': u'test'}\"", "module": "__init__", "msecs": 166.64409637451172, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 59.04507637023926, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:07,166", "created": 1580278987.166771, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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": 166.77093505859375, "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": 7115, "processName": "MainProcess", "relativeCreated": 59.17191505432129, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:07,317", "created": 1580278987.317266, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 66, "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": 317.26598739624023, "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": 7115, "processName": "MainProcess", "relativeCreated": 209.66696739196777, "thread": 140487116760832, "threadName": "Thread-1" }, { "args": [ "SJP:", "0", "10", "45054", "{u'test': u'test'}" ], "asctime": "2020-01-29 07:23:07,317", "created": 1580278987.317452, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 247, "message": "SJP: RX <- status: 0, service_id: 10, data_id: 45054, data: \"{u'test': u'test'}\"", "module": "__init__", "msecs": 317.45195388793945, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 209.852933883667, "thread": 140487116760832, "threadName": "Thread-1" }, { "args": [ "SJP:", "response_data_method" ], "asctime": "2020-01-29 07:23:07,317", "created": 1580278987.317517, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 264, "message": "SJP: Executing callback response_data_method to process received data", "module": "__init__", "msecs": 317.5170421600342, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 209.91802215576172, "thread": 140487116760832, "threadName": "Thread-1" }, { "args": [ "SJP:", 5, 11, 45054, "[1, 3, u's']" ], "asctime": "2020-01-29 07:23:07,317", "created": 1580278987.317577, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, u's']\"", "module": "__init__", "msecs": 317.5768852233887, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 209.9778652191162, "thread": 140487116760832, "threadName": "Thread-1" }, { "args": [], "asctime": "2020-01-29 07:23:07,317", "created": 1580278987.317683, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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": 317.68298149108887, "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": 7115, "processName": "MainProcess", "relativeCreated": 210.0839614868164, "thread": 140487116760832, "threadName": "Thread-1" }, { "args": [], "asctime": "2020-01-29 07:23:07,468", "created": 1580278987.468086, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 66, "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": 468.08600425720215, "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": 7115, "processName": "MainProcess", "relativeCreated": 360.4869842529297, "thread": 140487038072576, "threadName": "Thread-2" }, { "args": [ "SJP:", "5", "11", "45054", "[1, 3, u's']" ], "asctime": "2020-01-29 07:23:07,468", "created": 1580278987.468288, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 247, "message": "SJP: RX <- status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, u's']\"", "module": "__init__", "msecs": 468.2879447937012, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 360.6889247894287, "thread": 140487038072576, "threadName": "Thread-2" }, { "args": [ "SJP:", "Operation not permitted" ], "asctime": "2020-01-29 07:23:07,468", "created": 1580278987.468399, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 274, "message": "SJP: Received message has a peculiar status: Operation not permitted", "module": "__init__", "msecs": 468.3990478515625, "msg": "%s Received message has a peculiar status: %s", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 360.80002784729004, "thread": 140487038072576, "threadName": "Thread-2" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:07,468", "created": 1580278987.468471, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__buffer_received_data__", "levelname": "DEBUG", "levelno": 10, "lineno": 292, "message": "SJP: Message data is stored in buffer and is now ready to be retrieved by receive method", "module": "__init__", "msecs": 468.4710502624512, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 360.8720302581787, "thread": 140487038072576, "threadName": "Thread-2" } ], "msecs": 667.9389476776123, "msg": "Send and received data by struct_json_protocol.", "name": "__tLogger__", "pathname": "src/tests/test_normal_operation.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 560.3399276733398, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 0.19946789741516113 }, { "args": [ "True", "" ], "asctime": "2020-01-29 07:23:07,668", "created": 1580278987.668299, "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-01-29 07:23:07,668", "created": 1580278987.668155, "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": 668.1549549102783, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 560.5559349060059, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-01-29 07:23:07,668", "created": 1580278987.668236, "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": 668.2360172271729, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 560.6369972229004, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 668.2989597320557, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 560.6999397277832, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 6.29425048828125e-05 }, { "args": [ "0", "" ], "asctime": "2020-01-29 07:23:07,668", "created": 1580278987.66849, "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-01-29 07:23:07,668", "created": 1580278987.668388, "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": 668.3878898620605, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 560.7888698577881, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Request Status (Okay) transfered via struct_json_protocol", "0", "" ], "asctime": "2020-01-29 07:23:07,668", "created": 1580278987.668442, "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": 668.4420108795166, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 560.8429908752441, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 668.489933013916, "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": 7115, "processName": "MainProcess", "relativeCreated": 560.8909130096436, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 4.792213439941406e-05 }, { "args": [ "{u'test': u'test'}", "" ], "asctime": "2020-01-29 07:23:07,668", "created": 1580278987.66868, "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-01-29 07:23:07,668", "created": 1580278987.668573, "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": 668.5729026794434, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 560.9738826751709, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Request Data transfered via struct_json_protocol", "{ u'test': u'test' }", "" ], "asctime": "2020-01-29 07:23:07,668", "created": 1580278987.668621, "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": 668.6210632324219, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 561.0220432281494, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 668.67995262146, "msg": "Request Data transfered via struct_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 561.0809326171875, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 5.888938903808594e-05 }, { "args": [ "5", "" ], "asctime": "2020-01-29 07:23:07,668", "created": 1580278987.668838, "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-01-29 07:23:07,668", "created": 1580278987.668754, "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": 668.7541007995605, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 561.1550807952881, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Response Status (Operation not permitted) transfered via struct_json_protocol", "5", "" ], "asctime": "2020-01-29 07:23:07,668", "created": 1580278987.668796, "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": 668.7960624694824, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 561.19704246521, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 668.8380241394043, "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": 7115, "processName": "MainProcess", "relativeCreated": 561.2390041351318, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 4.1961669921875e-05 }, { "args": [ "[1, 3, u's']", "" ], "asctime": "2020-01-29 07:23:07,669", "created": 1580278987.669012, "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-01-29 07:23:07,668", "created": 1580278987.668911, "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": 668.9109802246094, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 561.3119602203369, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Response Data transfered via struct_json_protocol", "[ 1, 3, u's' ]", "" ], "asctime": "2020-01-29 07:23:07,668", "created": 1580278987.668955, "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": 668.9550876617432, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 561.3560676574707, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 669.0120697021484, "msg": "Response Data transfered via struct_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 561.413049697876, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 5.698204040527344e-05 }, { "args": [ "None", "" ], "asctime": "2020-01-29 07:23:07,769", "created": 1580278987.7696, "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": [ "SJP:", "0.1", "11", "45054" ], "asctime": "2020-01-29 07:23:07,769", "created": 1580278987.769294, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 309, "message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 769.294023513794, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 661.6950035095215, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for struct_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:07,769", "created": 1580278987.76945, "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": 769.4499492645264, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 661.8509292602539, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for struct_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:07,769", "created": 1580278987.769535, "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": 769.5350646972656, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 661.9360446929932, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 769.5999145507812, "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": 7115, "processName": "MainProcess", "relativeCreated": 662.0008945465088, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 6.4849853515625e-05 }, { "args": [ "None", "" ], "asctime": "2020-01-29 07:23:07,870", "created": 1580278987.87046, "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": [ "SJP:", "0.1", "10", "45054" ], "asctime": "2020-01-29 07:23:07,870", "created": 1580278987.870104, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 309, "message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 870.1040744781494, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 762.505054473877, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for struct_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:07,870", "created": 1580278987.870286, "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": 870.2859878540039, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 762.6869678497314, "thread": 140487175731008, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for struct_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:07,870", "created": 1580278987.870383, "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": 870.3830242156982, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7115, "processName": "MainProcess", "relativeCreated": 762.7840042114258, "thread": 140487175731008, "threadName": "MainThread" } ], "msecs": 870.460033416748, "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": 7115, "processName": "MainProcess", "relativeCreated": 762.8610134124756, "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 7.700920104980469e-05 } ], "thread": 140487175731008, "threadName": "MainThread", "time_consumption": 0.7044241428375244, "time_finished": "2020-01-29 07:23:07,870", "time_start": "2020-01-29 07:23:07,166" } }, "testrun_id": "p2", "time_consumption": 11.291115999221802, "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: Register a Callback which is already defined.", "socket_protocol.pure_json_protocol: Authentification processed without secret.", "socket_protocol.pure_json_protocol: Incompatible Callback return value(s)." ] }, { "heading_dict": {}, "interpreter": "python 3.6.9 (final)", "name": "Default Testsession name", "number_of_failed_tests": 0, "number_of_possibly_failed_tests": 0, "number_of_successfull_tests": 15, "number_of_tests": 15, "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-01-29 07:23:29,909", "created": 1580279009.9094899, "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": 909.4898700714111, "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": 7175, "processName": "MainProcess", "relativeCreated": 10985.539674758911, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2020-01-29 07:23:29,910", "created": 1580279009.910575, "exc_info": null, "exc_text": null, "filename": "test_handling_errors.py", "funcName": "authentification_no_secret", "levelname": "DEBUG", "levelno": 10, "lineno": 109, "message": "Authentification with no secret definition (pure_json_protocol).", "module": "test_handling_errors", "moduleLogger": [ { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:29,909", "created": 1580279009.9099371, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 295, "message": "SJP: Cleaning up receive-buffer", "module": "__init__", "msecs": 909.9371433258057, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 10985.986948013306, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:29,910", "created": 1580279009.9101686, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 199, "message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 910.1686477661133, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 10986.218452453613, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:29,910", "created": 1580279009.9102974, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 295, "message": "SJP: Cleaning up receive-buffer", "module": "__init__", "msecs": 910.2973937988281, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 10986.347198486328, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:29,910", "created": 1580279009.91046, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 199, "message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 910.4599952697754, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 10986.509799957275, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 910.5749130249023, "msg": "Authentification with no secret definition (pure_json_protocol).", "name": "__tLogger__", "pathname": "src/tests/test_handling_errors.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 10986.624717712402, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 0.00011491775512695312 }, { "args": [ "False", "" ], "asctime": "2020-01-29 07:23:29,910", "created": 1580279009.9108698, "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-01-29 07:23:29,910", "created": 1580279009.9107075, "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": 910.7074737548828, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 10986.757278442383, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Return value of authentification", "False", "" ], "asctime": "2020-01-29 07:23:29,910", "created": 1580279009.9107873, "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": 910.7873439788818, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 10986.837148666382, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 910.869836807251, "msg": "Return value of authentification is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 10986.919641494751, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 8.249282836914062e-05 } ], "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 0.0013799667358398438, "time_finished": "2020-01-29 07:23:29,910", "time_start": "2020-01-29 07:23:29,909" }, "socket_protocol.pure_json_protocol: Authentification required, but not processed/ correctly processed.": { "args": null, "asctime": "2020-01-29 07:23:28,483", "created": 1580279008.4838932, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 42, "message": "socket_protocol.pure_json_protocol: Authentification required, but not processed/ correctly processed.", "module": "__init__", "moduleLogger": [], "msecs": 483.89315605163574, "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": 7175, "processName": "MainProcess", "relativeCreated": 9559.942960739136, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2020-01-29 07:23:29,702", "created": 1580279009.702203, "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": [ "SJP:" ], "asctime": "2020-01-29 07:23:28,484", "created": 1580279008.484061, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 295, "message": "SJP: Cleaning up receive-buffer", "module": "__init__", "msecs": 484.06100273132324, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 9560.110807418823, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:28,484", "created": 1580279008.4842064, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 199, "message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 484.2064380645752, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 9560.256242752075, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:28,484", "created": 1580279008.4842951, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 295, "message": "SJP: Cleaning up receive-buffer", "module": "__init__", "msecs": 484.295129776001, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 9560.344934463501, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:28,484", "created": 1580279008.484414, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 199, "message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 484.41410064697266, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 9560.463905334473, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:28,484", "created": 1580279008.4845006, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "authentificate", "levelname": "INFO", "levelno": 20, "lineno": 378, "message": "SJP: Requesting seed for authentification", "module": "__init__", "msecs": 484.5006465911865, "msg": "%s Requesting seed for authentification", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 9560.550451278687, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "SJP:", 0, 1, 0, "None" ], "asctime": "2020-01-29 07:23:28,484", "created": 1580279008.484575, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 0, service_id: 1, data_id: 0, data: \"None\"", "module": "__init__", "msecs": 484.5750331878662, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 9560.624837875366, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:28,484", "created": 1580279008.484769, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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": 484.7691059112549, "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": 7175, "processName": "MainProcess", "relativeCreated": 9560.818910598755, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:28,639", "created": 1580279008.6394503, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 66, "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": 639.4503116607666, "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": 7175, "processName": "MainProcess", "relativeCreated": 9715.500116348267, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-26" }, { "args": [ "SJP:", "0", "1", "0", "None" ], "asctime": "2020-01-29 07:23:28,639", "created": 1580279008.6396852, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 247, "message": "SJP: RX <- status: 0, service_id: 1, data_id: 0, data: \"None\"", "module": "__init__", "msecs": 639.6851539611816, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 9715.734958648682, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-26" }, { "args": [ "SJP:", "__authentificate_create_seed__" ], "asctime": "2020-01-29 07:23:28,639", "created": 1580279008.6397922, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 264, "message": "SJP: Executing callback __authentificate_create_seed__ to process received data", "module": "__init__", "msecs": 639.7922039031982, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 9715.842008590698, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-26" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:28,639", "created": 1580279008.639863, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentificate_create_seed__", "levelname": "INFO", "levelno": 20, "lineno": 404, "message": "SJP: Got seed request, sending seed for authentification", "module": "__init__", "msecs": 639.8630142211914, "msg": "%s Got seed request, sending seed for authentification", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 9715.912818908691, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-26" }, { "args": [ "SJP:", 0, 2, 0, "'205036432263afdaefea69b4b21e10d2d5bbe93328b62442c834b9de746bd22f'" ], "asctime": "2020-01-29 07:23:28,639", "created": 1580279008.6399662, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 0, service_id: 2, data_id: 0, data: \"'205036432263afdaefea69b4b21e10d2d5bbe93328b62442c834b9de746bd22f'\"", "module": "__init__", "msecs": 639.9662494659424, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 9716.016054153442, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-26" }, { "args": [], "asctime": "2020-01-29 07:23:28,640", "created": 1580279008.6401997, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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 35 30 33 36 34 33 32 32 36 33 61 66 64 61 65 66 65 61 36 39 62 34 62 32 31 65 31 30 64 32 64 35 62 62 65 39 33 33 32 38 62 36 32 34 34 32 63 38 33 34 62 39 64 65 37 34 36 62 64 32 32 66 22 7d 98 1d 5c a6", "module": "test_helpers", "msecs": 640.1996612548828, "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 35 30 33 36 34 33 32 32 36 33 61 66 64 61 65 66 65 61 36 39 62 34 62 32 31 65 31 30 64 32 64 35 62 62 65 39 33 33 32 38 62 36 32 34 34 32 63 38 33 34 62 39 64 65 37 34 36 62 64 32 32 66 22 7d 98 1d 5c a6", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 9716.249465942383, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-26" }, { "args": [], "asctime": "2020-01-29 07:23:28,799", "created": 1580279008.7995312, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 66, "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 35 30 33 36 34 33 32 32 36 33 61 66 64 61 65 66 65 61 36 39 62 34 62 32 31 65 31 30 64 32 64 35 62 62 65 39 33 33 32 38 62 36 32 34 34 32 63 38 33 34 62 39 64 65 37 34 36 62 64 32 32 66 22 7d 98 1d 5c a6", "module": "test_helpers", "msecs": 799.5312213897705, "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 35 30 33 36 34 33 32 32 36 33 61 66 64 61 65 66 65 61 36 39 62 34 62 32 31 65 31 30 64 32 64 35 62 62 65 39 33 33 32 38 62 36 32 34 34 32 63 38 33 34 62 39 64 65 37 34 36 62 64 32 32 66 22 7d 98 1d 5c a6", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 9875.58102607727, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-27" }, { "args": [ "SJP:", "0", "2", "0", "'205036432263afdaefea69b4b21e10d2d5bbe93328b62442c834b9de746bd22f'" ], "asctime": "2020-01-29 07:23:28,800", "created": 1580279008.8006735, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 247, "message": "SJP: RX <- status: 0, service_id: 2, data_id: 0, data: \"'205036432263afdaefea69b4b21e10d2d5bbe93328b62442c834b9de746bd22f'\"", "module": "__init__", "msecs": 800.6734848022461, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 9876.723289489746, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-27" }, { "args": [ "SJP:", "__authentificate_create_key__" ], "asctime": "2020-01-29 07:23:28,801", "created": 1580279008.8011076, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 264, "message": "SJP: Executing callback __authentificate_create_key__ to process received data", "module": "__init__", "msecs": 801.10764503479, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 9877.15744972229, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-27" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:28,801", "created": 1580279008.8014088, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentificate_create_key__", "levelname": "INFO", "levelno": 20, "lineno": 413, "message": "SJP: Got seed, sending key for authentification", "module": "__init__", "msecs": 801.4087677001953, "msg": "%s Got seed, sending key for authentification", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 9877.458572387695, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-27" }, { "args": [ "SJP:", 0, 3, 0, "'d200de4b408079e1eb1d15dfd22fda38360433f1d1b51f9f45cea3c5a591052445391f87ca7b96216f775057ff0cda065941b6e9227f32d9e328cbf0170e4674'" ], "asctime": "2020-01-29 07:23:28,801", "created": 1580279008.801717, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 0, service_id: 3, data_id: 0, data: \"'d200de4b408079e1eb1d15dfd22fda38360433f1d1b51f9f45cea3c5a591052445391f87ca7b96216f775057ff0cda065941b6e9227f32d9e328cbf0170e4674'\"", "module": "__init__", "msecs": 801.7170429229736, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 9877.766847610474, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-27" }, { "args": [], "asctime": "2020-01-29 07:23:28,802", "created": 1580279008.802853, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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 64 32 30 30 64 65 34 62 34 30 38 30 37 39 65 31 65 62 31 64 31 35 64 66 64 32 32 66 64 61 33 38 33 36 30 34 33 33 66 31 64 31 62 35 31 66 39 66 34 35 63 65 61 33 63 35 61 35 39 31 30 35 32 34 34 35 33 39 31 66 38 37 63 61 37 62 39 36 32 31 36 66 37 37 35 30 35 37 66 66 30 63 64 61 30 36 35 39 34 31 62 36 65 39 32 32 37 66 33 32 64 39 65 33 32 38 63 62 66 30 31 37 30 65 34 36 37 34 22 7d 5f 78 04 93", "module": "test_helpers", "msecs": 802.8531074523926, "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 64 32 30 30 64 65 34 62 34 30 38 30 37 39 65 31 65 62 31 64 31 35 64 66 64 32 32 66 64 61 33 38 33 36 30 34 33 33 66 31 64 31 62 35 31 66 39 66 34 35 63 65 61 33 63 35 61 35 39 31 30 35 32 34 34 35 33 39 31 66 38 37 63 61 37 62 39 36 32 31 36 66 37 37 35 30 35 37 66 66 30 63 64 61 30 36 35 39 34 31 62 36 65 39 32 32 37 66 33 32 64 39 65 33 32 38 63 62 66 30 31 37 30 65 34 36 37 34 22 7d 5f 78 04 93", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 9878.902912139893, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-27" }, { "args": [], "asctime": "2020-01-29 07:23:28,954", "created": 1580279008.9540498, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 66, "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 64 32 30 30 64 65 34 62 34 30 38 30 37 39 65 31 65 62 31 64 31 35 64 66 64 32 32 66 64 61 33 38 33 36 30 34 33 33 66 31 64 31 62 35 31 66 39 66 34 35 63 65 61 33 63 35 61 35 39 31 30 35 32 34 34 35 33 39 31 66 38 37 63 61 37 62 39 36 32 31 36 66 37 37 35 30 35 37 66 66 30 63 64 61 30 36 35 39 34 31 62 36 65 39 32 32 37 66 33 32 64 39 65 33 32 38 63 62 66 30 31 37 30 65 34 36 37 34 22 7d 5f 78 04 93", "module": "test_helpers", "msecs": 954.049825668335, "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 64 32 30 30 64 65 34 62 34 30 38 30 37 39 65 31 65 62 31 64 31 35 64 66 64 32 32 66 64 61 33 38 33 36 30 34 33 33 66 31 64 31 62 35 31 66 39 66 34 35 63 65 61 33 63 35 61 35 39 31 30 35 32 34 34 35 33 39 31 66 38 37 63 61 37 62 39 36 32 31 36 66 37 37 35 30 35 37 66 66 30 63 64 61 30 36 35 39 34 31 62 36 65 39 32 32 37 66 33 32 64 39 65 33 32 38 63 62 66 30 31 37 30 65 34 36 37 34 22 7d 5f 78 04 93", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 10030.099630355835, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-28" }, { "args": [ "SJP:", "0", "3", "0", "'d200de4b408079e1eb1d15dfd22fda38360433f1d1b51f9f45cea3c5a591052445391f87ca7b96216f775057ff0cda065941b6e9227f32d9e328cbf0170e4674'" ], "asctime": "2020-01-29 07:23:28,954", "created": 1580279008.9543133, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 247, "message": "SJP: RX <- status: 0, service_id: 3, data_id: 0, data: \"'d200de4b408079e1eb1d15dfd22fda38360433f1d1b51f9f45cea3c5a591052445391f87ca7b96216f775057ff0cda065941b6e9227f32d9e328cbf0170e4674'\"", "module": "__init__", "msecs": 954.3132781982422, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 10030.363082885742, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-28" }, { "args": [ "SJP:", "__authentificate_check_key__" ], "asctime": "2020-01-29 07:23:28,954", "created": 1580279008.9544284, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 264, "message": "SJP: Executing callback __authentificate_check_key__ to process received data", "module": "__init__", "msecs": 954.4284343719482, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 10030.478239059448, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-28" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:28,954", "created": 1580279008.954536, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentificate_check_key__", "levelname": "INFO", "levelno": 20, "lineno": 427, "message": "SJP: Got incorrect key, sending negative authentification feedback", "module": "__init__", "msecs": 954.535961151123, "msg": "%s Got incorrect key, sending negative authentification feedback", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 10030.585765838623, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-28" }, { "args": [ "SJP:", 0, 4, 0, "False" ], "asctime": "2020-01-29 07:23:28,954", "created": 1580279008.954633, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 0, service_id: 4, data_id: 0, data: \"False\"", "module": "__init__", "msecs": 954.6329975128174, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 10030.682802200317, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-28" }, { "args": [], "asctime": "2020-01-29 07:23:28,954", "created": 1580279008.954823, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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": 954.8230171203613, "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": 7175, "processName": "MainProcess", "relativeCreated": 10030.872821807861, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-28" }, { "args": [], "asctime": "2020-01-29 07:23:29,112", "created": 1580279009.1127846, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 66, "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": 112.78462409973145, "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": 7175, "processName": "MainProcess", "relativeCreated": 10188.834428787231, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-29" }, { "args": [ "SJP:", "0", "4", "0", "False" ], "asctime": "2020-01-29 07:23:29,113", "created": 1580279009.1130025, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 247, "message": "SJP: RX <- status: 0, service_id: 4, data_id: 0, data: \"False\"", "module": "__init__", "msecs": 113.00253868103027, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 10189.05234336853, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-29" }, { "args": [ "SJP:", "__authentificate_process_feedback__" ], "asctime": "2020-01-29 07:23:29,113", "created": 1580279009.113099, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 281, "message": "SJP: Executing callback __authentificate_process_feedback__ to process received data", "module": "__init__", "msecs": 113.0990982055664, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 10189.148902893066, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-29" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:29,113", "created": 1580279009.1131709, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentificate_process_feedback__", "levelname": "WARNING", "levelno": 30, "lineno": 437, "message": "SJP: Got negative authentification feedback", "module": "__init__", "msecs": 113.17086219787598, "msg": "%s Got negative authentification feedback", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 10189.220666885376, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-29" }, { "args": [ "SJP:", 0, 10, 45054, "{'test': 'test'}" ], "asctime": "2020-01-29 07:23:29,190", "created": 1580279009.190254, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 0, service_id: 10, data_id: 45054, data: \"{'test': 'test'}\"", "module": "__init__", "msecs": 190.25397300720215, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 10266.303777694702, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:29,190", "created": 1580279009.1906302, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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.6301975250244, "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": 7175, "processName": "MainProcess", "relativeCreated": 10266.680002212524, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:29,351", "created": 1580279009.351839, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 66, "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": 351.8390655517578, "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": 7175, "processName": "MainProcess", "relativeCreated": 10427.888870239258, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-30" }, { "args": [ "SJP:", "0", "10", "45054", "{'test': 'test'}" ], "asctime": "2020-01-29 07:23:29,352", "created": 1580279009.3524005, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 247, "message": "SJP: RX <- status: 0, service_id: 10, data_id: 45054, data: \"{'test': 'test'}\"", "module": "__init__", "msecs": 352.400541305542, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 10428.450345993042, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-30" }, { "args": [ "SJP:", "Unknown Client" ], "asctime": "2020-01-29 07:23:29,352", "created": 1580279009.3526576, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 257, "message": "SJP: Received message needs authentification: Unknown Client. Sending negative response.", "module": "__init__", "msecs": 352.6575565338135, "msg": "%s Received message needs authentification: %s. Sending negative response.", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 10428.707361221313, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-30" }, { "args": [ "SJP:", 2, 11, 45054, "None" ], "asctime": "2020-01-29 07:23:29,352", "created": 1580279009.3528183, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 2, service_id: 11, data_id: 45054, data: \"None\"", "module": "__init__", "msecs": 352.81825065612793, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 10428.868055343628, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-30" }, { "args": [], "asctime": "2020-01-29 07:23:29,353", "created": 1580279009.3532853, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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": 353.2853126525879, "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": 7175, "processName": "MainProcess", "relativeCreated": 10429.335117340088, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-30" }, { "args": [], "asctime": "2020-01-29 07:23:29,511", "created": 1580279009.511888, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 66, "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": 511.8880271911621, "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": 7175, "processName": "MainProcess", "relativeCreated": 10587.937831878662, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-31" }, { "args": [ "SJP:", "2", "11", "45054", "None" ], "asctime": "2020-01-29 07:23:29,512", "created": 1580279009.5120363, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 247, "message": "SJP: RX <- status: 2, service_id: 11, data_id: 45054, data: \"None\"", "module": "__init__", "msecs": 512.0363235473633, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 10588.086128234863, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-31" }, { "args": [ "SJP:", "Authentification required" ], "asctime": "2020-01-29 07:23:29,512", "created": 1580279009.5121038, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 274, "message": "SJP: Received message has a peculiar status: Authentification required", "module": "__init__", "msecs": 512.103796005249, "msg": "%s Received message has a peculiar status: %s", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 10588.153600692749, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-31" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:29,512", "created": 1580279009.5121546, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__buffer_received_data__", "levelname": "DEBUG", "levelno": 10, "lineno": 292, "message": "SJP: Message data is stored in buffer and is now ready to be retrieved by receive method", "module": "__init__", "msecs": 512.1545791625977, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 10588.204383850098, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-31" } ], "msecs": 702.2030353546143, "msg": "Authentification with different secrets for request and response instance (pure_json_protocol).", "name": "__tLogger__", "pathname": "src/tests/test_handling_errors.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 10778.252840042114, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 0.1900484561920166 }, { "args": [ "False", "" ], "asctime": "2020-01-29 07:23:29,702", "created": 1580279009.7026272, "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-01-29 07:23:29,702", "created": 1580279009.7024615, "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": 702.4614810943604, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 10778.51128578186, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Return value of authentification", "False", "" ], "asctime": "2020-01-29 07:23:29,702", "created": 1580279009.7025485, "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": 702.5485038757324, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 10778.598308563232, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 702.6271820068359, "msg": "Return value of authentification is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 10778.676986694336, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 7.867813110351562e-05 }, { "args": [ "True", "" ], "asctime": "2020-01-29 07:23:29,702", "created": 1580279009.7028635, "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-01-29 07:23:29,702", "created": 1580279009.7027278, "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": 702.7277946472168, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 10778.777599334717, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-01-29 07:23:29,702", "created": 1580279009.7027965, "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": 702.796459197998, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 10778.846263885498, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 702.8634548187256, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 10778.913259506226, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 6.699562072753906e-05 }, { "args": [ "2", "" ], "asctime": "2020-01-29 07:23:29,703", "created": 1580279009.7030938, "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-01-29 07:23:29,702", "created": 1580279009.702958, "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": 702.9581069946289, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 10779.007911682129, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Response Status (Authentification required) transfered via pure_json_protocol", "2", "" ], "asctime": "2020-01-29 07:23:29,703", "created": 1580279009.7030246, "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": 703.0246257781982, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 10779.074430465698, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 703.0937671661377, "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": 7175, "processName": "MainProcess", "relativeCreated": 10779.143571853638, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 6.914138793945312e-05 }, { "args": [ "None", "" ], "asctime": "2020-01-29 07:23:29,703", "created": 1580279009.703329, "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-01-29 07:23:29,703", "created": 1580279009.7031903, "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": 703.1903266906738, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 10779.240131378174, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Response Data (no data) transfered via pure_json_protocol", "None", "" ], "asctime": "2020-01-29 07:23:29,703", "created": 1580279009.7032616, "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": 703.2616138458252, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 10779.311418533325, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 703.3290863037109, "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": 7175, "processName": "MainProcess", "relativeCreated": 10779.378890991211, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 6.747245788574219e-05 }, { "args": [ "None", "" ], "asctime": "2020-01-29 07:23:29,803", "created": 1580279009.8039877, "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": [ "SJP:", "0.1", "11", "45054" ], "asctime": "2020-01-29 07:23:29,803", "created": 1580279009.8036408, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 309, "message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 803.6408424377441, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 10879.690647125244, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:29,803", "created": 1580279009.8038142, "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": 803.814172744751, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 10879.863977432251, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:29,803", "created": 1580279009.8039052, "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": 803.9052486419678, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 10879.955053329468, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 803.9877414703369, "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": 7175, "processName": "MainProcess", "relativeCreated": 10880.037546157837, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 8.249282836914062e-05 }, { "args": [ "None", "" ], "asctime": "2020-01-29 07:23:29,907", "created": 1580279009.9076662, "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": [ "SJP:", "0.1", "10", "45054" ], "asctime": "2020-01-29 07:23:29,904", "created": 1580279009.9049795, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 309, "message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 904.9794673919678, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 10981.029272079468, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:29,906", "created": 1580279009.9063115, "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": 906.3115119934082, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 10982.361316680908, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:29,907", "created": 1580279009.9070861, "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": 907.0861339569092, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 10983.13593864441, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 907.6662063598633, "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": 7175, "processName": "MainProcess", "relativeCreated": 10983.716011047363, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 0.0005800724029541016 } ], "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 1.4237730503082275, "time_finished": "2020-01-29 07:23:29,907", "time_start": "2020-01-29 07:23:28,483" }, "socket_protocol.pure_json_protocol: Checksum corumpation while sending.": { "args": null, "asctime": "2020-01-29 07:23:25,848", "created": 1580279005.8480244, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 36, "message": "socket_protocol.pure_json_protocol: Checksum corumpation while sending.", "module": "__init__", "moduleLogger": [], "msecs": 848.0243682861328, "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": 7175, "processName": "MainProcess", "relativeCreated": 6924.074172973633, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2020-01-29 07:23:26,157", "created": 1580279006.1578, "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": [ "SJP:" ], "asctime": "2020-01-29 07:23:25,848", "created": 1580279005.8481534, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 295, "message": "SJP: Cleaning up receive-buffer", "module": "__init__", "msecs": 848.1533527374268, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 6924.203157424927, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:25,848", "created": 1580279005.8483164, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 199, "message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 848.3164310455322, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 6924.366235733032, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:25,848", "created": 1580279005.848414, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 295, "message": "SJP: Cleaning up receive-buffer", "module": "__init__", "msecs": 848.4139442443848, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 6924.463748931885, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:25,848", "created": 1580279005.8485503, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 199, "message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 848.5503196716309, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 6924.600124359131, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "SJP:", 0, 10, 45054, "{'test': 'test'}" ], "asctime": "2020-01-29 07:23:25,848", "created": 1580279005.848665, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 0, service_id: 10, data_id: 45054, data: \"{'test': 'test'}\"", "module": "__init__", "msecs": 848.6649990081787, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 6924.714803695679, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:25,848", "created": 1580279005.8488884, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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": 848.8883972167969, "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": 7175, "processName": "MainProcess", "relativeCreated": 6924.938201904297, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:26,007", "created": 1580279006.007672, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 66, "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": 7.67207145690918, "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": 7175, "processName": "MainProcess", "relativeCreated": 7083.721876144409, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-23" }, { "args": [ "SJP:", "(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-01-29 07:23:26,007", "created": 1580279006.0079021, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 238, "message": "SJP: 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": 7.9021453857421875, "msg": "%s Received message has a wrong checksum and will be ignored: %s.", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 7083.951950073242, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-23" } ], "msecs": 157.79995918273926, "msg": "Send data with wrong checksum by pure_json_protocol.", "name": "__tLogger__", "pathname": "src/tests/test_communication_errors.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 7233.849763870239, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 0.14989781379699707 }, { "args": [ "True", "" ], "asctime": "2020-01-29 07:23:26,158", "created": 1580279006.1581445, "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-01-29 07:23:26,157", "created": 1580279006.1579957, "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": 157.99570083618164, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 7234.045505523682, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-01-29 07:23:26,158", "created": 1580279006.1580734, "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": 158.07342529296875, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 7234.123229980469, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 158.14447402954102, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 7234.194278717041, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 7.104873657226562e-05 }, { "args": [ "False", "" ], "asctime": "2020-01-29 07:23:26,158", "created": 1580279006.158358, "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-01-29 07:23:26,158", "created": 1580279006.1582341, "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": 158.2341194152832, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 7234.283924102783, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Callback executed variable", "False", "" ], "asctime": "2020-01-29 07:23:26,158", "created": 1580279006.1582987, "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": 158.29873085021973, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 7234.34853553772, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 158.35809707641602, "msg": "Callback executed variable is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 7234.407901763916, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 5.936622619628906e-05 }, { "args": [ "None", "" ], "asctime": "2020-01-29 07:23:26,259", "created": 1580279006.2590103, "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": [ "SJP:", "0.1", "11", "45054" ], "asctime": "2020-01-29 07:23:26,258", "created": 1580279006.2586524, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 309, "message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 258.6524486541748, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 7334.702253341675, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:26,258", "created": 1580279006.2588322, "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": 258.8322162628174, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 7334.882020950317, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:26,258", "created": 1580279006.2589307, "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": 258.9306831359863, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 7334.980487823486, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 259.01031494140625, "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": 7175, "processName": "MainProcess", "relativeCreated": 7335.060119628906, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 7.963180541992188e-05 }, { "args": [ "None", "" ], "asctime": "2020-01-29 07:23:26,359", "created": 1580279006.3596802, "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": [ "SJP:", "0.1", "10", "45054" ], "asctime": "2020-01-29 07:23:26,359", "created": 1580279006.3593504, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 309, "message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 359.35044288635254, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 7435.4002475738525, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:26,359", "created": 1580279006.3595269, "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": 359.5268726348877, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 7435.576677322388, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:26,359", "created": 1580279006.3596096, "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": 359.60960388183594, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 7435.659408569336, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 359.68017578125, "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": 7175, "processName": "MainProcess", "relativeCreated": 7435.72998046875, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 7.05718994140625e-05 } ], "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 0.5116558074951172, "time_finished": "2020-01-29 07:23:26,359", "time_start": "2020-01-29 07:23:25,848" }, "socket_protocol.pure_json_protocol: Incompatible Callback return value(s).": { "args": null, "asctime": "2020-01-29 07:23:29,911", "created": 1580279009.911075, "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": 911.0751152038574, "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": 7175, "processName": "MainProcess", "relativeCreated": 10987.124919891357, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2020-01-29 07:23:29,921", "created": 1580279009.9215088, "exc_info": null, "exc_text": null, "filename": "test_handling_errors.py", "funcName": "callback_rv_error", "levelname": "DEBUG", "levelno": 10, "lineno": 144, "message": "Send and received data with incompatible callback (pure_json_protocol).", "module": "test_handling_errors", "moduleLogger": [ { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:29,911", "created": 1580279009.9112332, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 295, "message": "SJP: Cleaning up receive-buffer", "module": "__init__", "msecs": 911.2331867218018, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 10987.282991409302, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:29,911", "created": 1580279009.9114244, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 199, "message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 911.4243984222412, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 10987.474203109741, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:29,911", "created": 1580279009.9115512, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 295, "message": "SJP: Cleaning up receive-buffer", "module": "__init__", "msecs": 911.5512371063232, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 10987.601041793823, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:29,911", "created": 1580279009.9117167, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 199, "message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 911.7166996002197, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 10987.76650428772, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "SJP:", 0, 10, 45054, "None" ], "asctime": "2020-01-29 07:23:29,911", "created": 1580279009.9118664, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 0, service_id: 10, data_id: 45054, data: \"None\"", "module": "__init__", "msecs": 911.8664264678955, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 10987.916231155396, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:29,912", "created": 1580279009.9121287, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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": 912.1286869049072, "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": 7175, "processName": "MainProcess", "relativeCreated": 10988.178491592407, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:29,912", "created": 1580279009.912295, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 66, "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": 912.2951030731201, "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": 7175, "processName": "MainProcess", "relativeCreated": 10988.34490776062, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "SJP:", "0", "10", "45054", "None" ], "asctime": "2020-01-29 07:23:29,912", "created": 1580279009.9124668, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 247, "message": "SJP: RX <- status: 0, service_id: 10, data_id: 45054, data: \"None\"", "module": "__init__", "msecs": 912.4667644500732, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 10988.516569137573, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "SJP:", "response_data_method_fail" ], "asctime": "2020-01-29 07:23:29,912", "created": 1580279009.9125803, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 264, "message": "SJP: Executing callback response_data_method_fail to process received data", "module": "__init__", "msecs": 912.5802516937256, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 10988.630056381226, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "SJP:", 0, 10, 48879, "None" ], "asctime": "2020-01-29 07:23:29,912", "created": 1580279009.9127383, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 0, service_id: 10, data_id: 48879, data: \"None\"", "module": "__init__", "msecs": 912.7383232116699, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 10988.78812789917, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:29,912", "created": 1580279009.9129684, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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": 912.9683971405029, "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": 7175, "processName": "MainProcess", "relativeCreated": 10989.018201828003, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:29,913", "created": 1580279009.9131205, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 66, "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": 913.1205081939697, "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": 7175, "processName": "MainProcess", "relativeCreated": 10989.17031288147, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "SJP:", "0", "10", "48879", "None" ], "asctime": "2020-01-29 07:23:29,913", "created": 1580279009.913298, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 247, "message": "SJP: RX <- status: 0, service_id: 10, data_id: 48879, data: \"None\"", "module": "__init__", "msecs": 913.2978916168213, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 10989.347696304321, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:29,913", "created": 1580279009.9134164, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 259, "message": "SJP: Received message with no registered callback. Sending negative response.", "module": "__init__", "msecs": 913.4163856506348, "msg": "%s Received message with no registered callback. Sending negative response.", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 10989.466190338135, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "SJP:", 1, 11, 48879, "None" ], "asctime": "2020-01-29 07:23:29,913", "created": 1580279009.9135296, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 1, service_id: 11, data_id: 48879, data: \"None\"", "module": "__init__", "msecs": 913.529634475708, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 10989.579439163208, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:29,913", "created": 1580279009.9137316, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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": 913.731575012207, "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": 7175, "processName": "MainProcess", "relativeCreated": 10989.781379699707, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:29,913", "created": 1580279009.9138823, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 66, "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": 913.8822555541992, "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": 7175, "processName": "MainProcess", "relativeCreated": 10989.9320602417, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "SJP:", "1", "11", "48879", "None" ], "asctime": "2020-01-29 07:23:29,914", "created": 1580279009.9140315, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 247, "message": "SJP: RX <- status: 1, service_id: 11, data_id: 48879, data: \"None\"", "module": "__init__", "msecs": 914.0315055847168, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 10990.081310272217, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "SJP:", "Request has no callback. Data buffered." ], "asctime": "2020-01-29 07:23:29,914", "created": 1580279009.9141414, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 274, "message": "SJP: Received message has a peculiar status: Request has no callback. Data buffered.", "module": "__init__", "msecs": 914.1414165496826, "msg": "%s Received message has a peculiar status: %s", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 10990.191221237183, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "SJP:", "response_data_method_fail" ], "asctime": "2020-01-29 07:23:29,920", "created": 1580279009.9204462, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 281, "message": "SJP: Executing callback response_data_method_fail to process received data", "module": "__init__", "msecs": 920.4461574554443, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 10996.495962142944, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 921.5087890625, "msg": "Send and received data with incompatible callback (pure_json_protocol).", "name": "__tLogger__", "pathname": "src/tests/test_handling_errors.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 10997.55859375, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 0.001062631607055664 }, { "args": [ "True", "" ], "asctime": "2020-01-29 07:23:29,922", "created": 1580279009.9220479, "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-01-29 07:23:29,921", "created": 1580279009.9217713, "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": 921.7712879180908, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 10997.82109260559, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Exception (TypeError) detection variable", "True", "" ], "asctime": "2020-01-29 07:23:29,921", "created": 1580279009.9219286, "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": 921.9286441802979, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 10997.978448867798, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 922.0478534698486, "msg": "Exception (TypeError) detection variable is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 10998.097658157349, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 0.00011920928955078125 }, { "args": [ "None", "" ], "asctime": "2020-01-29 07:23:30,023", "created": 1580279010.0230722, "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": [ "SJP:", "0.1", "11", "45054" ], "asctime": "2020-01-29 07:23:30,022", "created": 1580279010.0224452, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 309, "message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 22.445201873779297, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 11098.49500656128, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:30,022", "created": 1580279010.0227523, "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": 22.75228500366211, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 11098.802089691162, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:30,022", "created": 1580279010.0229323, "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": 22.93229103088379, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 11098.982095718384, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 23.072242736816406, "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": 7175, "processName": "MainProcess", "relativeCreated": 11099.122047424316, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 0.0001399517059326172 }, { "args": [ "None", "" ], "asctime": "2020-01-29 07:23:30,123", "created": 1580279010.1237733, "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": [ "SJP:", "0.1", "10", "45054" ], "asctime": "2020-01-29 07:23:30,123", "created": 1580279010.123457, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 309, "message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 123.45695495605469, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 11199.506759643555, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:30,123", "created": 1580279010.1236205, "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": 123.62051010131836, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 11199.670314788818, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:30,123", "created": 1580279010.1236954, "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": 123.69537353515625, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 11199.745178222656, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 123.77333641052246, "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": 7175, "processName": "MainProcess", "relativeCreated": 11199.823141098022, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 7.796287536621094e-05 }, { "args": [ "True", "" ], "asctime": "2020-01-29 07:23:30,124", "created": 1580279010.1240504, "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-01-29 07:23:30,123", "created": 1580279010.1238942, "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": 123.89421463012695, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 11199.944019317627, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Exception (TypeError) detection variable", "True", "" ], "asctime": "2020-01-29 07:23:30,123", "created": 1580279010.1239674, "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": 123.96740913391113, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 11200.017213821411, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 124.05037879943848, "msg": "Exception (TypeError) detection variable is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 11200.100183486938, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 8.296966552734375e-05 }, { "args": [ "None", "" ], "asctime": "2020-01-29 07:23:30,224", "created": 1580279010.2246342, "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": [ "SJP:", "0.1", "11", "48879" ], "asctime": "2020-01-29 07:23:30,224", "created": 1580279010.2243383, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 309, "message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 48879) not in buffer.", "module": "__init__", "msecs": 224.33829307556152, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 11300.388097763062, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-01-29 07:23:30,224", "created": 1580279010.2244954, "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": 224.49541091918945, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 11300.54521560669, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-01-29 07:23:30,224", "created": 1580279010.2245662, "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": 224.56622123718262, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 11300.616025924683, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 224.63417053222656, "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": 7175, "processName": "MainProcess", "relativeCreated": 11300.683975219727, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 6.794929504394531e-05 }, { "args": [ "None", "" ], "asctime": "2020-01-29 07:23:30,325", "created": 1580279010.3253584, "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": [ "SJP:", "0.1", "10", "48879" ], "asctime": "2020-01-29 07:23:30,324", "created": 1580279010.3249545, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 309, "message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 48879) not in buffer.", "module": "__init__", "msecs": 324.9545097351074, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 11401.004314422607, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-01-29 07:23:30,325", "created": 1580279010.325152, "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": 325.1519203186035, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 11401.201725006104, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-01-29 07:23:30,325", "created": 1580279010.3252778, "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": 325.27780532836914, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 11401.32761001587, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 325.35839080810547, "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": 7175, "processName": "MainProcess", "relativeCreated": 11401.408195495605, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 8.058547973632812e-05 } ], "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 0.41428327560424805, "time_finished": "2020-01-29 07:23:30,325", "time_start": "2020-01-29 07:23:29,911" }, "socket_protocol.pure_json_protocol: No Callback at response instance for the request.": { "args": null, "asctime": "2020-01-29 07:23:27,766", "created": 1580279007.7666037, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 41, "message": "socket_protocol.pure_json_protocol: No Callback at response instance for the request.", "module": "__init__", "moduleLogger": [], "msecs": 766.6037082672119, "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": 7175, "processName": "MainProcess", "relativeCreated": 8842.653512954712, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2020-01-29 07:23:28,281", "created": 1580279008.2815151, "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": [ "SJP:" ], "asctime": "2020-01-29 07:23:27,766", "created": 1580279007.766747, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 295, "message": "SJP: Cleaning up receive-buffer", "module": "__init__", "msecs": 766.746997833252, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 8842.796802520752, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:27,766", "created": 1580279007.766914, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 199, "message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 766.913890838623, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 8842.963695526123, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:27,767", "created": 1580279007.7670138, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 295, "message": "SJP: Cleaning up receive-buffer", "module": "__init__", "msecs": 767.0137882232666, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 8843.063592910767, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:27,767", "created": 1580279007.767148, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 199, "message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 767.1480178833008, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 8843.1978225708, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "SJP:", 0, 10, 45054, "{'test': 'test'}" ], "asctime": "2020-01-29 07:23:27,767", "created": 1580279007.7672496, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 0, service_id: 10, data_id: 45054, data: \"{'test': 'test'}\"", "module": "__init__", "msecs": 767.249584197998, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 8843.299388885498, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:27,767", "created": 1580279007.7674663, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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": 767.4663066864014, "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": 7175, "processName": "MainProcess", "relativeCreated": 8843.516111373901, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:27,929", "created": 1580279007.9295094, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 66, "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": 929.5094013214111, "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": 7175, "processName": "MainProcess", "relativeCreated": 9005.559206008911, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-24" }, { "args": [ "SJP:", "0", "10", "45054", "{'test': 'test'}" ], "asctime": "2020-01-29 07:23:27,929", "created": 1580279007.9297314, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 247, "message": "SJP: RX <- status: 0, service_id: 10, data_id: 45054, data: \"{'test': 'test'}\"", "module": "__init__", "msecs": 929.7313690185547, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 9005.781173706055, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-24" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:27,929", "created": 1580279007.9298408, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 259, "message": "SJP: Received message with no registered callback. Sending negative response.", "module": "__init__", "msecs": 929.8408031463623, "msg": "%s Received message with no registered callback. Sending negative response.", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 9005.890607833862, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-24" }, { "args": [ "SJP:", 1, 11, 45054, "None" ], "asctime": "2020-01-29 07:23:27,929", "created": 1580279007.929949, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 1, service_id: 11, data_id: 45054, data: \"None\"", "module": "__init__", "msecs": 929.9490451812744, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 9005.998849868774, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-24" }, { "args": [], "asctime": "2020-01-29 07:23:27,930", "created": 1580279007.930135, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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": 930.1350116729736, "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": 7175, "processName": "MainProcess", "relativeCreated": 9006.184816360474, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-24" }, { "args": [], "asctime": "2020-01-29 07:23:28,080", "created": 1580279008.0808003, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 66, "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": 80.80029487609863, "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": 7175, "processName": "MainProcess", "relativeCreated": 9156.850099563599, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-25" }, { "args": [ "SJP:", "1", "11", "45054", "None" ], "asctime": "2020-01-29 07:23:28,081", "created": 1580279008.0810087, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 247, "message": "SJP: RX <- status: 1, service_id: 11, data_id: 45054, data: \"None\"", "module": "__init__", "msecs": 81.0086727142334, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 9157.058477401733, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-25" }, { "args": [ "SJP:", "Request has no callback. Data buffered." ], "asctime": "2020-01-29 07:23:28,081", "created": 1580279008.0811162, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 274, "message": "SJP: Received message has a peculiar status: Request has no callback. Data buffered.", "module": "__init__", "msecs": 81.1161994934082, "msg": "%s Received message has a peculiar status: %s", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 9157.166004180908, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-25" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:28,081", "created": 1580279008.081201, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__buffer_received_data__", "levelname": "DEBUG", "levelno": 10, "lineno": 292, "message": "SJP: Message data is stored in buffer and is now ready to be retrieved by receive method", "module": "__init__", "msecs": 81.20107650756836, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 9157.250881195068, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-25" } ], "msecs": 281.51512145996094, "msg": "Send data, but no callback registered (pure_json_protocol).", "name": "__tLogger__", "pathname": "src/tests/test_handling_errors.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 9357.564926147461, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 0.20031404495239258 }, { "args": [ "True", "" ], "asctime": "2020-01-29 07:23:28,281", "created": 1580279008.2818942, "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-01-29 07:23:28,281", "created": 1580279008.2817442, "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": 281.74424171447754, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 9357.794046401978, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-01-29 07:23:28,281", "created": 1580279008.281826, "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": 281.8260192871094, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 9357.87582397461, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 281.8942070007324, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 9357.944011688232, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 6.818771362304688e-05 }, { "args": [ "1", "" ], "asctime": "2020-01-29 07:23:28,282", "created": 1580279008.2821217, "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-01-29 07:23:28,281", "created": 1580279008.2819896, "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": 281.98957443237305, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 9358.039379119873, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Response Status (Request has no callback. Data buffered.) transfered via pure_json_protocol", "1", "" ], "asctime": "2020-01-29 07:23:28,282", "created": 1580279008.2820544, "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": 282.0544242858887, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 9358.104228973389, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 282.1216583251953, "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": 7175, "processName": "MainProcess", "relativeCreated": 9358.171463012695, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 6.723403930664062e-05 }, { "args": [ "None", "" ], "asctime": "2020-01-29 07:23:28,282", "created": 1580279008.2823398, "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-01-29 07:23:28,282", "created": 1580279008.2822163, "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": 282.21631050109863, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 9358.266115188599, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Response Data (no data) transfered via pure_json_protocol", "None", "" ], "asctime": "2020-01-29 07:23:28,282", "created": 1580279008.282277, "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": 282.27710723876953, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 9358.32691192627, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 282.33981132507324, "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": 7175, "processName": "MainProcess", "relativeCreated": 9358.389616012573, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 6.270408630371094e-05 }, { "args": [ "None", "" ], "asctime": "2020-01-29 07:23:28,382", "created": 1580279008.382939, "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": [ "SJP:", "0.1", "11", "45054" ], "asctime": "2020-01-29 07:23:28,382", "created": 1580279008.3826332, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 309, "message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 382.6332092285156, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 9458.683013916016, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:28,382", "created": 1580279008.3827975, "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": 382.7974796295166, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 9458.847284317017, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:28,382", "created": 1580279008.3828692, "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": 382.8692436218262, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 9458.919048309326, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 382.93910026550293, "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": 7175, "processName": "MainProcess", "relativeCreated": 9458.988904953003, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 6.985664367675781e-05 }, { "args": [ "None", "" ], "asctime": "2020-01-29 07:23:28,483", "created": 1580279008.4836547, "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": [ "SJP:", "0.1", "10", "45054" ], "asctime": "2020-01-29 07:23:28,483", "created": 1580279008.4833412, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 309, "message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 483.3412170410156, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 9559.391021728516, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:28,483", "created": 1580279008.4835064, "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": 483.506441116333, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 9559.556245803833, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:28,483", "created": 1580279008.4835851, "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": 483.5851192474365, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 9559.634923934937, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 483.6547374725342, "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": 7175, "processName": "MainProcess", "relativeCreated": 9559.704542160034, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 6.961822509765625e-05 } ], "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 0.7170510292053223, "time_finished": "2020-01-29 07:23:28,483", "time_start": "2020-01-29 07:23:27,766" }, "socket_protocol.pure_json_protocol: Register a Callback which is already defined.": { "args": null, "asctime": "2020-01-29 07:23:29,908", "created": 1580279009.9081662, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 43, "message": "socket_protocol.pure_json_protocol: Register a Callback which is already defined.", "module": "__init__", "moduleLogger": [], "msecs": 908.1661701202393, "msg": "socket_protocol.pure_json_protocol: Register a Callback which is already defined.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest/src/tests/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 10984.21597480774, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2020-01-29 07:23:29,908", "created": 1580279009.9088438, "exc_info": null, "exc_text": null, "filename": "test_handling_errors.py", "funcName": "callback_conf_error", "levelname": "DEBUG", "levelno": 10, "lineno": 94, "message": "Registering two callbacks which overlap for at least one message (pure_json_protocol).", "module": "test_handling_errors", "moduleLogger": [ { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:29,908", "created": 1580279009.908416, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 295, "message": "SJP: Cleaning up receive-buffer", "module": "__init__", "msecs": 908.4160327911377, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 10984.465837478638, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:29,908", "created": 1580279009.9086561, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 199, "message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 908.656120300293, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 10984.705924987793, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 908.8437557220459, "msg": "Registering two callbacks which overlap for at least one message (pure_json_protocol).", "name": "__tLogger__", "pathname": "src/tests/test_handling_errors.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 10984.893560409546, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 0.0001876354217529297 }, { "args": [ "True", "" ], "asctime": "2020-01-29 07:23:29,909", "created": 1580279009.9092321, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 142, "message": "Exception (RegistrationError) detection variable is correct (Content True and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Exception (RegistrationError) detection variable", "True", "" ], "asctime": "2020-01-29 07:23:29,909", "created": 1580279009.9090176, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Exception (RegistrationError) detection variable): True ()", "module": "test", "msecs": 909.0175628662109, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 10985.067367553711, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Exception (RegistrationError) detection variable", "True", "" ], "asctime": "2020-01-29 07:23:29,909", "created": 1580279009.9091303, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Exception (RegistrationError) detection variable): result = True ()", "module": "test", "msecs": 909.130334854126, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 10985.180139541626, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 909.2321395874023, "msg": "Exception (RegistrationError) detection variable is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 10985.281944274902, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 0.00010180473327636719 } ], "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 0.001065969467163086, "time_finished": "2020-01-29 07:23:29,909", "time_start": "2020-01-29 07:23:29,908" }, "socket_protocol.pure_json_protocol: Register a second Callback with the same service_id.": { "args": null, "asctime": "2020-01-29 07:23:23,934", "created": 1580279003.9346645, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 31, "message": "socket_protocol.pure_json_protocol: Register a second Callback with the same service_id.", "module": "__init__", "moduleLogger": [], "msecs": 934.6644878387451, "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": 7175, "processName": "MainProcess", "relativeCreated": 5010.714292526245, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2020-01-29 07:23:24,436", "created": 1580279004.4368212, "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": [ "SJP:" ], "asctime": "2020-01-29 07:23:23,934", "created": 1580279003.9348016, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 295, "message": "SJP: Cleaning up receive-buffer", "module": "__init__", "msecs": 934.8015785217285, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 5010.8513832092285, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:23,934", "created": 1580279003.934961, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 199, "message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 934.9610805511475, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 5011.0108852386475, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:23,935", "created": 1580279003.9350495, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 295, "message": "SJP: Cleaning up receive-buffer", "module": "__init__", "msecs": 935.0495338439941, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 5011.099338531494, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:23,935", "created": 1580279003.9351745, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 199, "message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 935.1744651794434, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 5011.224269866943, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "SJP:", 0, 10, 45054, "{'test': 'test'}" ], "asctime": "2020-01-29 07:23:23,935", "created": 1580279003.9352877, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 0, service_id: 10, data_id: 45054, data: \"{'test': 'test'}\"", "module": "__init__", "msecs": 935.2877140045166, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 5011.337518692017, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:23,935", "created": 1580279003.935489, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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": 935.4889392852783, "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": 7175, "processName": "MainProcess", "relativeCreated": 5011.538743972778, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:24,086", "created": 1580279004.0860364, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 66, "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": 86.03644371032715, "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": 7175, "processName": "MainProcess", "relativeCreated": 5162.086248397827, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-17" }, { "args": [ "SJP:", "0", "10", "45054", "{'test': 'test'}" ], "asctime": "2020-01-29 07:23:24,086", "created": 1580279004.0863137, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 247, "message": "SJP: RX <- status: 0, service_id: 10, data_id: 45054, data: \"{'test': 'test'}\"", "module": "__init__", "msecs": 86.31372451782227, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 5162.363529205322, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-17" }, { "args": [ "SJP:", "response_data_method_2" ], "asctime": "2020-01-29 07:23:24,086", "created": 1580279004.0864344, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 264, "message": "SJP: Executing callback response_data_method_2 to process received data", "module": "__init__", "msecs": 86.43436431884766, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 5162.484169006348, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-17" }, { "args": [ "SJP:", 5, 11, 45054, "[1, 3, 's']" ], "asctime": "2020-01-29 07:23:24,086", "created": 1580279004.0865355, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, 's']\"", "module": "__init__", "msecs": 86.53545379638672, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 5162.585258483887, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-17" }, { "args": [], "asctime": "2020-01-29 07:23:24,086", "created": 1580279004.086759, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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": 86.75909042358398, "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": 7175, "processName": "MainProcess", "relativeCreated": 5162.808895111084, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-17" }, { "args": [], "asctime": "2020-01-29 07:23:24,237", "created": 1580279004.2374558, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 66, "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": 237.4558448791504, "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": 7175, "processName": "MainProcess", "relativeCreated": 5313.50564956665, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-18" }, { "args": [ "SJP:", "5", "11", "45054", "[1, 3, 's']" ], "asctime": "2020-01-29 07:23:24,237", "created": 1580279004.2378764, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 247, "message": "SJP: RX <- status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, 's']\"", "module": "__init__", "msecs": 237.87641525268555, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 5313.926219940186, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-18" }, { "args": [ "SJP:", "Operation not permitted" ], "asctime": "2020-01-29 07:23:24,238", "created": 1580279004.2381284, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 274, "message": "SJP: Received message has a peculiar status: Operation not permitted", "module": "__init__", "msecs": 238.1284236907959, "msg": "%s Received message has a peculiar status: %s", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 5314.178228378296, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-18" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:24,238", "created": 1580279004.2383282, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__buffer_received_data__", "levelname": "DEBUG", "levelno": 10, "lineno": 292, "message": "SJP: Message data is stored in buffer and is now ready to be retrieved by receive method", "module": "__init__", "msecs": 238.328218460083, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 5314.378023147583, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-18" } ], "msecs": 436.82122230529785, "msg": "Send and received data by pure_json_protocol.", "name": "__tLogger__", "pathname": "src/tests/test_normal_operation.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 5512.871026992798, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 0.19849300384521484 }, { "args": [ "True", "" ], "asctime": "2020-01-29 07:23:24,437", "created": 1580279004.4372282, "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-01-29 07:23:24,437", "created": 1580279004.4370553, "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": 437.0553493499756, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 5513.105154037476, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-01-29 07:23:24,437", "created": 1580279004.4371486, "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": 437.1485710144043, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 5513.198375701904, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 437.2282028198242, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 5513.278007507324, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 7.963180541992188e-05 }, { "args": [ "0", "" ], "asctime": "2020-01-29 07:23:24,437", "created": 1580279004.437508, "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-01-29 07:23:24,437", "created": 1580279004.4373634, "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": 437.3633861541748, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 5513.413190841675, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Request Status (Okay) transfered via pure_json_protocol", "0", "" ], "asctime": "2020-01-29 07:23:24,437", "created": 1580279004.4374382, "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": 437.4382495880127, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 5513.488054275513, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 437.50810623168945, "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": 7175, "processName": "MainProcess", "relativeCreated": 5513.557910919189, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 6.985664367675781e-05 }, { "args": [ "{'test': 'test'}", "" ], "asctime": "2020-01-29 07:23:24,437", "created": 1580279004.4377902, "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-01-29 07:23:24,437", "created": 1580279004.4376235, "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": 437.6235008239746, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 5513.673305511475, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Request Data transfered via pure_json_protocol", "{ 'test': 'test' }", "" ], "asctime": "2020-01-29 07:23:24,437", "created": 1580279004.4377015, "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": 437.7014636993408, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 5513.751268386841, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 437.7901554107666, "msg": "Request Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 5513.839960098267, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 8.869171142578125e-05 }, { "args": [ "5", "" ], "asctime": "2020-01-29 07:23:24,438", "created": 1580279004.4380302, "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-01-29 07:23:24,437", "created": 1580279004.437894, "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": 437.8941059112549, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 5513.943910598755, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Response Status (Operation not permitted) transfered via pure_json_protocol", "5", "" ], "asctime": "2020-01-29 07:23:24,437", "created": 1580279004.4379628, "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": 437.96277046203613, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 5514.012575149536, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 438.0302429199219, "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": 7175, "processName": "MainProcess", "relativeCreated": 5514.080047607422, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 6.747245788574219e-05 }, { "args": [ "[1, 3, 's']", "" ], "asctime": "2020-01-29 07:23:24,438", "created": 1580279004.4383187, "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-01-29 07:23:24,438", "created": 1580279004.4381444, "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": 438.1444454193115, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 5514.1942501068115, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Response Data transfered via pure_json_protocol", "[ 1, 3, 's' ]", "" ], "asctime": "2020-01-29 07:23:24,438", "created": 1580279004.438221, "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": 438.2209777832031, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 5514.270782470703, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 438.31872940063477, "msg": "Response Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 5514.368534088135, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 9.775161743164062e-05 }, { "args": [ "None", "" ], "asctime": "2020-01-29 07:23:24,538", "created": 1580279004.5389214, "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": [ "SJP:", "0.1", "11", "45054" ], "asctime": "2020-01-29 07:23:24,538", "created": 1580279004.5386097, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 309, "message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 538.6097431182861, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 5614.659547805786, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:24,538", "created": 1580279004.5387464, "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": 538.7463569641113, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 5614.796161651611, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:24,538", "created": 1580279004.5388377, "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": 538.8376712799072, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 5614.887475967407, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 538.9213562011719, "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": 7175, "processName": "MainProcess", "relativeCreated": 5614.971160888672, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 8.368492126464844e-05 }, { "args": [ "None", "" ], "asctime": "2020-01-29 07:23:24,639", "created": 1580279004.6397738, "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": [ "SJP:", "0.1", "10", "45054" ], "asctime": "2020-01-29 07:23:24,639", "created": 1580279004.6392665, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 309, "message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 639.2664909362793, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 5715.316295623779, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:24,639", "created": 1580279004.639491, "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": 639.491081237793, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 5715.540885925293, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:24,639", "created": 1580279004.6396427, "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": 639.6427154541016, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 5715.692520141602, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 639.7738456726074, "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": 7175, "processName": "MainProcess", "relativeCreated": 5715.823650360107, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 0.00013113021850585938 } ], "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 0.7051093578338623, "time_finished": "2020-01-29 07:23:24,639", "time_start": "2020-01-29 07:23:23,934" }, "socket_protocol.pure_json_protocol: Send and receive check including authentification.": { "args": null, "asctime": "2020-01-29 07:23:20,400", "created": 1580279000.4006617, "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 including authentification.", "module": "__init__", "moduleLogger": [], "msecs": 400.6617069244385, "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": 7175, "processName": "MainProcess", "relativeCreated": 1476.7115116119385, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2020-01-29 07:23:21,605", "created": 1580279001.6058307, "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": [ "SJP:" ], "asctime": "2020-01-29 07:23:20,400", "created": 1580279000.4009202, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 295, "message": "SJP: Cleaning up receive-buffer", "module": "__init__", "msecs": 400.92015266418457, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 1476.9699573516846, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:20,401", "created": 1580279000.4012308, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 199, "message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 401.2308120727539, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 1477.280616760254, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:20,401", "created": 1580279000.4014308, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 295, "message": "SJP: Cleaning up receive-buffer", "module": "__init__", "msecs": 401.4308452606201, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 1477.4806499481201, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:20,401", "created": 1580279000.401699, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 199, "message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 401.6990661621094, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 1477.7488708496094, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:20,401", "created": 1580279000.40196, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "authentificate", "levelname": "INFO", "levelno": 20, "lineno": 378, "message": "SJP: Requesting seed for authentification", "module": "__init__", "msecs": 401.9598960876465, "msg": "%s Requesting seed for authentification", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 1478.0097007751465, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "SJP:", 0, 1, 0, "None" ], "asctime": "2020-01-29 07:23:20,402", "created": 1580279000.4021559, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 0, service_id: 1, data_id: 0, data: \"None\"", "module": "__init__", "msecs": 402.15587615966797, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 1478.205680847168, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:20,402", "created": 1580279000.4025624, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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": 402.56237983703613, "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": 7175, "processName": "MainProcess", "relativeCreated": 1478.6121845245361, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:20,553", "created": 1580279000.5533257, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 66, "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": 553.3256530761719, "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": 7175, "processName": "MainProcess", "relativeCreated": 1629.3754577636719, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-5" }, { "args": [ "SJP:", "0", "1", "0", "None" ], "asctime": "2020-01-29 07:23:20,553", "created": 1580279000.5536427, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 247, "message": "SJP: RX <- status: 0, service_id: 1, data_id: 0, data: \"None\"", "module": "__init__", "msecs": 553.642749786377, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 1629.692554473877, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-5" }, { "args": [ "SJP:", "__authentificate_create_seed__" ], "asctime": "2020-01-29 07:23:20,553", "created": 1580279000.553728, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 264, "message": "SJP: Executing callback __authentificate_create_seed__ to process received data", "module": "__init__", "msecs": 553.7281036376953, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 1629.7779083251953, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-5" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:20,553", "created": 1580279000.553785, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentificate_create_seed__", "levelname": "INFO", "levelno": 20, "lineno": 404, "message": "SJP: Got seed request, sending seed for authentification", "module": "__init__", "msecs": 553.7850856781006, "msg": "%s Got seed request, sending seed for authentification", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 1629.8348903656006, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-5" }, { "args": [ "SJP:", 0, 2, 0, "'ea1821be346b5df1cfdbfa5e7d6fe641161aafaf5ca1290b63691e712e74035b'" ], "asctime": "2020-01-29 07:23:20,553", "created": 1580279000.5538678, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 0, service_id: 2, data_id: 0, data: \"'ea1821be346b5df1cfdbfa5e7d6fe641161aafaf5ca1290b63691e712e74035b'\"", "module": "__init__", "msecs": 553.8678169250488, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 1629.9176216125488, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-5" }, { "args": [], "asctime": "2020-01-29 07:23:20,554", "created": 1580279000.554076, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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 65 61 31 38 32 31 62 65 33 34 36 62 35 64 66 31 63 66 64 62 66 61 35 65 37 64 36 66 65 36 34 31 31 36 31 61 61 66 61 66 35 63 61 31 32 39 30 62 36 33 36 39 31 65 37 31 32 65 37 34 30 33 35 62 22 7d 29 51 80 d2", "module": "test_helpers", "msecs": 554.0759563446045, "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 65 61 31 38 32 31 62 65 33 34 36 62 35 64 66 31 63 66 64 62 66 61 35 65 37 64 36 66 65 36 34 31 31 36 31 61 61 66 61 66 35 63 61 31 32 39 30 62 36 33 36 39 31 65 37 31 32 65 37 34 30 33 35 62 22 7d 29 51 80 d2", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 1630.1257610321045, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-5" }, { "args": [], "asctime": "2020-01-29 07:23:20,704", "created": 1580279000.7047117, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 66, "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 65 61 31 38 32 31 62 65 33 34 36 62 35 64 66 31 63 66 64 62 66 61 35 65 37 64 36 66 65 36 34 31 31 36 31 61 61 66 61 66 35 63 61 31 32 39 30 62 36 33 36 39 31 65 37 31 32 65 37 34 30 33 35 62 22 7d 29 51 80 d2", "module": "test_helpers", "msecs": 704.7116756439209, "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 65 61 31 38 32 31 62 65 33 34 36 62 35 64 66 31 63 66 64 62 66 61 35 65 37 64 36 66 65 36 34 31 31 36 31 61 61 66 61 66 35 63 61 31 32 39 30 62 36 33 36 39 31 65 37 31 32 65 37 34 30 33 35 62 22 7d 29 51 80 d2", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 1780.761480331421, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-6" }, { "args": [ "SJP:", "0", "2", "0", "'ea1821be346b5df1cfdbfa5e7d6fe641161aafaf5ca1290b63691e712e74035b'" ], "asctime": "2020-01-29 07:23:20,705", "created": 1580279000.705022, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 247, "message": "SJP: RX <- status: 0, service_id: 2, data_id: 0, data: \"'ea1821be346b5df1cfdbfa5e7d6fe641161aafaf5ca1290b63691e712e74035b'\"", "module": "__init__", "msecs": 705.0220966339111, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 1781.0719013214111, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-6" }, { "args": [ "SJP:", "__authentificate_create_key__" ], "asctime": "2020-01-29 07:23:20,705", "created": 1580279000.705205, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 264, "message": "SJP: Executing callback __authentificate_create_key__ to process received data", "module": "__init__", "msecs": 705.204963684082, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 1781.254768371582, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-6" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:20,705", "created": 1580279000.7053778, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentificate_create_key__", "levelname": "INFO", "levelno": 20, "lineno": 413, "message": "SJP: Got seed, sending key for authentification", "module": "__init__", "msecs": 705.3778171539307, "msg": "%s Got seed, sending key for authentification", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 1781.4276218414307, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-6" }, { "args": [ "SJP:", 0, 3, 0, "'fc81968a3390058acabf0fc03e0da12b20f2d0371bf5f84499ef9c592ab00a81131b51f9f78c75fa48a367c289ca9fd15239369ae2fdd76290cf22b17fe3f2f0'" ], "asctime": "2020-01-29 07:23:20,705", "created": 1580279000.7055984, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 0, service_id: 3, data_id: 0, data: \"'fc81968a3390058acabf0fc03e0da12b20f2d0371bf5f84499ef9c592ab00a81131b51f9f78c75fa48a367c289ca9fd15239369ae2fdd76290cf22b17fe3f2f0'\"", "module": "__init__", "msecs": 705.5983543395996, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 1781.6481590270996, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-6" }, { "args": [], "asctime": "2020-01-29 07:23:20,706", "created": 1580279000.7060926, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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 66 63 38 31 39 36 38 61 33 33 39 30 30 35 38 61 63 61 62 66 30 66 63 30 33 65 30 64 61 31 32 62 32 30 66 32 64 30 33 37 31 62 66 35 66 38 34 34 39 39 65 66 39 63 35 39 32 61 62 30 30 61 38 31 31 33 31 62 35 31 66 39 66 37 38 63 37 35 66 61 34 38 61 33 36 37 63 32 38 39 63 61 39 66 64 31 35 32 33 39 33 36 39 61 65 32 66 64 64 37 36 32 39 30 63 66 32 32 62 31 37 66 65 33 66 32 66 30 22 7d 18 00 f1 87", "module": "test_helpers", "msecs": 706.0925960540771, "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 66 63 38 31 39 36 38 61 33 33 39 30 30 35 38 61 63 61 62 66 30 66 63 30 33 65 30 64 61 31 32 62 32 30 66 32 64 30 33 37 31 62 66 35 66 38 34 34 39 39 65 66 39 63 35 39 32 61 62 30 30 61 38 31 31 33 31 62 35 31 66 39 66 37 38 63 37 35 66 61 34 38 61 33 36 37 63 32 38 39 63 61 39 66 64 31 35 32 33 39 33 36 39 61 65 32 66 64 64 37 36 32 39 30 63 66 32 32 62 31 37 66 65 33 66 32 66 30 22 7d 18 00 f1 87", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 1782.1424007415771, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-6" }, { "args": [], "asctime": "2020-01-29 07:23:20,857", "created": 1580279000.857115, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 66, "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 66 63 38 31 39 36 38 61 33 33 39 30 30 35 38 61 63 61 62 66 30 66 63 30 33 65 30 64 61 31 32 62 32 30 66 32 64 30 33 37 31 62 66 35 66 38 34 34 39 39 65 66 39 63 35 39 32 61 62 30 30 61 38 31 31 33 31 62 35 31 66 39 66 37 38 63 37 35 66 61 34 38 61 33 36 37 63 32 38 39 63 61 39 66 64 31 35 32 33 39 33 36 39 61 65 32 66 64 64 37 36 32 39 30 63 66 32 32 62 31 37 66 65 33 66 32 66 30 22 7d 18 00 f1 87", "module": "test_helpers", "msecs": 857.1150302886963, "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 66 63 38 31 39 36 38 61 33 33 39 30 30 35 38 61 63 61 62 66 30 66 63 30 33 65 30 64 61 31 32 62 32 30 66 32 64 30 33 37 31 62 66 35 66 38 34 34 39 39 65 66 39 63 35 39 32 61 62 30 30 61 38 31 31 33 31 62 35 31 66 39 66 37 38 63 37 35 66 61 34 38 61 33 36 37 63 32 38 39 63 61 39 66 64 31 35 32 33 39 33 36 39 61 65 32 66 64 64 37 36 32 39 30 63 66 32 32 62 31 37 66 65 33 66 32 66 30 22 7d 18 00 f1 87", "name": "__unittest__", "pathname": "src/tests/test_helpers.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 1933.1648349761963, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-7" }, { "args": [ "SJP:", "0", "3", "0", "'fc81968a3390058acabf0fc03e0da12b20f2d0371bf5f84499ef9c592ab00a81131b51f9f78c75fa48a367c289ca9fd15239369ae2fdd76290cf22b17fe3f2f0'" ], "asctime": "2020-01-29 07:23:20,857", "created": 1580279000.8575213, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 247, "message": "SJP: RX <- status: 0, service_id: 3, data_id: 0, data: \"'fc81968a3390058acabf0fc03e0da12b20f2d0371bf5f84499ef9c592ab00a81131b51f9f78c75fa48a367c289ca9fd15239369ae2fdd76290cf22b17fe3f2f0'\"", "module": "__init__", "msecs": 857.5212955474854, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 1933.5711002349854, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-7" }, { "args": [ "SJP:", "__authentificate_check_key__" ], "asctime": "2020-01-29 07:23:20,857", "created": 1580279000.857729, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 264, "message": "SJP: Executing callback __authentificate_check_key__ to process received data", "module": "__init__", "msecs": 857.7289581298828, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 1933.7787628173828, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-7" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:20,857", "created": 1580279000.857907, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentificate_check_key__", "levelname": "INFO", "levelno": 20, "lineno": 423, "message": "SJP: Got correct key, sending positive authentification feedback", "module": "__init__", "msecs": 857.9070568084717, "msg": "%s Got correct key, sending positive authentification feedback", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 1933.9568614959717, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-7" }, { "args": [ "SJP:", 0, 4, 0, "True" ], "asctime": "2020-01-29 07:23:20,858", "created": 1580279000.8581016, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 0, service_id: 4, data_id: 0, data: \"True\"", "module": "__init__", "msecs": 858.1016063690186, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 1934.1514110565186, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-7" }, { "args": [], "asctime": "2020-01-29 07:23:20,858", "created": 1580279000.8584158, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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": 858.4158420562744, "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": 7175, "processName": "MainProcess", "relativeCreated": 1934.4656467437744, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-7" }, { "args": [], "asctime": "2020-01-29 07:23:21,009", "created": 1580279001.0097532, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 66, "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": 9.753227233886719, "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": 7175, "processName": "MainProcess", "relativeCreated": 2085.8030319213867, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-8" }, { "args": [ "SJP:", "0", "4", "0", "True" ], "asctime": "2020-01-29 07:23:21,010", "created": 1580279001.0106983, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 247, "message": "SJP: RX <- status: 0, service_id: 4, data_id: 0, data: \"True\"", "module": "__init__", "msecs": 10.698318481445312, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 2086.7481231689453, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-8" }, { "args": [ "SJP:", "__authentificate_process_feedback__" ], "asctime": "2020-01-29 07:23:21,011", "created": 1580279001.011129, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 281, "message": "SJP: Executing callback __authentificate_process_feedback__ to process received data", "module": "__init__", "msecs": 11.128902435302734, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 2087.1787071228027, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-8" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:21,011", "created": 1580279001.0113933, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentificate_process_feedback__", "levelname": "INFO", "levelno": 20, "lineno": 434, "message": "SJP: Got positive authentification feedback", "module": "__init__", "msecs": 11.393308639526367, "msg": "%s Got positive authentification feedback", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 2087.4431133270264, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-8" }, { "args": [ "SJP:", 0, 10, 45054, "{'test': 'test'}" ], "asctime": "2020-01-29 07:23:21,104", "created": 1580279001.104454, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 0, service_id: 10, data_id: 45054, data: \"{'test': 'test'}\"", "module": "__init__", "msecs": 104.45404052734375, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 2180.5038452148438, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:21,104", "created": 1580279001.1046658, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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": 104.66575622558594, "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": 7175, "processName": "MainProcess", "relativeCreated": 2180.715560913086, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:21,255", "created": 1580279001.2551332, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 66, "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": 255.13315200805664, "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": 7175, "processName": "MainProcess", "relativeCreated": 2331.1829566955566, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-9" }, { "args": [ "SJP:", "0", "10", "45054", "{'test': 'test'}" ], "asctime": "2020-01-29 07:23:21,255", "created": 1580279001.2553873, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 247, "message": "SJP: RX <- status: 0, service_id: 10, data_id: 45054, data: \"{'test': 'test'}\"", "module": "__init__", "msecs": 255.3873062133789, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 2331.437110900879, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-9" }, { "args": [ "SJP:", "response_data_method" ], "asctime": "2020-01-29 07:23:21,255", "created": 1580279001.2555213, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 264, "message": "SJP: Executing callback response_data_method to process received data", "module": "__init__", "msecs": 255.52129745483398, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 2331.571102142334, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-9" }, { "args": [ "SJP:", 5, 11, 45054, "[1, 3, 's']" ], "asctime": "2020-01-29 07:23:21,255", "created": 1580279001.2556279, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, 's']\"", "module": "__init__", "msecs": 255.62787055969238, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 2331.6776752471924, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-9" }, { "args": [], "asctime": "2020-01-29 07:23:21,255", "created": 1580279001.2558413, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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": 255.84125518798828, "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": 7175, "processName": "MainProcess", "relativeCreated": 2331.8910598754883, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-9" }, { "args": [], "asctime": "2020-01-29 07:23:21,406", "created": 1580279001.4063704, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 66, "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": 406.3704013824463, "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": 7175, "processName": "MainProcess", "relativeCreated": 2482.4202060699463, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-10" }, { "args": [ "SJP:", "5", "11", "45054", "[1, 3, 's']" ], "asctime": "2020-01-29 07:23:21,406", "created": 1580279001.4065979, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 247, "message": "SJP: RX <- status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, 's']\"", "module": "__init__", "msecs": 406.5978527069092, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 2482.647657394409, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-10" }, { "args": [ "SJP:", "Operation not permitted" ], "asctime": "2020-01-29 07:23:21,406", "created": 1580279001.4067202, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 274, "message": "SJP: Received message has a peculiar status: Operation not permitted", "module": "__init__", "msecs": 406.7201614379883, "msg": "%s Received message has a peculiar status: %s", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 2482.7699661254883, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-10" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:21,406", "created": 1580279001.4068148, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__buffer_received_data__", "levelname": "DEBUG", "levelno": 10, "lineno": 292, "message": "SJP: Message data is stored in buffer and is now ready to be retrieved by receive method", "module": "__init__", "msecs": 406.8148136138916, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 2482.8646183013916, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-10" } ], "msecs": 605.8306694030762, "msg": "Send and received data by pure_json_protocol.", "name": "__tLogger__", "pathname": "src/tests/test_normal_operation.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 2681.880474090576, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 0.19901585578918457 }, { "args": [ "True", "" ], "asctime": "2020-01-29 07:23:21,606", "created": 1580279001.606427, "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-01-29 07:23:21,606", "created": 1580279001.606156, "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": 606.1561107635498, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 2682.20591545105, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Return value of authentification", "True", "" ], "asctime": "2020-01-29 07:23:21,606", "created": 1580279001.6062925, "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": 606.2924861907959, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 2682.342290878296, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 606.4269542694092, "msg": "Return value of authentification is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 2682.476758956909, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 0.00013446807861328125 }, { "args": [ "True", "" ], "asctime": "2020-01-29 07:23:21,606", "created": 1580279001.6067927, "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-01-29 07:23:21,606", "created": 1580279001.6065845, "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": 606.5845489501953, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 2682.6343536376953, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-01-29 07:23:21,606", "created": 1580279001.6066914, "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": 606.6913604736328, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 2682.741165161133, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 606.792688369751, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 2682.842493057251, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 0.00010132789611816406 }, { "args": [ "0", "" ], "asctime": "2020-01-29 07:23:21,607", "created": 1580279001.6071436, "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-01-29 07:23:21,606", "created": 1580279001.6069434, "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.9433689117432, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 2682.993173599243, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Request Status (Okay) transfered via pure_json_protocol", "0", "" ], "asctime": "2020-01-29 07:23:21,607", "created": 1580279001.607045, "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.0449352264404, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 2683.0947399139404, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 607.1436405181885, "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": 7175, "processName": "MainProcess", "relativeCreated": 2683.1934452056885, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 9.870529174804688e-05 }, { "args": [ "{'test': 'test'}", "" ], "asctime": "2020-01-29 07:23:21,607", "created": 1580279001.6075468, "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-01-29 07:23:21,607", "created": 1580279001.6073048, "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": 607.3048114776611, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 2683.354616165161, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Request Data transfered via pure_json_protocol", "{ 'test': 'test' }", "" ], "asctime": "2020-01-29 07:23:21,607", "created": 1580279001.6074193, "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": 607.4192523956299, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 2683.46905708313, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 607.5468063354492, "msg": "Request Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 2683.596611022949, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 0.00012755393981933594 }, { "args": [ "5", "" ], "asctime": "2020-01-29 07:23:21,607", "created": 1580279001.6078918, "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-01-29 07:23:21,607", "created": 1580279001.6076949, "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.6948642730713, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 2683.7446689605713, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Response Status (Operation not permitted) transfered via pure_json_protocol", "5", "" ], "asctime": "2020-01-29 07:23:21,607", "created": 1580279001.6077926, "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.7926158905029, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 2683.842420578003, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 607.8917980194092, "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": 7175, "processName": "MainProcess", "relativeCreated": 2683.941602706909, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 9.918212890625e-05 }, { "args": [ "[1, 3, 's']", "" ], "asctime": "2020-01-29 07:23:21,608", "created": 1580279001.6083024, "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-01-29 07:23:21,608", "created": 1580279001.608046, "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": 608.0460548400879, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 2684.095859527588, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Response Data transfered via pure_json_protocol", "[ 1, 3, 's' ]", "" ], "asctime": "2020-01-29 07:23:21,608", "created": 1580279001.6081543, "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": 608.154296875, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 2684.2041015625, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 608.3023548126221, "msg": "Response Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 2684.352159500122, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 0.0001480579376220703 }, { "args": [ "None", "" ], "asctime": "2020-01-29 07:23:21,709", "created": 1580279001.709211, "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": [ "SJP:", "0.1", "11", "45054" ], "asctime": "2020-01-29 07:23:21,708", "created": 1580279001.7087204, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 309, "message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 708.7204456329346, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 2784.7702503204346, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:21,708", "created": 1580279001.7089574, "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": 708.9574337005615, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 2785.0072383880615, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:21,709", "created": 1580279001.7090886, "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": 709.0885639190674, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 2785.1383686065674, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 709.2111110687256, "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": 7175, "processName": "MainProcess", "relativeCreated": 2785.2609157562256, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 0.00012254714965820312 }, { "args": [ "None", "" ], "asctime": "2020-01-29 07:23:21,810", "created": 1580279001.8101597, "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": [ "SJP:", "0.1", "10", "45054" ], "asctime": "2020-01-29 07:23:21,809", "created": 1580279001.8096535, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 309, "message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 809.6535205841064, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 2885.7033252716064, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:21,809", "created": 1580279001.8098807, "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": 809.8807334899902, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 2885.9305381774902, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:21,810", "created": 1580279001.810022, "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": 810.0221157073975, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 2886.0719203948975, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 810.1596832275391, "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": 7175, "processName": "MainProcess", "relativeCreated": 2886.209487915039, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 0.00013756752014160156 } ], "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 1.4094979763031006, "time_finished": "2020-01-29 07:23:21,810", "time_start": "2020-01-29 07:23:20,400" }, "socket_protocol.pure_json_protocol: Send and receive check.": { "args": null, "asctime": "2020-01-29 07:23:19,692", "created": 1580278999.6929293, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 26, "message": "socket_protocol.pure_json_protocol: Send and receive check.", "module": "__init__", "moduleLogger": [], "msecs": 692.9292678833008, "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": 7175, "processName": "MainProcess", "relativeCreated": 768.9790725708008, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2020-01-29 07:23:20,195", "created": 1580279000.195404, "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": [ "SJP:" ], "asctime": "2020-01-29 07:23:19,693", "created": 1580278999.6930902, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 295, "message": "SJP: Cleaning up receive-buffer", "module": "__init__", "msecs": 693.0902004241943, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 769.1400051116943, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:19,693", "created": 1580278999.6933074, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 199, "message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 693.3073997497559, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 769.3572044372559, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:19,693", "created": 1580278999.6934245, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 295, "message": "SJP: Cleaning up receive-buffer", "module": "__init__", "msecs": 693.4244632720947, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 769.4742679595947, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:19,693", "created": 1580278999.693593, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 199, "message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 693.5930252075195, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 769.6428298950195, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "SJP:", 0, 10, 45054, "{'test': 'test'}" ], "asctime": "2020-01-29 07:23:19,693", "created": 1580278999.6937165, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 0, service_id: 10, data_id: 45054, data: \"{'test': 'test'}\"", "module": "__init__", "msecs": 693.7165260314941, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 769.7663307189941, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:19,693", "created": 1580278999.693968, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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": 693.9680576324463, "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": 7175, "processName": "MainProcess", "relativeCreated": 770.0178623199463, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:19,844", "created": 1580278999.8446112, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 66, "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": 844.6111679077148, "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": 7175, "processName": "MainProcess", "relativeCreated": 920.6609725952148, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-3" }, { "args": [ "SJP:", "0", "10", "45054", "{'test': 'test'}" ], "asctime": "2020-01-29 07:23:19,844", "created": 1580278999.8449094, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 247, "message": "SJP: RX <- status: 0, service_id: 10, data_id: 45054, data: \"{'test': 'test'}\"", "module": "__init__", "msecs": 844.9094295501709, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 920.9592342376709, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-3" }, { "args": [ "SJP:", "response_data_method" ], "asctime": "2020-01-29 07:23:19,845", "created": 1580278999.8450718, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 264, "message": "SJP: Executing callback response_data_method to process received data", "module": "__init__", "msecs": 845.0717926025391, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 921.1215972900391, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-3" }, { "args": [ "SJP:", 5, 11, 45054, "[1, 3, 's']" ], "asctime": "2020-01-29 07:23:19,845", "created": 1580278999.845209, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, 's']\"", "module": "__init__", "msecs": 845.2088832855225, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 921.2586879730225, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-3" }, { "args": [], "asctime": "2020-01-29 07:23:19,845", "created": 1580278999.8455434, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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": 845.543384552002, "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": 7175, "processName": "MainProcess", "relativeCreated": 921.593189239502, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-3" }, { "args": [], "asctime": "2020-01-29 07:23:19,996", "created": 1580278999.9963133, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 66, "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": 996.3133335113525, "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": 7175, "processName": "MainProcess", "relativeCreated": 1072.3631381988525, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-4" }, { "args": [ "SJP:", "5", "11", "45054", "[1, 3, 's']" ], "asctime": "2020-01-29 07:23:19,996", "created": 1580278999.996649, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 247, "message": "SJP: RX <- status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, 's']\"", "module": "__init__", "msecs": 996.6490268707275, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 1072.6988315582275, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-4" }, { "args": [ "SJP:", "Operation not permitted" ], "asctime": "2020-01-29 07:23:19,996", "created": 1580278999.996874, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 274, "message": "SJP: Received message has a peculiar status: Operation not permitted", "module": "__init__", "msecs": 996.8740940093994, "msg": "%s Received message has a peculiar status: %s", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 1072.9238986968994, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-4" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:19,997", "created": 1580278999.997063, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__buffer_received_data__", "levelname": "DEBUG", "levelno": 10, "lineno": 292, "message": "SJP: Message data is stored in buffer and is now ready to be retrieved by receive method", "module": "__init__", "msecs": 997.0629215240479, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 1073.1127262115479, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-4" } ], "msecs": 195.404052734375, "msg": "Send and received data by pure_json_protocol.", "name": "__tLogger__", "pathname": "src/tests/test_normal_operation.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 1271.453857421875, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 0.19834113121032715 }, { "args": [ "True", "" ], "asctime": "2020-01-29 07:23:20,196", "created": 1580279000.1961527, "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-01-29 07:23:20,195", "created": 1580279000.1957843, "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": 195.784330368042, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 1271.834135055542, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-01-29 07:23:20,195", "created": 1580279000.1959913, "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": 195.99127769470215, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 1272.0410823822021, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 196.1526870727539, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 1272.202491760254, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 0.0001614093780517578 }, { "args": [ "0", "" ], "asctime": "2020-01-29 07:23:20,196", "created": 1580279000.1966486, "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-01-29 07:23:20,196", "created": 1580279000.1963615, "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": 196.36154174804688, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 1272.4113464355469, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Request Status (Okay) transfered via pure_json_protocol", "0", "" ], "asctime": "2020-01-29 07:23:20,196", "created": 1580279000.196512, "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": 196.51198387145996, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 1272.56178855896, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 196.64859771728516, "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": 7175, "processName": "MainProcess", "relativeCreated": 1272.6984024047852, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 0.0001366138458251953 }, { "args": [ "{'test': 'test'}", "" ], "asctime": "2020-01-29 07:23:20,197", "created": 1580279000.1971874, "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-01-29 07:23:20,196", "created": 1580279000.1968634, "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": 196.86341285705566, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 1272.9132175445557, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Request Data transfered via pure_json_protocol", "{ 'test': 'test' }", "" ], "asctime": "2020-01-29 07:23:20,197", "created": 1580279000.1970162, "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": 197.01623916625977, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 1273.0660438537598, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 197.1874237060547, "msg": "Request Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 1273.2372283935547, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 0.00017118453979492188 }, { "args": [ "5", "" ], "asctime": "2020-01-29 07:23:20,197", "created": 1580279000.1976693, "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-01-29 07:23:20,197", "created": 1580279000.1974137, "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": 197.41368293762207, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 1273.463487625122, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Response Status (Operation not permitted) transfered via pure_json_protocol", "5", "" ], "asctime": "2020-01-29 07:23:20,197", "created": 1580279000.1975431, "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": 197.54314422607422, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 1273.5929489135742, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 197.66926765441895, "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": 7175, "processName": "MainProcess", "relativeCreated": 1273.719072341919, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 0.00012612342834472656 }, { "args": [ "[1, 3, 's']", "" ], "asctime": "2020-01-29 07:23:20,198", "created": 1580279000.1981807, "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-01-29 07:23:20,197", "created": 1580279000.1978652, "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": 197.86524772644043, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 1273.9150524139404, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Response Data transfered via pure_json_protocol", "[ 1, 3, 's' ]", "" ], "asctime": "2020-01-29 07:23:20,198", "created": 1580279000.1980035, "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": 198.00353050231934, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 1274.0533351898193, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 198.1806755065918, "msg": "Response Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 1274.2304801940918, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 0.00017714500427246094 }, { "args": [ "None", "" ], "asctime": "2020-01-29 07:23:20,299", "created": 1580279000.2991695, "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": [ "SJP:", "0.1", "11", "45054" ], "asctime": "2020-01-29 07:23:20,298", "created": 1580279000.2986162, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 309, "message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 298.6161708831787, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 1374.6659755706787, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:20,298", "created": 1580279000.2988617, "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": 298.8617420196533, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 1374.9115467071533, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:20,299", "created": 1580279000.2990232, "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": 299.0231513977051, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 1375.072956085205, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 299.16954040527344, "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": 7175, "processName": "MainProcess", "relativeCreated": 1375.2193450927734, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 0.00014638900756835938 }, { "args": [ "None", "" ], "asctime": "2020-01-29 07:23:20,400", "created": 1580279000.4002306, "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": [ "SJP:", "0.1", "10", "45054" ], "asctime": "2020-01-29 07:23:20,399", "created": 1580279000.3996508, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 309, "message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 399.65081214904785, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 1475.7006168365479, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:20,399", "created": 1580279000.3999166, "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": 399.9166488647461, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 1475.966453552246, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:20,400", "created": 1580279000.4000823, "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": 400.0823497772217, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 1476.1321544647217, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 400.23064613342285, "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": 7175, "processName": "MainProcess", "relativeCreated": 1476.2804508209229, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 0.00014829635620117188 } ], "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 0.7073013782501221, "time_finished": "2020-01-29 07:23:20,400", "time_start": "2020-01-29 07:23:19,692" }, "socket_protocol.pure_json_protocol: Timeout measurement for authentification and send method.": { "args": null, "asctime": "2020-01-29 07:23:26,359", "created": 1580279006.3598838, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 37, "message": "socket_protocol.pure_json_protocol: Timeout measurement for authentification and send method.", "module": "__init__", "moduleLogger": [], "msecs": 359.88378524780273, "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": 7175, "processName": "MainProcess", "relativeCreated": 7435.933589935303, "stack_info": null, "testcaseLogger": [ { "args": [ "0.2016153335571289", "0.2", "0.22000000000000003", "" ], "asctime": "2020-01-29 07:23:26,562", "created": 1580279006.5624557, "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.2016153335571289 in [0.2 ... 0.22000000000000003] and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:26,360", "created": 1580279006.3600183, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 295, "message": "SJP: Cleaning up receive-buffer", "module": "__init__", "msecs": 360.018253326416, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 7436.068058013916, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:26,360", "created": 1580279006.360189, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 199, "message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 360.18896102905273, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 7436.238765716553, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:26,360", "created": 1580279006.3602912, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 295, "message": "SJP: Cleaning up receive-buffer", "module": "__init__", "msecs": 360.2912425994873, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 7436.341047286987, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:26,360", "created": 1580279006.3604398, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 199, "message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 360.4397773742676, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 7436.489582061768, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:26,360", "created": 1580279006.360527, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "authentificate", "levelname": "INFO", "levelno": 20, "lineno": 378, "message": "SJP: Requesting seed for authentification", "module": "__init__", "msecs": 360.52703857421875, "msg": "%s Requesting seed for authentification", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 7436.576843261719, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "SJP:", 0, 1, 0, "None" ], "asctime": "2020-01-29 07:23:26,360", "created": 1580279006.3606014, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 0, service_id: 1, data_id: 0, data: \"None\"", "module": "__init__", "msecs": 360.60142517089844, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 7436.651229858398, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:26,360", "created": 1580279006.3608, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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": 360.80002784729004, "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": 7175, "processName": "MainProcess", "relativeCreated": 7436.84983253479, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Timeout for authentification", "0.2016153335571289", "" ], "asctime": "2020-01-29 07:23:26,562", "created": 1580279006.5622058, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Timeout for authentification): 0.2016153335571289 ()", "module": "test", "msecs": 562.2057914733887, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 7638.255596160889, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Timeout for authentification", "0.2", "0.22000000000000003" ], "asctime": "2020-01-29 07:23:26,562", "created": 1580279006.5623696, "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": 562.3695850372314, "msg": "Expectation (%s): %s <= result <= %s", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 7638.419389724731, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 562.4556541442871, "msg": "Timeout for authentification is correct (Content %s in [%s ... %s] and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 7638.505458831787, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 8.606910705566406e-05 }, { "args": [ "0.5011227130889893", "0.5", "0.55", "" ], "asctime": "2020-01-29 07:23:27,063", "created": 1580279007.0639951, "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.5011227130889893 in [0.5 ... 0.55] and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:26,562", "created": 1580279006.56258, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "authentificate", "levelname": "INFO", "levelno": 20, "lineno": 378, "message": "SJP: Requesting seed for authentification", "module": "__init__", "msecs": 562.5801086425781, "msg": "%s Requesting seed for authentification", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 7638.629913330078, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "SJP:", 0, 1, 0, "None" ], "asctime": "2020-01-29 07:23:26,562", "created": 1580279006.5626662, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 0, service_id: 1, data_id: 0, data: \"None\"", "module": "__init__", "msecs": 562.6661777496338, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 7638.715982437134, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:26,562", "created": 1580279006.5628593, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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": 562.859296798706, "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": 7175, "processName": "MainProcess", "relativeCreated": 7638.909101486206, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Timeout for authentification", "0.5011227130889893", "" ], "asctime": "2020-01-29 07:23:27,063", "created": 1580279007.0637465, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Timeout for authentification): 0.5011227130889893 ()", "module": "test", "msecs": 63.74645233154297, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 8139.796257019043, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Timeout for authentification", "0.5", "0.55" ], "asctime": "2020-01-29 07:23:27,063", "created": 1580279007.0639107, "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": 63.910722732543945, "msg": "Expectation (%s): %s <= result <= %s", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 8139.960527420044, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 63.9951229095459, "msg": "Timeout for authentification is correct (Content %s in [%s ... %s] and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 8140.044927597046, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 8.440017700195312e-05 }, { "args": [ "0.20057988166809082", "0.2", "0.22000000000000003", "" ], "asctime": "2020-01-29 07:23:27,264", "created": 1580279007.2648807, "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.20057988166809082 in [0.2 ... 0.22000000000000003] and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "SJP:", "0.2", "30", "0" ], "asctime": "2020-01-29 07:23:27,264", "created": 1580279007.2645383, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 309, "message": "SJP: TIMEOUT (0.2s): Requested data (service_id: 30; data_id: 0) not in buffer.", "module": "__init__", "msecs": 264.5382881164551, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 8340.588092803955, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Timeout for send method", "0.20057988166809082", "" ], "asctime": "2020-01-29 07:23:27,264", "created": 1580279007.2647128, "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.20057988166809082 ()", "module": "test", "msecs": 264.7128105163574, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 8340.762615203857, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Timeout for send method", "0.2", "0.22000000000000003" ], "asctime": "2020-01-29 07:23:27,264", "created": 1580279007.2647963, "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": 264.79625701904297, "msg": "Expectation (%s): %s <= result <= %s", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 8340.846061706543, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 264.8806571960449, "msg": "Timeout for send method is correct (Content %s in [%s ... %s] and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 8340.930461883545, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 8.440017700195312e-05 }, { "args": [ "0.5010545253753662", "0.5", "0.55", "" ], "asctime": "2020-01-29 07:23:27,766", "created": 1580279007.7663608, "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.5010545253753662 in [0.5 ... 0.55] and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "SJP:", "0.5", "30", "0" ], "asctime": "2020-01-29 07:23:27,765", "created": 1580279007.7658815, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 309, "message": "SJP: TIMEOUT (0.5s): Requested data (service_id: 30; data_id: 0) not in buffer.", "module": "__init__", "msecs": 765.8815383911133, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 8841.931343078613, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Timeout for send method", "0.5010545253753662", "" ], "asctime": "2020-01-29 07:23:27,766", "created": 1580279007.766067, "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.5010545253753662 ()", "module": "test", "msecs": 766.0670280456543, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 8842.116832733154, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Timeout for send method", "0.5", "0.55" ], "asctime": "2020-01-29 07:23:27,766", "created": 1580279007.766154, "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": 766.1540508270264, "msg": "Expectation (%s): %s <= result <= %s", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 8842.203855514526, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 766.3607597351074, "msg": "Timeout for send method is correct (Content %s in [%s ... %s] and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 8842.410564422607, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 0.0002067089080810547 } ], "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 1.4064769744873047, "time_finished": "2020-01-29 07:23:27,766", "time_start": "2020-01-29 07:23:26,359" }, "socket_protocol.pure_json_protocol: Wildcard Callback registration for data_id.": { "args": null, "asctime": "2020-01-29 07:23:23,228", "created": 1580279003.228065, "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 data_id.", "module": "__init__", "moduleLogger": [], "msecs": 228.06501388549805, "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": 7175, "processName": "MainProcess", "relativeCreated": 4304.114818572998, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2020-01-29 07:23:23,731", "created": 1580279003.7314513, "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": [ "SJP:" ], "asctime": "2020-01-29 07:23:23,228", "created": 1580279003.228341, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 295, "message": "SJP: Cleaning up receive-buffer", "module": "__init__", "msecs": 228.34110260009766, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 4304.390907287598, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:23,228", "created": 1580279003.2286594, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 199, "message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 228.65939140319824, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 4304.709196090698, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:23,228", "created": 1580279003.2288451, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 295, "message": "SJP: Cleaning up receive-buffer", "module": "__init__", "msecs": 228.84511947631836, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 4304.894924163818, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:23,229", "created": 1580279003.2291028, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 199, "message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 229.10284996032715, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 4305.152654647827, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "SJP:", 0, 10, 48879, "{'test': 'test'}" ], "asctime": "2020-01-29 07:23:23,229", "created": 1580279003.2293463, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 0, service_id: 10, data_id: 48879, data: \"{'test': 'test'}\"", "module": "__init__", "msecs": 229.34627532958984, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 4305.39608001709, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:23,229", "created": 1580279003.2297533, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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": 229.7532558441162, "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": 7175, "processName": "MainProcess", "relativeCreated": 4305.803060531616, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:23,380", "created": 1580279003.3806496, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 66, "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": 380.6495666503906, "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": 7175, "processName": "MainProcess", "relativeCreated": 4456.699371337891, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-15" }, { "args": [ "SJP:", "0", "10", "48879", "{'test': 'test'}" ], "asctime": "2020-01-29 07:23:23,381", "created": 1580279003.381059, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 247, "message": "SJP: RX <- status: 0, service_id: 10, data_id: 48879, data: \"{'test': 'test'}\"", "module": "__init__", "msecs": 381.058931350708, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 4457.108736038208, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-15" }, { "args": [ "SJP:", "response_data_method" ], "asctime": "2020-01-29 07:23:23,381", "created": 1580279003.3813062, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 264, "message": "SJP: Executing callback response_data_method to process received data", "module": "__init__", "msecs": 381.3061714172363, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 4457.355976104736, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-15" }, { "args": [ "SJP:", 5, 11, 48879, "[1, 3, 's']" ], "asctime": "2020-01-29 07:23:23,381", "created": 1580279003.3814929, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 5, service_id: 11, data_id: 48879, data: \"[1, 3, 's']\"", "module": "__init__", "msecs": 381.49285316467285, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 4457.542657852173, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-15" }, { "args": [], "asctime": "2020-01-29 07:23:23,381", "created": 1580279003.3818831, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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": 381.8831443786621, "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": 7175, "processName": "MainProcess", "relativeCreated": 4457.932949066162, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-15" }, { "args": [], "asctime": "2020-01-29 07:23:23,532", "created": 1580279003.5327373, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 66, "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": 532.7372550964355, "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": 7175, "processName": "MainProcess", "relativeCreated": 4608.787059783936, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-16" }, { "args": [ "SJP:", "5", "11", "48879", "[1, 3, 's']" ], "asctime": "2020-01-29 07:23:23,533", "created": 1580279003.533114, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 247, "message": "SJP: RX <- status: 5, service_id: 11, data_id: 48879, data: \"[1, 3, 's']\"", "module": "__init__", "msecs": 533.113956451416, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 4609.163761138916, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-16" }, { "args": [ "SJP:", "Operation not permitted" ], "asctime": "2020-01-29 07:23:23,533", "created": 1580279003.5333865, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 274, "message": "SJP: Received message has a peculiar status: Operation not permitted", "module": "__init__", "msecs": 533.3864688873291, "msg": "%s Received message has a peculiar status: %s", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 4609.436273574829, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-16" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:23,533", "created": 1580279003.5335774, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__buffer_received_data__", "levelname": "DEBUG", "levelno": 10, "lineno": 292, "message": "SJP: Message data is stored in buffer and is now ready to be retrieved by receive method", "module": "__init__", "msecs": 533.5774421691895, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 4609.627246856689, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-16" } ], "msecs": 731.4512729644775, "msg": "Send and received data by pure_json_protocol. Wildcard callback registerd for .", "name": "__tLogger__", "pathname": "src/tests/test_normal_operation.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 4807.5010776519775, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 0.19787383079528809 }, { "args": [ "True", "" ], "asctime": "2020-01-29 07:23:23,731", "created": 1580279003.7318199, "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-01-29 07:23:23,731", "created": 1580279003.731644, "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": 731.6439151763916, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 4807.693719863892, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-01-29 07:23:23,731", "created": 1580279003.7317486, "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": 731.7485809326172, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 4807.798385620117, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 731.8198680877686, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 4807.869672775269, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 7.128715515136719e-05 }, { "args": [ "0", "" ], "asctime": "2020-01-29 07:23:23,732", "created": 1580279003.7320352, "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-01-29 07:23:23,731", "created": 1580279003.7319186, "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": 731.9185733795166, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 4807.968378067017, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Request Status (Okay) transfered via pure_json_protocol", "0", "" ], "asctime": "2020-01-29 07:23:23,731", "created": 1580279003.7319765, "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": 731.9765090942383, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 4808.026313781738, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 732.0351600646973, "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": 7175, "processName": "MainProcess", "relativeCreated": 4808.084964752197, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 5.8650970458984375e-05 }, { "args": [ "{'test': 'test'}", "" ], "asctime": "2020-01-29 07:23:23,732", "created": 1580279003.7322457, "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-01-29 07:23:23,732", "created": 1580279003.7321222, "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": 732.1221828460693, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 4808.171987533569, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Request Data transfered via pure_json_protocol", "{ 'test': 'test' }", "" ], "asctime": "2020-01-29 07:23:23,732", "created": 1580279003.7321782, "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": 732.1782112121582, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 4808.228015899658, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 732.245683670044, "msg": "Request Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 4808.295488357544, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 6.747245788574219e-05 }, { "args": [ "5", "" ], "asctime": "2020-01-29 07:23:23,732", "created": 1580279003.7324274, "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-01-29 07:23:23,732", "created": 1580279003.7323253, "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": 732.3253154754639, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 4808.375120162964, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Response Status (Operation not permitted) transfered via pure_json_protocol", "5", "" ], "asctime": "2020-01-29 07:23:23,732", "created": 1580279003.732379, "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": 732.3789596557617, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 4808.428764343262, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 732.4273586273193, "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": 7175, "processName": "MainProcess", "relativeCreated": 4808.477163314819, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 4.839897155761719e-05 }, { "args": [ "[1, 3, 's']", "" ], "asctime": "2020-01-29 07:23:23,732", "created": 1580279003.7326276, "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-01-29 07:23:23,732", "created": 1580279003.7325037, "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": 732.5036525726318, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 4808.553457260132, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Response Data transfered via pure_json_protocol", "[ 1, 3, 's' ]", "" ], "asctime": "2020-01-29 07:23:23,732", "created": 1580279003.7325566, "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": 732.5565814971924, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 4808.606386184692, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 732.6276302337646, "msg": "Response Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 4808.677434921265, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 7.104873657226562e-05 }, { "args": [ "None", "" ], "asctime": "2020-01-29 07:23:23,833", "created": 1580279003.8334727, "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": [ "SJP:", "0.1", "11", "48879" ], "asctime": "2020-01-29 07:23:23,832", "created": 1580279003.8329246, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 309, "message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 48879) not in buffer.", "module": "__init__", "msecs": 832.9246044158936, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 4908.974409103394, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-01-29 07:23:23,833", "created": 1580279003.8331742, "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": 833.1742286682129, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 4909.224033355713, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-01-29 07:23:23,833", "created": 1580279003.8333416, "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": 833.3415985107422, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 4909.391403198242, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 833.472728729248, "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": 7175, "processName": "MainProcess", "relativeCreated": 4909.522533416748, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 0.00013113021850585938 }, { "args": [ "None", "" ], "asctime": "2020-01-29 07:23:23,934", "created": 1580279003.9341972, "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": [ "SJP:", "0.1", "10", "48879" ], "asctime": "2020-01-29 07:23:23,933", "created": 1580279003.9338646, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 309, "message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 48879) not in buffer.", "module": "__init__", "msecs": 933.8645935058594, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 5009.914398193359, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-01-29 07:23:23,934", "created": 1580279003.934045, "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": 934.0450763702393, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 5010.094881057739, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-01-29 07:23:23,934", "created": 1580279003.9341245, "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": 934.1244697570801, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 5010.17427444458, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 934.197187423706, "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": 7175, "processName": "MainProcess", "relativeCreated": 5010.246992111206, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 7.271766662597656e-05 } ], "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 0.706132173538208, "time_finished": "2020-01-29 07:23:23,934", "time_start": "2020-01-29 07:23:23,228" }, "socket_protocol.pure_json_protocol: Wildcard Callback registration for service_id and data_id.": { "args": null, "asctime": "2020-01-29 07:23:21,810", "created": 1580279001.8104987, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 28, "message": "socket_protocol.pure_json_protocol: Wildcard Callback registration for service_id and data_id.", "module": "__init__", "moduleLogger": [], "msecs": 810.4987144470215, "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": 7175, "processName": "MainProcess", "relativeCreated": 2886.5485191345215, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2020-01-29 07:23:22,313", "created": 1580279002.3133092, "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": [ "SJP:" ], "asctime": "2020-01-29 07:23:21,810", "created": 1580279001.810703, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 295, "message": "SJP: Cleaning up receive-buffer", "module": "__init__", "msecs": 810.7030391693115, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 2886.7528438568115, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:21,810", "created": 1580279001.8109388, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 199, "message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 810.938835144043, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 2886.988639831543, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:21,811", "created": 1580279001.811096, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 295, "message": "SJP: Cleaning up receive-buffer", "module": "__init__", "msecs": 811.0959529876709, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 2887.145757675171, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:21,811", "created": 1580279001.81131, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 199, "message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 811.3100528717041, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 2887.359857559204, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "SJP:", 0, 10, 48879, "{'test': 'test'}" ], "asctime": "2020-01-29 07:23:21,811", "created": 1580279001.811457, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 0, service_id: 10, data_id: 48879, data: \"{'test': 'test'}\"", "module": "__init__", "msecs": 811.4569187164307, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 2887.5067234039307, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:21,811", "created": 1580279001.8117473, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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": 811.7473125457764, "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": 7175, "processName": "MainProcess", "relativeCreated": 2887.7971172332764, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:21,962", "created": 1580279001.9625177, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 66, "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": 962.5177383422852, "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": 7175, "processName": "MainProcess", "relativeCreated": 3038.567543029785, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-11" }, { "args": [ "SJP:", "0", "10", "48879", "{'test': 'test'}" ], "asctime": "2020-01-29 07:23:21,962", "created": 1580279001.9629152, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 247, "message": "SJP: RX <- status: 0, service_id: 10, data_id: 48879, data: \"{'test': 'test'}\"", "module": "__init__", "msecs": 962.9151821136475, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 3038.9649868011475, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-11" }, { "args": [ "SJP:", "response_data_method" ], "asctime": "2020-01-29 07:23:21,963", "created": 1580279001.963139, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 264, "message": "SJP: Executing callback response_data_method to process received data", "module": "__init__", "msecs": 963.1390571594238, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 3039.188861846924, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-11" }, { "args": [ "SJP:", 5, 11, 48879, "[1, 3, 's']" ], "asctime": "2020-01-29 07:23:21,963", "created": 1580279001.9633083, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 5, service_id: 11, data_id: 48879, data: \"[1, 3, 's']\"", "module": "__init__", "msecs": 963.3083343505859, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 3039.358139038086, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-11" }, { "args": [], "asctime": "2020-01-29 07:23:21,963", "created": 1580279001.963672, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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": 963.6719226837158, "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": 7175, "processName": "MainProcess", "relativeCreated": 3039.721727371216, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-11" }, { "args": [], "asctime": "2020-01-29 07:23:22,114", "created": 1580279002.1144383, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 66, "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": 114.43829536437988, "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": 7175, "processName": "MainProcess", "relativeCreated": 3190.48810005188, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-12" }, { "args": [ "SJP:", "5", "11", "48879", "[1, 3, 's']" ], "asctime": "2020-01-29 07:23:22,114", "created": 1580279002.1146784, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 247, "message": "SJP: RX <- status: 5, service_id: 11, data_id: 48879, data: \"[1, 3, 's']\"", "module": "__init__", "msecs": 114.67838287353516, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 3190.728187561035, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-12" }, { "args": [ "SJP:", "Operation not permitted" ], "asctime": "2020-01-29 07:23:22,114", "created": 1580279002.1148064, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 274, "message": "SJP: Received message has a peculiar status: Operation not permitted", "module": "__init__", "msecs": 114.8064136505127, "msg": "%s Received message has a peculiar status: %s", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 3190.8562183380127, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-12" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:22,114", "created": 1580279002.114917, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__buffer_received_data__", "levelname": "DEBUG", "levelno": 10, "lineno": 292, "message": "SJP: Message data is stored in buffer and is now ready to be retrieved by receive method", "module": "__init__", "msecs": 114.91703987121582, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 3190.966844558716, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-12" } ], "msecs": 313.3091926574707, "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": 7175, "processName": "MainProcess", "relativeCreated": 3389.3589973449707, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 0.19839215278625488 }, { "args": [ "True", "" ], "asctime": "2020-01-29 07:23:22,314", "created": 1580279002.314038, "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-01-29 07:23:22,313", "created": 1580279002.3136857, "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": 313.68565559387207, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 3389.735460281372, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-01-29 07:23:22,313", "created": 1580279002.313878, "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": 313.87805938720703, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 3389.927864074707, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 314.0380382537842, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 3390.087842941284, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 0.00015997886657714844 }, { "args": [ "0", "" ], "asctime": "2020-01-29 07:23:22,314", "created": 1580279002.314505, "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-01-29 07:23:22,314", "created": 1580279002.3142412, "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": 314.2411708831787, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 3390.2909755706787, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Request Status (Okay) transfered via pure_json_protocol", "0", "" ], "asctime": "2020-01-29 07:23:22,314", "created": 1580279002.3143754, "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": 314.3754005432129, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 3390.425205230713, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 314.50510025024414, "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": 7175, "processName": "MainProcess", "relativeCreated": 3390.554904937744, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 0.00012969970703125 }, { "args": [ "{'test': 'test'}", "" ], "asctime": "2020-01-29 07:23:22,315", "created": 1580279002.3150043, "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-01-29 07:23:22,314", "created": 1580279002.314705, "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": 314.70489501953125, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 3390.7546997070312, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Request Data transfered via pure_json_protocol", "{ 'test': 'test' }", "" ], "asctime": "2020-01-29 07:23:22,314", "created": 1580279002.314844, "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": 314.84389305114746, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 3390.8936977386475, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 315.0043487548828, "msg": "Request Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 3391.054153442383, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 0.00016045570373535156 }, { "args": [ "5", "" ], "asctime": "2020-01-29 07:23:22,315", "created": 1580279002.3154802, "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-01-29 07:23:22,315", "created": 1580279002.3152103, "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": 315.21034240722656, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 3391.2601470947266, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Response Status (Operation not permitted) transfered via pure_json_protocol", "5", "" ], "asctime": "2020-01-29 07:23:22,315", "created": 1580279002.315352, "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": 315.3519630432129, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 3391.401767730713, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 315.48023223876953, "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": 7175, "processName": "MainProcess", "relativeCreated": 3391.5300369262695, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 0.00012826919555664062 }, { "args": [ "[1, 3, 's']", "" ], "asctime": "2020-01-29 07:23:22,315", "created": 1580279002.3159966, "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-01-29 07:23:22,315", "created": 1580279002.315684, "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": 315.68408012390137, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 3391.7338848114014, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Response Data transfered via pure_json_protocol", "[ 1, 3, 's' ]", "" ], "asctime": "2020-01-29 07:23:22,315", "created": 1580279002.3158214, "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": 315.82140922546387, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 3391.871213912964, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 315.9966468811035, "msg": "Response Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 3392.0464515686035, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 0.00017523765563964844 }, { "args": [ "None", "" ], "asctime": "2020-01-29 07:23:22,416", "created": 1580279002.4167564, "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": [ "SJP:", "0.1", "11", "48879" ], "asctime": "2020-01-29 07:23:22,416", "created": 1580279002.4164038, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 309, "message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 48879) not in buffer.", "module": "__init__", "msecs": 416.40377044677734, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 3492.4535751342773, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-01-29 07:23:22,416", "created": 1580279002.4165852, "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": 416.58520698547363, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 3492.6350116729736, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-01-29 07:23:22,416", "created": 1580279002.4166727, "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": 416.6727066040039, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 3492.722511291504, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 416.75639152526855, "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": 7175, "processName": "MainProcess", "relativeCreated": 3492.8061962127686, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 8.368492126464844e-05 }, { "args": [ "None", "" ], "asctime": "2020-01-29 07:23:22,518", "created": 1580279002.51819, "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": [ "SJP:", "0.1", "10", "48879" ], "asctime": "2020-01-29 07:23:22,517", "created": 1580279002.5171769, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 309, "message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 48879) not in buffer.", "module": "__init__", "msecs": 517.1768665313721, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 3593.226671218872, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-01-29 07:23:22,517", "created": 1580279002.5176127, "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": 517.6126956939697, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 3593.6625003814697, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-01-29 07:23:22,517", "created": 1580279002.5179143, "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": 517.9142951965332, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 3593.964099884033, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 518.1899070739746, "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": 7175, "processName": "MainProcess", "relativeCreated": 3594.2397117614746, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 0.00027561187744140625 } ], "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 0.7076911926269531, "time_finished": "2020-01-29 07:23:22,518", "time_start": "2020-01-29 07:23:21,810" }, "socket_protocol.pure_json_protocol: Wildcard Callback registration for service_id.": { "args": null, "asctime": "2020-01-29 07:23:22,518", "created": 1580279002.5189092, "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.", "module": "__init__", "moduleLogger": [], "msecs": 518.909215927124, "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": 7175, "processName": "MainProcess", "relativeCreated": 3594.959020614624, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2020-01-29 07:23:23,023", "created": 1580279003.0234334, "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": [ "SJP:" ], "asctime": "2020-01-29 07:23:22,519", "created": 1580279002.51928, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 295, "message": "SJP: Cleaning up receive-buffer", "module": "__init__", "msecs": 519.279956817627, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 3595.329761505127, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:22,519", "created": 1580279002.5196564, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 199, "message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 519.6564197540283, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 3595.7062244415283, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:22,519", "created": 1580279002.51989, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 295, "message": "SJP: Cleaning up receive-buffer", "module": "__init__", "msecs": 519.8900699615479, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 3595.939874649048, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:22,520", "created": 1580279002.520313, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 199, "message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 520.313024520874, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 3596.362829208374, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "SJP:", 0, 10, 48879, "{'test': 'test'}" ], "asctime": "2020-01-29 07:23:22,520", "created": 1580279002.520597, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 0, service_id: 10, data_id: 48879, data: \"{'test': 'test'}\"", "module": "__init__", "msecs": 520.596981048584, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 3596.646785736084, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:22,521", "created": 1580279002.521114, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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": 521.1141109466553, "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": 7175, "processName": "MainProcess", "relativeCreated": 3597.1639156341553, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:22,672", "created": 1580279002.6725967, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 66, "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": 672.5966930389404, "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": 7175, "processName": "MainProcess", "relativeCreated": 3748.6464977264404, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-13" }, { "args": [ "SJP:", "0", "10", "48879", "{'test': 'test'}" ], "asctime": "2020-01-29 07:23:22,672", "created": 1580279002.6729984, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 247, "message": "SJP: RX <- status: 0, service_id: 10, data_id: 48879, data: \"{'test': 'test'}\"", "module": "__init__", "msecs": 672.9984283447266, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 3749.0482330322266, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-13" }, { "args": [ "SJP:", "response_data_method" ], "asctime": "2020-01-29 07:23:22,673", "created": 1580279002.6732345, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 264, "message": "SJP: Executing callback response_data_method to process received data", "module": "__init__", "msecs": 673.2344627380371, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 3749.284267425537, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-13" }, { "args": [ "SJP:", 5, 11, 48879, "[1, 3, 's']" ], "asctime": "2020-01-29 07:23:22,673", "created": 1580279002.6734316, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 5, service_id: 11, data_id: 48879, data: \"[1, 3, 's']\"", "module": "__init__", "msecs": 673.4316349029541, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 3749.481439590454, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-13" }, { "args": [], "asctime": "2020-01-29 07:23:22,673", "created": 1580279002.6738043, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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": 673.8042831420898, "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": 7175, "processName": "MainProcess", "relativeCreated": 3749.85408782959, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-13" }, { "args": [], "asctime": "2020-01-29 07:23:22,824", "created": 1580279002.824676, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 66, "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": 824.6760368347168, "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": 7175, "processName": "MainProcess", "relativeCreated": 3900.725841522217, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-14" }, { "args": [ "SJP:", "5", "11", "48879", "[1, 3, 's']" ], "asctime": "2020-01-29 07:23:22,825", "created": 1580279002.8250754, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 247, "message": "SJP: RX <- status: 5, service_id: 11, data_id: 48879, data: \"[1, 3, 's']\"", "module": "__init__", "msecs": 825.0753879547119, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 3901.125192642212, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-14" }, { "args": [ "SJP:", "Operation not permitted" ], "asctime": "2020-01-29 07:23:22,825", "created": 1580279002.8253841, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 274, "message": "SJP: Received message has a peculiar status: Operation not permitted", "module": "__init__", "msecs": 825.3841400146484, "msg": "%s Received message has a peculiar status: %s", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 3901.4339447021484, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-14" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:22,825", "created": 1580279002.8255818, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__buffer_received_data__", "levelname": "DEBUG", "levelno": 10, "lineno": 292, "message": "SJP: Message data is stored in buffer and is now ready to be retrieved by receive method", "module": "__init__", "msecs": 825.5817890167236, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 3901.6315937042236, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-14" } ], "msecs": 23.433446884155273, "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": 7175, "processName": "MainProcess", "relativeCreated": 4099.483251571655, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 0.19785165786743164 }, { "args": [ "True", "" ], "asctime": "2020-01-29 07:23:23,023", "created": 1580279003.0239866, "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-01-29 07:23:23,023", "created": 1580279003.0237167, "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": 23.71668815612793, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 4099.766492843628, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-01-29 07:23:23,023", "created": 1580279003.0238562, "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": 23.856163024902344, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 4099.905967712402, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 23.9865779876709, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 4100.036382675171, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 0.0001304149627685547 }, { "args": [ "0", "" ], "asctime": "2020-01-29 07:23:23,024", "created": 1580279003.0243437, "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-01-29 07:23:23,024", "created": 1580279003.0241416, "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": 24.141550064086914, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 4100.191354751587, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Request Status (Okay) transfered via pure_json_protocol", "0", "" ], "asctime": "2020-01-29 07:23:23,024", "created": 1580279003.0242486, "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": 24.248600006103516, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 4100.2984046936035, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 24.34372901916504, "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": 7175, "processName": "MainProcess", "relativeCreated": 4100.393533706665, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 9.512901306152344e-05 }, { "args": [ "{'test': 'test'}", "" ], "asctime": "2020-01-29 07:23:23,024", "created": 1580279003.0246987, "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-01-29 07:23:23,024", "created": 1580279003.024486, "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": 24.486064910888672, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 4100.535869598389, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Request Data transfered via pure_json_protocol", "{ 'test': 'test' }", "" ], "asctime": "2020-01-29 07:23:23,024", "created": 1580279003.0245855, "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": 24.585485458374023, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 4100.635290145874, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 24.698734283447266, "msg": "Request Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 4100.748538970947, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 0.00011324882507324219 }, { "args": [ "5", "" ], "asctime": "2020-01-29 07:23:23,025", "created": 1580279003.0250015, "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-01-29 07:23:23,024", "created": 1580279003.02483, "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": 24.830102920532227, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 4100.879907608032, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Response Status (Operation not permitted) transfered via pure_json_protocol", "5", "" ], "asctime": "2020-01-29 07:23:23,024", "created": 1580279003.0249164, "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": 24.916410446166992, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 4100.966215133667, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 25.00152587890625, "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": 7175, "processName": "MainProcess", "relativeCreated": 4101.051330566406, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 8.511543273925781e-05 }, { "args": [ "[1, 3, 's']", "" ], "asctime": "2020-01-29 07:23:23,025", "created": 1580279003.0253868, "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-01-29 07:23:23,025", "created": 1580279003.02515, "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": 25.150060653686523, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 4101.1998653411865, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Response Data transfered via pure_json_protocol", "[ 1, 3, 's' ]", "" ], "asctime": "2020-01-29 07:23:23,025", "created": 1580279003.025263, "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": 25.263071060180664, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 4101.312875747681, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 25.386810302734375, "msg": "Response Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 4101.436614990234, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 0.00012373924255371094 }, { "args": [ "None", "" ], "asctime": "2020-01-29 07:23:23,126", "created": 1580279003.1263518, "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": [ "SJP:", "0.1", "11", "48879" ], "asctime": "2020-01-29 07:23:23,125", "created": 1580279003.125739, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 309, "message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 48879) not in buffer.", "module": "__init__", "msecs": 125.73909759521484, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 4201.788902282715, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-01-29 07:23:23,126", "created": 1580279003.1260066, "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": 126.0066032409668, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 4202.056407928467, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-01-29 07:23:23,126", "created": 1580279003.1261907, "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": 126.1906623840332, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 4202.240467071533, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 126.35183334350586, "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": 7175, "processName": "MainProcess", "relativeCreated": 4202.401638031006, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 0.00016117095947265625 }, { "args": [ "None", "" ], "asctime": "2020-01-29 07:23:23,227", "created": 1580279003.227596, "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": [ "SJP:", "0.1", "10", "48879" ], "asctime": "2020-01-29 07:23:23,226", "created": 1580279003.226849, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 309, "message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 48879) not in buffer.", "module": "__init__", "msecs": 226.84907913208008, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 4302.89888381958, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-01-29 07:23:23,227", "created": 1580279003.2271407, "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": 227.1406650543213, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 4303.190469741821, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2020-01-29 07:23:23,227", "created": 1580279003.227395, "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": 227.39505767822266, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 4303.444862365723, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 227.59604454040527, "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": 7175, "processName": "MainProcess", "relativeCreated": 4303.645849227905, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 0.0002009868621826172 } ], "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 0.7086868286132812, "time_finished": "2020-01-29 07:23:23,227", "time_start": "2020-01-29 07:23:22,518" }, "socket_protocol.struct_json_protocol: Send and receive check (Twice for coverage of buffer initialisation).": { "args": null, "asctime": "2020-01-29 07:23:24,640", "created": 1580279004.6401389, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 32, "message": "socket_protocol.struct_json_protocol: Send and receive check (Twice for coverage of buffer initialisation).", "module": "__init__", "moduleLogger": [], "msecs": 640.1388645172119, "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": 7175, "processName": "MainProcess", "relativeCreated": 5716.188669204712, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2020-01-29 07:23:25,644", "created": 1580279005.6447406, "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": [ "SJP:" ], "asctime": "2020-01-29 07:23:24,640", "created": 1580279004.6403587, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 295, "message": "SJP: Cleaning up receive-buffer", "module": "__init__", "msecs": 640.3586864471436, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 5716.408491134644, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:24,640", "created": 1580279004.6406395, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 199, "message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 640.6395435333252, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 5716.689348220825, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:24,640", "created": 1580279004.6407952, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 295, "message": "SJP: Cleaning up receive-buffer", "module": "__init__", "msecs": 640.7952308654785, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 5716.8450355529785, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:24,641", "created": 1580279004.6410213, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 199, "message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 641.0212516784668, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 5717.071056365967, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "SJP:", 0, 10, 45054, "{'test': 'test'}" ], "asctime": "2020-01-29 07:23:24,641", "created": 1580279004.6411972, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 0, service_id: 10, data_id: 45054, data: \"{'test': 'test'}\"", "module": "__init__", "msecs": 641.1972045898438, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 5717.247009277344, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:24,641", "created": 1580279004.6415253, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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": 641.5252685546875, "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": 7175, "processName": "MainProcess", "relativeCreated": 5717.5750732421875, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:24,792", "created": 1580279004.7921965, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 66, "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": 792.19651222229, "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": 7175, "processName": "MainProcess", "relativeCreated": 5868.24631690979, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-19" }, { "args": [ "SJP:", "0", "10", "45054", "{'test': 'test'}" ], "asctime": "2020-01-29 07:23:24,792", "created": 1580279004.792549, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 247, "message": "SJP: RX <- status: 0, service_id: 10, data_id: 45054, data: \"{'test': 'test'}\"", "module": "__init__", "msecs": 792.5488948822021, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 5868.598699569702, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-19" }, { "args": [ "SJP:", "response_data_method" ], "asctime": "2020-01-29 07:23:24,792", "created": 1580279004.7927399, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 264, "message": "SJP: Executing callback response_data_method to process received data", "module": "__init__", "msecs": 792.7398681640625, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 5868.7896728515625, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-19" }, { "args": [ "SJP:", 5, 11, 45054, "[1, 3, 's']" ], "asctime": "2020-01-29 07:23:24,792", "created": 1580279004.792897, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, 's']\"", "module": "__init__", "msecs": 792.8969860076904, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 5868.94679069519, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-19" }, { "args": [], "asctime": "2020-01-29 07:23:24,793", "created": 1580279004.7931857, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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": 793.1857109069824, "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": 7175, "processName": "MainProcess", "relativeCreated": 5869.235515594482, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-19" }, { "args": [], "asctime": "2020-01-29 07:23:24,943", "created": 1580279004.9438994, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 66, "message": "Receive data (24): 00 00 00 05 00 00 00 0b 00 00 af fe 5b 31 2c 20 33 2c 20 22 73 22 5d 28", "module": "test_helpers", "msecs": 943.899393081665, "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": 7175, "processName": "MainProcess", "relativeCreated": 6019.949197769165, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-20" }, { "args": [ "SJP:", "5", "11", "45054", "[1, 3, 's']" ], "asctime": "2020-01-29 07:23:24,944", "created": 1580279004.9443014, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 247, "message": "SJP: RX <- status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, 's']\"", "module": "__init__", "msecs": 944.3013668060303, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 6020.35117149353, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-20" }, { "args": [ "SJP:", "Operation not permitted" ], "asctime": "2020-01-29 07:23:24,944", "created": 1580279004.9445307, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 274, "message": "SJP: Received message has a peculiar status: Operation not permitted", "module": "__init__", "msecs": 944.530725479126, "msg": "%s Received message has a peculiar status: %s", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 6020.580530166626, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-20" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:24,944", "created": 1580279004.9447167, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__buffer_received_data__", "levelname": "DEBUG", "levelno": 10, "lineno": 292, "message": "SJP: Message data is stored in buffer and is now ready to be retrieved by receive method", "module": "__init__", "msecs": 944.7166919708252, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 6020.766496658325, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-20" }, { "args": [ "SJP:", 0, 10, 45054, "{'test': 'test'}" ], "asctime": "2020-01-29 07:23:25,143", "created": 1580279005.143025, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 0, service_id: 10, data_id: 45054, data: \"{'test': 'test'}\"", "module": "__init__", "msecs": 143.02492141723633, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 6219.074726104736, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:25,143", "created": 1580279005.1432402, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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": 143.24021339416504, "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": 7175, "processName": "MainProcess", "relativeCreated": 6219.290018081665, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:25,293", "created": 1580279005.2938387, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 66, "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": 293.8387393951416, "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": 7175, "processName": "MainProcess", "relativeCreated": 6369.888544082642, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-21" }, { "args": [ "SJP:", "0", "10", "45054", "{'test': 'test'}" ], "asctime": "2020-01-29 07:23:25,294", "created": 1580279005.2941003, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 247, "message": "SJP: RX <- status: 0, service_id: 10, data_id: 45054, data: \"{'test': 'test'}\"", "module": "__init__", "msecs": 294.100284576416, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 6370.150089263916, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-21" }, { "args": [ "SJP:", "response_data_method" ], "asctime": "2020-01-29 07:23:25,294", "created": 1580279005.2942188, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 264, "message": "SJP: Executing callback response_data_method to process received data", "module": "__init__", "msecs": 294.2187786102295, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 6370.2685832977295, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-21" }, { "args": [ "SJP:", 5, 11, 45054, "[1, 3, 's']" ], "asctime": "2020-01-29 07:23:25,294", "created": 1580279005.2943401, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, 's']\"", "module": "__init__", "msecs": 294.3401336669922, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 6370.389938354492, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-21" }, { "args": [], "asctime": "2020-01-29 07:23:25,294", "created": 1580279005.2945287, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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": 294.5287227630615, "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": 7175, "processName": "MainProcess", "relativeCreated": 6370.5785274505615, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-21" }, { "args": [], "asctime": "2020-01-29 07:23:25,444", "created": 1580279005.4449923, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 66, "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": 444.9923038482666, "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": 7175, "processName": "MainProcess", "relativeCreated": 6521.042108535767, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-22" }, { "args": [ "SJP:", "5", "11", "45054", "[1, 3, 's']" ], "asctime": "2020-01-29 07:23:25,445", "created": 1580279005.4451637, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 247, "message": "SJP: RX <- status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, 's']\"", "module": "__init__", "msecs": 445.1637268066406, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 6521.213531494141, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-22" }, { "args": [ "SJP:", "Operation not permitted" ], "asctime": "2020-01-29 07:23:25,445", "created": 1580279005.4452312, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 274, "message": "SJP: Received message has a peculiar status: Operation not permitted", "module": "__init__", "msecs": 445.23119926452637, "msg": "%s Received message has a peculiar status: %s", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 6521.281003952026, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-22" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:25,445", "created": 1580279005.4452987, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__buffer_received_data__", "levelname": "DEBUG", "levelno": 10, "lineno": 292, "message": "SJP: Message data is stored in buffer and is now ready to be retrieved by receive method", "module": "__init__", "msecs": 445.2986717224121, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 6521.348476409912, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-22" } ], "msecs": 644.7405815124512, "msg": "Send and received data by struct_json_protocol.", "name": "__tLogger__", "pathname": "src/tests/test_normal_operation.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 6720.790386199951, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 0.19944190979003906 }, { "args": [ "True", "" ], "asctime": "2020-01-29 07:23:25,645", "created": 1580279005.64526, "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-01-29 07:23:25,644", "created": 1580279005.6449993, "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": 644.9992656707764, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 6721.049070358276, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-01-29 07:23:25,645", "created": 1580279005.645133, "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": 645.1330184936523, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 6721.182823181152, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 645.2600955963135, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 6721.3099002838135, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 0.0001270771026611328 }, { "args": [ "0", "" ], "asctime": "2020-01-29 07:23:25,645", "created": 1580279005.6455712, "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-01-29 07:23:25,645", "created": 1580279005.645404, "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": 645.4041004180908, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 6721.453905105591, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Request Status (Okay) transfered via struct_json_protocol", "0", "" ], "asctime": "2020-01-29 07:23:25,645", "created": 1580279005.6454892, "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": 645.4892158508301, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 6721.53902053833, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 645.571231842041, "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": 7175, "processName": "MainProcess", "relativeCreated": 6721.621036529541, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 8.20159912109375e-05 }, { "args": [ "{'test': 'test'}", "" ], "asctime": "2020-01-29 07:23:25,645", "created": 1580279005.6458542, "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-01-29 07:23:25,645", "created": 1580279005.6456873, "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": 645.6873416900635, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 6721.7371463775635, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Request Data transfered via struct_json_protocol", "{ 'test': 'test' }", "" ], "asctime": "2020-01-29 07:23:25,645", "created": 1580279005.6457644, "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": 645.7643508911133, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 6721.814155578613, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 645.8542346954346, "msg": "Request Data transfered via struct_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 6721.904039382935, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 8.988380432128906e-05 }, { "args": [ "5", "" ], "asctime": "2020-01-29 07:23:25,646", "created": 1580279005.64609, "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-01-29 07:23:25,645", "created": 1580279005.6459625, "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": 645.9624767303467, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 6722.012281417847, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Response Status (Operation not permitted) transfered via struct_json_protocol", "5", "" ], "asctime": "2020-01-29 07:23:25,646", "created": 1580279005.646026, "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": 646.0258960723877, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 6722.075700759888, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 646.090030670166, "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": 7175, "processName": "MainProcess", "relativeCreated": 6722.139835357666, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 6.413459777832031e-05 }, { "args": [ "[1, 3, 's']", "" ], "asctime": "2020-01-29 07:23:25,646", "created": 1580279005.6463413, "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-01-29 07:23:25,646", "created": 1580279005.6461892, "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": 646.1892127990723, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 6722.239017486572, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Response Data transfered via struct_json_protocol", "[ 1, 3, 's' ]", "" ], "asctime": "2020-01-29 07:23:25,646", "created": 1580279005.6462562, "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": 646.2562084197998, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 6722.3060131073, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 646.3413238525391, "msg": "Response Data transfered via struct_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 6722.391128540039, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 8.511543273925781e-05 }, { "args": [ "None", "" ], "asctime": "2020-01-29 07:23:25,747", "created": 1580279005.747103, "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": [ "SJP:", "0.1", "11", "45054" ], "asctime": "2020-01-29 07:23:25,746", "created": 1580279005.746652, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 309, "message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 746.6518878936768, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 6822.701692581177, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for struct_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:25,746", "created": 1580279005.7468567, "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": 746.856689453125, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 6822.906494140625, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for struct_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:25,746", "created": 1580279005.7469888, "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": 746.9887733459473, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 6823.038578033447, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 747.1029758453369, "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": 7175, "processName": "MainProcess", "relativeCreated": 6823.152780532837, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 0.00011420249938964844 }, { "args": [ "None", "" ], "asctime": "2020-01-29 07:23:25,847", "created": 1580279005.8477967, "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": [ "SJP:", "0.1", "10", "45054" ], "asctime": "2020-01-29 07:23:25,847", "created": 1580279005.8474686, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 309, "message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 847.4686145782471, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 6923.518419265747, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for struct_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:25,847", "created": 1580279005.8476348, "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": 847.6347923278809, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 6923.684597015381, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for struct_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:25,847", "created": 1580279005.8477194, "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": 847.7194309234619, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 6923.769235610962, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 847.7966785430908, "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": 7175, "processName": "MainProcess", "relativeCreated": 6923.846483230591, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 7.724761962890625e-05 } ], "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 1.207657814025879, "time_finished": "2020-01-29 07:23:25,847", "time_start": "2020-01-29 07:23:24,640" }, "socket_protocol.struct_json_protocol: Send and receive check.": { "args": null, "asctime": "2020-01-29 07:23:18,985", "created": 1580278998.9856496, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, "lineno": 25, "message": "socket_protocol.struct_json_protocol: Send and receive check.", "module": "__init__", "moduleLogger": [], "msecs": 985.649585723877, "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": 7175, "processName": "MainProcess", "relativeCreated": 61.69939041137695, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2020-01-29 07:23:19,487", "created": 1580278999.4878151, "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": [ "SJP:" ], "asctime": "2020-01-29 07:23:18,985", "created": 1580278998.985852, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 295, "message": "SJP: Cleaning up receive-buffer", "module": "__init__", "msecs": 985.8520030975342, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 61.90180778503418, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:18,986", "created": 1580278998.9861197, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 199, "message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 986.1197471618652, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 62.169551849365234, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:18,986", "created": 1580278998.986174, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__clean_receive_buffer__", "levelname": "DEBUG", "levelno": 10, "lineno": 295, "message": "SJP: Cleaning up receive-buffer", "module": "__init__", "msecs": 986.1741065979004, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 62.22391128540039, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:18,986", "created": 1580278998.9862535, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__authentification_state_reset__", "levelname": "INFO", "levelno": 20, "lineno": 199, "message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "module": "__init__", "msecs": 986.2534999847412, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 62.30330467224121, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "SJP:", 0, 10, 45054, "{'test': 'test'}" ], "asctime": "2020-01-29 07:23:18,986", "created": 1580278998.9863136, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 0, service_id: 10, data_id: 45054, data: \"{'test': 'test'}\"", "module": "__init__", "msecs": 986.3135814666748, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 62.363386154174805, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:18,986", "created": 1580278998.9864216, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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": 986.4215850830078, "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": 7175, "processName": "MainProcess", "relativeCreated": 62.47138977050781, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [], "asctime": "2020-01-29 07:23:19,136", "created": 1580278999.1368968, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 66, "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": 136.89684867858887, "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": 7175, "processName": "MainProcess", "relativeCreated": 212.94665336608887, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-1" }, { "args": [ "SJP:", "0", "10", "45054", "{'test': 'test'}" ], "asctime": "2020-01-29 07:23:19,137", "created": 1580278999.1371748, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 247, "message": "SJP: RX <- status: 0, service_id: 10, data_id: 45054, data: \"{'test': 'test'}\"", "module": "__init__", "msecs": 137.1748447418213, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 213.2246494293213, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-1" }, { "args": [ "SJP:", "response_data_method" ], "asctime": "2020-01-29 07:23:19,137", "created": 1580278999.1373127, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "DEBUG", "levelno": 10, "lineno": 264, "message": "SJP: Executing callback response_data_method to process received data", "module": "__init__", "msecs": 137.312650680542, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 213.362455368042, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-1" }, { "args": [ "SJP:", 5, 11, 45054, "[1, 3, 's']" ], "asctime": "2020-01-29 07:23:19,137", "created": 1580278999.1374156, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "send", "levelname": "INFO", "levelno": 20, "lineno": 334, "message": "SJP: TX -> status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, 's']\"", "module": "__init__", "msecs": 137.41564750671387, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 213.46545219421387, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-1" }, { "args": [], "asctime": "2020-01-29 07:23:19,137", "created": 1580278999.1376042, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "send", "levelname": "DEBUG", "levelno": 10, "lineno": 55, "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": 137.6042366027832, "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": 7175, "processName": "MainProcess", "relativeCreated": 213.6540412902832, "stack_info": null, "thread": 139631579064064, "threadName": "Thread-1" }, { "args": [], "asctime": "2020-01-29 07:23:19,288", "created": 1580278999.288231, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "receive", "levelname": "DEBUG", "levelno": 10, "lineno": 66, "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": 288.23089599609375, "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": 7175, "processName": "MainProcess", "relativeCreated": 364.28070068359375, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-2" }, { "args": [ "SJP:", "5", "11", "45054", "[1, 3, 's']" ], "asctime": "2020-01-29 07:23:19,288", "created": 1580278999.2886572, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "INFO", "levelno": 20, "lineno": 247, "message": "SJP: RX <- status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, 's']\"", "module": "__init__", "msecs": 288.65718841552734, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 364.70699310302734, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-2" }, { "args": [ "SJP:", "Operation not permitted" ], "asctime": "2020-01-29 07:23:19,288", "created": 1580278999.2888854, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__data_available_callback__", "levelname": "WARNING", "levelno": 30, "lineno": 274, "message": "SJP: Received message has a peculiar status: Operation not permitted", "module": "__init__", "msecs": 288.88535499572754, "msg": "%s Received message has a peculiar status: %s", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 364.93515968322754, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-2" }, { "args": [ "SJP:" ], "asctime": "2020-01-29 07:23:19,289", "created": 1580278999.2890766, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "__buffer_received_data__", "levelname": "DEBUG", "levelno": 10, "lineno": 292, "message": "SJP: Message data is stored in buffer and is now ready to be retrieved by receive method", "module": "__init__", "msecs": 289.076566696167, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 365.126371383667, "stack_info": null, "thread": 139631570671360, "threadName": "Thread-2" } ], "msecs": 487.81514167785645, "msg": "Send and received data by struct_json_protocol.", "name": "__tLogger__", "pathname": "src/tests/test_normal_operation.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 563.8649463653564, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 0.19873857498168945 }, { "args": [ "True", "" ], "asctime": "2020-01-29 07:23:19,488", "created": 1580278999.4884744, "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-01-29 07:23:19,488", "created": 1580278999.4881597, "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": 488.1596565246582, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 564.2094612121582, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2020-01-29 07:23:19,488", "created": 1580278999.4883265, "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": 488.3265495300293, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 564.3763542175293, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 488.47436904907227, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 564.5241737365723, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 0.00014781951904296875 }, { "args": [ "0", "" ], "asctime": "2020-01-29 07:23:19,488", "created": 1580278999.4889488, "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-01-29 07:23:19,488", "created": 1580278999.4886725, "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": 488.67249488830566, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 564.7222995758057, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Request Status (Okay) transfered via struct_json_protocol", "0", "" ], "asctime": "2020-01-29 07:23:19,488", "created": 1580278999.48882, "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": 488.82007598876953, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 564.8698806762695, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 488.9488220214844, "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": 7175, "processName": "MainProcess", "relativeCreated": 564.9986267089844, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 0.00012874603271484375 }, { "args": [ "{'test': 'test'}", "" ], "asctime": "2020-01-29 07:23:19,489", "created": 1580278999.4896939, "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-01-29 07:23:19,489", "created": 1580278999.4891622, "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": 489.1622066497803, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 565.2120113372803, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Request Data transfered via struct_json_protocol", "{ 'test': 'test' }", "" ], "asctime": "2020-01-29 07:23:19,489", "created": 1580278999.4894438, "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": 489.4437789916992, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 565.4935836791992, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 489.69388008117676, "msg": "Request Data transfered via struct_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 565.7436847686768, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 0.00025010108947753906 }, { "args": [ "5", "" ], "asctime": "2020-01-29 07:23:19,490", "created": 1580278999.4903088, "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-01-29 07:23:19,489", "created": 1580278999.4899259, "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": 489.9258613586426, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 565.9756660461426, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Response Status (Operation not permitted) transfered via struct_json_protocol", "5", "" ], "asctime": "2020-01-29 07:23:19,490", "created": 1580278999.4901223, "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": 490.12231826782227, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 566.1721229553223, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 490.3087615966797, "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": 7175, "processName": "MainProcess", "relativeCreated": 566.3585662841797, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 0.00018644332885742188 }, { "args": [ "[1, 3, 's']", "" ], "asctime": "2020-01-29 07:23:19,490", "created": 1580278999.4908488, "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-01-29 07:23:19,490", "created": 1580278999.4905179, "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": 490.51785469055176, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 566.5676593780518, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Response Data transfered via struct_json_protocol", "[ 1, 3, 's' ]", "" ], "asctime": "2020-01-29 07:23:19,490", "created": 1580278999.490658, "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": 490.6580448150635, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 566.7078495025635, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 490.8487796783447, "msg": "Response Data transfered via struct_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 566.8985843658447, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 0.00019073486328125 }, { "args": [ "None", "" ], "asctime": "2020-01-29 07:23:19,591", "created": 1580278999.5918276, "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": [ "SJP:", "0.1", "11", "45054" ], "asctime": "2020-01-29 07:23:19,591", "created": 1580278999.591284, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 309, "message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 591.2840366363525, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 667.3338413238525, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for struct_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:19,591", "created": 1580278999.591512, "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": 591.5119647979736, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 667.5617694854736, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for struct_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:19,591", "created": 1580278999.5916684, "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": 591.6683673858643, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 667.7181720733643, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 591.8276309967041, "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": 7175, "processName": "MainProcess", "relativeCreated": 667.8774356842041, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 0.00015926361083984375 }, { "args": [ "None", "" ], "asctime": "2020-01-29 07:23:19,692", "created": 1580278999.6926527, "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": [ "SJP:", "0.1", "10", "45054" ], "asctime": "2020-01-29 07:23:19,692", "created": 1580278999.6922495, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "receive", "levelname": "WARNING", "levelno": 30, "lineno": 309, "message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.", "module": "__init__", "msecs": 692.2495365142822, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "src/socket_protocol/__init__.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 768.2993412017822, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for struct_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:19,692", "created": 1580278999.6924398, "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": 692.4397945404053, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 768.4895992279053, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for struct_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2020-01-29 07:23:19,692", "created": 1580278999.6925561, "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": 692.5561428070068, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", "process": 7175, "processName": "MainProcess", "relativeCreated": 768.6059474945068, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread" } ], "msecs": 692.652702331543, "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": 7175, "processName": "MainProcess", "relativeCreated": 768.702507019043, "stack_info": null, "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 9.655952453613281e-05 } ], "thread": 139631656539968, "threadName": "MainThread", "time_consumption": 0.707003116607666, "time_finished": "2020-01-29 07:23:19,692", "time_start": "2020-01-29 07:23:18,985" } }, "testrun_id": "p3", "time_consumption": 11.334765911102295, "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: Register a Callback which is already defined.", "socket_protocol.pure_json_protocol: Authentification processed without secret.", "socket_protocol.pure_json_protocol: Incompatible Callback return value(s)." ] } ], "unittest_information": { "Version": "cd82b7d4eb571a53181f2cb9c7b37417" } }