{ "coverage_information": [ { "branch_coverage": 100.0, "filepath": "/user_data/data/dirk/prj/modules/socket_protocol/pylibs/socket_protocol", "files": [ { "branch_coverage": 100.0, "filepath": "/user_data/data/dirk/prj/modules/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.0.0-37-generic (#40~18.04.1-Ubuntu SMP Thu Nov 14 12:06:39 UTC 2019)", "Machine": "x86_64", "Path": "/user_data/data/dirk/prj/modules/socket_protocol/unittest", "System": "Linux", "Username": "dirk" }, "testobject_information": { "Dependencies": [ [ "stringtools", "77981dbdc5e8fd54960c4f914c083602" ] ], "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": "2019-12-27 17:11:10,755", "created": 1577463070.755257, "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": 755.2568912506104, "msg": "socket_protocol.pure_json_protocol: Authentification processed without secret.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10948.309898376465, "testcaseLogger": [ { "args": [], "asctime": "2019-12-27 17:11:10,756", "created": 1577463070.756524, "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": "2019-12-27 17:11:10,755", "created": 1577463070.755523, "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": 755.5229663848877, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10948.575973510742, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:10,755", "created": 1577463070.755856, "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": 755.8560371398926, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10948.909044265747, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:10,756", "created": 1577463070.756051, "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": 756.0510635375977, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10949.104070663452, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:10,756", "created": 1577463070.756347, "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": 756.3469409942627, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10949.399948120117, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 756.5240859985352, "msg": "Authentification with no secret definition (pure_json_protocol).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_handling_errors.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10949.57709312439, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.00017714500427246094 }, { "args": [ "False", "" ], "asctime": "2019-12-27 17:11:10,757", "created": 1577463070.757059, "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": "2019-12-27 17:11:10,756", "created": 1577463070.756764, "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": 756.7639350891113, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10949.816942214966, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Return value of authentification", "False", "" ], "asctime": "2019-12-27 17:11:10,756", "created": 1577463070.756908, "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": 756.9079399108887, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10949.960947036743, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 757.0590972900391, "msg": "Return value of authentification is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10950.112104415894, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.00015115737915039062 } ], "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.001802206039428711, "time_finished": "2019-12-27 17:11:10,757", "time_start": "2019-12-27 17:11:10,755" }, "socket_protocol.pure_json_protocol: Authentification required, but not processed/ correctly processed.": { "args": null, "asctime": "2019-12-27 17:11:09,341", "created": 1577463069.341479, "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": 341.4790630340576, "msg": "socket_protocol.pure_json_protocol: Authentification required, but not processed/ correctly processed.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 9534.532070159912, "testcaseLogger": [ { "args": [], "asctime": "2019-12-27 17:11:10,548", "created": 1577463070.548053, "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": "2019-12-27 17:11:09,341", "created": 1577463069.341806, "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": 341.80593490600586, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 9534.85894203186, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:09,342", "created": 1577463069.342208, "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": 342.2079086303711, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 9535.260915756226, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:09,342", "created": 1577463069.342413, "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": 342.41294860839844, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 9535.465955734253, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:09,342", "created": 1577463069.342716, "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": 342.7159786224365, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 9535.768985748291, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:09,342", "created": 1577463069.342947, "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": 342.94700622558594, "msg": "%s Requesting seed for authentification", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 9536.00001335144, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "SJP:", 0, 1, 0, "None" ], "asctime": "2019-12-27 17:11:09,343", "created": 1577463069.343103, "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": 343.10293197631836, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 9536.155939102173, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:11:09,343", "created": 1577463069.343549, "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": 343.5490131378174, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 9536.602020263672, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:11:09,494", "created": 1577463069.494531, "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": 494.53091621398926, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 9687.583923339844, "thread": 139992066344704, "threadName": "Thread-26" }, { "args": [ "SJP:", "0", "1", "0", "None" ], "asctime": "2019-12-27 17:11:09,494", "created": 1577463069.494965, "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": 494.9650764465332, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 9688.018083572388, "thread": 139992066344704, "threadName": "Thread-26" }, { "args": [ "SJP:", "__authentificate_create_seed__" ], "asctime": "2019-12-27 17:11:09,495", "created": 1577463069.495199, "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": 495.19896507263184, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 9688.251972198486, "thread": 139992066344704, "threadName": "Thread-26" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:09,495", "created": 1577463069.495364, "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": 495.3639507293701, "msg": "%s Got seed request, sending seed for authentification", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 9688.416957855225, "thread": 139992066344704, "threadName": "Thread-26" }, { "args": [ "SJP:", 0, 2, 0, "'d383fc2f52e7de35b3ea80303a8677f3c5457f274bfca7a6c67c0c012b8d9fa4'" ], "asctime": "2019-12-27 17:11:09,495", "created": 1577463069.495587, "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: \"'d383fc2f52e7de35b3ea80303a8677f3c5457f274bfca7a6c67c0c012b8d9fa4'\"", "module": "__init__", "msecs": 495.5871105194092, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 9688.640117645264, "thread": 139992066344704, "threadName": "Thread-26" }, { "args": [], "asctime": "2019-12-27 17:11:09,496", "created": 1577463069.496195, "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 33 38 33 66 63 32 66 35 32 65 37 64 65 33 35 62 33 65 61 38 30 33 30 33 61 38 36 37 37 66 33 63 35 34 35 37 66 32 37 34 62 66 63 61 37 61 36 63 36 37 63 30 63 30 31 32 62 38 64 39 66 61 34 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d ce 59 18 b4", "module": "test_helpers", "msecs": 496.19507789611816, "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 33 38 33 66 63 32 66 35 32 65 37 64 65 33 35 62 33 65 61 38 30 33 30 33 61 38 36 37 37 66 33 63 35 34 35 37 66 32 37 34 62 66 63 61 37 61 36 63 36 37 63 30 63 30 31 32 62 38 64 39 66 61 34 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d ce 59 18 b4", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 9689.248085021973, "thread": 139992066344704, "threadName": "Thread-26" }, { "args": [], "asctime": "2019-12-27 17:11:09,647", "created": 1577463069.647404, "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 33 38 33 66 63 32 66 35 32 65 37 64 65 33 35 62 33 65 61 38 30 33 30 33 61 38 36 37 37 66 33 63 35 34 35 37 66 32 37 34 62 66 63 61 37 61 36 63 36 37 63 30 63 30 31 32 62 38 64 39 66 61 34 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d ce 59 18 b4", "module": "test_helpers", "msecs": 647.4039554595947, "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 33 38 33 66 63 32 66 35 32 65 37 64 65 33 35 62 33 65 61 38 30 33 30 33 61 38 36 37 37 66 33 63 35 34 35 37 66 32 37 34 62 66 63 61 37 61 36 63 36 37 63 30 63 30 31 32 62 38 64 39 66 61 34 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d ce 59 18 b4", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 9840.45696258545, "thread": 139992074737408, "threadName": "Thread-27" }, { "args": [ "SJP:", "0", "2", "0", "u'd383fc2f52e7de35b3ea80303a8677f3c5457f274bfca7a6c67c0c012b8d9fa4'" ], "asctime": "2019-12-27 17:11:09,647", "created": 1577463069.647816, "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'd383fc2f52e7de35b3ea80303a8677f3c5457f274bfca7a6c67c0c012b8d9fa4'\"", "module": "__init__", "msecs": 647.8159427642822, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 9840.868949890137, "thread": 139992074737408, "threadName": "Thread-27" }, { "args": [ "SJP:", "__authentificate_create_key__" ], "asctime": "2019-12-27 17:11:09,648", "created": 1577463069.648047, "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": 648.0469703674316, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 9841.099977493286, "thread": 139992074737408, "threadName": "Thread-27" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:09,648", "created": 1577463069.648204, "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": 648.2040882110596, "msg": "%s Got seed, sending key for authentification", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 9841.257095336914, "thread": 139992074737408, "threadName": "Thread-27" }, { "args": [ "SJP:", 0, 3, 0, "'ae191cbab2cd7606a1055763310a33cc792f5b31b8d0a8710b437f5ba6eb781b435fcf4a2961d5cd048daf52f1d359361cca53dc227b46a83150e86753235aab'" ], "asctime": "2019-12-27 17:11:09,648", "created": 1577463069.648464, "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: \"'ae191cbab2cd7606a1055763310a33cc792f5b31b8d0a8710b437f5ba6eb781b435fcf4a2961d5cd048daf52f1d359361cca53dc227b46a83150e86753235aab'\"", "module": "__init__", "msecs": 648.4639644622803, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 9841.516971588135, "thread": 139992074737408, "threadName": "Thread-27" }, { "args": [], "asctime": "2019-12-27 17:11:09,649", "created": 1577463069.649255, "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 65 31 39 31 63 62 61 62 32 63 64 37 36 30 36 61 31 30 35 35 37 36 33 33 31 30 61 33 33 63 63 37 39 32 66 35 62 33 31 62 38 64 30 61 38 37 31 30 62 34 33 37 66 35 62 61 36 65 62 37 38 31 62 34 33 35 66 63 66 34 61 32 39 36 31 64 35 63 64 30 34 38 64 61 66 35 32 66 31 64 33 35 39 33 36 31 63 63 61 35 33 64 63 32 32 37 62 34 36 61 38 33 31 35 30 65 38 36 37 35 33 32 33 35 61 61 62 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d f2 86 8f b8", "module": "test_helpers", "msecs": 649.2550373077393, "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 65 31 39 31 63 62 61 62 32 63 64 37 36 30 36 61 31 30 35 35 37 36 33 33 31 30 61 33 33 63 63 37 39 32 66 35 62 33 31 62 38 64 30 61 38 37 31 30 62 34 33 37 66 35 62 61 36 65 62 37 38 31 62 34 33 35 66 63 66 34 61 32 39 36 31 64 35 63 64 30 34 38 64 61 66 35 32 66 31 64 33 35 39 33 36 31 63 63 61 35 33 64 63 32 32 37 62 34 36 61 38 33 31 35 30 65 38 36 37 35 33 32 33 35 61 61 62 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d f2 86 8f b8", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 9842.308044433594, "thread": 139992074737408, "threadName": "Thread-27" }, { "args": [], "asctime": "2019-12-27 17:11:09,800", "created": 1577463069.800485, "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 65 31 39 31 63 62 61 62 32 63 64 37 36 30 36 61 31 30 35 35 37 36 33 33 31 30 61 33 33 63 63 37 39 32 66 35 62 33 31 62 38 64 30 61 38 37 31 30 62 34 33 37 66 35 62 61 36 65 62 37 38 31 62 34 33 35 66 63 66 34 61 32 39 36 31 64 35 63 64 30 34 38 64 61 66 35 32 66 31 64 33 35 39 33 36 31 63 63 61 35 33 64 63 32 32 37 62 34 36 61 38 33 31 35 30 65 38 36 37 35 33 32 33 35 61 61 62 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d f2 86 8f b8", "module": "test_helpers", "msecs": 800.4848957061768, "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 65 31 39 31 63 62 61 62 32 63 64 37 36 30 36 61 31 30 35 35 37 36 33 33 31 30 61 33 33 63 63 37 39 32 66 35 62 33 31 62 38 64 30 61 38 37 31 30 62 34 33 37 66 35 62 61 36 65 62 37 38 31 62 34 33 35 66 63 66 34 61 32 39 36 31 64 35 63 64 30 34 38 64 61 66 35 32 66 31 64 33 35 39 33 36 31 63 63 61 35 33 64 63 32 32 37 62 34 36 61 38 33 31 35 30 65 38 36 37 35 33 32 33 35 61 61 62 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d f2 86 8f b8", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 9993.537902832031, "thread": 139992066344704, "threadName": "Thread-28" }, { "args": [ "SJP:", "0", "3", "0", "u'ae191cbab2cd7606a1055763310a33cc792f5b31b8d0a8710b437f5ba6eb781b435fcf4a2961d5cd048daf52f1d359361cca53dc227b46a83150e86753235aab'" ], "asctime": "2019-12-27 17:11:09,800", "created": 1577463069.800797, "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'ae191cbab2cd7606a1055763310a33cc792f5b31b8d0a8710b437f5ba6eb781b435fcf4a2961d5cd048daf52f1d359361cca53dc227b46a83150e86753235aab'\"", "module": "__init__", "msecs": 800.7969856262207, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 9993.849992752075, "thread": 139992066344704, "threadName": "Thread-28" }, { "args": [ "SJP:", "__authentificate_check_key__" ], "asctime": "2019-12-27 17:11:09,800", "created": 1577463069.800982, "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": 800.9819984436035, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 9994.035005569458, "thread": 139992066344704, "threadName": "Thread-28" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:09,801", "created": 1577463069.801153, "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": 801.1529445648193, "msg": "%s Got incorrect key, sending negative authentification feedback", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 9994.205951690674, "thread": 139992066344704, "threadName": "Thread-28" }, { "args": [ "SJP:", 0, 4, 0, "False" ], "asctime": "2019-12-27 17:11:09,801", "created": 1577463069.801321, "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": 801.3210296630859, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 9994.37403678894, "thread": 139992066344704, "threadName": "Thread-28" }, { "args": [], "asctime": "2019-12-27 17:11:09,801", "created": 1577463069.801668, "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": 801.6679286956787, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 9994.720935821533, "thread": 139992066344704, "threadName": "Thread-28" }, { "args": [], "asctime": "2019-12-27 17:11:09,952", "created": 1577463069.952804, "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": 952.8040885925293, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10145.857095718384, "thread": 139992074737408, "threadName": "Thread-29" }, { "args": [ "SJP:", "0", "4", "0", "False" ], "asctime": "2019-12-27 17:11:09,953", "created": 1577463069.953174, "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": 953.1741142272949, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10146.22712135315, "thread": 139992074737408, "threadName": "Thread-29" }, { "args": [ "SJP:", "__authentificate_process_feedback__" ], "asctime": "2019-12-27 17:11:09,953", "created": 1577463069.953482, "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": 953.481912612915, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10146.53491973877, "thread": 139992074737408, "threadName": "Thread-29" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:09,953", "created": 1577463069.953659, "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": 953.6590576171875, "msg": "%s Got negative authentification feedback", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10146.712064743042, "thread": 139992074737408, "threadName": "Thread-29" }, { "args": [ "SJP:", 0, 10, 45054, "{u'test': u'test'}" ], "asctime": "2019-12-27 17:11:10,045", "created": 1577463070.045595, "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": 45.59493064880371, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10238.647937774658, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:11:10,046", "created": 1577463070.046219, "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": 46.2191104888916, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10239.272117614746, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:11:10,197", "created": 1577463070.19731, "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": 197.3099708557129, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10390.362977981567, "thread": 139992074737408, "threadName": "Thread-30" }, { "args": [ "SJP:", "0", "10", "45054", "{u'test': u'test'}" ], "asctime": "2019-12-27 17:11:10,197", "created": 1577463070.197743, "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": 197.74293899536133, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10390.795946121216, "thread": 139992074737408, "threadName": "Thread-30" }, { "args": [ "SJP:", "Unknown Client" ], "asctime": "2019-12-27 17:11:10,197", "created": 1577463070.198, "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": 197.9999542236328, "msg": "%s Received message needs authentification: %s. Sending negative response.", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10391.052961349487, "thread": 139992074737408, "threadName": "Thread-30" }, { "args": [ "SJP:", 2, 11, 45054, "None" ], "asctime": "2019-12-27 17:11:10,198", "created": 1577463070.198236, "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": 198.23598861694336, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10391.288995742798, "thread": 139992074737408, "threadName": "Thread-30" }, { "args": [], "asctime": "2019-12-27 17:11:10,198", "created": 1577463070.198728, "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": 198.72808456420898, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10391.781091690063, "thread": 139992074737408, "threadName": "Thread-30" }, { "args": [], "asctime": "2019-12-27 17:11:10,349", "created": 1577463070.349763, "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": 349.7629165649414, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10542.815923690796, "thread": 139992066344704, "threadName": "Thread-31" }, { "args": [ "SJP:", "2", "11", "45054", "None" ], "asctime": "2019-12-27 17:11:10,350", "created": 1577463070.35018, "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": 350.17991065979004, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10543.232917785645, "thread": 139992066344704, "threadName": "Thread-31" }, { "args": [ "SJP:", "Authentification required" ], "asctime": "2019-12-27 17:11:10,350", "created": 1577463070.350467, "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": 350.4669666290283, "msg": "%s Received message has a peculiar status: %s", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10543.519973754883, "thread": 139992066344704, "threadName": "Thread-31" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:10,350", "created": 1577463070.350679, "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": 350.6789207458496, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10543.731927871704, "thread": 139992066344704, "threadName": "Thread-31" } ], "msecs": 548.0530261993408, "msg": "Authentification with different secrets for request and response instance (pure_json_protocol).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_handling_errors.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10741.106033325195, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.1973741054534912 }, { "args": [ "False", "" ], "asctime": "2019-12-27 17:11:10,548", "created": 1577463070.548845, "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": "2019-12-27 17:11:10,548", "created": 1577463070.548491, "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": 548.4910011291504, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10741.544008255005, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Return value of authentification", "False", "" ], "asctime": "2019-12-27 17:11:10,548", "created": 1577463070.548674, "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": 548.6741065979004, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10741.727113723755, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 548.8450527191162, "msg": "Return value of authentification is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10741.89805984497, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.0001709461212158203 }, { "args": [ "True", "" ], "asctime": "2019-12-27 17:11:10,549", "created": 1577463070.549379, "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": "2019-12-27 17:11:10,549", "created": 1577463070.549081, "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": 549.0810871124268, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10742.134094238281, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2019-12-27 17:11:10,549", "created": 1577463070.549227, "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": 549.2269992828369, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10742.280006408691, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 549.3791103363037, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10742.432117462158, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.00015211105346679688 }, { "args": [ "2", "" ], "asctime": "2019-12-27 17:11:10,549", "created": 1577463070.549901, "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": "2019-12-27 17:11:10,549", "created": 1577463070.549622, "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": 549.6220588684082, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10742.675065994263, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Response Status (Authentification required) transfered via pure_json_protocol", "2", "" ], "asctime": "2019-12-27 17:11:10,549", "created": 1577463070.549763, "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": 549.7629642486572, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10742.815971374512, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 549.901008605957, "msg": "Response Status (Authentification required) transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10742.954015731812, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.0001380443572998047 }, { "args": [ "None", "" ], "asctime": "2019-12-27 17:11:10,550", "created": 1577463070.550458, "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": "2019-12-27 17:11:10,550", "created": 1577463070.550165, "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": 550.1649379730225, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10743.217945098877, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Response Data (no data) transfered via pure_json_protocol", "None", "" ], "asctime": "2019-12-27 17:11:10,550", "created": 1577463070.550309, "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": 550.3089427947998, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10743.361949920654, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 550.4579544067383, "msg": "Response Data (no data) transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10743.510961532593, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.00014901161193847656 }, { "args": [ "None", "" ], "asctime": "2019-12-27 17:11:10,651", "created": 1577463070.651551, "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": "2019-12-27 17:11:10,650", "created": 1577463070.650915, "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": 650.9149074554443, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10843.967914581299, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:10,651", "created": 1577463070.651194, "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": 651.1940956115723, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10844.247102737427, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:10,651", "created": 1577463070.651385, "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": 651.3850688934326, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10844.438076019287, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 651.5510082244873, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10844.604015350342, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.0001659393310546875 }, { "args": [ "None", "" ], "asctime": "2019-12-27 17:11:10,752", "created": 1577463070.752748, "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": "2019-12-27 17:11:10,752", "created": 1577463070.752043, "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": 752.0430088043213, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10945.096015930176, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:10,752", "created": 1577463070.75232, "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": 752.3200511932373, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10945.373058319092, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:10,752", "created": 1577463070.752502, "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": 752.5019645690918, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10945.554971694946, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 752.7480125427246, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10945.80101966858, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.0002460479736328125 } ], "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 1.411268949508667, "time_finished": "2019-12-27 17:11:10,752", "time_start": "2019-12-27 17:11:09,341" }, "socket_protocol.pure_json_protocol: Checksum corumpation while sending.": { "args": null, "asctime": "2019-12-27 17:11:06,715", "created": 1577463066.715338, "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": 715.3379917144775, "msg": "socket_protocol.pure_json_protocol: Checksum corumpation while sending.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 6908.390998840332, "testcaseLogger": [ { "args": [], "asctime": "2019-12-27 17:11:07,018", "created": 1577463067.018365, "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": "2019-12-27 17:11:06,715", "created": 1577463066.715642, "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": 715.641975402832, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 6908.6949825286865, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:06,716", "created": 1577463066.716001, "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": 716.001033782959, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 6909.0540409088135, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:06,716", "created": 1577463066.716211, "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": 716.2110805511475, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 6909.264087677002, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:06,716", "created": 1577463066.716523, "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": 716.5229320526123, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 6909.575939178467, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "SJP:", 0, 10, 45054, "{u'test': u'test'}" ], "asctime": "2019-12-27 17:11:06,716", "created": 1577463066.716763, "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": 716.7630195617676, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 6909.816026687622, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:11:06,717", "created": 1577463066.71728, "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": 717.2799110412598, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 6910.332918167114, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:11:06,868", "created": 1577463066.868346, "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": 868.3459758758545, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 7061.398983001709, "thread": 139992074737408, "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": "2019-12-27 17:11:06,868", "created": 1577463066.868827, "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": 868.8271045684814, "msg": "%s Received message has a wrong checksum and will be ignored: %s.", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 7061.880111694336, "thread": 139992074737408, "threadName": "Thread-23" } ], "msecs": 18.364906311035156, "msg": "Send data with wrong checksum by pure_json_protocol.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_communication_errors.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 7211.41791343689, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.1495378017425537 }, { "args": [ "True", "" ], "asctime": "2019-12-27 17:11:07,019", "created": 1577463067.019088, "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": "2019-12-27 17:11:07,018", "created": 1577463067.018721, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return value of send method): True ()", "module": "test", "msecs": 18.72110366821289, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 7211.774110794067, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2019-12-27 17:11:07,018", "created": 1577463067.0189, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return value of send method): result = True ()", "module": "test", "msecs": 18.899917602539062, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 7211.952924728394, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 19.088029861450195, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 7212.141036987305, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.0001881122589111328 }, { "args": [ "False", "" ], "asctime": "2019-12-27 17:11:07,019", "created": 1577463067.019619, "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": "2019-12-27 17:11:07,019", "created": 1577463067.01933, "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": 19.33002471923828, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 7212.383031845093, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Callback executed variable", "False", "" ], "asctime": "2019-12-27 17:11:07,019", "created": 1577463067.019476, "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": 19.475936889648438, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 7212.528944015503, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 19.618988037109375, "msg": "Callback executed variable is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 7212.671995162964, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.0001430511474609375 }, { "args": [ "None", "" ], "asctime": "2019-12-27 17:11:07,120", "created": 1577463067.120708, "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": "2019-12-27 17:11:07,120", "created": 1577463067.120088, "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": 120.08810043334961, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 7313.141107559204, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:07,120", "created": 1577463067.120376, "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": 120.3761100769043, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 7313.429117202759, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:07,120", "created": 1577463067.120541, "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": 120.54109573364258, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 7313.594102859497, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 120.70798873901367, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 7313.760995864868, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.00016689300537109375 }, { "args": [ "None", "" ], "asctime": "2019-12-27 17:11:07,221", "created": 1577463067.221913, "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": "2019-12-27 17:11:07,221", "created": 1577463067.22121, "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": 221.21000289916992, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 7414.263010025024, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:07,221", "created": 1577463067.221521, "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": 221.52090072631836, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 7414.573907852173, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:07,221", "created": 1577463067.221731, "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": 221.73094749450684, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 7414.783954620361, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 221.91309928894043, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 7414.966106414795, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.00018215179443359375 } ], "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.5065751075744629, "time_finished": "2019-12-27 17:11:07,221", "time_start": "2019-12-27 17:11:06,715" }, "socket_protocol.pure_json_protocol: Incompatible Callback return value(s).": { "args": null, "asctime": "2019-12-27 17:11:10,757", "created": 1577463070.757433, "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": 757.4329376220703, "msg": "socket_protocol.pure_json_protocol: Incompatible Callback return value(s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10950.485944747925, "testcaseLogger": [ { "args": [], "asctime": "2019-12-27 17:11:10,762", "created": 1577463070.762478, "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": "2019-12-27 17:11:10,757", "created": 1577463070.757715, "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": 757.7149868011475, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10950.767993927002, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:10,758", "created": 1577463070.758038, "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": 758.0380439758301, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10951.091051101685, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:10,758", "created": 1577463070.758238, "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": 758.2380771636963, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10951.29108428955, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:10,758", "created": 1577463070.758545, "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": 758.544921875, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10951.597929000854, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "SJP:", 0, 10, 45054, "None" ], "asctime": "2019-12-27 17:11:10,758", "created": 1577463070.758809, "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": 758.8090896606445, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10951.862096786499, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:11:10,759", "created": 1577463070.759261, "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": 759.260892868042, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10952.313899993896, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:11:10,759", "created": 1577463070.759607, "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": 759.6070766448975, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10952.660083770752, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "SJP:", "0", "10", "45054", "None" ], "asctime": "2019-12-27 17:11:10,759", "created": 1577463070.759864, "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": 759.864091873169, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10952.917098999023, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "SJP:", "response_data_method_fail" ], "asctime": "2019-12-27 17:11:10,760", "created": 1577463070.760039, "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": 760.0390911102295, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10953.092098236084, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "SJP:", 0, 10, 48879, "None" ], "asctime": "2019-12-27 17:11:10,760", "created": 1577463070.760341, "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": 760.3409290313721, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10953.393936157227, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:11:10,760", "created": 1577463070.760769, "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": 760.7688903808594, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10953.821897506714, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:11:10,761", "created": 1577463070.761124, "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": 761.1238956451416, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10954.176902770996, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "SJP:", "0", "10", "48879", "None" ], "asctime": "2019-12-27 17:11:10,761", "created": 1577463070.761361, "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": 761.3608837127686, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10954.413890838623, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:10,761", "created": 1577463070.761563, "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": 761.5630626678467, "msg": "%s Received message with no registered callback. Sending negative response.", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10954.616069793701, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "SJP:", 1, 11, 48879, "None" ], "asctime": "2019-12-27 17:11:10,761", "created": 1577463070.761737, "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": 761.7371082305908, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10954.790115356445, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:11:10,762", "created": 1577463070.762134, "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": 762.1340751647949, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10955.18708229065, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:11:10,762", "created": 1577463070.762243, "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": 762.2430324554443, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10955.296039581299, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "SJP:", "1", "11", "48879", "None" ], "asctime": "2019-12-27 17:11:10,762", "created": 1577463070.762317, "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": 762.3169422149658, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10955.36994934082, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "SJP:", "Request has no callback. Data buffered." ], "asctime": "2019-12-27 17:11:10,762", "created": 1577463070.762375, "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": 762.3751163482666, "msg": "%s Received message has a peculiar status: %s", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10955.428123474121, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "SJP:", "response_data_method_fail" ], "asctime": "2019-12-27 17:11:10,762", "created": 1577463070.76242, "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": 762.4199390411377, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10955.472946166992, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 762.4781131744385, "msg": "Send and received data with incompatible callback (pure_json_protocol).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_handling_errors.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10955.531120300293, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 5.817413330078125e-05 }, { "args": [ "True", "" ], "asctime": "2019-12-27 17:11:10,762", "created": 1577463070.762659, "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": "2019-12-27 17:11:10,762", "created": 1577463070.762566, "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": 762.566089630127, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10955.619096755981, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Exception (TypeError) detection variable", "True", "" ], "asctime": "2019-12-27 17:11:10,762", "created": 1577463070.762613, "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": 762.61305809021, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10955.666065216064, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 762.6590728759766, "msg": "Exception (TypeError) detection variable is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10955.712080001831, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 4.601478576660156e-05 }, { "args": [ "None", "" ], "asctime": "2019-12-27 17:11:10,863", "created": 1577463070.863394, "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": "2019-12-27 17:11:10,862", "created": 1577463070.862946, "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": 862.9460334777832, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 11055.999040603638, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:10,863", "created": 1577463070.863142, "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": 863.1420135498047, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 11056.19502067566, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:10,863", "created": 1577463070.863275, "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": 863.2750511169434, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 11056.328058242798, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 863.394021987915, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 11056.44702911377, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.00011897087097167969 }, { "args": [ "None", "" ], "asctime": "2019-12-27 17:11:10,964", "created": 1577463070.964443, "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": "2019-12-27 17:11:10,963", "created": 1577463070.963823, "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": 963.8230800628662, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 11156.87608718872, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:10,964", "created": 1577463070.964084, "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": 964.0839099884033, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 11157.136917114258, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:10,964", "created": 1577463070.964278, "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": 964.277982711792, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 11157.330989837646, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 964.4429683685303, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 11157.495975494385, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.00016498565673828125 }, { "args": [ "True", "" ], "asctime": "2019-12-27 17:11:10,964", "created": 1577463070.964984, "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": "2019-12-27 17:11:10,964", "created": 1577463070.964695, "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": 964.6949768066406, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 11157.747983932495, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Exception (TypeError) detection variable", "True", "" ], "asctime": "2019-12-27 17:11:10,964", "created": 1577463070.964842, "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": 964.8420810699463, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 11157.8950881958, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 964.9839401245117, "msg": "Exception (TypeError) detection variable is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 11158.036947250366, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.0001418590545654297 }, { "args": [ "None", "" ], "asctime": "2019-12-27 17:11:11,066", "created": 1577463071.066076, "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": "2019-12-27 17:11:11,065", "created": 1577463071.065442, "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": 65.44208526611328, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 11258.495092391968, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2019-12-27 17:11:11,065", "created": 1577463071.065706, "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": 65.70601463317871, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 11258.759021759033, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2019-12-27 17:11:11,065", "created": 1577463071.065886, "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": 65.88602066040039, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 11258.939027786255, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 66.07604026794434, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 11259.129047393799, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.0001900196075439453 }, { "args": [ "None", "" ], "asctime": "2019-12-27 17:11:11,167", "created": 1577463071.167263, "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": "2019-12-27 17:11:11,166", "created": 1577463071.166635, "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": 166.63503646850586, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 11359.68804359436, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2019-12-27 17:11:11,166", "created": 1577463071.166919, "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": 166.91899299621582, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 11359.97200012207, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2019-12-27 17:11:11,167", "created": 1577463071.167099, "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": 167.0989990234375, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 11360.152006149292, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 167.26303100585938, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 11360.316038131714, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.000164031982421875 } ], "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.40983009338378906, "time_finished": "2019-12-27 17:11:11,167", "time_start": "2019-12-27 17:11:10,757" }, "socket_protocol.pure_json_protocol: No Callback at response instance for the request.": { "args": null, "asctime": "2019-12-27 17:11:08,632", "created": 1577463068.632934, "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": 632.9340934753418, "msg": "socket_protocol.pure_json_protocol: No Callback at response instance for the request.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 8825.987100601196, "testcaseLogger": [ { "args": [], "asctime": "2019-12-27 17:11:09,136", "created": 1577463069.13681, "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": "2019-12-27 17:11:08,633", "created": 1577463068.633264, "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.2640647888184, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 8826.317071914673, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:08,633", "created": 1577463068.633633, "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.6328983306885, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 8826.685905456543, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:08,633", "created": 1577463068.633836, "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.836030960083, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 8826.889038085938, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:08,634", "created": 1577463068.634191, "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.1910362243652, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 8827.24404335022, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "SJP:", 0, 10, 45054, "{u'test': u'test'}" ], "asctime": "2019-12-27 17:11:08,634", "created": 1577463068.63439, "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": 634.390115737915, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 8827.44312286377, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:11:08,634", "created": 1577463068.634894, "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": 634.8938941955566, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 8827.946901321411, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:11:08,785", "created": 1577463068.785932, "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": 785.9320640563965, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 8978.985071182251, "thread": 139992074737408, "threadName": "Thread-24" }, { "args": [ "SJP:", "0", "10", "45054", "{u'test': u'test'}" ], "asctime": "2019-12-27 17:11:08,786", "created": 1577463068.786343, "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": 786.3430976867676, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 8979.396104812622, "thread": 139992074737408, "threadName": "Thread-24" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:08,786", "created": 1577463068.786602, "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": 786.6020202636719, "msg": "%s Received message with no registered callback. Sending negative response.", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 8979.655027389526, "thread": 139992074737408, "threadName": "Thread-24" }, { "args": [ "SJP:", 1, 11, 45054, "None" ], "asctime": "2019-12-27 17:11:08,786", "created": 1577463068.786814, "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": 786.8139743804932, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 8979.866981506348, "thread": 139992074737408, "threadName": "Thread-24" }, { "args": [], "asctime": "2019-12-27 17:11:08,787", "created": 1577463068.787264, "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": 787.2641086578369, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 8980.317115783691, "thread": 139992074737408, "threadName": "Thread-24" }, { "args": [], "asctime": "2019-12-27 17:11:08,938", "created": 1577463068.938821, "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": 938.8210773468018, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 9131.874084472656, "thread": 139992066344704, "threadName": "Thread-25" }, { "args": [ "SJP:", "1", "11", "45054", "None" ], "asctime": "2019-12-27 17:11:08,939", "created": 1577463068.939873, "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": 939.8729801177979, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 9132.925987243652, "thread": 139992066344704, "threadName": "Thread-25" }, { "args": [ "SJP:", "Request has no callback. Data buffered." ], "asctime": "2019-12-27 17:11:08,940", "created": 1577463068.940277, "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": 940.277099609375, "msg": "%s Received message has a peculiar status: %s", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 9133.33010673523, "thread": 139992066344704, "threadName": "Thread-25" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:08,940", "created": 1577463068.940547, "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": 940.546989440918, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 9133.599996566772, "thread": 139992066344704, "threadName": "Thread-25" } ], "msecs": 136.8100643157959, "msg": "Send data, but no callback registered (pure_json_protocol).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_handling_errors.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 9329.86307144165, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.19626307487487793 }, { "args": [ "True", "" ], "asctime": "2019-12-27 17:11:09,137", "created": 1577463069.137587, "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": "2019-12-27 17:11:09,137", "created": 1577463069.137236, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Return value of send method): True ()", "module": "test", "msecs": 137.2361183166504, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 9330.289125442505, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2019-12-27 17:11:09,137", "created": 1577463069.137422, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation_equivalency__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Return value of send method): result = True ()", "module": "test", "msecs": 137.4220848083496, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 9330.475091934204, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 137.5870704650879, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 9330.640077590942, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.00016498565673828125 }, { "args": [ "1", "" ], "asctime": "2019-12-27 17:11:09,138", "created": 1577463069.138168, "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": "2019-12-27 17:11:09,137", "created": 1577463069.137828, "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": 137.82811164855957, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 9330.881118774414, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Response Status (Request has no callback. Data buffered.) transfered via pure_json_protocol", "1", "" ], "asctime": "2019-12-27 17:11:09,137", "created": 1577463069.137976, "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": 137.97593116760254, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 9331.028938293457, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 138.1680965423584, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 9331.221103668213, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.00019216537475585938 }, { "args": [ "None", "" ], "asctime": "2019-12-27 17:11:09,138", "created": 1577463069.138819, "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": "2019-12-27 17:11:09,138", "created": 1577463069.138402, "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": 138.40198516845703, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 9331.454992294312, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Response Data (no data) transfered via pure_json_protocol", "None", "" ], "asctime": "2019-12-27 17:11:09,138", "created": 1577463069.138602, "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": 138.60201835632324, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 9331.655025482178, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 138.81897926330566, "msg": "Response Data (no data) transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 9331.87198638916, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.00021696090698242188 }, { "args": [ "None", "" ], "asctime": "2019-12-27 17:11:09,239", "created": 1577463069.23991, "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": "2019-12-27 17:11:09,239", "created": 1577463069.239302, "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": 239.3019199371338, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 9432.354927062988, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:09,239", "created": 1577463069.239565, "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": 239.5648956298828, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 9432.617902755737, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:09,239", "created": 1577463069.239745, "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": 239.7449016571045, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 9432.797908782959, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 239.90988731384277, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 9432.962894439697, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.00016498565673828125 }, { "args": [ "None", "" ], "asctime": "2019-12-27 17:11:09,341", "created": 1577463069.341014, "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": "2019-12-27 17:11:09,340", "created": 1577463069.340404, "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": 340.4040336608887, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 9533.457040786743, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:09,340", "created": 1577463069.340666, "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": 340.6660556793213, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 9533.719062805176, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:09,340", "created": 1577463069.340847, "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": 340.8470153808594, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 9533.900022506714, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 341.01390838623047, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 9534.066915512085, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.00016689300537109375 } ], "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.7080798149108887, "time_finished": "2019-12-27 17:11:09,341", "time_start": "2019-12-27 17:11:08,632" }, "socket_protocol.pure_json_protocol: Register a Callback which is already defined.": { "args": null, "asctime": "2019-12-27 17:11:10,753", "created": 1577463070.753329, "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": 753.3290386199951, "msg": "socket_protocol.pure_json_protocol: Register a Callback which is already defined.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10946.38204574585, "testcaseLogger": [ { "args": [], "asctime": "2019-12-27 17:11:10,754", "created": 1577463070.754306, "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": "2019-12-27 17:11:10,753", "created": 1577463070.753626, "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": 753.6261081695557, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10946.67911529541, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:10,753", "created": 1577463070.753982, "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": 753.9820671081543, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10947.035074234009, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 754.3060779571533, "msg": "Registering two callbacks which overlap for at least one message (pure_json_protocol).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_handling_errors.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10947.359085083008, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.00032401084899902344 }, { "args": [ "True", "" ], "asctime": "2019-12-27 17:11:10,754", "created": 1577463070.754858, "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": "2019-12-27 17:11:10,754", "created": 1577463070.754557, "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": 754.5568943023682, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10947.609901428223, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Exception (RegistrationError) detection variable", "True", "" ], "asctime": "2019-12-27 17:11:10,754", "created": 1577463070.75471, "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": 754.7099590301514, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10947.762966156006, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 754.8580169677734, "msg": "Exception (RegistrationError) detection variable is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 10947.911024093628, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.0001480579376220703 } ], "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.0015289783477783203, "time_finished": "2019-12-27 17:11:10,754", "time_start": "2019-12-27 17:11:10,753" }, "socket_protocol.pure_json_protocol: Register a second Callback with the same service_id.": { "args": null, "asctime": "2019-12-27 17:11:04,795", "created": 1577463064.795627, "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": 795.6271171569824, "msg": "socket_protocol.pure_json_protocol: Register a second Callback with the same service_id.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4988.680124282837, "testcaseLogger": [ { "args": [], "asctime": "2019-12-27 17:11:05,299", "created": 1577463065.299243, "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": "2019-12-27 17:11:04,795", "created": 1577463064.795939, "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": 795.9389686584473, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4988.991975784302, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:04,796", "created": 1577463064.796299, "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": 796.2989807128906, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4989.351987838745, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:04,796", "created": 1577463064.796498, "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": 796.4980602264404, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4989.551067352295, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:04,796", "created": 1577463064.796818, "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": 796.8180179595947, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4989.871025085449, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "SJP:", 0, 10, 45054, "{u'test': u'test'}" ], "asctime": "2019-12-27 17:11:04,797", "created": 1577463064.797086, "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": 797.0860004425049, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4990.139007568359, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:11:04,797", "created": 1577463064.797586, "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": 797.5859642028809, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4990.638971328735, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:11:04,948", "created": 1577463064.948801, "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": 948.8010406494141, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 5141.854047775269, "thread": 139992066344704, "threadName": "Thread-17" }, { "args": [ "SJP:", "0", "10", "45054", "{u'test': u'test'}" ], "asctime": "2019-12-27 17:11:04,949", "created": 1577463064.949184, "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": 949.1839408874512, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 5142.236948013306, "thread": 139992066344704, "threadName": "Thread-17" }, { "args": [ "SJP:", "response_data_method_2" ], "asctime": "2019-12-27 17:11:04,949", "created": 1577463064.9494, "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": 949.3999481201172, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 5142.452955245972, "thread": 139992066344704, "threadName": "Thread-17" }, { "args": [ "SJP:", 5, 11, 45054, "[1, 3, u's']" ], "asctime": "2019-12-27 17:11:04,949", "created": 1577463064.949603, "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": 949.6030807495117, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 5142.656087875366, "thread": 139992066344704, "threadName": "Thread-17" }, { "args": [], "asctime": "2019-12-27 17:11:04,950", "created": 1577463064.950121, "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": 950.1209259033203, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 5143.173933029175, "thread": 139992066344704, "threadName": "Thread-17" }, { "args": [], "asctime": "2019-12-27 17:11:05,101", "created": 1577463065.101245, "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": 101.24492645263672, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 5294.297933578491, "thread": 139992074737408, "threadName": "Thread-18" }, { "args": [ "SJP:", "5", "11", "45054", "[1, 3, u's']" ], "asctime": "2019-12-27 17:11:05,101", "created": 1577463065.10162, "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": 101.61995887756348, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 5294.672966003418, "thread": 139992074737408, "threadName": "Thread-18" }, { "args": [ "SJP:", "Operation not permitted" ], "asctime": "2019-12-27 17:11:05,101", "created": 1577463065.101884, "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": 101.8838882446289, "msg": "%s Received message has a peculiar status: %s", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 5294.936895370483, "thread": 139992074737408, "threadName": "Thread-18" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:05,102", "created": 1577463065.102163, "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": 102.16307640075684, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 5295.216083526611, "thread": 139992074737408, "threadName": "Thread-18" } ], "msecs": 299.2429733276367, "msg": "Send and received data by pure_json_protocol.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_normal_operation.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 5492.295980453491, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.19707989692687988 }, { "args": [ "True", "" ], "asctime": "2019-12-27 17:11:05,299", "created": 1577463065.29967, "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": "2019-12-27 17:11:05,299", "created": 1577463065.299474, "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": 299.47400093078613, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 5492.527008056641, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2019-12-27 17:11:05,299", "created": 1577463065.29958, "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": 299.5800971984863, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 5492.633104324341, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 299.6699810028076, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 5492.722988128662, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 8.988380432128906e-05 }, { "args": [ "0", "" ], "asctime": "2019-12-27 17:11:05,299", "created": 1577463065.299968, "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": "2019-12-27 17:11:05,299", "created": 1577463065.299804, "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": 299.8039722442627, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 5492.856979370117, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Request Status (Okay) transfered via pure_json_protocol", "0", "" ], "asctime": "2019-12-27 17:11:05,299", "created": 1577463065.299886, "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": 299.88598823547363, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 5492.938995361328, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 299.96800422668457, "msg": "Request Status (Okay) transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 5493.021011352539, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 8.20159912109375e-05 }, { "args": [ "{u'test': u'test'}", "" ], "asctime": "2019-12-27 17:11:05,300", "created": 1577463065.300284, "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": "2019-12-27 17:11:05,300", "created": 1577463065.300094, "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": 300.0938892364502, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 5493.146896362305, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Request Data transfered via pure_json_protocol", "{ u'test': u'test' }", "" ], "asctime": "2019-12-27 17:11:05,300", "created": 1577463065.300181, "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": 300.18091201782227, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 5493.233919143677, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 300.28390884399414, "msg": "Request Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 5493.336915969849, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.000102996826171875 }, { "args": [ "5", "" ], "asctime": "2019-12-27 17:11:05,300", "created": 1577463065.300567, "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": "2019-12-27 17:11:05,300", "created": 1577463065.300413, "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": 300.4128932952881, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 5493.465900421143, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Response Status (Operation not permitted) transfered via pure_json_protocol", "5", "" ], "asctime": "2019-12-27 17:11:05,300", "created": 1577463065.30049, "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": 300.4899024963379, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 5493.542909622192, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 300.5669116973877, "msg": "Response Status (Operation not permitted) transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 5493.619918823242, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 7.700920104980469e-05 }, { "args": [ "[1, 3, u's']", "" ], "asctime": "2019-12-27 17:11:05,300", "created": 1577463065.300901, "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": "2019-12-27 17:11:05,300", "created": 1577463065.300705, "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": 300.7049560546875, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 5493.757963180542, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Response Data transfered via pure_json_protocol", "[ 1, 3, u's' ]", "" ], "asctime": "2019-12-27 17:11:05,300", "created": 1577463065.300788, "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": 300.78792572021484, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 5493.840932846069, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 300.900936126709, "msg": "Response Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 5493.9539432525635, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.00011301040649414062 }, { "args": [ "None", "" ], "asctime": "2019-12-27 17:11:05,402", "created": 1577463065.402014, "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": "2019-12-27 17:11:05,401", "created": 1577463065.401297, "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": 401.29709243774414, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 5594.350099563599, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:05,401", "created": 1577463065.401633, "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": 401.63302421569824, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 5594.686031341553, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:05,401", "created": 1577463065.401845, "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": 401.84497833251953, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 5594.897985458374, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 402.01401710510254, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 5595.067024230957, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.0001690387725830078 }, { "args": [ "None", "" ], "asctime": "2019-12-27 17:11:05,503", "created": 1577463065.503165, "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": "2019-12-27 17:11:05,502", "created": 1577463065.502541, "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": 502.54106521606445, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 5695.594072341919, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:05,502", "created": 1577463065.50282, "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": 502.8200149536133, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 5695.873022079468, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:05,503", "created": 1577463065.503003, "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": 503.0028820037842, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 5696.055889129639, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 503.16500663757324, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 5696.218013763428, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.0001621246337890625 } ], "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.7075378894805908, "time_finished": "2019-12-27 17:11:05,503", "time_start": "2019-12-27 17:11:04,795" }, "socket_protocol.pure_json_protocol: Send and receive check including authentification.": { "args": null, "asctime": "2019-12-27 17:11:01,252", "created": 1577463061.252752, "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": 252.75206565856934, "msg": "socket_protocol.pure_json_protocol: Send and receive check including authentification.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 1445.8050727844238, "testcaseLogger": [ { "args": [], "asctime": "2019-12-27 17:11:02,458", "created": 1577463062.458806, "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": "2019-12-27 17:11:01,253", "created": 1577463061.253027, "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": 253.02696228027344, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 1446.079969406128, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:01,253", "created": 1577463061.253354, "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": 253.35407257080078, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 1446.4070796966553, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:01,253", "created": 1577463061.253538, "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": 253.5378932952881, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 1446.5909004211426, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:01,253", "created": 1577463061.253806, "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": 253.80611419677734, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 1446.8591213226318, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:01,254", "created": 1577463061.254004, "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": 254.00400161743164, "msg": "%s Requesting seed for authentification", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 1447.0570087432861, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "SJP:", 0, 1, 0, "None" ], "asctime": "2019-12-27 17:11:01,254", "created": 1577463061.254185, "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": 254.18496131896973, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 1447.2379684448242, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:11:01,254", "created": 1577463061.254594, "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": 254.594087600708, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 1447.6470947265625, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:11:01,405", "created": 1577463061.405538, "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": 405.53808212280273, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 1598.5910892486572, "thread": 139992074737408, "threadName": "Thread-5" }, { "args": [ "SJP:", "0", "1", "0", "None" ], "asctime": "2019-12-27 17:11:01,405", "created": 1577463061.405908, "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": 405.90810775756836, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 1598.9611148834229, "thread": 139992074737408, "threadName": "Thread-5" }, { "args": [ "SJP:", "__authentificate_create_seed__" ], "asctime": "2019-12-27 17:11:01,406", "created": 1577463061.406183, "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": 406.18300437927246, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 1599.236011505127, "thread": 139992074737408, "threadName": "Thread-5" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:01,406", "created": 1577463061.406351, "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": 406.35108947753906, "msg": "%s Got seed request, sending seed for authentification", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 1599.4040966033936, "thread": 139992074737408, "threadName": "Thread-5" }, { "args": [ "SJP:", 0, 2, 0, "'ad050df2d8e7bde79418fe785c0475de33791e0f9c9159474215506f18832e28'" ], "asctime": "2019-12-27 17:11:01,406", "created": 1577463061.406567, "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: \"'ad050df2d8e7bde79418fe785c0475de33791e0f9c9159474215506f18832e28'\"", "module": "__init__", "msecs": 406.5670967102051, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 1599.6201038360596, "thread": 139992074737408, "threadName": "Thread-5" }, { "args": [], "asctime": "2019-12-27 17:11:01,407", "created": 1577463061.407167, "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 61 64 30 35 30 64 66 32 64 38 65 37 62 64 65 37 39 34 31 38 66 65 37 38 35 63 30 34 37 35 64 65 33 33 37 39 31 65 30 66 39 63 39 31 35 39 34 37 34 32 31 35 35 30 36 66 31 38 38 33 32 65 32 38 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d d4 1c fc c9", "module": "test_helpers", "msecs": 407.1669578552246, "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 61 64 30 35 30 64 66 32 64 38 65 37 62 64 65 37 39 34 31 38 66 65 37 38 35 63 30 34 37 35 64 65 33 33 37 39 31 65 30 66 39 63 39 31 35 39 34 37 34 32 31 35 35 30 36 66 31 38 38 33 32 65 32 38 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d d4 1c fc c9", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 1600.219964981079, "thread": 139992074737408, "threadName": "Thread-5" }, { "args": [], "asctime": "2019-12-27 17:11:01,558", "created": 1577463061.558577, "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 61 64 30 35 30 64 66 32 64 38 65 37 62 64 65 37 39 34 31 38 66 65 37 38 35 63 30 34 37 35 64 65 33 33 37 39 31 65 30 66 39 63 39 31 35 39 34 37 34 32 31 35 35 30 36 66 31 38 38 33 32 65 32 38 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d d4 1c fc c9", "module": "test_helpers", "msecs": 558.5770606994629, "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 61 64 30 35 30 64 66 32 64 38 65 37 62 64 65 37 39 34 31 38 66 65 37 38 35 63 30 34 37 35 64 65 33 33 37 39 31 65 30 66 39 63 39 31 35 39 34 37 34 32 31 35 35 30 36 66 31 38 38 33 32 65 32 38 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d d4 1c fc c9", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 1751.6300678253174, "thread": 139992066344704, "threadName": "Thread-6" }, { "args": [ "SJP:", "0", "2", "0", "u'ad050df2d8e7bde79418fe785c0475de33791e0f9c9159474215506f18832e28'" ], "asctime": "2019-12-27 17:11:01,558", "created": 1577463061.558947, "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'ad050df2d8e7bde79418fe785c0475de33791e0f9c9159474215506f18832e28'\"", "module": "__init__", "msecs": 558.9470863342285, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 1752.000093460083, "thread": 139992066344704, "threadName": "Thread-6" }, { "args": [ "SJP:", "__authentificate_create_key__" ], "asctime": "2019-12-27 17:11:01,559", "created": 1577463061.559177, "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": 559.1769218444824, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 1752.229928970337, "thread": 139992066344704, "threadName": "Thread-6" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:01,559", "created": 1577463061.559337, "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": 559.3369007110596, "msg": "%s Got seed, sending key for authentification", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 1752.389907836914, "thread": 139992066344704, "threadName": "Thread-6" }, { "args": [ "SJP:", 0, 3, 0, "'34c6bf8d3d3ef7a8ffa33cda3905e65e3dbe476e96cad2fb1597e5eaa9d65606e2a8c74ec11df267df68193ee77e79e948ab6e18b53f2e259a38a5b9a694a227'" ], "asctime": "2019-12-27 17:11:01,559", "created": 1577463061.559592, "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: \"'34c6bf8d3d3ef7a8ffa33cda3905e65e3dbe476e96cad2fb1597e5eaa9d65606e2a8c74ec11df267df68193ee77e79e948ab6e18b53f2e259a38a5b9a694a227'\"", "module": "__init__", "msecs": 559.5920085906982, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 1752.6450157165527, "thread": 139992066344704, "threadName": "Thread-6" }, { "args": [], "asctime": "2019-12-27 17:11:01,560", "created": 1577463061.560391, "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 33 34 63 36 62 66 38 64 33 64 33 65 66 37 61 38 66 66 61 33 33 63 64 61 33 39 30 35 65 36 35 65 33 64 62 65 34 37 36 65 39 36 63 61 64 32 66 62 31 35 39 37 65 35 65 61 61 39 64 36 35 36 30 36 65 32 61 38 63 37 34 65 63 31 31 64 66 32 36 37 64 66 36 38 31 39 33 65 65 37 37 65 37 39 65 39 34 38 61 62 36 65 31 38 62 35 33 66 32 65 32 35 39 61 33 38 61 35 62 39 61 36 39 34 61 32 32 37 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d f4 b0 ce 74", "module": "test_helpers", "msecs": 560.3909492492676, "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 33 34 63 36 62 66 38 64 33 64 33 65 66 37 61 38 66 66 61 33 33 63 64 61 33 39 30 35 65 36 35 65 33 64 62 65 34 37 36 65 39 36 63 61 64 32 66 62 31 35 39 37 65 35 65 61 61 39 64 36 35 36 30 36 65 32 61 38 63 37 34 65 63 31 31 64 66 32 36 37 64 66 36 38 31 39 33 65 65 37 37 65 37 39 65 39 34 38 61 62 36 65 31 38 62 35 33 66 32 65 32 35 39 61 33 38 61 35 62 39 61 36 39 34 61 32 32 37 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d f4 b0 ce 74", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 1753.443956375122, "thread": 139992066344704, "threadName": "Thread-6" }, { "args": [], "asctime": "2019-12-27 17:11:01,711", "created": 1577463061.711305, "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 33 34 63 36 62 66 38 64 33 64 33 65 66 37 61 38 66 66 61 33 33 63 64 61 33 39 30 35 65 36 35 65 33 64 62 65 34 37 36 65 39 36 63 61 64 32 66 62 31 35 39 37 65 35 65 61 61 39 64 36 35 36 30 36 65 32 61 38 63 37 34 65 63 31 31 64 66 32 36 37 64 66 36 38 31 39 33 65 65 37 37 65 37 39 65 39 34 38 61 62 36 65 31 38 62 35 33 66 32 65 32 35 39 61 33 38 61 35 62 39 61 36 39 34 61 32 32 37 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d f4 b0 ce 74", "module": "test_helpers", "msecs": 711.3049030303955, "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 33 34 63 36 62 66 38 64 33 64 33 65 66 37 61 38 66 66 61 33 33 63 64 61 33 39 30 35 65 36 35 65 33 64 62 65 34 37 36 65 39 36 63 61 64 32 66 62 31 35 39 37 65 35 65 61 61 39 64 36 35 36 30 36 65 32 61 38 63 37 34 65 63 31 31 64 66 32 36 37 64 66 36 38 31 39 33 65 65 37 37 65 37 39 65 39 34 38 61 62 36 65 31 38 62 35 33 66 32 65 32 35 39 61 33 38 61 35 62 39 61 36 39 34 61 32 32 37 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d f4 b0 ce 74", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 1904.35791015625, "thread": 139992074737408, "threadName": "Thread-7" }, { "args": [ "SJP:", "0", "3", "0", "u'34c6bf8d3d3ef7a8ffa33cda3905e65e3dbe476e96cad2fb1597e5eaa9d65606e2a8c74ec11df267df68193ee77e79e948ab6e18b53f2e259a38a5b9a694a227'" ], "asctime": "2019-12-27 17:11:01,711", "created": 1577463061.71146, "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'34c6bf8d3d3ef7a8ffa33cda3905e65e3dbe476e96cad2fb1597e5eaa9d65606e2a8c74ec11df267df68193ee77e79e948ab6e18b53f2e259a38a5b9a694a227'\"", "module": "__init__", "msecs": 711.4601135253906, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 1904.5131206512451, "thread": 139992074737408, "threadName": "Thread-7" }, { "args": [ "SJP:", "__authentificate_check_key__" ], "asctime": "2019-12-27 17:11:01,711", "created": 1577463061.711549, "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": 711.5490436553955, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 1904.60205078125, "thread": 139992074737408, "threadName": "Thread-7" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:01,711", "created": 1577463061.711634, "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": 711.6339206695557, "msg": "%s Got correct key, sending positive authentification feedback", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 1904.6869277954102, "thread": 139992074737408, "threadName": "Thread-7" }, { "args": [ "SJP:", 0, 4, 0, "True" ], "asctime": "2019-12-27 17:11:01,711", "created": 1577463061.711712, "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": 711.7118835449219, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 1904.7648906707764, "thread": 139992074737408, "threadName": "Thread-7" }, { "args": [], "asctime": "2019-12-27 17:11:01,711", "created": 1577463061.711873, "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": 711.8730545043945, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 1904.926061630249, "thread": 139992074737408, "threadName": "Thread-7" }, { "args": [], "asctime": "2019-12-27 17:11:01,862", "created": 1577463061.86259, "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": 862.5900745391846, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 2055.643081665039, "thread": 139992066344704, "threadName": "Thread-8" }, { "args": [ "SJP:", "0", "4", "0", "True" ], "asctime": "2019-12-27 17:11:01,862", "created": 1577463061.86298, "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": 862.9798889160156, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 2056.03289604187, "thread": 139992066344704, "threadName": "Thread-8" }, { "args": [ "SJP:", "__authentificate_process_feedback__" ], "asctime": "2019-12-27 17:11:01,863", "created": 1577463061.863178, "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": 863.178014755249, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 2056.2310218811035, "thread": 139992066344704, "threadName": "Thread-8" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:01,863", "created": 1577463061.863331, "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": 863.3310794830322, "msg": "%s Got positive authentification feedback", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 2056.3840866088867, "thread": 139992066344704, "threadName": "Thread-8" }, { "args": [ "SJP:", 0, 10, 45054, "{u'test': u'test'}" ], "asctime": "2019-12-27 17:11:01,956", "created": 1577463061.956505, "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": 956.5050601959229, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 2149.5580673217773, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:11:01,957", "created": 1577463061.957104, "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": 957.103967666626, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 2150.1569747924805, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:11:02,108", "created": 1577463062.108338, "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": 108.3381175994873, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 2301.391124725342, "thread": 139992066344704, "threadName": "Thread-9" }, { "args": [ "SJP:", "0", "10", "45054", "{u'test': u'test'}" ], "asctime": "2019-12-27 17:11:02,108", "created": 1577463062.108723, "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": 108.72292518615723, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 2301.7759323120117, "thread": 139992066344704, "threadName": "Thread-9" }, { "args": [ "SJP:", "response_data_method" ], "asctime": "2019-12-27 17:11:02,108", "created": 1577463062.10895, "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": 108.94989967346191, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 2302.0029067993164, "thread": 139992066344704, "threadName": "Thread-9" }, { "args": [ "SJP:", 5, 11, 45054, "[1, 3, u's']" ], "asctime": "2019-12-27 17:11:02,109", "created": 1577463062.109141, "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": 109.14111137390137, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 2302.194118499756, "thread": 139992066344704, "threadName": "Thread-9" }, { "args": [], "asctime": "2019-12-27 17:11:02,109", "created": 1577463062.109629, "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": 109.62891578674316, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 2302.6819229125977, "thread": 139992066344704, "threadName": "Thread-9" }, { "args": [], "asctime": "2019-12-27 17:11:02,261", "created": 1577463062.261005, "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": 261.0049247741699, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 2454.0579319000244, "thread": 139992074737408, "threadName": "Thread-10" }, { "args": [ "SJP:", "5", "11", "45054", "[1, 3, u's']" ], "asctime": "2019-12-27 17:11:02,261", "created": 1577463062.261365, "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": 261.3649368286133, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 2454.417943954468, "thread": 139992074737408, "threadName": "Thread-10" }, { "args": [ "SJP:", "Operation not permitted" ], "asctime": "2019-12-27 17:11:02,261", "created": 1577463062.261627, "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": 261.6269588470459, "msg": "%s Received message has a peculiar status: %s", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 2454.6799659729004, "thread": 139992074737408, "threadName": "Thread-10" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:02,261", "created": 1577463062.261833, "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": 261.83295249938965, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 2454.885959625244, "thread": 139992074737408, "threadName": "Thread-10" } ], "msecs": 458.80603790283203, "msg": "Send and received data by pure_json_protocol.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_normal_operation.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 2651.8590450286865, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.19697308540344238 }, { "args": [ "True", "" ], "asctime": "2019-12-27 17:11:02,459", "created": 1577463062.459649, "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": "2019-12-27 17:11:02,459", "created": 1577463062.459293, "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": 459.2928886413574, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 2652.345895767212, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Return value of authentification", "True", "" ], "asctime": "2019-12-27 17:11:02,459", "created": 1577463062.459477, "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": 459.4769477844238, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 2652.5299549102783, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 459.64908599853516, "msg": "Return value of authentification is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 2652.7020931243896, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.00017213821411132812 }, { "args": [ "True", "" ], "asctime": "2019-12-27 17:11:02,460", "created": 1577463062.460184, "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": "2019-12-27 17:11:02,459", "created": 1577463062.459895, "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": 459.89489555358887, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 2652.9479026794434, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2019-12-27 17:11:02,460", "created": 1577463062.460042, "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": 460.04199981689453, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 2653.095006942749, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 460.18409729003906, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 2653.2371044158936, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.00014209747314453125 }, { "args": [ "0", "" ], "asctime": "2019-12-27 17:11:02,460", "created": 1577463062.460685, "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": "2019-12-27 17:11:02,460", "created": 1577463062.46041, "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": 460.41011810302734, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 2653.463125228882, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Request Status (Okay) transfered via pure_json_protocol", "0", "" ], "asctime": "2019-12-27 17:11:02,460", "created": 1577463062.460548, "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": 460.54792404174805, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 2653.6009311676025, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 460.68501472473145, "msg": "Request Status (Okay) transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 2653.738021850586, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.00013709068298339844 }, { "args": [ "{u'test': u'test'}", "" ], "asctime": "2019-12-27 17:11:02,461", "created": 1577463062.461246, "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": "2019-12-27 17:11:02,460", "created": 1577463062.460917, "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": 460.91699600219727, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 2653.9700031280518, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Request Data transfered via pure_json_protocol", "{ u'test': u'test' }", "" ], "asctime": "2019-12-27 17:11:02,461", "created": 1577463062.461065, "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": 461.06505393981934, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 2654.118061065674, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 461.2460136413574, "msg": "Request Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 2654.299020767212, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.00018095970153808594 }, { "args": [ "5", "" ], "asctime": "2019-12-27 17:11:02,461", "created": 1577463062.461765, "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": "2019-12-27 17:11:02,461", "created": 1577463062.461481, "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": 461.48109436035156, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 2654.534101486206, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Response Status (Operation not permitted) transfered via pure_json_protocol", "5", "" ], "asctime": "2019-12-27 17:11:02,461", "created": 1577463062.461618, "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": 461.61794662475586, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 2654.6709537506104, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 461.7650508880615, "msg": "Response Status (Operation not permitted) transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 2654.818058013916, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.00014710426330566406 }, { "args": [ "[1, 3, u's']", "" ], "asctime": "2019-12-27 17:11:02,462", "created": 1577463062.462399, "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": "2019-12-27 17:11:02,462", "created": 1577463062.46201, "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": 462.0099067687988, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 2655.0629138946533, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Response Data transfered via pure_json_protocol", "[ 1, 3, u's' ]", "" ], "asctime": "2019-12-27 17:11:02,462", "created": 1577463062.462203, "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": 462.2030258178711, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 2655.2560329437256, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 462.3990058898926, "msg": "Response Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 2655.452013015747, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.00019598007202148438 }, { "args": [ "None", "" ], "asctime": "2019-12-27 17:11:02,563", "created": 1577463062.563473, "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": "2019-12-27 17:11:02,562", "created": 1577463062.562865, "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": 562.8650188446045, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 2755.918025970459, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:02,563", "created": 1577463062.563128, "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": 563.1279945373535, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 2756.181001663208, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:02,563", "created": 1577463062.563309, "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": 563.3089542388916, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 2756.361961364746, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 563.4729862213135, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 2756.525993347168, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.000164031982421875 }, { "args": [ "None", "" ], "asctime": "2019-12-27 17:11:02,664", "created": 1577463062.664579, "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": "2019-12-27 17:11:02,663", "created": 1577463062.663931, "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": 663.9308929443359, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 2856.9839000701904, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:02,664", "created": 1577463062.664214, "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": 664.2138957977295, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 2857.266902923584, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:02,664", "created": 1577463062.664398, "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": 664.3979549407959, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 2857.4509620666504, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 664.578914642334, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 2857.6319217681885, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.00018095970153808594 } ], "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 1.4118268489837646, "time_finished": "2019-12-27 17:11:02,664", "time_start": "2019-12-27 17:11:01,252" }, "socket_protocol.pure_json_protocol: Send and receive check.": { "args": null, "asctime": "2019-12-27 17:11:00,544", "created": 1577463060.544169, "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": 544.1689491271973, "msg": "socket_protocol.pure_json_protocol: Send and receive check.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 737.2219562530518, "testcaseLogger": [ { "args": [], "asctime": "2019-12-27 17:11:01,047", "created": 1577463061.047691, "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": "2019-12-27 17:11:00,544", "created": 1577463060.544403, "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": 544.403076171875, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 737.4560832977295, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:00,544", "created": 1577463060.544687, "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": 544.687032699585, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 737.7400398254395, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:00,544", "created": 1577463060.544836, "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": 544.8360443115234, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 737.8890514373779, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:00,545", "created": 1577463060.545386, "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": 545.3860759735107, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 738.4390830993652, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "SJP:", 0, 10, 45054, "{u'test': u'test'}" ], "asctime": "2019-12-27 17:11:00,545", "created": 1577463060.545584, "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": 545.583963394165, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 738.6369705200195, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:11:00,545", "created": 1577463060.545972, "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": 545.9721088409424, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 739.0251159667969, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:11:00,696", "created": 1577463060.696995, "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": 696.9950199127197, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 890.0480270385742, "thread": 139992066344704, "threadName": "Thread-3" }, { "args": [ "SJP:", "0", "10", "45054", "{u'test': u'test'}" ], "asctime": "2019-12-27 17:11:00,697", "created": 1577463060.697377, "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": 697.3769664764404, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 890.4299736022949, "thread": 139992066344704, "threadName": "Thread-3" }, { "args": [ "SJP:", "response_data_method" ], "asctime": "2019-12-27 17:11:00,697", "created": 1577463060.697594, "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": 697.5939273834229, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 890.6469345092773, "thread": 139992066344704, "threadName": "Thread-3" }, { "args": [ "SJP:", 5, 11, 45054, "[1, 3, u's']" ], "asctime": "2019-12-27 17:11:00,697", "created": 1577463060.697818, "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": 697.8180408477783, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 890.8710479736328, "thread": 139992066344704, "threadName": "Thread-3" }, { "args": [], "asctime": "2019-12-27 17:11:00,698", "created": 1577463060.69834, "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": 698.3399391174316, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 891.3929462432861, "thread": 139992066344704, "threadName": "Thread-3" }, { "args": [], "asctime": "2019-12-27 17:11:00,849", "created": 1577463060.84956, "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": 849.560022354126, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 1042.6130294799805, "thread": 139992074737408, "threadName": "Thread-4" }, { "args": [ "SJP:", "5", "11", "45054", "[1, 3, u's']" ], "asctime": "2019-12-27 17:11:00,849", "created": 1577463060.849948, "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": 849.9479293823242, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 1043.0009365081787, "thread": 139992074737408, "threadName": "Thread-4" }, { "args": [ "SJP:", "Operation not permitted" ], "asctime": "2019-12-27 17:11:00,850", "created": 1577463060.850257, "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": 850.2569198608398, "msg": "%s Received message has a peculiar status: %s", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 1043.3099269866943, "thread": 139992074737408, "threadName": "Thread-4" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:00,850", "created": 1577463060.850463, "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": 850.4629135131836, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 1043.515920639038, "thread": 139992074737408, "threadName": "Thread-4" } ], "msecs": 47.69110679626465, "msg": "Send and received data by pure_json_protocol.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_normal_operation.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 1240.7441139221191, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.19722819328308105 }, { "args": [ "True", "" ], "asctime": "2019-12-27 17:11:01,048", "created": 1577463061.048409, "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": "2019-12-27 17:11:01,048", "created": 1577463061.048064, "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": 48.06399345397949, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 1241.117000579834, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2019-12-27 17:11:01,048", "created": 1577463061.048247, "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": 48.24709892272949, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 1241.300106048584, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 48.40898513793945, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 1241.461992263794, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.00016188621520996094 }, { "args": [ "0", "" ], "asctime": "2019-12-27 17:11:01,048", "created": 1577463061.048932, "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": "2019-12-27 17:11:01,048", "created": 1577463061.048644, "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": 48.644065856933594, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 1241.697072982788, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Request Status (Okay) transfered via pure_json_protocol", "0", "" ], "asctime": "2019-12-27 17:11:01,048", "created": 1577463061.048789, "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": 48.789024353027344, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 1241.8420314788818, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 48.93207550048828, "msg": "Request Status (Okay) transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 1241.9850826263428, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.0001430511474609375 }, { "args": [ "{u'test': u'test'}", "" ], "asctime": "2019-12-27 17:11:01,049", "created": 1577463061.049485, "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": "2019-12-27 17:11:01,049", "created": 1577463061.049163, "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": 49.163103103637695, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 1242.2161102294922, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Request Data transfered via pure_json_protocol", "{ u'test': u'test' }", "" ], "asctime": "2019-12-27 17:11:01,049", "created": 1577463061.049308, "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": 49.308061599731445, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 1242.361068725586, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 49.484968185424805, "msg": "Request Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 1242.5379753112793, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.00017690658569335938 }, { "args": [ "5", "" ], "asctime": "2019-12-27 17:11:01,050", "created": 1577463061.050001, "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": "2019-12-27 17:11:01,049", "created": 1577463061.049725, "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": 49.72505569458008, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 1242.7780628204346, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Response Status (Operation not permitted) transfered via pure_json_protocol", "5", "" ], "asctime": "2019-12-27 17:11:01,049", "created": 1577463061.049864, "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": 49.86405372619629, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 1242.9170608520508, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 50.000905990600586, "msg": "Response Status (Operation not permitted) transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 1243.053913116455, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.00013685226440429688 }, { "args": [ "[1, 3, u's']", "" ], "asctime": "2019-12-27 17:11:01,050", "created": 1577463061.050641, "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": "2019-12-27 17:11:01,050", "created": 1577463061.050288, "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": 50.28796195983887, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 1243.3409690856934, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Response Data transfered via pure_json_protocol", "[ 1, 3, u's' ]", "" ], "asctime": "2019-12-27 17:11:01,050", "created": 1577463061.050441, "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": 50.44102668762207, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 1243.4940338134766, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 50.64105987548828, "msg": "Response Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 1243.6940670013428, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.00020003318786621094 }, { "args": [ "None", "" ], "asctime": "2019-12-27 17:11:01,151", "created": 1577463061.15135, "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": "2019-12-27 17:11:01,151", "created": 1577463061.151083, "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": 151.08299255371094, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 1344.1359996795654, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:01,151", "created": 1577463061.15123, "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": 151.2300968170166, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 1344.283103942871, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:01,151", "created": 1577463061.151291, "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": 151.2908935546875, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 1344.343900680542, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 151.3500213623047, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 1344.4030284881592, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 5.91278076171875e-05 }, { "args": [ "None", "" ], "asctime": "2019-12-27 17:11:01,252", "created": 1577463061.252273, "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": "2019-12-27 17:11:01,251", "created": 1577463061.251686, "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": 251.68609619140625, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 1444.7391033172607, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:01,251", "created": 1577463061.251961, "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": 251.96099281311035, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 1445.0139999389648, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:01,252", "created": 1577463061.252125, "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": 252.12502479553223, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 1445.1780319213867, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 252.2730827331543, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 1445.3260898590088, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.0001480579376220703 } ], "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.708104133605957, "time_finished": "2019-12-27 17:11:01,252", "time_start": "2019-12-27 17:11:00,544" }, "socket_protocol.pure_json_protocol: Timeout measurement for authentification and send method.": { "args": null, "asctime": "2019-12-27 17:11:07,222", "created": 1577463067.222427, "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": 222.4268913269043, "msg": "socket_protocol.pure_json_protocol: Timeout measurement for authentification and send method.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 7415.479898452759, "testcaseLogger": [ { "args": [ "0.20129704475402832", "0.2", "0.22000000000000003", "" ], "asctime": "2019-12-27 17:11:07,425", "created": 1577463067.425643, "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.20129704475402832 in [0.2 ... 0.22000000000000003] and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:07,222", "created": 1577463067.222746, "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": 222.7458953857422, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 7415.798902511597, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:07,223", "created": 1577463067.22311, "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": 223.10996055603027, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 7416.162967681885, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:07,223", "created": 1577463067.223353, "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": 223.35290908813477, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 7416.405916213989, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:07,223", "created": 1577463067.223666, "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": 223.66595268249512, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 7416.71895980835, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:07,223", "created": 1577463067.223848, "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": 223.8481044769287, "msg": "%s Requesting seed for authentification", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 7416.901111602783, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "SJP:", 0, 1, 0, "None" ], "asctime": "2019-12-27 17:11:07,224", "created": 1577463067.224005, "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": 224.00498390197754, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 7417.057991027832, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:11:07,224", "created": 1577463067.224576, "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": 224.57599639892578, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 7417.62900352478, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Timeout for authentification", "0.20129704475402832", "" ], "asctime": "2019-12-27 17:11:07,425", "created": 1577463067.425192, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Timeout for authentification): 0.20129704475402832 ()", "module": "test", "msecs": 425.19211769104004, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 7618.2451248168945, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Timeout for authentification", "0.2", "0.22000000000000003" ], "asctime": "2019-12-27 17:11:07,425", "created": 1577463067.425447, "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": 425.4469871520996, "msg": "Expectation (%s): %s <= result <= %s", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 7618.499994277954, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 425.6429672241211, "msg": "Timeout for authentification is correct (Content %s in [%s ... %s] and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 7618.695974349976, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.00019598007202148438 }, { "args": [ "0.5018231868743896", "0.5", "0.55", "" ], "asctime": "2019-12-27 17:11:07,928", "created": 1577463067.928405, "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.5018231868743896 in [0.5 ... 0.55] and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:07,426", "created": 1577463067.42604, "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": 426.0399341583252, "msg": "%s Requesting seed for authentification", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 7619.09294128418, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "SJP:", 0, 1, 0, "None" ], "asctime": "2019-12-27 17:11:07,426", "created": 1577463067.426274, "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": 426.27406120300293, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 7619.327068328857, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:11:07,426", "created": 1577463067.426713, "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": 426.7129898071289, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 7619.765996932983, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Timeout for authentification", "0.5018231868743896", "" ], "asctime": "2019-12-27 17:11:07,927", "created": 1577463067.927918, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Timeout for authentification): 0.5018231868743896 ()", "module": "test", "msecs": 927.9179573059082, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 8120.970964431763, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Timeout for authentification", "0.5", "0.55" ], "asctime": "2019-12-27 17:11:07,928", "created": 1577463067.928208, "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": 928.2081127166748, "msg": "Expectation (%s): %s <= result <= %s", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 8121.261119842529, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 928.4050464630127, "msg": "Timeout for authentification is correct (Content %s in [%s ... %s] and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 8121.458053588867, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.00019693374633789062 }, { "args": [ "0.20068693161010742", "0.2", "0.22000000000000003", "" ], "asctime": "2019-12-27 17:11:08,129", "created": 1577463068.129799, "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.20068693161010742 in [0.2 ... 0.22000000000000003] and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "SJP:", "0.2", "30", "0" ], "asctime": "2019-12-27 17:11:08,129", "created": 1577463068.129139, "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": 129.13894653320312, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 8322.191953659058, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Timeout for send method", "0.20068693161010742", "" ], "asctime": "2019-12-27 17:11:08,129", "created": 1577463068.129403, "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.20068693161010742 ()", "module": "test", "msecs": 129.40311431884766, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 8322.456121444702, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Timeout for send method", "0.2", "0.22000000000000003" ], "asctime": "2019-12-27 17:11:08,129", "created": 1577463068.129587, "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": 129.58693504333496, "msg": "Expectation (%s): %s <= result <= %s", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 8322.63994216919, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 129.79888916015625, "msg": "Timeout for send method is correct (Content %s in [%s ... %s] and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 8322.85189628601, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.00021195411682128906 }, { "args": [ "0.5013918876647949", "0.5", "0.55", "" ], "asctime": "2019-12-27 17:11:08,631", "created": 1577463068.631828, "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.5013918876647949 in [0.5 ... 0.55] and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "SJP:", "0.5", "30", "0" ], "asctime": "2019-12-27 17:11:08,631", "created": 1577463068.631157, "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": 631.1569213867188, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 8824.209928512573, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Timeout for send method", "0.5013918876647949", "" ], "asctime": "2019-12-27 17:11:08,631", "created": 1577463068.631468, "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.5013918876647949 ()", "module": "test", "msecs": 631.4680576324463, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 8824.5210647583, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Timeout for send method", "0.5", "0.55" ], "asctime": "2019-12-27 17:11:08,631", "created": 1577463068.631654, "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": 631.6540241241455, "msg": "Expectation (%s): %s <= result <= %s", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 8824.70703125, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 631.8280696868896, "msg": "Timeout for send method is correct (Content %s in [%s ... %s] and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 8824.881076812744, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.00017404556274414062 } ], "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 1.4094011783599854, "time_finished": "2019-12-27 17:11:08,631", "time_start": "2019-12-27 17:11:07,222" }, "socket_protocol.pure_json_protocol: Wildcard Callback registration for data_id.": { "args": null, "asctime": "2019-12-27 17:11:04,086", "created": 1577463064.086192, "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": 86.19189262390137, "msg": "socket_protocol.pure_json_protocol: Wildcard Callback registration for data_id.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4279.244899749756, "testcaseLogger": [ { "args": [], "asctime": "2019-12-27 17:11:04,589", "created": 1577463064.589812, "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": "2019-12-27 17:11:04,086", "created": 1577463064.086507, "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": 86.50708198547363, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4279.560089111328, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:04,086", "created": 1577463064.086865, "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": 86.86494827270508, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4279.91795539856, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:04,087", "created": 1577463064.087066, "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": 87.0659351348877, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4280.118942260742, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:04,087", "created": 1577463064.08738, "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": 87.37993240356445, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4280.432939529419, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "SJP:", 0, 10, 48879, "{u'test': u'test'}" ], "asctime": "2019-12-27 17:11:04,087", "created": 1577463064.087613, "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": 87.61310577392578, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4280.66611289978, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:11:04,088", "created": 1577463064.088105, "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": 88.1049633026123, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4281.157970428467, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:11:04,239", "created": 1577463064.239302, "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": 239.3019199371338, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4432.354927062988, "thread": 139992074737408, "threadName": "Thread-15" }, { "args": [ "SJP:", "0", "10", "48879", "{u'test': u'test'}" ], "asctime": "2019-12-27 17:11:04,239", "created": 1577463064.239744, "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": 239.7439479827881, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4432.796955108643, "thread": 139992074737408, "threadName": "Thread-15" }, { "args": [ "SJP:", "response_data_method" ], "asctime": "2019-12-27 17:11:04,239", "created": 1577463064.239987, "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": 239.98689651489258, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4433.039903640747, "thread": 139992074737408, "threadName": "Thread-15" }, { "args": [ "SJP:", 5, 11, 48879, "[1, 3, u's']" ], "asctime": "2019-12-27 17:11:04,240", "created": 1577463064.240194, "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": 240.19408226013184, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4433.247089385986, "thread": 139992074737408, "threadName": "Thread-15" }, { "args": [], "asctime": "2019-12-27 17:11:04,240", "created": 1577463064.240699, "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": 240.69905281066895, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4433.752059936523, "thread": 139992074737408, "threadName": "Thread-15" }, { "args": [], "asctime": "2019-12-27 17:11:04,391", "created": 1577463064.391764, "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": 391.76392555236816, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4584.816932678223, "thread": 139992066344704, "threadName": "Thread-16" }, { "args": [ "SJP:", "5", "11", "48879", "[1, 3, u's']" ], "asctime": "2019-12-27 17:11:04,392", "created": 1577463064.392152, "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": 392.1520709991455, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4585.205078125, "thread": 139992066344704, "threadName": "Thread-16" }, { "args": [ "SJP:", "Operation not permitted" ], "asctime": "2019-12-27 17:11:04,392", "created": 1577463064.39242, "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": 392.42005348205566, "msg": "%s Received message has a peculiar status: %s", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4585.47306060791, "thread": 139992066344704, "threadName": "Thread-16" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:04,392", "created": 1577463064.392632, "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": 392.63200759887695, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4585.685014724731, "thread": 139992066344704, "threadName": "Thread-16" } ], "msecs": 589.8120403289795, "msg": "Send and received data by pure_json_protocol. Wildcard callback registerd for .", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_normal_operation.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4782.865047454834, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.19718003273010254 }, { "args": [ "True", "" ], "asctime": "2019-12-27 17:11:04,590", "created": 1577463064.590601, "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": "2019-12-27 17:11:04,590", "created": 1577463064.590253, "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": 590.2531147003174, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4783.306121826172, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2019-12-27 17:11:04,590", "created": 1577463064.590439, "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": 590.4390811920166, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4783.492088317871, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 590.6009674072266, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4783.653974533081, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.00016188621520996094 }, { "args": [ "0", "" ], "asctime": "2019-12-27 17:11:04,591", "created": 1577463064.591154, "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": "2019-12-27 17:11:04,590", "created": 1577463064.590861, "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": 590.8610820770264, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4783.914089202881, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Request Status (Okay) transfered via pure_json_protocol", "0", "" ], "asctime": "2019-12-27 17:11:04,591", "created": 1577463064.591008, "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": 591.0079479217529, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4784.060955047607, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 591.1540985107422, "msg": "Request Status (Okay) transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4784.207105636597, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.0001461505889892578 }, { "args": [ "{u'test': u'test'}", "" ], "asctime": "2019-12-27 17:11:04,591", "created": 1577463064.591718, "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": "2019-12-27 17:11:04,591", "created": 1577463064.591392, "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": 591.3920402526855, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4784.44504737854, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Request Data transfered via pure_json_protocol", "{ u'test': u'test' }", "" ], "asctime": "2019-12-27 17:11:04,591", "created": 1577463064.591541, "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": 591.541051864624, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4784.5940589904785, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 591.7179584503174, "msg": "Request Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4784.770965576172, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.00017690658569335938 }, { "args": [ "5", "" ], "asctime": "2019-12-27 17:11:04,592", "created": 1577463064.592227, "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": "2019-12-27 17:11:04,591", "created": 1577463064.591953, "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": 591.9530391693115, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4785.006046295166, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Response Status (Operation not permitted) transfered via pure_json_protocol", "5", "" ], "asctime": "2019-12-27 17:11:04,592", "created": 1577463064.59209, "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": 592.0898914337158, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4785.14289855957, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 592.2269821166992, "msg": "Response Status (Operation not permitted) transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4785.279989242554, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.00013709068298339844 }, { "args": [ "[1, 3, u's']", "" ], "asctime": "2019-12-27 17:11:04,592", "created": 1577463064.592816, "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": "2019-12-27 17:11:04,592", "created": 1577463064.592466, "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": 592.4661159515381, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4785.519123077393, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Response Data transfered via pure_json_protocol", "[ 1, 3, u's' ]", "" ], "asctime": "2019-12-27 17:11:04,592", "created": 1577463064.592614, "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": 592.613935470581, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4785.666942596436, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 592.8161144256592, "msg": "Response Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4785.869121551514, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.000202178955078125 }, { "args": [ "None", "" ], "asctime": "2019-12-27 17:11:04,693", "created": 1577463064.693889, "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": "2019-12-27 17:11:04,693", "created": 1577463064.69328, "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": 693.2799816131592, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4886.332988739014, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2019-12-27 17:11:04,693", "created": 1577463064.693543, "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": 693.5429573059082, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4886.595964431763, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2019-12-27 17:11:04,693", "created": 1577463064.693725, "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": 693.7251091003418, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4886.778116226196, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 693.8889026641846, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4886.941909790039, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.00016379356384277344 }, { "args": [ "None", "" ], "asctime": "2019-12-27 17:11:04,795", "created": 1577463064.79514, "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": "2019-12-27 17:11:04,794", "created": 1577463064.79443, "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": 794.4300174713135, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4987.483024597168, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2019-12-27 17:11:04,794", "created": 1577463064.794762, "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": 794.7618961334229, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4987.814903259277, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2019-12-27 17:11:04,794", "created": 1577463064.794966, "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": 794.9659824371338, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4988.018989562988, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 795.1400279998779, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4988.193035125732, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.00017404556274414062 } ], "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.7089481353759766, "time_finished": "2019-12-27 17:11:04,795", "time_start": "2019-12-27 17:11:04,086" }, "socket_protocol.pure_json_protocol: Wildcard Callback registration for service_id and data_id.": { "args": null, "asctime": "2019-12-27 17:11:02,665", "created": 1577463062.665067, "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": 665.0669574737549, "msg": "socket_protocol.pure_json_protocol: Wildcard Callback registration for service_id and data_id.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 2858.1199645996094, "testcaseLogger": [ { "args": [], "asctime": "2019-12-27 17:11:03,168", "created": 1577463063.168789, "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": "2019-12-27 17:11:02,665", "created": 1577463062.66537, "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": 665.369987487793, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 2858.4229946136475, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:02,665", "created": 1577463062.665738, "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": 665.7381057739258, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 2858.7911128997803, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:02,665", "created": 1577463062.665938, "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": 665.9379005432129, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 2858.9909076690674, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:02,666", "created": 1577463062.666311, "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": 666.3110256195068, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 2859.3640327453613, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "SJP:", 0, 10, 48879, "{u'test': u'test'}" ], "asctime": "2019-12-27 17:11:02,666", "created": 1577463062.666541, "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": 666.5410995483398, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 2859.5941066741943, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:11:02,667", "created": 1577463062.667058, "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": 667.057991027832, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 2860.1109981536865, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:11:02,818", "created": 1577463062.818125, "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": 818.1250095367432, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 3011.1780166625977, "thread": 139992074737408, "threadName": "Thread-11" }, { "args": [ "SJP:", "0", "10", "48879", "{u'test': u'test'}" ], "asctime": "2019-12-27 17:11:02,818", "created": 1577463062.818495, "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": 818.4950351715088, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 3011.5480422973633, "thread": 139992074737408, "threadName": "Thread-11" }, { "args": [ "SJP:", "response_data_method" ], "asctime": "2019-12-27 17:11:02,818", "created": 1577463062.818769, "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": 818.7689781188965, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 3011.821985244751, "thread": 139992074737408, "threadName": "Thread-11" }, { "args": [ "SJP:", 5, 11, 48879, "[1, 3, u's']" ], "asctime": "2019-12-27 17:11:02,818", "created": 1577463062.818961, "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": 818.9609050750732, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 3012.0139122009277, "thread": 139992074737408, "threadName": "Thread-11" }, { "args": [], "asctime": "2019-12-27 17:11:02,819", "created": 1577463062.819454, "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": 819.4539546966553, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 3012.5069618225098, "thread": 139992074737408, "threadName": "Thread-11" }, { "args": [], "asctime": "2019-12-27 17:11:02,970", "created": 1577463062.970555, "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": 970.5550670623779, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 3163.6080741882324, "thread": 139992066344704, "threadName": "Thread-12" }, { "args": [ "SJP:", "5", "11", "48879", "[1, 3, u's']" ], "asctime": "2019-12-27 17:11:02,971", "created": 1577463062.971005, "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": 971.0049629211426, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 3164.057970046997, "thread": 139992066344704, "threadName": "Thread-12" }, { "args": [ "SJP:", "Operation not permitted" ], "asctime": "2019-12-27 17:11:02,971", "created": 1577463062.971298, "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": 971.2979793548584, "msg": "%s Received message has a peculiar status: %s", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 3164.350986480713, "thread": 139992066344704, "threadName": "Thread-12" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:02,971", "created": 1577463062.971523, "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": 971.5230464935303, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 3164.5760536193848, "thread": 139992066344704, "threadName": "Thread-12" } ], "msecs": 168.78890991210938, "msg": "Send and received data by pure_json_protocol. Wildcard callback registerd for service_id and data_id.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_normal_operation.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 3361.841917037964, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.1972658634185791 }, { "args": [ "True", "" ], "asctime": "2019-12-27 17:11:03,169", "created": 1577463063.169542, "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": "2019-12-27 17:11:03,169", "created": 1577463063.169193, "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": 169.19302940368652, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 3362.246036529541, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2019-12-27 17:11:03,169", "created": 1577463063.169377, "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": 169.37708854675293, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 3362.4300956726074, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 169.5420742034912, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 3362.5950813293457, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.00016498565673828125 }, { "args": [ "0", "" ], "asctime": "2019-12-27 17:11:03,170", "created": 1577463063.170124, "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": "2019-12-27 17:11:03,169", "created": 1577463063.169785, "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": 169.7850227355957, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 3362.83802986145, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Request Status (Okay) transfered via pure_json_protocol", "0", "" ], "asctime": "2019-12-27 17:11:03,169", "created": 1577463063.169933, "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": 169.93308067321777, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 3362.9860877990723, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 170.12405395507812, "msg": "Request Status (Okay) transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 3363.1770610809326, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.00019097328186035156 }, { "args": [ "{u'test': u'test'}", "" ], "asctime": "2019-12-27 17:11:03,170", "created": 1577463063.170711, "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": "2019-12-27 17:11:03,170", "created": 1577463063.170378, "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": 170.3779697418213, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 3363.430976867676, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Request Data transfered via pure_json_protocol", "{ u'test': u'test' }", "" ], "asctime": "2019-12-27 17:11:03,170", "created": 1577463063.170529, "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": 170.52888870239258, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 3363.581895828247, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 170.71104049682617, "msg": "Request Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 3363.7640476226807, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.00018215179443359375 }, { "args": [ "5", "" ], "asctime": "2019-12-27 17:11:03,171", "created": 1577463063.171231, "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": "2019-12-27 17:11:03,170", "created": 1577463063.170948, "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": 170.94802856445312, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 3364.0010356903076, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Response Status (Operation not permitted) transfered via pure_json_protocol", "5", "" ], "asctime": "2019-12-27 17:11:03,171", "created": 1577463063.171092, "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": 171.09203338623047, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 3364.145040512085, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 171.23103141784668, "msg": "Response Status (Operation not permitted) transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 3364.284038543701, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.00013899803161621094 }, { "args": [ "[1, 3, u's']", "" ], "asctime": "2019-12-27 17:11:03,171", "created": 1577463063.171829, "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": "2019-12-27 17:11:03,171", "created": 1577463063.171475, "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": 171.47493362426758, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 3364.527940750122, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Response Data transfered via pure_json_protocol", "[ 1, 3, u's' ]", "" ], "asctime": "2019-12-27 17:11:03,171", "created": 1577463063.171626, "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": 171.62609100341797, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 3364.6790981292725, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 171.8289852142334, "msg": "Response Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 3364.881992340088, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.0002028942108154297 }, { "args": [ "None", "" ], "asctime": "2019-12-27 17:11:03,272", "created": 1577463063.272919, "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": "2019-12-27 17:11:03,272", "created": 1577463063.272289, "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": 272.2890377044678, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 3465.3420448303223, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2019-12-27 17:11:03,272", "created": 1577463063.272553, "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": 272.5529670715332, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 3465.6059741973877, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2019-12-27 17:11:03,272", "created": 1577463063.272735, "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": 272.7351188659668, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 3465.7881259918213, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 272.9189395904541, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 3465.9719467163086, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.0001838207244873047 }, { "args": [ "None", "" ], "asctime": "2019-12-27 17:11:03,374", "created": 1577463063.374034, "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": "2019-12-27 17:11:03,373", "created": 1577463063.373396, "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": 373.3959197998047, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 3566.448926925659, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2019-12-27 17:11:03,373", "created": 1577463063.373659, "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": 373.6588954925537, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 3566.711902618408, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2019-12-27 17:11:03,373", "created": 1577463063.373857, "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": 373.8570213317871, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 3566.9100284576416, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 374.03392791748047, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 3567.086935043335, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.00017690658569335938 } ], "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.7089669704437256, "time_finished": "2019-12-27 17:11:03,374", "time_start": "2019-12-27 17:11:02,665" }, "socket_protocol.pure_json_protocol: Wildcard Callback registration for service_id.": { "args": null, "asctime": "2019-12-27 17:11:03,374", "created": 1577463063.374553, "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": 374.55296516418457, "msg": "socket_protocol.pure_json_protocol: Wildcard Callback registration for service_id.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 3567.605972290039, "testcaseLogger": [ { "args": [], "asctime": "2019-12-27 17:11:03,880", "created": 1577463063.880473, "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": "2019-12-27 17:11:03,374", "created": 1577463063.374872, "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": 374.87196922302246, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 3567.924976348877, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:03,375", "created": 1577463063.375238, "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": 375.23794174194336, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 3568.290948867798, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:03,375", "created": 1577463063.375453, "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": 375.45299530029297, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 3568.5060024261475, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:03,375", "created": 1577463063.375765, "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": 375.7650852203369, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 3568.8180923461914, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "SJP:", 0, 10, 48879, "{u'test': u'test'}" ], "asctime": "2019-12-27 17:11:03,375", "created": 1577463063.375992, "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": 375.9920597076416, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 3569.045066833496, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:11:03,376", "created": 1577463063.37651, "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": 376.5099048614502, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 3569.5629119873047, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:11:03,530", "created": 1577463063.530733, "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": 530.7331085205078, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 3723.7861156463623, "thread": 139992066344704, "threadName": "Thread-13" }, { "args": [ "SJP:", "0", "10", "48879", "{u'test': u'test'}" ], "asctime": "2019-12-27 17:11:03,531", "created": 1577463063.531529, "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": 531.5289497375488, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 3724.5819568634033, "thread": 139992066344704, "threadName": "Thread-13" }, { "args": [ "SJP:", "response_data_method" ], "asctime": "2019-12-27 17:11:03,531", "created": 1577463063.531907, "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": 531.9070816040039, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 3724.9600887298584, "thread": 139992066344704, "threadName": "Thread-13" }, { "args": [ "SJP:", 5, 11, 48879, "[1, 3, u's']" ], "asctime": "2019-12-27 17:11:03,532", "created": 1577463063.532228, "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": 532.2279930114746, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 3725.281000137329, "thread": 139992066344704, "threadName": "Thread-13" }, { "args": [], "asctime": "2019-12-27 17:11:03,533", "created": 1577463063.533063, "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": 533.0629348754883, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 3726.115942001343, "thread": 139992066344704, "threadName": "Thread-13" }, { "args": [], "asctime": "2019-12-27 17:11:03,684", "created": 1577463063.684653, "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": 684.6530437469482, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 3877.7060508728027, "thread": 139992074737408, "threadName": "Thread-14" }, { "args": [ "SJP:", "5", "11", "48879", "[1, 3, u's']" ], "asctime": "2019-12-27 17:11:03,685", "created": 1577463063.685041, "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": 685.0409507751465, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 3878.093957901001, "thread": 139992074737408, "threadName": "Thread-14" }, { "args": [ "SJP:", "Operation not permitted" ], "asctime": "2019-12-27 17:11:03,685", "created": 1577463063.685299, "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": 685.2989196777344, "msg": "%s Received message has a peculiar status: %s", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 3878.351926803589, "thread": 139992074737408, "threadName": "Thread-14" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:03,685", "created": 1577463063.685505, "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": 685.5049133300781, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 3878.5579204559326, "thread": 139992074737408, "threadName": "Thread-14" } ], "msecs": 880.4728984832764, "msg": "Send and received data by pure_json_protocol. Wildcard callback registerd for service_id.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_normal_operation.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4073.525905609131, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.19496798515319824 }, { "args": [ "True", "" ], "asctime": "2019-12-27 17:11:03,881", "created": 1577463063.881214, "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": "2019-12-27 17:11:03,880", "created": 1577463063.880868, "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": 880.8679580688477, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4073.920965194702, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2019-12-27 17:11:03,881", "created": 1577463063.881051, "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": 881.0510635375977, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4074.104070663452, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 881.213903427124, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4074.2669105529785, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.0001628398895263672 }, { "args": [ "0", "" ], "asctime": "2019-12-27 17:11:03,881", "created": 1577463063.881748, "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": "2019-12-27 17:11:03,881", "created": 1577463063.881454, "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": 881.4539909362793, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4074.506998062134, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Request Status (Okay) transfered via pure_json_protocol", "0", "" ], "asctime": "2019-12-27 17:11:03,881", "created": 1577463063.881604, "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": 881.6039562225342, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4074.6569633483887, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 881.7479610443115, "msg": "Request Status (Okay) transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4074.800968170166, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.00014400482177734375 }, { "args": [ "{u'test': u'test'}", "" ], "asctime": "2019-12-27 17:11:03,882", "created": 1577463063.882352, "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": "2019-12-27 17:11:03,881", "created": 1577463063.881977, "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": 881.9770812988281, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4075.0300884246826, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Request Data transfered via pure_json_protocol", "{ u'test': u'test' }", "" ], "asctime": "2019-12-27 17:11:03,882", "created": 1577463063.882168, "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": 882.1680545806885, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4075.221061706543, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 882.3521137237549, "msg": "Request Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4075.4051208496094, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.00018405914306640625 }, { "args": [ "5", "" ], "asctime": "2019-12-27 17:11:03,882", "created": 1577463063.882865, "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": "2019-12-27 17:11:03,882", "created": 1577463063.882588, "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": 882.5879096984863, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4075.640916824341, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Response Status (Operation not permitted) transfered via pure_json_protocol", "5", "" ], "asctime": "2019-12-27 17:11:03,882", "created": 1577463063.882727, "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": 882.7269077301025, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4075.779914855957, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 882.8649520874023, "msg": "Response Status (Operation not permitted) transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4075.917959213257, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.0001380443572998047 }, { "args": [ "[1, 3, u's']", "" ], "asctime": "2019-12-27 17:11:03,883", "created": 1577463063.883444, "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": "2019-12-27 17:11:03,883", "created": 1577463063.8831, "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": 883.1000328063965, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4076.153039932251, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Response Data transfered via pure_json_protocol", "[ 1, 3, u's' ]", "" ], "asctime": "2019-12-27 17:11:03,883", "created": 1577463063.88325, "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": 883.2499980926514, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4076.303005218506, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 883.44407081604, "msg": "Response Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4076.4970779418945, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.00019407272338867188 }, { "args": [ "None", "" ], "asctime": "2019-12-27 17:11:03,984", "created": 1577463063.984534, "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": "2019-12-27 17:11:03,983", "created": 1577463063.983911, "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": 983.9110374450684, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4176.964044570923, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2019-12-27 17:11:03,984", "created": 1577463063.984174, "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": 984.1740131378174, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4177.227020263672, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2019-12-27 17:11:03,984", "created": 1577463063.984352, "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": 984.3521118164062, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4177.405118942261, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 984.5340251922607, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4177.587032318115, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.0001819133758544922 }, { "args": [ "None", "" ], "asctime": "2019-12-27 17:11:04,085", "created": 1577463064.085654, "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": "2019-12-27 17:11:04,085", "created": 1577463064.085014, "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": 85.01410484313965, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4278.067111968994, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2019-12-27 17:11:04,085", "created": 1577463064.085278, "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": 85.27803421020508, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4278.33104133606, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2019-12-27 17:11:04,085", "created": 1577463064.085462, "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": 85.46209335327148, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4278.515100479126, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 85.65402030944824, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 4278.707027435303, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.0001919269561767578 } ], "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.7111010551452637, "time_finished": "2019-12-27 17:11:04,085", "time_start": "2019-12-27 17:11:03,374" }, "socket_protocol.struct_json_protocol: Send and receive check (Twice for coverage of buffer initialisation).": { "args": null, "asctime": "2019-12-27 17:11:05,503", "created": 1577463065.503641, "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": 503.64089012145996, "msg": "socket_protocol.struct_json_protocol: Send and receive check (Twice for coverage of buffer initialisation).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 5696.693897247314, "testcaseLogger": [ { "args": [], "asctime": "2019-12-27 17:11:06,509", "created": 1577463066.509504, "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": "2019-12-27 17:11:05,503", "created": 1577463065.503936, "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": 503.9360523223877, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 5696.989059448242, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:05,504", "created": 1577463065.504299, "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": 504.2989253997803, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 5697.351932525635, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:05,504", "created": 1577463065.504498, "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": 504.4980049133301, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 5697.551012039185, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:05,504", "created": 1577463065.504798, "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": 504.79793548583984, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 5697.850942611694, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "SJP:", 0, 10, 45054, "{u'test': u'test'}" ], "asctime": "2019-12-27 17:11:05,505", "created": 1577463065.505023, "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": 505.0230026245117, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 5698.076009750366, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:11:05,505", "created": 1577463065.505426, "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": 505.42593002319336, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 5698.478937149048, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:11:05,656", "created": 1577463065.656316, "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": 656.3160419464111, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 5849.369049072266, "thread": 139992074737408, "threadName": "Thread-19" }, { "args": [ "SJP:", "0", "10", "45054", "{u'test': u'test'}" ], "asctime": "2019-12-27 17:11:05,656", "created": 1577463065.656752, "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": 656.7521095275879, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 5849.805116653442, "thread": 139992074737408, "threadName": "Thread-19" }, { "args": [ "SJP:", "response_data_method" ], "asctime": "2019-12-27 17:11:05,656", "created": 1577463065.656964, "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": 656.9640636444092, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 5850.017070770264, "thread": 139992074737408, "threadName": "Thread-19" }, { "args": [ "SJP:", 5, 11, 45054, "[1, 3, u's']" ], "asctime": "2019-12-27 17:11:05,657", "created": 1577463065.657164, "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": 657.1640968322754, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 5850.21710395813, "thread": 139992074737408, "threadName": "Thread-19" }, { "args": [], "asctime": "2019-12-27 17:11:05,657", "created": 1577463065.657531, "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": 657.5310230255127, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 5850.584030151367, "thread": 139992074737408, "threadName": "Thread-19" }, { "args": [], "asctime": "2019-12-27 17:11:05,808", "created": 1577463065.808494, "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": 808.4940910339355, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 6001.54709815979, "thread": 139992066344704, "threadName": "Thread-20" }, { "args": [ "SJP:", "5", "11", "45054", "[1, 3, u's']" ], "asctime": "2019-12-27 17:11:05,808", "created": 1577463065.808844, "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": 808.8440895080566, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 6001.897096633911, "thread": 139992066344704, "threadName": "Thread-20" }, { "args": [ "SJP:", "Operation not permitted" ], "asctime": "2019-12-27 17:11:05,809", "created": 1577463065.809048, "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": 809.0479373931885, "msg": "%s Received message has a peculiar status: %s", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 6002.100944519043, "thread": 139992066344704, "threadName": "Thread-20" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:05,809", "created": 1577463065.809216, "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": 809.2160224914551, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 6002.26902961731, "thread": 139992066344704, "threadName": "Thread-20" }, { "args": [ "SJP:", 0, 10, 45054, "{u'test': u'test'}" ], "asctime": "2019-12-27 17:11:06,007", "created": 1577463066.007239, "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": 7.239103317260742, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 6200.292110443115, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:11:06,007", "created": 1577463066.007794, "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": 7.793903350830078, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 6200.846910476685, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:11:06,158", "created": 1577463066.158709, "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": 158.70904922485352, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 6351.762056350708, "thread": 139992066344704, "threadName": "Thread-21" }, { "args": [ "SJP:", "0", "10", "45054", "{u'test': u'test'}" ], "asctime": "2019-12-27 17:11:06,159", "created": 1577463066.159157, "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": 159.15703773498535, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 6352.21004486084, "thread": 139992066344704, "threadName": "Thread-21" }, { "args": [ "SJP:", "response_data_method" ], "asctime": "2019-12-27 17:11:06,159", "created": 1577463066.159371, "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": 159.37089920043945, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 6352.423906326294, "thread": 139992066344704, "threadName": "Thread-21" }, { "args": [ "SJP:", 5, 11, 45054, "[1, 3, u's']" ], "asctime": "2019-12-27 17:11:06,159", "created": 1577463066.159567, "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": 159.56711769104004, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 6352.6201248168945, "thread": 139992066344704, "threadName": "Thread-21" }, { "args": [], "asctime": "2019-12-27 17:11:06,159", "created": 1577463066.159923, "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": 159.92307662963867, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 6352.976083755493, "thread": 139992066344704, "threadName": "Thread-21" }, { "args": [], "asctime": "2019-12-27 17:11:06,310", "created": 1577463066.31089, "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": 310.88995933532715, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 6503.942966461182, "thread": 139992074737408, "threadName": "Thread-22" }, { "args": [ "SJP:", "5", "11", "45054", "[1, 3, u's']" ], "asctime": "2019-12-27 17:11:06,311", "created": 1577463066.311306, "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": 311.3059997558594, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 6504.359006881714, "thread": 139992074737408, "threadName": "Thread-22" }, { "args": [ "SJP:", "Operation not permitted" ], "asctime": "2019-12-27 17:11:06,311", "created": 1577463066.311562, "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": 311.56206130981445, "msg": "%s Received message has a peculiar status: %s", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 6504.615068435669, "thread": 139992074737408, "threadName": "Thread-22" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:06,311", "created": 1577463066.311764, "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": 311.7640018463135, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 6504.817008972168, "thread": 139992074737408, "threadName": "Thread-22" } ], "msecs": 509.5040798187256, "msg": "Send and received data by struct_json_protocol.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_normal_operation.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 6702.55708694458, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.1977400779724121 }, { "args": [ "True", "" ], "asctime": "2019-12-27 17:11:06,510", "created": 1577463066.51031, "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": "2019-12-27 17:11:06,509", "created": 1577463066.509914, "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": 509.9139213562012, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 6702.966928482056, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2019-12-27 17:11:06,510", "created": 1577463066.510139, "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": 510.13898849487305, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 6703.1919956207275, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 510.30993461608887, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 6703.362941741943, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.0001709461212158203 }, { "args": [ "0", "" ], "asctime": "2019-12-27 17:11:06,510", "created": 1577463066.510866, "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": "2019-12-27 17:11:06,510", "created": 1577463066.510557, "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": 510.5569362640381, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 6703.609943389893, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Request Status (Okay) transfered via struct_json_protocol", "0", "" ], "asctime": "2019-12-27 17:11:06,510", "created": 1577463066.510714, "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": 510.714054107666, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 6703.7670612335205, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 510.8659267425537, "msg": "Request Status (Okay) transfered via struct_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 6703.918933868408, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.0001518726348876953 }, { "args": [ "{u'test': u'test'}", "" ], "asctime": "2019-12-27 17:11:06,511", "created": 1577463066.511445, "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": "2019-12-27 17:11:06,511", "created": 1577463066.511111, "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": 511.1110210418701, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 6704.164028167725, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Request Data transfered via struct_json_protocol", "{ u'test': u'test' }", "" ], "asctime": "2019-12-27 17:11:06,511", "created": 1577463066.511263, "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": 511.2628936767578, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 6704.315900802612, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 511.4450454711914, "msg": "Request Data transfered via struct_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 6704.498052597046, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.00018215179443359375 }, { "args": [ "5", "" ], "asctime": "2019-12-27 17:11:06,511", "created": 1577463066.51196, "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": "2019-12-27 17:11:06,511", "created": 1577463066.511684, "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": 511.6839408874512, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 6704.736948013306, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Response Status (Operation not permitted) transfered via struct_json_protocol", "5", "" ], "asctime": "2019-12-27 17:11:06,511", "created": 1577463066.511823, "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": 511.8229389190674, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 6704.875946044922, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 511.9600296020508, "msg": "Response Status (Operation not permitted) transfered via struct_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 6705.013036727905, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.00013709068298339844 }, { "args": [ "[1, 3, u's']", "" ], "asctime": "2019-12-27 17:11:06,512", "created": 1577463066.512549, "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": "2019-12-27 17:11:06,512", "created": 1577463066.512199, "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": 512.1989250183105, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 6705.251932144165, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Response Data transfered via struct_json_protocol", "[ 1, 3, u's' ]", "" ], "asctime": "2019-12-27 17:11:06,512", "created": 1577463066.512354, "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": 512.3538970947266, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 6705.406904220581, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 512.5489234924316, "msg": "Response Data transfered via struct_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 6705.601930618286, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.00019502639770507812 }, { "args": [ "None", "" ], "asctime": "2019-12-27 17:11:06,613", "created": 1577463066.613735, "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": "2019-12-27 17:11:06,613", "created": 1577463066.613045, "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": 613.0449771881104, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 6806.097984313965, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for struct_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:06,613", "created": 1577463066.613362, "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": 613.3620738983154, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 6806.41508102417, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for struct_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:06,613", "created": 1577463066.613544, "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": 613.5439872741699, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 6806.596994400024, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 613.7349605560303, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 6806.787967681885, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.00019097328186035156 }, { "args": [ "None", "" ], "asctime": "2019-12-27 17:11:06,714", "created": 1577463066.714846, "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": "2019-12-27 17:11:06,714", "created": 1577463066.714237, "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": 714.2369747161865, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 6907.289981842041, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for struct_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:06,714", "created": 1577463066.714501, "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": 714.500904083252, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 6907.553911209106, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for struct_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:06,714", "created": 1577463066.714681, "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": 714.6809101104736, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 6907.733917236328, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 714.8458957672119, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 6907.898902893066, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.00016498565673828125 } ], "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 1.211205005645752, "time_finished": "2019-12-27 17:11:06,714", "time_start": "2019-12-27 17:11:05,503" }, "socket_protocol.struct_json_protocol: Send and receive check.": { "args": null, "asctime": "2019-12-27 17:10:59,836", "created": 1577463059.836851, "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": 836.8508815765381, "msg": "socket_protocol.struct_json_protocol: Send and receive check.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 29.903888702392578, "testcaseLogger": [ { "args": [], "asctime": "2019-12-27 17:11:00,338", "created": 1577463060.338729, "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": "2019-12-27 17:10:59,837", "created": 1577463059.837042, "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": 837.0420932769775, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 30.09510040283203, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:10:59,837", "created": 1577463059.837199, "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": 837.1989727020264, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 30.25197982788086, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:10:59,837", "created": 1577463059.837259, "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": 837.25905418396, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 30.312061309814453, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:10:59,837", "created": 1577463059.837341, "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": 837.3410701751709, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 30.39407730102539, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "SJP:", 0, 10, 45054, "{u'test': u'test'}" ], "asctime": "2019-12-27 17:10:59,837", "created": 1577463059.837405, "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": 837.4049663543701, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 30.45797348022461, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:10:59,837", "created": 1577463059.837518, "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": 837.5179767608643, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 30.57098388671875, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:10:59,988", "created": 1577463059.98823, "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": 988.2299900054932, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 181.28299713134766, "thread": 139992074737408, "threadName": "Thread-1" }, { "args": [ "SJP:", "0", "10", "45054", "{u'test': u'test'}" ], "asctime": "2019-12-27 17:10:59,988", "created": 1577463059.98876, "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": 988.7599945068359, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 181.81300163269043, "thread": 139992074737408, "threadName": "Thread-1" }, { "args": [ "SJP:", "response_data_method" ], "asctime": "2019-12-27 17:10:59,989", "created": 1577463059.989004, "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": 989.0038967132568, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 182.05690383911133, "thread": 139992074737408, "threadName": "Thread-1" }, { "args": [ "SJP:", 5, 11, 45054, "[1, 3, u's']" ], "asctime": "2019-12-27 17:10:59,989", "created": 1577463059.98922, "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": 989.2199039459229, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 182.27291107177734, "thread": 139992074737408, "threadName": "Thread-1" }, { "args": [], "asctime": "2019-12-27 17:10:59,989", "created": 1577463059.989629, "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": 989.6290302276611, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 182.68203735351562, "thread": 139992074737408, "threadName": "Thread-1" }, { "args": [], "asctime": "2019-12-27 17:11:00,140", "created": 1577463060.140833, "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": 140.83290100097656, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 333.88590812683105, "thread": 139992066344704, "threadName": "Thread-2" }, { "args": [ "SJP:", "5", "11", "45054", "[1, 3, u's']" ], "asctime": "2019-12-27 17:11:00,141", "created": 1577463060.141293, "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": 141.29304885864258, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 334.34605598449707, "thread": 139992066344704, "threadName": "Thread-2" }, { "args": [ "SJP:", "Operation not permitted" ], "asctime": "2019-12-27 17:11:00,141", "created": 1577463060.14155, "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": 141.55006408691406, "msg": "%s Received message has a peculiar status: %s", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 334.60307121276855, "thread": 139992066344704, "threadName": "Thread-2" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:00,141", "created": 1577463060.141762, "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": 141.76201820373535, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 334.81502532958984, "thread": 139992066344704, "threadName": "Thread-2" } ], "msecs": 338.7289047241211, "msg": "Send and received data by struct_json_protocol.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_normal_operation.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 531.7819118499756, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.19696688652038574 }, { "args": [ "True", "" ], "asctime": "2019-12-27 17:11:00,339", "created": 1577463060.339462, "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": "2019-12-27 17:11:00,339", "created": 1577463060.339114, "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": 339.1139507293701, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 532.1669578552246, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2019-12-27 17:11:00,339", "created": 1577463060.339296, "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": 339.2961025238037, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 532.3491096496582, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 339.4620418548584, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 532.5150489807129, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.0001659393310546875 }, { "args": [ "0", "" ], "asctime": "2019-12-27 17:11:00,340", "created": 1577463060.340006, "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": "2019-12-27 17:11:00,339", "created": 1577463060.339697, "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": 339.69688415527344, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 532.7498912811279, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Request Status (Okay) transfered via struct_json_protocol", "0", "" ], "asctime": "2019-12-27 17:11:00,339", "created": 1577463060.33986, "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": 339.8599624633789, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 532.9129695892334, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 340.00611305236816, "msg": "Request Status (Okay) transfered via struct_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 533.0591201782227, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.0001461505889892578 }, { "args": [ "{u'test': u'test'}", "" ], "asctime": "2019-12-27 17:11:00,340", "created": 1577463060.340568, "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": "2019-12-27 17:11:00,340", "created": 1577463060.34024, "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": 340.2400016784668, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 533.2930088043213, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Request Data transfered via struct_json_protocol", "{ u'test': u'test' }", "" ], "asctime": "2019-12-27 17:11:00,340", "created": 1577463060.340387, "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": 340.38710594177246, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 533.440113067627, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 340.56806564331055, "msg": "Request Data transfered via struct_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 533.621072769165, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.00018095970153808594 }, { "args": [ "5", "" ], "asctime": "2019-12-27 17:11:00,341", "created": 1577463060.341108, "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": "2019-12-27 17:11:00,340", "created": 1577463060.340825, "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": 340.82508087158203, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 533.8780879974365, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Response Status (Operation not permitted) transfered via struct_json_protocol", "5", "" ], "asctime": "2019-12-27 17:11:00,340", "created": 1577463060.340966, "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": 340.96598625183105, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 534.0189933776855, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 341.1080837249756, "msg": "Response Status (Operation not permitted) transfered via struct_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 534.1610908508301, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.00014209747314453125 }, { "args": [ "[1, 3, u's']", "" ], "asctime": "2019-12-27 17:11:00,341", "created": 1577463060.341696, "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": "2019-12-27 17:11:00,341", "created": 1577463060.341349, "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": 341.34888648986816, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 534.4018936157227, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Response Data transfered via struct_json_protocol", "[ 1, 3, u's' ]", "" ], "asctime": "2019-12-27 17:11:00,341", "created": 1577463060.3415, "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": 341.50004386901855, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 534.553050994873, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 341.69602394104004, "msg": "Response Data transfered via struct_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 534.7490310668945, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.00019598007202148438 }, { "args": [ "None", "" ], "asctime": "2019-12-27 17:11:00,442", "created": 1577463060.442814, "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": "2019-12-27 17:11:00,442", "created": 1577463060.442187, "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": 442.1870708465576, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 635.2400779724121, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for struct_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:00,442", "created": 1577463060.442465, "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": 442.46506690979004, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 635.5180740356445, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for struct_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:00,442", "created": 1577463060.442649, "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": 442.64888763427734, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 635.7018947601318, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 442.8141117095947, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 635.8671188354492, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.0001652240753173828 }, { "args": [ "None", "" ], "asctime": "2019-12-27 17:11:00,543", "created": 1577463060.543808, "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": "2019-12-27 17:11:00,543", "created": 1577463060.543288, "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": 543.287992477417, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 736.3409996032715, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for struct_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:00,543", "created": 1577463060.543548, "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": 543.5481071472168, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 736.6011142730713, "thread": 139992133707584, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for struct_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:00,543", "created": 1577463060.543685, "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": 543.6849594116211, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 736.7379665374756, "thread": 139992133707584, "threadName": "MainThread" } ], "msecs": 543.8079833984375, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24461, "processName": "MainProcess", "relativeCreated": 736.860990524292, "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.00012302398681640625 } ], "thread": 139992133707584, "threadName": "MainThread", "time_consumption": 0.7069571018218994, "time_finished": "2019-12-27 17:11:00,543", "time_start": "2019-12-27 17:10:59,836" } }, "testrun_id": "p2", "time_consumption": 11.32313346862793, "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": "2019-12-27 17:11:22,529", "created": 1577463082.5295477, "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": 529.5476913452148, "msg": "socket_protocol.pure_json_protocol: Authentification processed without secret.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10962.279796600342, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2019-12-27 17:11:22,530", "created": 1577463082.530655, "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": "2019-12-27 17:11:22,529", "created": 1577463082.5297682, "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": 529.7682285308838, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10962.50033378601, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:22,530", "created": 1577463082.5300417, "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": 530.0416946411133, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10962.77379989624, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:22,530", "created": 1577463082.5302532, "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": 530.2531719207764, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10962.985277175903, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:22,530", "created": 1577463082.5305023, "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": 530.5023193359375, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10963.234424591064, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 530.6549072265625, "msg": "Authentification with no secret definition (pure_json_protocol).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_handling_errors.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10963.38701248169, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.000152587890625 }, { "args": [ "False", "" ], "asctime": "2019-12-27 17:11:22,531", "created": 1577463082.531105, "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": "2019-12-27 17:11:22,530", "created": 1577463082.5308492, "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": 530.8492183685303, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10963.581323623657, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Return value of authentification", "False", "" ], "asctime": "2019-12-27 17:11:22,530", "created": 1577463082.5309777, "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": 530.977725982666, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10963.709831237793, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 531.1050415039062, "msg": "Return value of authentification is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10963.837146759033, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.00012731552124023438 } ], "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.0015573501586914062, "time_finished": "2019-12-27 17:11:22,531", "time_start": "2019-12-27 17:11:22,529" }, "socket_protocol.pure_json_protocol: Authentification required, but not processed/ correctly processed.": { "args": null, "asctime": "2019-12-27 17:11:21,119", "created": 1577463081.1199038, "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": 119.9038028717041, "msg": "socket_protocol.pure_json_protocol: Authentification required, but not processed/ correctly processed.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 9552.635908126831, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2019-12-27 17:11:22,323", "created": 1577463082.3237479, "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": "2019-12-27 17:11:21,119", "created": 1577463081.1199942, "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": 119.9941635131836, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 9552.72626876831, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:21,120", "created": 1577463081.1200984, "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": 120.09835243225098, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 9552.830457687378, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:21,120", "created": 1577463081.1201553, "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": 120.15533447265625, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 9552.887439727783, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:21,120", "created": 1577463081.1202366, "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": 120.23663520812988, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 9552.968740463257, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:21,120", "created": 1577463081.1202993, "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": 120.2993392944336, "msg": "%s Requesting seed for authentification", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 9553.03144454956, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "SJP:", 0, 1, 0, "None" ], "asctime": "2019-12-27 17:11:21,120", "created": 1577463081.1203454, "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": 120.3453540802002, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 9553.077459335327, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:11:21,120", "created": 1577463081.120464, "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": 120.46408653259277, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 9553.19619178772, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:11:21,270", "created": 1577463081.2709851, "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": 270.9851264953613, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 9703.717231750488, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-26" }, { "args": [ "SJP:", "0", "1", "0", "None" ], "asctime": "2019-12-27 17:11:21,271", "created": 1577463081.2713242, "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": 271.32415771484375, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 9704.05626296997, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-26" }, { "args": [ "SJP:", "__authentificate_create_seed__" ], "asctime": "2019-12-27 17:11:21,271", "created": 1577463081.2715416, "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": 271.5415954589844, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 9704.273700714111, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-26" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:21,271", "created": 1577463081.2716866, "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": 271.6865539550781, "msg": "%s Got seed request, sending seed for authentification", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 9704.418659210205, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-26" }, { "args": [ "SJP:", 0, 2, 0, "'d463e5de27d998291c8e281fb4865db47579f1fe08f59f013e39520d8d44efd8'" ], "asctime": "2019-12-27 17:11:21,271", "created": 1577463081.2718828, "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: \"'d463e5de27d998291c8e281fb4865db47579f1fe08f59f013e39520d8d44efd8'\"", "module": "__init__", "msecs": 271.8827724456787, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 9704.614877700806, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-26" }, { "args": [], "asctime": "2019-12-27 17:11:21,272", "created": 1577463081.2723296, "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 64 34 36 33 65 35 64 65 32 37 64 39 39 38 32 39 31 63 38 65 32 38 31 66 62 34 38 36 35 64 62 34 37 35 37 39 66 31 66 65 30 38 66 35 39 66 30 31 33 65 33 39 35 32 30 64 38 64 34 34 65 66 64 38 22 7d 1e 9d 18 d9", "module": "test_helpers", "msecs": 272.32956886291504, "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 64 34 36 33 65 35 64 65 32 37 64 39 39 38 32 39 31 63 38 65 32 38 31 66 62 34 38 36 35 64 62 34 37 35 37 39 66 31 66 65 30 38 66 35 39 66 30 31 33 65 33 39 35 32 30 64 38 64 34 34 65 66 64 38 22 7d 1e 9d 18 d9", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 9705.061674118042, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-26" }, { "args": [], "asctime": "2019-12-27 17:11:21,423", "created": 1577463081.4232519, "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 64 34 36 33 65 35 64 65 32 37 64 39 39 38 32 39 31 63 38 65 32 38 31 66 62 34 38 36 35 64 62 34 37 35 37 39 66 31 66 65 30 38 66 35 39 66 30 31 33 65 33 39 35 32 30 64 38 64 34 34 65 66 64 38 22 7d 1e 9d 18 d9", "module": "test_helpers", "msecs": 423.2518672943115, "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 64 34 36 33 65 35 64 65 32 37 64 39 39 38 32 39 31 63 38 65 32 38 31 66 62 34 38 36 35 64 62 34 37 35 37 39 66 31 66 65 30 38 66 35 39 66 30 31 33 65 33 39 35 32 30 64 38 64 34 34 65 66 64 38 22 7d 1e 9d 18 d9", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 9855.983972549438, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-27" }, { "args": [ "SJP:", "0", "2", "0", "'d463e5de27d998291c8e281fb4865db47579f1fe08f59f013e39520d8d44efd8'" ], "asctime": "2019-12-27 17:11:21,423", "created": 1577463081.423684, "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: \"'d463e5de27d998291c8e281fb4865db47579f1fe08f59f013e39520d8d44efd8'\"", "module": "__init__", "msecs": 423.68388175964355, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 9856.41598701477, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-27" }, { "args": [ "SJP:", "__authentificate_create_key__" ], "asctime": "2019-12-27 17:11:21,423", "created": 1577463081.4239218, "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": 423.9218235015869, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 9856.653928756714, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-27" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:21,424", "created": 1577463081.4240787, "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": 424.07870292663574, "msg": "%s Got seed, sending key for authentification", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 9856.810808181763, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-27" }, { "args": [ "SJP:", 0, 3, 0, "'49ffbf9abbfca3e72720defed607774f05b2d0d1806ef70d86d721bc3e20f9716bd1efe6c4326be0f210e6c9f947238b79473147ae3f7a8cf20e611a90ffaae8'" ], "asctime": "2019-12-27 17:11:21,424", "created": 1577463081.4243174, "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: \"'49ffbf9abbfca3e72720defed607774f05b2d0d1806ef70d86d721bc3e20f9716bd1efe6c4326be0f210e6c9f947238b79473147ae3f7a8cf20e611a90ffaae8'\"", "module": "__init__", "msecs": 424.3173599243164, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 9857.049465179443, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-27" }, { "args": [], "asctime": "2019-12-27 17:11:21,424", "created": 1577463081.4249043, "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 34 39 66 66 62 66 39 61 62 62 66 63 61 33 65 37 32 37 32 30 64 65 66 65 64 36 30 37 37 37 34 66 30 35 62 32 64 30 64 31 38 30 36 65 66 37 30 64 38 36 64 37 32 31 62 63 33 65 32 30 66 39 37 31 36 62 64 31 65 66 65 36 63 34 33 32 36 62 65 30 66 32 31 30 65 36 63 39 66 39 34 37 32 33 38 62 37 39 34 37 33 31 34 37 61 65 33 66 37 61 38 63 66 32 30 65 36 31 31 61 39 30 66 66 61 61 65 38 22 7d d6 94 5c a5", "module": "test_helpers", "msecs": 424.90434646606445, "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 34 39 66 66 62 66 39 61 62 62 66 63 61 33 65 37 32 37 32 30 64 65 66 65 64 36 30 37 37 37 34 66 30 35 62 32 64 30 64 31 38 30 36 65 66 37 30 64 38 36 64 37 32 31 62 63 33 65 32 30 66 39 37 31 36 62 64 31 65 66 65 36 63 34 33 32 36 62 65 30 66 32 31 30 65 36 63 39 66 39 34 37 32 33 38 62 37 39 34 37 33 31 34 37 61 65 33 66 37 61 38 63 66 32 30 65 36 31 31 61 39 30 66 66 61 61 65 38 22 7d d6 94 5c a5", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 9857.636451721191, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-27" }, { "args": [], "asctime": "2019-12-27 17:11:21,576", "created": 1577463081.5764081, "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 34 39 66 66 62 66 39 61 62 62 66 63 61 33 65 37 32 37 32 30 64 65 66 65 64 36 30 37 37 37 34 66 30 35 62 32 64 30 64 31 38 30 36 65 66 37 30 64 38 36 64 37 32 31 62 63 33 65 32 30 66 39 37 31 36 62 64 31 65 66 65 36 63 34 33 32 36 62 65 30 66 32 31 30 65 36 63 39 66 39 34 37 32 33 38 62 37 39 34 37 33 31 34 37 61 65 33 66 37 61 38 63 66 32 30 65 36 31 31 61 39 30 66 66 61 61 65 38 22 7d d6 94 5c a5", "module": "test_helpers", "msecs": 576.4081478118896, "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 34 39 66 66 62 66 39 61 62 62 66 63 61 33 65 37 32 37 32 30 64 65 66 65 64 36 30 37 37 37 34 66 30 35 62 32 64 30 64 31 38 30 36 65 66 37 30 64 38 36 64 37 32 31 62 63 33 65 32 30 66 39 37 31 36 62 64 31 65 66 65 36 63 34 33 32 36 62 65 30 66 32 31 30 65 36 63 39 66 39 34 37 32 33 38 62 37 39 34 37 33 31 34 37 61 65 33 66 37 61 38 63 66 32 30 65 36 31 31 61 39 30 66 66 61 61 65 38 22 7d d6 94 5c a5", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10009.140253067017, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-28" }, { "args": [ "SJP:", "0", "3", "0", "'49ffbf9abbfca3e72720defed607774f05b2d0d1806ef70d86d721bc3e20f9716bd1efe6c4326be0f210e6c9f947238b79473147ae3f7a8cf20e611a90ffaae8'" ], "asctime": "2019-12-27 17:11:21,576", "created": 1577463081.5767667, "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: \"'49ffbf9abbfca3e72720defed607774f05b2d0d1806ef70d86d721bc3e20f9716bd1efe6c4326be0f210e6c9f947238b79473147ae3f7a8cf20e611a90ffaae8'\"", "module": "__init__", "msecs": 576.7667293548584, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10009.498834609985, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-28" }, { "args": [ "SJP:", "__authentificate_check_key__" ], "asctime": "2019-12-27 17:11:21,576", "created": 1577463081.5769737, "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": 576.9736766815186, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10009.705781936646, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-28" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:21,577", "created": 1577463081.5771706, "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": 577.1706104278564, "msg": "%s Got incorrect key, sending negative authentification feedback", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10009.902715682983, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-28" }, { "args": [ "SJP:", 0, 4, 0, "False" ], "asctime": "2019-12-27 17:11:21,577", "created": 1577463081.5773516, "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": 577.3515701293945, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10010.083675384521, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-28" }, { "args": [], "asctime": "2019-12-27 17:11:21,577", "created": 1577463081.5776942, "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": 577.6941776275635, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10010.42628288269, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-28" }, { "args": [], "asctime": "2019-12-27 17:11:21,728", "created": 1577463081.7284842, "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": 728.4841537475586, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10161.216259002686, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-29" }, { "args": [ "SJP:", "0", "4", "0", "False" ], "asctime": "2019-12-27 17:11:21,728", "created": 1577463081.7288258, "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": 728.8258075714111, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10161.557912826538, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-29" }, { "args": [ "SJP:", "__authentificate_process_feedback__" ], "asctime": "2019-12-27 17:11:21,729", "created": 1577463081.7290297, "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": 729.029655456543, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10161.76176071167, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-29" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:21,729", "created": 1577463081.7291803, "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": 729.1803359985352, "msg": "%s Got negative authentification feedback", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10161.912441253662, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-29" }, { "args": [ "SJP:", 0, 10, 45054, "{'test': 'test'}" ], "asctime": "2019-12-27 17:11:21,821", "created": 1577463081.8219697, "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": 821.969747543335, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10254.701852798462, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:11:21,822", "created": 1577463081.8223205, "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": 822.3204612731934, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10255.05256652832, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:11:21,972", "created": 1577463081.9728768, "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": 972.876787185669, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10405.608892440796, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-30" }, { "args": [ "SJP:", "0", "10", "45054", "{'test': 'test'}" ], "asctime": "2019-12-27 17:11:21,973", "created": 1577463081.9730911, "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": 973.0911254882812, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10405.823230743408, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-30" }, { "args": [ "SJP:", "Unknown Client" ], "asctime": "2019-12-27 17:11:21,973", "created": 1577463081.9732208, "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": 973.2208251953125, "msg": "%s Received message needs authentification: %s. Sending negative response.", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10405.95293045044, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-30" }, { "args": [ "SJP:", 2, 11, 45054, "None" ], "asctime": "2019-12-27 17:11:21,973", "created": 1577463081.9733174, "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": 973.3173847198486, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10406.049489974976, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-30" }, { "args": [], "asctime": "2019-12-27 17:11:21,973", "created": 1577463081.9735327, "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": 973.5326766967773, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10406.264781951904, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-30" }, { "args": [], "asctime": "2019-12-27 17:11:22,124", "created": 1577463082.124186, "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": 124.18603897094727, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10556.918144226074, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-31" }, { "args": [ "SJP:", "2", "11", "45054", "None" ], "asctime": "2019-12-27 17:11:22,124", "created": 1577463082.1245708, "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": 124.57084655761719, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10557.302951812744, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-31" }, { "args": [ "SJP:", "Authentification required" ], "asctime": "2019-12-27 17:11:22,124", "created": 1577463082.1248224, "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": 124.82237815856934, "msg": "%s Received message has a peculiar status: %s", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10557.554483413696, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-31" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:22,125", "created": 1577463082.1250172, "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": 125.01716613769531, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10557.749271392822, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-31" } ], "msecs": 323.7478733062744, "msg": "Authentification with different secrets for request and response instance (pure_json_protocol).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_handling_errors.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10756.479978561401, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.1987307071685791 }, { "args": [ "False", "" ], "asctime": "2019-12-27 17:11:22,324", "created": 1577463082.324427, "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": "2019-12-27 17:11:22,324", "created": 1577463082.32411, "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": 324.1100311279297, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10756.842136383057, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Return value of authentification", "False", "" ], "asctime": "2019-12-27 17:11:22,324", "created": 1577463082.324278, "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": 324.2781162261963, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10757.010221481323, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 324.42688941955566, "msg": "Return value of authentification is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10757.158994674683, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.000148773193359375 }, { "args": [ "True", "" ], "asctime": "2019-12-27 17:11:22,324", "created": 1577463082.3248665, "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": "2019-12-27 17:11:22,324", "created": 1577463082.3246078, "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": 324.60784912109375, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10757.33995437622, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2019-12-27 17:11:22,324", "created": 1577463082.3247397, "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": 324.7396945953369, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10757.471799850464, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 324.86653327941895, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10757.598638534546, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.00012683868408203125 }, { "args": [ "2", "" ], "asctime": "2019-12-27 17:11:22,325", "created": 1577463082.3252854, "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": "2019-12-27 17:11:22,325", "created": 1577463082.32504, "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": 325.0401020050049, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10757.772207260132, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Response Status (Authentification required) transfered via pure_json_protocol", "2", "" ], "asctime": "2019-12-27 17:11:22,325", "created": 1577463082.3251626, "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": 325.1626491546631, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10757.89475440979, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 325.2854347229004, "msg": "Response Status (Authentification required) transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10758.017539978027, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.0001227855682373047 }, { "args": [ "None", "" ], "asctime": "2019-12-27 17:11:22,325", "created": 1577463082.3257153, "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": "2019-12-27 17:11:22,325", "created": 1577463082.3254673, "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": 325.4673480987549, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10758.199453353882, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Response Data (no data) transfered via pure_json_protocol", "None", "" ], "asctime": "2019-12-27 17:11:22,325", "created": 1577463082.3255925, "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": 325.5925178527832, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10758.32462310791, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 325.7153034210205, "msg": "Response Data (no data) transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10758.447408676147, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.0001227855682373047 }, { "args": [ "None", "" ], "asctime": "2019-12-27 17:11:22,426", "created": 1577463082.4267297, "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": "2019-12-27 17:11:22,426", "created": 1577463082.4261901, "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": 426.1901378631592, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10858.922243118286, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:22,426", "created": 1577463082.4264243, "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": 426.4242649078369, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10859.156370162964, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:22,426", "created": 1577463082.4265823, "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": 426.58233642578125, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10859.314441680908, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 426.729679107666, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10859.461784362793, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.00014734268188476562 }, { "args": [ "None", "" ], "asctime": "2019-12-27 17:11:22,527", "created": 1577463082.5276923, "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": "2019-12-27 17:11:22,527", "created": 1577463082.5271606, "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": 527.16064453125, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10959.892749786377, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:22,527", "created": 1577463082.5273893, "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": 527.3892879486084, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10960.121393203735, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:22,527", "created": 1577463082.5275474, "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": 527.5473594665527, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10960.27946472168, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 527.6923179626465, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10960.424423217773, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.00014495849609375 } ], "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 1.4077885150909424, "time_finished": "2019-12-27 17:11:22,527", "time_start": "2019-12-27 17:11:21,119" }, "socket_protocol.pure_json_protocol: Checksum corumpation while sending.": { "args": null, "asctime": "2019-12-27 17:11:18,497", "created": 1577463078.4979165, "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": 497.91646003723145, "msg": "socket_protocol.pure_json_protocol: Checksum corumpation while sending.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 6930.648565292358, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2019-12-27 17:11:18,800", "created": 1577463078.8004775, "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": "2019-12-27 17:11:18,498", "created": 1577463078.498196, "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": 498.1958866119385, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 6930.927991867065, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:18,498", "created": 1577463078.4985008, "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": 498.5008239746094, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 6931.232929229736, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:18,498", "created": 1577463078.4986732, "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": 498.6732006072998, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 6931.405305862427, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:18,498", "created": 1577463078.498923, "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": 498.92306327819824, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 6931.655168533325, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "SJP:", 0, 10, 45054, "{'test': 'test'}" ], "asctime": "2019-12-27 17:11:18,499", "created": 1577463078.499118, "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": 499.1180896759033, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 6931.85019493103, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:11:18,499", "created": 1577463078.499509, "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": 499.5090961456299, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 6932.241201400757, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:11:18,650", "created": 1577463078.6503446, "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": 650.3446102142334, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 7083.07671546936, "stack_info": null, "thread": 139786349680384, "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": "2019-12-27 17:11:18,650", "created": 1577463078.650698, "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": 650.6979465484619, "msg": "%s Received message has a wrong checksum and will be ignored: %s.", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 7083.430051803589, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-23" } ], "msecs": 800.4775047302246, "msg": "Send data with wrong checksum by pure_json_protocol.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_communication_errors.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 7233.209609985352, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.1497795581817627 }, { "args": [ "True", "" ], "asctime": "2019-12-27 17:11:18,801", "created": 1577463078.8010726, "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": "2019-12-27 17:11:18,800", "created": 1577463078.8007624, "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": 800.762414932251, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 7233.494520187378, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2019-12-27 17:11:18,800", "created": 1577463078.8009286, "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": 800.9285926818848, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 7233.660697937012, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 801.0725975036621, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 7233.804702758789, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.00014400482177734375 }, { "args": [ "False", "" ], "asctime": "2019-12-27 17:11:18,801", "created": 1577463078.80155, "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": "2019-12-27 17:11:18,801", "created": 1577463078.8012712, "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": 801.2712001800537, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 7234.003305435181, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Callback executed variable", "False", "" ], "asctime": "2019-12-27 17:11:18,801", "created": 1577463078.8014214, "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": 801.4214038848877, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 7234.153509140015, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 801.5499114990234, "msg": "Callback executed variable is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 7234.28201675415, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.0001285076141357422 }, { "args": [ "None", "" ], "asctime": "2019-12-27 17:11:18,902", "created": 1577463078.9025352, "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": "2019-12-27 17:11:18,901", "created": 1577463078.9019604, "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": 901.9603729248047, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 7334.692478179932, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:18,902", "created": 1577463078.902228, "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": 902.2281169891357, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 7334.960222244263, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:18,902", "created": 1577463078.9023907, "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": 902.390718460083, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 7335.12282371521, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 902.5352001190186, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 7335.2673053741455, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.00014448165893554688 }, { "args": [ "None", "" ], "asctime": "2019-12-27 17:11:19,004", "created": 1577463079.0041473, "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": "2019-12-27 17:11:19,003", "created": 1577463079.003085, "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": 3.084897994995117, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 7435.817003250122, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:19,003", "created": 1577463079.0036118, "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": 3.6118030548095703, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 7436.3439083099365, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:19,003", "created": 1577463079.0039277, "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": 3.9277076721191406, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 7436.659812927246, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 4.14729118347168, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 7436.879396438599, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.00021958351135253906 } ], "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.5062308311462402, "time_finished": "2019-12-27 17:11:19,004", "time_start": "2019-12-27 17:11:18,497" }, "socket_protocol.pure_json_protocol: Incompatible Callback return value(s).": { "args": null, "asctime": "2019-12-27 17:11:22,531", "created": 1577463082.5313904, "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": 531.3904285430908, "msg": "socket_protocol.pure_json_protocol: Incompatible Callback return value(s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10964.122533798218, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2019-12-27 17:11:22,536", "created": 1577463082.5360794, "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": "2019-12-27 17:11:22,531", "created": 1577463082.5316045, "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": 531.604528427124, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10964.336633682251, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:22,531", "created": 1577463082.53187, "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": 531.8698883056641, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10964.601993560791, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:22,532", "created": 1577463082.5320415, "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": 532.0415496826172, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10964.773654937744, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:22,532", "created": 1577463082.5322852, "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": 532.285213470459, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10965.017318725586, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "SJP:", 0, 10, 45054, "None" ], "asctime": "2019-12-27 17:11:22,532", "created": 1577463082.5324965, "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": 532.496452331543, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10965.22855758667, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:11:22,532", "created": 1577463082.5328472, "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": 532.8471660614014, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10965.579271316528, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:11:22,533", "created": 1577463082.5330925, "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": 533.0924987792969, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10965.824604034424, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "SJP:", "0", "10", "45054", "None" ], "asctime": "2019-12-27 17:11:22,533", "created": 1577463082.5333202, "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": 533.3201885223389, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10966.052293777466, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "SJP:", "response_data_method_fail" ], "asctime": "2019-12-27 17:11:22,533", "created": 1577463082.5334768, "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": 533.4768295288086, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10966.208934783936, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "SJP:", 0, 10, 48879, "None" ], "asctime": "2019-12-27 17:11:22,533", "created": 1577463082.5337124, "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": 533.7123870849609, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10966.444492340088, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:11:22,534", "created": 1577463082.5340407, "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": 534.0406894683838, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10966.77279472351, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:11:22,534", "created": 1577463082.534303, "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": 534.3029499053955, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10967.035055160522, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "SJP:", "0", "10", "48879", "None" ], "asctime": "2019-12-27 17:11:22,534", "created": 1577463082.5345225, "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": 534.522533416748, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10967.254638671875, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:22,534", "created": 1577463082.5346982, "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": 534.6982479095459, "msg": "%s Received message with no registered callback. Sending negative response.", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10967.430353164673, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "SJP:", 1, 11, 48879, "None" ], "asctime": "2019-12-27 17:11:22,534", "created": 1577463082.534857, "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": 534.8570346832275, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10967.589139938354, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:11:22,535", "created": 1577463082.5351825, "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": 535.1824760437012, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10967.914581298828, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:11:22,535", "created": 1577463082.535426, "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": 535.4259014129639, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10968.15800666809, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "SJP:", "1", "11", "48879", "None" ], "asctime": "2019-12-27 17:11:22,535", "created": 1577463082.5356338, "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": 535.6338024139404, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10968.365907669067, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "SJP:", "Request has no callback. Data buffered." ], "asctime": "2019-12-27 17:11:22,535", "created": 1577463082.5357933, "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": 535.7933044433594, "msg": "%s Received message has a peculiar status: %s", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10968.525409698486, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "SJP:", "response_data_method_fail" ], "asctime": "2019-12-27 17:11:22,535", "created": 1577463082.5359166, "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": 535.9165668487549, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10968.648672103882, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 536.0794067382812, "msg": "Send and received data with incompatible callback (pure_json_protocol).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_handling_errors.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10968.811511993408, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.0001628398895263672 }, { "args": [ "True", "" ], "asctime": "2019-12-27 17:11:22,536", "created": 1577463082.536566, "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": "2019-12-27 17:11:22,536", "created": 1577463082.5362916, "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": 536.2915992736816, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10969.023704528809, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Exception (TypeError) detection variable", "True", "" ], "asctime": "2019-12-27 17:11:22,536", "created": 1577463082.536437, "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": 536.4370346069336, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10969.16913986206, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 536.5660190582275, "msg": "Exception (TypeError) detection variable is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10969.298124313354, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.0001289844512939453 }, { "args": [ "None", "" ], "asctime": "2019-12-27 17:11:22,637", "created": 1577463082.63753, "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": "2019-12-27 17:11:22,636", "created": 1577463082.63698, "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": 636.9800567626953, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 11069.712162017822, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:22,637", "created": 1577463082.6372235, "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": 637.223482131958, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 11069.955587387085, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:22,637", "created": 1577463082.6373832, "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": 637.383222579956, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 11070.115327835083, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 637.5300884246826, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 11070.26219367981, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.0001468658447265625 }, { "args": [ "None", "" ], "asctime": "2019-12-27 17:11:22,738", "created": 1577463082.738552, "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": "2019-12-27 17:11:22,737", "created": 1577463082.7379577, "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": 737.9577159881592, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 11170.689821243286, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:22,738", "created": 1577463082.7382302, "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": 738.2302284240723, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 11170.9623336792, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:22,738", "created": 1577463082.7384062, "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": 738.4061813354492, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 11171.138286590576, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 738.5520935058594, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 11171.284198760986, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.00014591217041015625 }, { "args": [ "True", "" ], "asctime": "2019-12-27 17:11:22,739", "created": 1577463082.7390072, "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": "2019-12-27 17:11:22,738", "created": 1577463082.7387462, "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": 738.746166229248, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 11171.478271484375, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Exception (TypeError) detection variable", "True", "" ], "asctime": "2019-12-27 17:11:22,738", "created": 1577463082.7388783, "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": 738.8782501220703, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 11171.610355377197, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 739.0072345733643, "msg": "Exception (TypeError) detection variable is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 11171.739339828491, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.0001289844512939453 }, { "args": [ "None", "" ], "asctime": "2019-12-27 17:11:22,840", "created": 1577463082.8400013, "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": "2019-12-27 17:11:22,839", "created": 1577463082.8394127, "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": 839.4126892089844, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 11272.144794464111, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2019-12-27 17:11:22,839", "created": 1577463082.8396716, "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": 839.6716117858887, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 11272.403717041016, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2019-12-27 17:11:22,839", "created": 1577463082.8398347, "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": 839.8346900939941, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 11272.566795349121, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 840.0013446807861, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 11272.733449935913, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.0001666545867919922 }, { "args": [ "None", "" ], "asctime": "2019-12-27 17:11:22,940", "created": 1577463082.9409819, "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": "2019-12-27 17:11:22,940", "created": 1577463082.9404347, "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": 940.4346942901611, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 11373.166799545288, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2019-12-27 17:11:22,940", "created": 1577463082.9406629, "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": 940.6628608703613, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 11373.394966125488, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2019-12-27 17:11:22,940", "created": 1577463082.940821, "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": 940.8209323883057, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 11373.553037643433, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 940.9818649291992, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 11373.713970184326, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.0001609325408935547 } ], "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.4095914363861084, "time_finished": "2019-12-27 17:11:22,940", "time_start": "2019-12-27 17:11:22,531" }, "socket_protocol.pure_json_protocol: No Callback at response instance for the request.": { "args": null, "asctime": "2019-12-27 17:11:20,413", "created": 1577463080.4132633, "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": 413.26332092285156, "msg": "socket_protocol.pure_json_protocol: No Callback at response instance for the request.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 8845.995426177979, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2019-12-27 17:11:20,916", "created": 1577463080.9165516, "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": "2019-12-27 17:11:20,413", "created": 1577463080.4135025, "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": 413.50245475769043, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 8846.234560012817, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:20,413", "created": 1577463080.4138057, "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": 413.8057231903076, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 8846.537828445435, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:20,413", "created": 1577463080.4139903, "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": 413.9902591705322, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 8846.72236442566, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:20,414", "created": 1577463080.414293, "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": 414.2930507659912, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 8847.025156021118, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "SJP:", 0, 10, 45054, "{'test': 'test'}" ], "asctime": "2019-12-27 17:11:20,414", "created": 1577463080.4144597, "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": 414.4597053527832, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 8847.19181060791, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:11:20,414", "created": 1577463080.4148543, "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": 414.8542881011963, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 8847.586393356323, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:11:20,565", "created": 1577463080.5656824, "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": 565.6824111938477, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 8998.414516448975, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-24" }, { "args": [ "SJP:", "0", "10", "45054", "{'test': 'test'}" ], "asctime": "2019-12-27 17:11:20,566", "created": 1577463080.5660167, "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": 566.016674041748, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 8998.748779296875, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-24" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:20,566", "created": 1577463080.5662766, "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": 566.2765502929688, "msg": "%s Received message with no registered callback. Sending negative response.", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 8999.008655548096, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-24" }, { "args": [ "SJP:", 1, 11, 45054, "None" ], "asctime": "2019-12-27 17:11:20,566", "created": 1577463080.5664806, "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": 566.4806365966797, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 8999.212741851807, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-24" }, { "args": [], "asctime": "2019-12-27 17:11:20,566", "created": 1577463080.5668435, "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": 566.8435096740723, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 8999.5756149292, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-24" }, { "args": [], "asctime": "2019-12-27 17:11:20,717", "created": 1577463080.7176378, "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": 717.6377773284912, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 9150.369882583618, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-25" }, { "args": [ "SJP:", "1", "11", "45054", "None" ], "asctime": "2019-12-27 17:11:20,717", "created": 1577463080.7179816, "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": 717.9815769195557, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 9150.713682174683, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-25" }, { "args": [ "SJP:", "Request has no callback. Data buffered." ], "asctime": "2019-12-27 17:11:20,718", "created": 1577463080.7182643, "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": 718.2643413543701, "msg": "%s Received message has a peculiar status: %s", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 9150.996446609497, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-25" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:20,718", "created": 1577463080.7184486, "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": 718.4486389160156, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 9151.180744171143, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-25" } ], "msecs": 916.5515899658203, "msg": "Send data, but no callback registered (pure_json_protocol).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_handling_errors.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 9349.283695220947, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.1981029510498047 }, { "args": [ "True", "" ], "asctime": "2019-12-27 17:11:20,917", "created": 1577463080.9172506, "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": "2019-12-27 17:11:20,916", "created": 1577463080.9169173, "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": 916.9173240661621, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 9349.649429321289, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2019-12-27 17:11:20,917", "created": 1577463080.9170883, "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": 917.0882701873779, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 9349.820375442505, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 917.2506332397461, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 9349.982738494873, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.00016236305236816406 }, { "args": [ "1", "" ], "asctime": "2019-12-27 17:11:20,917", "created": 1577463080.9177227, "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": "2019-12-27 17:11:20,917", "created": 1577463080.9174464, "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": 917.4463748931885, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 9350.178480148315, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Response Status (Request has no callback. Data buffered.) transfered via pure_json_protocol", "1", "" ], "asctime": "2019-12-27 17:11:20,917", "created": 1577463080.9175828, "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": 917.5827503204346, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 9350.314855575562, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 917.7227020263672, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 9350.454807281494, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.0001399517059326172 }, { "args": [ "None", "" ], "asctime": "2019-12-27 17:11:20,918", "created": 1577463080.918187, "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": "2019-12-27 17:11:20,917", "created": 1577463080.917895, "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": 917.8950786590576, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 9350.627183914185, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Response Data (no data) transfered via pure_json_protocol", "None", "" ], "asctime": "2019-12-27 17:11:20,918", "created": 1577463080.9180207, "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": 918.0207252502441, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 9350.752830505371, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 918.1869029998779, "msg": "Response Data (no data) transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 9350.919008255005, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.00016617774963378906 }, { "args": [ "None", "" ], "asctime": "2019-12-27 17:11:21,019", "created": 1577463081.0192509, "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": "2019-12-27 17:11:21,018", "created": 1577463081.0186005, "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": 18.6004638671875, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 9451.332569122314, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:21,018", "created": 1577463081.0188358, "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": 18.835783004760742, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 9451.567888259888, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:21,019", "created": 1577463081.019074, "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": 19.073963165283203, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 9451.80606842041, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 19.250869750976562, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 9451.982975006104, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.00017690658569335938 }, { "args": [ "None", "" ], "asctime": "2019-12-27 17:11:21,119", "created": 1577463081.1197739, "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": "2019-12-27 17:11:21,119", "created": 1577463081.1196027, "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": 119.60268020629883, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 9552.334785461426, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:21,119", "created": 1577463081.119677, "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": 119.67706680297852, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 9552.409172058105, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:21,119", "created": 1577463081.119728, "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": 119.72808837890625, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 9552.460193634033, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 119.77386474609375, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 9552.50597000122, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 4.57763671875e-05 } ], "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.7065105438232422, "time_finished": "2019-12-27 17:11:21,119", "time_start": "2019-12-27 17:11:20,413" }, "socket_protocol.pure_json_protocol: Register a Callback which is already defined.": { "args": null, "asctime": "2019-12-27 17:11:22,528", "created": 1577463082.5280561, "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": 528.0561447143555, "msg": "socket_protocol.pure_json_protocol: Register a Callback which is already defined.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10960.788249969482, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2019-12-27 17:11:22,528", "created": 1577463082.5288131, "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": "2019-12-27 17:11:22,528", "created": 1577463082.5282805, "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": 528.28049659729, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10961.012601852417, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:22,528", "created": 1577463082.5285816, "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": 528.5816192626953, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10961.313724517822, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 528.8131237030029, "msg": "Registering two callbacks which overlap for at least one message (pure_json_protocol).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_handling_errors.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10961.54522895813, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.0002315044403076172 }, { "args": [ "True", "" ], "asctime": "2019-12-27 17:11:22,529", "created": 1577463082.5292761, "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": "2019-12-27 17:11:22,529", "created": 1577463082.5290112, "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": 529.0112495422363, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10961.743354797363, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Exception (RegistrationError) detection variable", "True", "" ], "asctime": "2019-12-27 17:11:22,529", "created": 1577463082.529146, "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": 529.1459560394287, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10961.878061294556, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 529.2761325836182, "msg": "Exception (RegistrationError) detection variable is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 10962.008237838745, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.00013017654418945312 } ], "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.0012199878692626953, "time_finished": "2019-12-27 17:11:22,529", "time_start": "2019-12-27 17:11:22,528" }, "socket_protocol.pure_json_protocol: Register a second Callback with the same service_id.": { "args": null, "asctime": "2019-12-27 17:11:16,578", "created": 1577463076.578672, "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": 578.671932220459, "msg": "socket_protocol.pure_json_protocol: Register a second Callback with the same service_id.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 5011.404037475586, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2019-12-27 17:11:17,082", "created": 1577463077.082382, "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": "2019-12-27 17:11:16,578", "created": 1577463076.5789135, "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": 578.9134502410889, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 5011.645555496216, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:16,579", "created": 1577463076.579214, "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": 579.2140960693359, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 5011.946201324463, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:16,579", "created": 1577463076.5794024, "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": 579.4024467468262, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 5012.134552001953, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:16,579", "created": 1577463076.579679, "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": 579.679012298584, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 5012.411117553711, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "SJP:", 0, 10, 45054, "{'test': 'test'}" ], "asctime": "2019-12-27 17:11:16,580", "created": 1577463076.5803788, "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": 580.3787708282471, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 5013.110876083374, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:11:16,580", "created": 1577463076.580788, "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": 580.7878971099854, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 5013.520002365112, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:11:16,731", "created": 1577463076.7316394, "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": 731.6393852233887, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 5164.371490478516, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-17" }, { "args": [ "SJP:", "0", "10", "45054", "{'test': 'test'}" ], "asctime": "2019-12-27 17:11:16,732", "created": 1577463076.7320251, "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": 732.025146484375, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 5164.757251739502, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-17" }, { "args": [ "SJP:", "response_data_method_2" ], "asctime": "2019-12-27 17:11:16,732", "created": 1577463076.732226, "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": 732.2258949279785, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 5164.9580001831055, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-17" }, { "args": [ "SJP:", 5, 11, 45054, "[1, 3, 's']" ], "asctime": "2019-12-27 17:11:16,732", "created": 1577463076.7323902, "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": 732.3901653289795, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 5165.122270584106, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-17" }, { "args": [], "asctime": "2019-12-27 17:11:16,732", "created": 1577463076.732747, "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": 732.7470779418945, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 5165.4791831970215, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-17" }, { "args": [], "asctime": "2019-12-27 17:11:16,883", "created": 1577463076.8835015, "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": 883.5015296936035, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 5316.2336349487305, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-18" }, { "args": [ "SJP:", "5", "11", "45054", "[1, 3, 's']" ], "asctime": "2019-12-27 17:11:16,883", "created": 1577463076.8838253, "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": 883.8253021240234, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 5316.55740737915, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-18" }, { "args": [ "SJP:", "Operation not permitted" ], "asctime": "2019-12-27 17:11:16,884", "created": 1577463076.8840332, "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": 884.033203125, "msg": "%s Received message has a peculiar status: %s", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 5316.765308380127, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-18" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:16,884", "created": 1577463076.8841958, "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": 884.1958045959473, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 5316.927909851074, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-18" } ], "msecs": 82.3819637298584, "msg": "Send and received data by pure_json_protocol.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_normal_operation.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 5515.114068984985, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.19818615913391113 }, { "args": [ "True", "" ], "asctime": "2019-12-27 17:11:17,083", "created": 1577463077.083022, "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": "2019-12-27 17:11:17,082", "created": 1577463077.0827038, "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": 82.70382881164551, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 5515.4359340667725, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2019-12-27 17:11:17,082", "created": 1577463077.082872, "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": 82.87191390991211, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 5515.604019165039, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 83.0221176147461, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 5515.754222869873, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.00015020370483398438 }, { "args": [ "0", "" ], "asctime": "2019-12-27 17:11:17,083", "created": 1577463077.0834725, "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": "2019-12-27 17:11:17,083", "created": 1577463077.0832086, "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": 83.20856094360352, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 5515.9406661987305, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Request Status (Okay) transfered via pure_json_protocol", "0", "" ], "asctime": "2019-12-27 17:11:17,083", "created": 1577463077.0833445, "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": 83.3444595336914, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 5516.076564788818, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 83.47249031066895, "msg": "Request Status (Okay) transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 5516.204595565796, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.00012803077697753906 }, { "args": [ "{'test': 'test'}", "" ], "asctime": "2019-12-27 17:11:17,083", "created": 1577463077.083957, "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": "2019-12-27 17:11:17,083", "created": 1577463077.083657, "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": 83.65702629089355, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 5516.3891315460205, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Request Data transfered via pure_json_protocol", "{ 'test': 'test' }", "" ], "asctime": "2019-12-27 17:11:17,083", "created": 1577463077.0837946, "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": 83.79459381103516, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 5516.526699066162, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 83.95695686340332, "msg": "Request Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 5516.68906211853, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.00016236305236816406 }, { "args": [ "5", "" ], "asctime": "2019-12-27 17:11:17,084", "created": 1577463077.084381, "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": "2019-12-27 17:11:17,084", "created": 1577463077.0841327, "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": 84.13267135620117, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 5516.864776611328, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Response Status (Operation not permitted) transfered via pure_json_protocol", "5", "" ], "asctime": "2019-12-27 17:11:17,084", "created": 1577463077.084256, "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": 84.25593376159668, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 5516.988039016724, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 84.381103515625, "msg": "Response Status (Operation not permitted) transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 5517.113208770752, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.0001251697540283203 }, { "args": [ "[1, 3, 's']", "" ], "asctime": "2019-12-27 17:11:17,084", "created": 1577463077.0848925, "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": "2019-12-27 17:11:17,084", "created": 1577463077.0845788, "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": 84.5787525177002, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 5517.310857772827, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Response Data transfered via pure_json_protocol", "[ 1, 3, 's' ]", "" ], "asctime": "2019-12-27 17:11:17,084", "created": 1577463077.0847175, "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": 84.7175121307373, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 5517.449617385864, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 84.89251136779785, "msg": "Response Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 5517.624616622925, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.00017499923706054688 }, { "args": [ "None", "" ], "asctime": "2019-12-27 17:11:17,185", "created": 1577463077.1858397, "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": "2019-12-27 17:11:17,185", "created": 1577463077.1852977, "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": 185.29772758483887, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 5618.029832839966, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:17,185", "created": 1577463077.1855302, "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": 185.5301856994629, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 5618.26229095459, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:17,185", "created": 1577463077.1856914, "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": 185.69135665893555, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 5618.4234619140625, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 185.83965301513672, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 5618.571758270264, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.00014829635620117188 }, { "args": [ "None", "" ], "asctime": "2019-12-27 17:11:17,286", "created": 1577463077.2869315, "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": "2019-12-27 17:11:17,286", "created": 1577463077.2862809, "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": 286.28087043762207, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 5719.012975692749, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:17,286", "created": 1577463077.286576, "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": 286.5760326385498, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 5719.308137893677, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:17,286", "created": 1577463077.2867737, "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": 286.773681640625, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 5719.505786895752, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 286.93151473999023, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 5719.663619995117, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.00015783309936523438 } ], "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.7082595825195312, "time_finished": "2019-12-27 17:11:17,286", "time_start": "2019-12-27 17:11:16,578" }, "socket_protocol.pure_json_protocol: Send and receive check including authentification.": { "args": null, "asctime": "2019-12-27 17:11:13,042", "created": 1577463073.0425704, "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": 42.57035255432129, "msg": "socket_protocol.pure_json_protocol: Send and receive check including authentification.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 1475.3024578094482, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2019-12-27 17:11:14,248", "created": 1577463074.2480123, "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": "2019-12-27 17:11:13,042", "created": 1577463073.0427995, "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": 42.79947280883789, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 1475.5315780639648, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:13,043", "created": 1577463073.0430858, "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": 43.08581352233887, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 1475.8179187774658, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:13,043", "created": 1577463073.0432525, "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": 43.25246810913086, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 1475.9845733642578, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:13,043", "created": 1577463073.0435, "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": 43.49994659423828, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 1476.2320518493652, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:13,043", "created": 1577463073.0436797, "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": 43.67971420288086, "msg": "%s Requesting seed for authentification", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 1476.4118194580078, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "SJP:", 0, 1, 0, "None" ], "asctime": "2019-12-27 17:11:13,043", "created": 1577463073.0438125, "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": 43.81251335144043, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 1476.5446186065674, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:11:13,044", "created": 1577463073.0441275, "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": 44.127464294433594, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 1476.8595695495605, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:11:13,194", "created": 1577463073.1948934, "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": 194.89336013793945, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 1627.6254653930664, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-5" }, { "args": [ "SJP:", "0", "1", "0", "None" ], "asctime": "2019-12-27 17:11:13,195", "created": 1577463073.1952546, "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": 195.25456428527832, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 1627.9866695404053, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-5" }, { "args": [ "SJP:", "__authentificate_create_seed__" ], "asctime": "2019-12-27 17:11:13,195", "created": 1577463073.1954854, "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": 195.48535346984863, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 1628.2174587249756, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-5" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:13,195", "created": 1577463073.1956325, "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": 195.6324577331543, "msg": "%s Got seed request, sending seed for authentification", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 1628.3645629882812, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-5" }, { "args": [ "SJP:", 0, 2, 0, "'7dcdf29db95b5992d9325321e9f43670d90b97d8a3f27d2b2fa20af2c78f2cb2'" ], "asctime": "2019-12-27 17:11:13,195", "created": 1577463073.1958332, "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: \"'7dcdf29db95b5992d9325321e9f43670d90b97d8a3f27d2b2fa20af2c78f2cb2'\"", "module": "__init__", "msecs": 195.8332061767578, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 1628.5653114318848, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-5" }, { "args": [], "asctime": "2019-12-27 17:11:13,196", "created": 1577463073.1962876, "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 37 64 63 64 66 32 39 64 62 39 35 62 35 39 39 32 64 39 33 32 35 33 32 31 65 39 66 34 33 36 37 30 64 39 30 62 39 37 64 38 61 33 66 32 37 64 32 62 32 66 61 32 30 61 66 32 63 37 38 66 32 63 62 32 22 7d d2 3c f2 d5", "module": "test_helpers", "msecs": 196.2876319885254, "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 37 64 63 64 66 32 39 64 62 39 35 62 35 39 39 32 64 39 33 32 35 33 32 31 65 39 66 34 33 36 37 30 64 39 30 62 39 37 64 38 61 33 66 32 37 64 32 62 32 66 61 32 30 61 66 32 63 37 38 66 32 63 62 32 22 7d d2 3c f2 d5", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 1629.0197372436523, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-5" }, { "args": [], "asctime": "2019-12-27 17:11:13,347", "created": 1577463073.3474755, "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 37 64 63 64 66 32 39 64 62 39 35 62 35 39 39 32 64 39 33 32 35 33 32 31 65 39 66 34 33 36 37 30 64 39 30 62 39 37 64 38 61 33 66 32 37 64 32 62 32 66 61 32 30 61 66 32 63 37 38 66 32 63 62 32 22 7d d2 3c f2 d5", "module": "test_helpers", "msecs": 347.475528717041, "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 37 64 63 64 66 32 39 64 62 39 35 62 35 39 39 32 64 39 33 32 35 33 32 31 65 39 66 34 33 36 37 30 64 39 30 62 39 37 64 38 61 33 66 32 37 64 32 62 32 66 61 32 30 61 66 32 63 37 38 66 32 63 62 32 22 7d d2 3c f2 d5", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 1780.207633972168, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-6" }, { "args": [ "SJP:", "0", "2", "0", "'7dcdf29db95b5992d9325321e9f43670d90b97d8a3f27d2b2fa20af2c78f2cb2'" ], "asctime": "2019-12-27 17:11:13,347", "created": 1577463073.3477683, "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: \"'7dcdf29db95b5992d9325321e9f43670d90b97d8a3f27d2b2fa20af2c78f2cb2'\"", "module": "__init__", "msecs": 347.76830673217773, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 1780.5004119873047, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-6" }, { "args": [ "SJP:", "__authentificate_create_key__" ], "asctime": "2019-12-27 17:11:13,347", "created": 1577463073.3479488, "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": 347.9487895965576, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 1780.6808948516846, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-6" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:13,348", "created": 1577463073.3480933, "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": 348.09327125549316, "msg": "%s Got seed, sending key for authentification", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 1780.8253765106201, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-6" }, { "args": [ "SJP:", 0, 3, 0, "'7fbd38486012f39f9ec215124f6c47655586cd4a0a24636dfd04dbcb2a449c17f48921bea79711e3f07bc1b6390e9f12bc5a4708f193e40a29d64aceb0d5b10e'" ], "asctime": "2019-12-27 17:11:13,348", "created": 1577463073.3484066, "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: \"'7fbd38486012f39f9ec215124f6c47655586cd4a0a24636dfd04dbcb2a449c17f48921bea79711e3f07bc1b6390e9f12bc5a4708f193e40a29d64aceb0d5b10e'\"", "module": "__init__", "msecs": 348.4065532684326, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 1781.1386585235596, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-6" }, { "args": [], "asctime": "2019-12-27 17:11:13,348", "created": 1577463073.3489165, "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 37 66 62 64 33 38 34 38 36 30 31 32 66 33 39 66 39 65 63 32 31 35 31 32 34 66 36 63 34 37 36 35 35 35 38 36 63 64 34 61 30 61 32 34 36 33 36 64 66 64 30 34 64 62 63 62 32 61 34 34 39 63 31 37 66 34 38 39 32 31 62 65 61 37 39 37 31 31 65 33 66 30 37 62 63 31 62 36 33 39 30 65 39 66 31 32 62 63 35 61 34 37 30 38 66 31 39 33 65 34 30 61 32 39 64 36 34 61 63 65 62 30 64 35 62 31 30 65 22 7d e7 65 12 d8", "module": "test_helpers", "msecs": 348.91653060913086, "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 37 66 62 64 33 38 34 38 36 30 31 32 66 33 39 66 39 65 63 32 31 35 31 32 34 66 36 63 34 37 36 35 35 35 38 36 63 64 34 61 30 61 32 34 36 33 36 64 66 64 30 34 64 62 63 62 32 61 34 34 39 63 31 37 66 34 38 39 32 31 62 65 61 37 39 37 31 31 65 33 66 30 37 62 63 31 62 36 33 39 30 65 39 66 31 32 62 63 35 61 34 37 30 38 66 31 39 33 65 34 30 61 32 39 64 36 34 61 63 65 62 30 64 35 62 31 30 65 22 7d e7 65 12 d8", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 1781.6486358642578, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-6" }, { "args": [], "asctime": "2019-12-27 17:11:13,499", "created": 1577463073.4998486, "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 37 66 62 64 33 38 34 38 36 30 31 32 66 33 39 66 39 65 63 32 31 35 31 32 34 66 36 63 34 37 36 35 35 35 38 36 63 64 34 61 30 61 32 34 36 33 36 64 66 64 30 34 64 62 63 62 32 61 34 34 39 63 31 37 66 34 38 39 32 31 62 65 61 37 39 37 31 31 65 33 66 30 37 62 63 31 62 36 33 39 30 65 39 66 31 32 62 63 35 61 34 37 30 38 66 31 39 33 65 34 30 61 32 39 64 36 34 61 63 65 62 30 64 35 62 31 30 65 22 7d e7 65 12 d8", "module": "test_helpers", "msecs": 499.8486042022705, "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 37 66 62 64 33 38 34 38 36 30 31 32 66 33 39 66 39 65 63 32 31 35 31 32 34 66 36 63 34 37 36 35 35 35 38 36 63 64 34 61 30 61 32 34 36 33 36 64 66 64 30 34 64 62 63 62 32 61 34 34 39 63 31 37 66 34 38 39 32 31 62 65 61 37 39 37 31 31 65 33 66 30 37 62 63 31 62 36 33 39 30 65 39 66 31 32 62 63 35 61 34 37 30 38 66 31 39 33 65 34 30 61 32 39 64 36 34 61 63 65 62 30 64 35 62 31 30 65 22 7d e7 65 12 d8", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 1932.5807094573975, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-7" }, { "args": [ "SJP:", "0", "3", "0", "'7fbd38486012f39f9ec215124f6c47655586cd4a0a24636dfd04dbcb2a449c17f48921bea79711e3f07bc1b6390e9f12bc5a4708f193e40a29d64aceb0d5b10e'" ], "asctime": "2019-12-27 17:11:13,500", "created": 1577463073.5002007, "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: \"'7fbd38486012f39f9ec215124f6c47655586cd4a0a24636dfd04dbcb2a449c17f48921bea79711e3f07bc1b6390e9f12bc5a4708f193e40a29d64aceb0d5b10e'\"", "module": "__init__", "msecs": 500.2007484436035, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 1932.9328536987305, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-7" }, { "args": [ "SJP:", "__authentificate_check_key__" ], "asctime": "2019-12-27 17:11:13,500", "created": 1577463073.5004067, "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": 500.40674209594727, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 1933.1388473510742, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-7" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:13,500", "created": 1577463073.5005887, "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": 500.58865547180176, "msg": "%s Got correct key, sending positive authentification feedback", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 1933.3207607269287, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-7" }, { "args": [ "SJP:", 0, 4, 0, "True" ], "asctime": "2019-12-27 17:11:13,500", "created": 1577463073.5007658, "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": 500.7658004760742, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 1933.4979057312012, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-7" }, { "args": [], "asctime": "2019-12-27 17:11:13,501", "created": 1577463073.5011146, "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": 501.1146068572998, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 1933.8467121124268, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-7" }, { "args": [], "asctime": "2019-12-27 17:11:13,651", "created": 1577463073.6519578, "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": 651.9577503204346, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 2084.6898555755615, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-8" }, { "args": [ "SJP:", "0", "4", "0", "True" ], "asctime": "2019-12-27 17:11:13,652", "created": 1577463073.6523266, "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": 652.3265838623047, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 2085.0586891174316, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-8" }, { "args": [ "SJP:", "__authentificate_process_feedback__" ], "asctime": "2019-12-27 17:11:13,652", "created": 1577463073.652562, "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": 652.5619029998779, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 2085.294008255005, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-8" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:13,652", "created": 1577463073.6527135, "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": 652.7135372161865, "msg": "%s Got positive authentification feedback", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 2085.4456424713135, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-8" }, { "args": [ "SJP:", 0, 10, 45054, "{'test': 'test'}" ], "asctime": "2019-12-27 17:11:13,746", "created": 1577463073.7460134, "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": 746.0134029388428, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 2178.7455081939697, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:11:13,746", "created": 1577463073.746559, "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": 746.5589046478271, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 2179.291009902954, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:11:13,897", "created": 1577463073.897259, "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": 897.258996963501, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 2329.991102218628, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-9" }, { "args": [ "SJP:", "0", "10", "45054", "{'test': 'test'}" ], "asctime": "2019-12-27 17:11:13,897", "created": 1577463073.8975985, "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": 897.5985050201416, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 2330.3306102752686, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-9" }, { "args": [ "SJP:", "response_data_method" ], "asctime": "2019-12-27 17:11:13,897", "created": 1577463073.8977978, "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": 897.7978229522705, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 2330.5299282073975, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-9" }, { "args": [ "SJP:", 5, 11, 45054, "[1, 3, 's']" ], "asctime": "2019-12-27 17:11:13,897", "created": 1577463073.8979626, "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": 897.9625701904297, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 2330.6946754455566, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-9" }, { "args": [], "asctime": "2019-12-27 17:11:13,898", "created": 1577463073.8983629, "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": 898.3628749847412, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 2331.094980239868, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-9" }, { "args": [], "asctime": "2019-12-27 17:11:14,049", "created": 1577463074.04916, "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": 49.160003662109375, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 2481.8921089172363, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-10" }, { "args": [ "SJP:", "5", "11", "45054", "[1, 3, 's']" ], "asctime": "2019-12-27 17:11:14,049", "created": 1577463074.0494862, "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": 49.48616027832031, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 2482.2182655334473, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-10" }, { "args": [ "SJP:", "Operation not permitted" ], "asctime": "2019-12-27 17:11:14,049", "created": 1577463074.0497124, "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": 49.712419509887695, "msg": "%s Received message has a peculiar status: %s", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 2482.4445247650146, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-10" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:14,049", "created": 1577463074.0499156, "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": 49.91555213928223, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 2482.647657394409, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-10" } ], "msecs": 248.01230430603027, "msg": "Send and received data by pure_json_protocol.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_normal_operation.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 2680.744409561157, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.19809675216674805 }, { "args": [ "True", "" ], "asctime": "2019-12-27 17:11:14,248", "created": 1577463074.248769, "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": "2019-12-27 17:11:14,248", "created": 1577463074.2484152, "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": 248.4152317047119, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 2681.147336959839, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Return value of authentification", "True", "" ], "asctime": "2019-12-27 17:11:14,248", "created": 1577463074.248606, "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": 248.60596656799316, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 2681.33807182312, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 248.76904487609863, "msg": "Return value of authentification is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 2681.5011501312256, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.00016307830810546875 }, { "args": [ "True", "" ], "asctime": "2019-12-27 17:11:14,249", "created": 1577463074.2492738, "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": "2019-12-27 17:11:14,248", "created": 1577463074.2489843, "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": 248.98433685302734, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 2681.7164421081543, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2019-12-27 17:11:14,249", "created": 1577463074.249127, "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": 249.12691116333008, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 2681.859016418457, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 249.27377700805664, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 2682.0058822631836, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.0001468658447265625 }, { "args": [ "0", "" ], "asctime": "2019-12-27 17:11:14,249", "created": 1577463074.2497113, "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": "2019-12-27 17:11:14,249", "created": 1577463074.2494547, "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": 249.45473670959473, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 2682.1868419647217, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Request Status (Okay) transfered via pure_json_protocol", "0", "" ], "asctime": "2019-12-27 17:11:14,249", "created": 1577463074.2495859, "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": 249.5858669281006, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 2682.3179721832275, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 249.711275100708, "msg": "Request Status (Okay) transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 2682.443380355835, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.00012540817260742188 }, { "args": [ "{'test': 'test'}", "" ], "asctime": "2019-12-27 17:11:14,250", "created": 1577463074.2502763, "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": "2019-12-27 17:11:14,249", "created": 1577463074.2498991, "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": 249.89914894104004, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 2682.631254196167, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Request Data transfered via pure_json_protocol", "{ 'test': 'test' }", "" ], "asctime": "2019-12-27 17:11:14,250", "created": 1577463074.2500577, "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": 250.05769729614258, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 2682.7898025512695, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 250.2763271331787, "msg": "Request Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 2683.0084323883057, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.0002186298370361328 }, { "args": [ "5", "" ], "asctime": "2019-12-27 17:11:14,250", "created": 1577463074.2507095, "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": "2019-12-27 17:11:14,250", "created": 1577463074.250462, "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": 250.46205520629883, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 2683.194160461426, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Response Status (Operation not permitted) transfered via pure_json_protocol", "5", "" ], "asctime": "2019-12-27 17:11:14,250", "created": 1577463074.250587, "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": 250.58698654174805, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 2683.319091796875, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 250.70953369140625, "msg": "Response Status (Operation not permitted) transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 2683.441638946533, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.00012254714965820312 }, { "args": [ "[1, 3, 's']", "" ], "asctime": "2019-12-27 17:11:14,251", "created": 1577463074.251201, "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": "2019-12-27 17:11:14,250", "created": 1577463074.2508903, "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": 250.89025497436523, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 2683.622360229492, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Response Data transfered via pure_json_protocol", "[ 1, 3, 's' ]", "" ], "asctime": "2019-12-27 17:11:14,251", "created": 1577463074.2510254, "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": 251.02543830871582, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 2683.757543563843, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 251.20091438293457, "msg": "Response Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 2683.9330196380615, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.00017547607421875 }, { "args": [ "None", "" ], "asctime": "2019-12-27 17:11:14,352", "created": 1577463074.3521795, "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": "2019-12-27 17:11:14,351", "created": 1577463074.35162, "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": 351.6199588775635, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 2784.3520641326904, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:14,351", "created": 1577463074.3518522, "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": 351.8521785736084, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 2784.5842838287354, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:14,352", "created": 1577463074.3520286, "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": 352.02860832214355, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 2784.7607135772705, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 352.17952728271484, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 2784.911632537842, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.00015091896057128906 }, { "args": [ "None", "" ], "asctime": "2019-12-27 17:11:14,453", "created": 1577463074.453188, "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": "2019-12-27 17:11:14,452", "created": 1577463074.4526167, "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": 452.61669158935547, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 2885.3487968444824, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:14,452", "created": 1577463074.4528513, "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": 452.8512954711914, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 2885.5834007263184, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:14,453", "created": 1577463074.4530275, "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": 453.02748680114746, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 2885.7595920562744, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 453.1879425048828, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 2885.9200477600098, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.00016045570373535156 } ], "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 1.4106175899505615, "time_finished": "2019-12-27 17:11:14,453", "time_start": "2019-12-27 17:11:13,042" }, "socket_protocol.pure_json_protocol: Send and receive check.": { "args": null, "asctime": "2019-12-27 17:11:12,334", "created": 1577463072.3342338, "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": 334.23376083374023, "msg": "socket_protocol.pure_json_protocol: Send and receive check.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 766.9658660888672, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2019-12-27 17:11:12,837", "created": 1577463072.8375297, "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": "2019-12-27 17:11:12,334", "created": 1577463072.3344836, "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": 334.4836235046387, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 767.2157287597656, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:12,334", "created": 1577463072.3347945, "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": 334.7945213317871, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 767.5266265869141, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:12,334", "created": 1577463072.3349752, "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": 334.9752426147461, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 767.707347869873, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:12,335", "created": 1577463072.3352406, "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": 335.24060249328613, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 767.9727077484131, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "SJP:", 0, 10, 45054, "{'test': 'test'}" ], "asctime": "2019-12-27 17:11:12,335", "created": 1577463072.335441, "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": 335.44111251831055, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 768.1732177734375, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:11:12,335", "created": 1577463072.3358576, "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": 335.857629776001, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 768.5897350311279, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:11:12,486", "created": 1577463072.4866958, "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": 486.6957664489746, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 919.4278717041016, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-3" }, { "args": [ "SJP:", "0", "10", "45054", "{'test': 'test'}" ], "asctime": "2019-12-27 17:11:12,487", "created": 1577463072.4871147, "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": 487.11466789245605, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 919.846773147583, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-3" }, { "args": [ "SJP:", "response_data_method" ], "asctime": "2019-12-27 17:11:12,487", "created": 1577463072.4873493, "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": 487.349271774292, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 920.081377029419, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-3" }, { "args": [ "SJP:", 5, 11, 45054, "[1, 3, 's']" ], "asctime": "2019-12-27 17:11:12,487", "created": 1577463072.4875329, "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": 487.5328540802002, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 920.2649593353271, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-3" }, { "args": [], "asctime": "2019-12-27 17:11:12,487", "created": 1577463072.487913, "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": 487.9128932952881, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 920.644998550415, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-3" }, { "args": [], "asctime": "2019-12-27 17:11:12,638", "created": 1577463072.6388028, "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": 638.8027667999268, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 1071.5348720550537, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-4" }, { "args": [ "SJP:", "5", "11", "45054", "[1, 3, 's']" ], "asctime": "2019-12-27 17:11:12,639", "created": 1577463072.6391551, "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": 639.1551494598389, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 1071.8872547149658, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-4" }, { "args": [ "SJP:", "Operation not permitted" ], "asctime": "2019-12-27 17:11:12,639", "created": 1577463072.639386, "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": 639.3859386444092, "msg": "%s Received message has a peculiar status: %s", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 1072.1180438995361, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-4" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:12,639", "created": 1577463072.6395679, "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": 639.5678520202637, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 1072.2999572753906, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-4" } ], "msecs": 837.5296592712402, "msg": "Send and received data by pure_json_protocol.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_normal_operation.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 1270.2617645263672, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.19796180725097656 }, { "args": [ "True", "" ], "asctime": "2019-12-27 17:11:12,838", "created": 1577463072.8382032, "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": "2019-12-27 17:11:12,837", "created": 1577463072.8378334, "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": 837.8334045410156, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 1270.5655097961426, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2019-12-27 17:11:12,838", "created": 1577463072.8380005, "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": 838.0005359649658, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 1270.7326412200928, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 838.2031917572021, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 1270.935297012329, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.00020265579223632812 }, { "args": [ "0", "" ], "asctime": "2019-12-27 17:11:12,838", "created": 1577463072.838684, "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": "2019-12-27 17:11:12,838", "created": 1577463072.8383963, "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": 838.3963108062744, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 1271.1284160614014, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Request Status (Okay) transfered via pure_json_protocol", "0", "" ], "asctime": "2019-12-27 17:11:12,838", "created": 1577463072.8385506, "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": 838.5505676269531, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 1271.28267288208, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 838.68408203125, "msg": "Request Status (Okay) transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 1271.416187286377, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.000133514404296875 }, { "args": [ "{'test': 'test'}", "" ], "asctime": "2019-12-27 17:11:12,839", "created": 1577463072.8391895, "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": "2019-12-27 17:11:12,838", "created": 1577463072.8388739, "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": 838.8738632202148, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 1271.6059684753418, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Request Data transfered via pure_json_protocol", "{ 'test': 'test' }", "" ], "asctime": "2019-12-27 17:11:12,839", "created": 1577463072.8390224, "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": 839.0223979949951, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 1271.754503250122, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 839.1895294189453, "msg": "Request Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 1271.9216346740723, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.0001671314239501953 }, { "args": [ "5", "" ], "asctime": "2019-12-27 17:11:12,839", "created": 1577463072.839613, "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": "2019-12-27 17:11:12,839", "created": 1577463072.839369, "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": 839.3690586090088, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 1272.1011638641357, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Response Status (Operation not permitted) transfered via pure_json_protocol", "5", "" ], "asctime": "2019-12-27 17:11:12,839", "created": 1577463072.8394907, "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": 839.4906520843506, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 1272.2227573394775, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 839.6129608154297, "msg": "Response Status (Operation not permitted) transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 1272.3450660705566, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.00012230873107910156 }, { "args": [ "[1, 3, 's']", "" ], "asctime": "2019-12-27 17:11:12,840", "created": 1577463072.8401203, "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": "2019-12-27 17:11:12,839", "created": 1577463072.8398051, "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": 839.8051261901855, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 1272.5372314453125, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Response Data transfered via pure_json_protocol", "[ 1, 3, 's' ]", "" ], "asctime": "2019-12-27 17:11:12,839", "created": 1577463072.8399441, "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": 839.9441242218018, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 1272.6762294769287, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 840.1203155517578, "msg": "Response Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 1272.8524208068848, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.0001761913299560547 }, { "args": [ "None", "" ], "asctime": "2019-12-27 17:11:12,941", "created": 1577463072.9410918, "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": "2019-12-27 17:11:12,940", "created": 1577463072.940543, "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": 940.5429363250732, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 1373.2750415802002, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:12,940", "created": 1577463072.9407897, "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": 940.7896995544434, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 1373.5218048095703, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:12,940", "created": 1577463072.9409475, "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": 940.9475326538086, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 1373.6796379089355, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 941.091775894165, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 1373.823881149292, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.0001442432403564453 }, { "args": [ "None", "" ], "asctime": "2019-12-27 17:11:13,042", "created": 1577463073.0421793, "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": "2019-12-27 17:11:13,041", "created": 1577463073.0415545, "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": 41.55445098876953, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 1474.2865562438965, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:13,041", "created": 1577463073.041824, "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": 41.8241024017334, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 1474.5562076568604, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:13,041", "created": 1577463073.0419934, "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": 41.99337959289551, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 1474.7254848480225, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 42.17934608459473, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 1474.9114513397217, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.00018596649169921875 } ], "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.7079455852508545, "time_finished": "2019-12-27 17:11:13,042", "time_start": "2019-12-27 17:11:12,334" }, "socket_protocol.pure_json_protocol: Timeout measurement for authentification and send method.": { "args": null, "asctime": "2019-12-27 17:11:19,004", "created": 1577463079.0046475, "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": 4.647493362426758, "msg": "socket_protocol.pure_json_protocol: Timeout measurement for authentification and send method.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 7437.379598617554, "stack_info": null, "testcaseLogger": [ { "args": [ "0.20095229148864746", "0.2", "0.22000000000000003", "" ], "asctime": "2019-12-27 17:11:19,207", "created": 1577463079.2074425, "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.20095229148864746 in [0.2 ... 0.22000000000000003] and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:19,004", "created": 1577463079.0049858, "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": 4.985809326171875, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 7437.717914581299, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:19,005", "created": 1577463079.0053449, "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": 5.344867706298828, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 7438.076972961426, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:19,005", "created": 1577463079.0055754, "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": 5.575418472290039, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 7438.307523727417, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:19,005", "created": 1577463079.0058231, "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": 5.8231353759765625, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 7438.5552406311035, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:19,005", "created": 1577463079.0059664, "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": 5.966424942016602, "msg": "%s Requesting seed for authentification", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 7438.698530197144, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "SJP:", 0, 1, 0, "None" ], "asctime": "2019-12-27 17:11:19,006", "created": 1577463079.0061226, "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": 6.122589111328125, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 7438.854694366455, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:11:19,006", "created": 1577463079.0064304, "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": 6.430387496948242, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 7439.162492752075, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Timeout for authentification", "0.20095229148864746", "" ], "asctime": "2019-12-27 17:11:19,206", "created": 1577463079.2069886, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Timeout for authentification): 0.20095229148864746 ()", "module": "test", "msecs": 206.98857307434082, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 7639.720678329468, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Timeout for authentification", "0.2", "0.22000000000000003" ], "asctime": "2019-12-27 17:11:19,207", "created": 1577463079.2072415, "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": 207.24153518676758, "msg": "Expectation (%s): %s <= result <= %s", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 7639.9736404418945, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 207.4425220489502, "msg": "Timeout for authentification is correct (Content %s in [%s ... %s] and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 7640.174627304077, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.0002009868621826172 }, { "args": [ "0.5016295909881592", "0.5", "0.55", "" ], "asctime": "2019-12-27 17:11:19,709", "created": 1577463079.7097857, "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.5016295909881592 in [0.5 ... 0.55] and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:19,207", "created": 1577463079.2076688, "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": 207.66878128051758, "msg": "%s Requesting seed for authentification", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 7640.4008865356445, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "SJP:", 0, 1, 0, "None" ], "asctime": "2019-12-27 17:11:19,207", "created": 1577463079.2078366, "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": 207.83662796020508, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 7640.568733215332, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:11:19,208", "created": 1577463079.2081885, "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": 208.18853378295898, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 7640.920639038086, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Timeout for authentification", "0.5016295909881592", "" ], "asctime": "2019-12-27 17:11:19,709", "created": 1577463079.7093587, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Timeout for authentification): 0.5016295909881592 ()", "module": "test", "msecs": 709.3586921691895, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 8142.090797424316, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Timeout for authentification", "0.5", "0.55" ], "asctime": "2019-12-27 17:11:19,709", "created": 1577463079.7096114, "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": 709.6114158630371, "msg": "Expectation (%s): %s <= result <= %s", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 8142.343521118164, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 709.7856998443604, "msg": "Timeout for authentification is correct (Content %s in [%s ... %s] and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 8142.517805099487, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.0001742839813232422 }, { "args": [ "0.2006547451019287", "0.2", "0.22000000000000003", "" ], "asctime": "2019-12-27 17:11:19,911", "created": 1577463079.9110188, "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.2006547451019287 in [0.2 ... 0.22000000000000003] and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "SJP:", "0.2", "30", "0" ], "asctime": "2019-12-27 17:11:19,910", "created": 1577463079.910445, "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": 910.444974899292, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 8343.177080154419, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Timeout for send method", "0.2006547451019287", "" ], "asctime": "2019-12-27 17:11:19,910", "created": 1577463079.9106789, "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.2006547451019287 ()", "module": "test", "msecs": 910.6788635253906, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 8343.410968780518, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Timeout for send method", "0.2", "0.22000000000000003" ], "asctime": "2019-12-27 17:11:19,910", "created": 1577463079.910861, "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": 910.8610153198242, "msg": "Expectation (%s): %s <= result <= %s", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 8343.593120574951, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 911.0188484191895, "msg": "Timeout for send method is correct (Content %s in [%s ... %s] and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 8343.750953674316, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.00015783309936523438 }, { "args": [ "0.5013296604156494", "0.5", "0.55", "" ], "asctime": "2019-12-27 17:11:20,412", "created": 1577463080.4129124, "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.5013296604156494 in [0.5 ... 0.55] and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "SJP:", "0.5", "30", "0" ], "asctime": "2019-12-27 17:11:20,412", "created": 1577463080.4122946, "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": 412.2946262359619, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 8845.026731491089, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Timeout for send method", "0.5013296604156494", "" ], "asctime": "2019-12-27 17:11:20,412", "created": 1577463080.412568, "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.5013296604156494 ()", "module": "test", "msecs": 412.5680923461914, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 8845.300197601318, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Timeout for send method", "0.5", "0.55" ], "asctime": "2019-12-27 17:11:20,412", "created": 1577463080.4127343, "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": 412.7342700958252, "msg": "Expectation (%s): %s <= result <= %s", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 8845.466375350952, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 412.91236877441406, "msg": "Timeout for send method is correct (Content %s in [%s ... %s] and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 8845.644474029541, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.0001780986785888672 } ], "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 1.4082648754119873, "time_finished": "2019-12-27 17:11:20,412", "time_start": "2019-12-27 17:11:19,004" }, "socket_protocol.pure_json_protocol: Wildcard Callback registration for data_id.": { "args": null, "asctime": "2019-12-27 17:11:15,870", "created": 1577463075.870373, "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": 870.373010635376, "msg": "socket_protocol.pure_json_protocol: Wildcard Callback registration for data_id.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 4303.105115890503, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2019-12-27 17:11:16,373", "created": 1577463076.373624, "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": "2019-12-27 17:11:15,870", "created": 1577463075.8706245, "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.6245422363281, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 4303.356647491455, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:15,870", "created": 1577463075.8709292, "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.9292411804199, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 4303.661346435547, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:15,871", "created": 1577463075.8711052, "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": 871.1051940917969, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 4303.837299346924, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:15,871", "created": 1577463075.871374, "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.3738918304443, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 4304.105997085571, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "SJP:", 0, 10, 48879, "{'test': 'test'}" ], "asctime": "2019-12-27 17:11:15,871", "created": 1577463075.8715758, "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": 871.5758323669434, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 4304.30793762207, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:11:15,871", "created": 1577463075.8719714, "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": 871.9713687896729, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 4304.7034740448, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:11:16,022", "created": 1577463076.0228426, "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": 22.8426456451416, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 4455.574750900269, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-15" }, { "args": [ "SJP:", "0", "10", "48879", "{'test': 'test'}" ], "asctime": "2019-12-27 17:11:16,023", "created": 1577463076.0232835, "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": 23.28348159790039, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 4456.015586853027, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-15" }, { "args": [ "SJP:", "response_data_method" ], "asctime": "2019-12-27 17:11:16,023", "created": 1577463076.0235171, "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": 23.517131805419922, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 4456.249237060547, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-15" }, { "args": [ "SJP:", 5, 11, 48879, "[1, 3, 's']" ], "asctime": "2019-12-27 17:11:16,023", "created": 1577463076.023719, "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": 23.719072341918945, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 4456.451177597046, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-15" }, { "args": [], "asctime": "2019-12-27 17:11:16,024", "created": 1577463076.024111, "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": 24.111032485961914, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 4456.843137741089, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-15" }, { "args": [], "asctime": "2019-12-27 17:11:16,174", "created": 1577463076.1749606, "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": 174.96061325073242, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 4607.692718505859, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-16" }, { "args": [ "SJP:", "5", "11", "48879", "[1, 3, 's']" ], "asctime": "2019-12-27 17:11:16,175", "created": 1577463076.1753182, "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": 175.31824111938477, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 4608.050346374512, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-16" }, { "args": [ "SJP:", "Operation not permitted" ], "asctime": "2019-12-27 17:11:16,175", "created": 1577463076.1755493, "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": 175.54926872253418, "msg": "%s Received message has a peculiar status: %s", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 4608.281373977661, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-16" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:16,175", "created": 1577463076.1757302, "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": 175.73022842407227, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 4608.462333679199, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-16" } ], "msecs": 373.6240863800049, "msg": "Send and received data by pure_json_protocol. Wildcard callback registerd for .", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_normal_operation.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 4806.356191635132, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.19789385795593262 }, { "args": [ "True", "" ], "asctime": "2019-12-27 17:11:16,374", "created": 1577463076.3742883, "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": "2019-12-27 17:11:16,373", "created": 1577463076.3739269, "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": 373.92687797546387, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 4806.658983230591, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2019-12-27 17:11:16,374", "created": 1577463076.3741343, "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": 374.1343021392822, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 4806.866407394409, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 374.28832054138184, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 4807.020425796509, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.00015401840209960938 }, { "args": [ "0", "" ], "asctime": "2019-12-27 17:11:16,374", "created": 1577463076.3747697, "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": "2019-12-27 17:11:16,374", "created": 1577463076.3745046, "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": 374.50456619262695, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 4807.236671447754, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Request Status (Okay) transfered via pure_json_protocol", "0", "" ], "asctime": "2019-12-27 17:11:16,374", "created": 1577463076.374641, "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": 374.64094161987305, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 4807.373046875, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 374.7696876525879, "msg": "Request Status (Okay) transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 4807.501792907715, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.00012874603271484375 }, { "args": [ "{'test': 'test'}", "" ], "asctime": "2019-12-27 17:11:16,375", "created": 1577463076.375261, "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": "2019-12-27 17:11:16,374", "created": 1577463076.3749545, "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": 374.9544620513916, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 4807.686567306519, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Request Data transfered via pure_json_protocol", "{ 'test': 'test' }", "" ], "asctime": "2019-12-27 17:11:16,375", "created": 1577463076.3750918, "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": 375.0917911529541, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 4807.823896408081, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 375.2610683441162, "msg": "Request Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 4807.993173599243, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.00016927719116210938 }, { "args": [ "5", "" ], "asctime": "2019-12-27 17:11:16,375", "created": 1577463076.3757153, "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": "2019-12-27 17:11:16,375", "created": 1577463076.3754478, "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": 375.44775009155273, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 4808.17985534668, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Response Status (Operation not permitted) transfered via pure_json_protocol", "5", "" ], "asctime": "2019-12-27 17:11:16,375", "created": 1577463076.37559, "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": 375.59008598327637, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 4808.322191238403, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 375.7152557373047, "msg": "Response Status (Operation not permitted) transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 4808.447360992432, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.0001251697540283203 }, { "args": [ "[1, 3, 's']", "" ], "asctime": "2019-12-27 17:11:16,376", "created": 1577463076.3762128, "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": "2019-12-27 17:11:16,375", "created": 1577463076.375899, "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": 375.899076461792, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 4808.631181716919, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Response Data transfered via pure_json_protocol", "[ 1, 3, 's' ]", "" ], "asctime": "2019-12-27 17:11:16,376", "created": 1577463076.3760376, "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": 376.03759765625, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 4808.769702911377, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 376.21283531188965, "msg": "Response Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 4808.944940567017, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.00017523765563964844 }, { "args": [ "None", "" ], "asctime": "2019-12-27 17:11:16,477", "created": 1577463076.4772677, "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": "2019-12-27 17:11:16,476", "created": 1577463076.4766247, "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": 476.6247272491455, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 4909.3568325042725, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2019-12-27 17:11:16,476", "created": 1577463076.4769425, "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": 476.9425392150879, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 4909.674644470215, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2019-12-27 17:11:16,477", "created": 1577463076.4771154, "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": 477.1153926849365, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 4909.8474979400635, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 477.2677421569824, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 4909.999847412109, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.00015234947204589844 }, { "args": [ "None", "" ], "asctime": "2019-12-27 17:11:16,578", "created": 1577463076.5782967, "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": "2019-12-27 17:11:16,577", "created": 1577463076.5776997, "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": 577.6996612548828, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 5010.43176651001, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2019-12-27 17:11:16,577", "created": 1577463076.5779457, "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": 577.9457092285156, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 5010.677814483643, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2019-12-27 17:11:16,578", "created": 1577463076.5781455, "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": 578.1455039978027, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 5010.87760925293, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 578.2966613769531, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 5011.02876663208, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.00015115737915039062 } ], "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.7079236507415771, "time_finished": "2019-12-27 17:11:16,578", "time_start": "2019-12-27 17:11:15,870" }, "socket_protocol.pure_json_protocol: Wildcard Callback registration for service_id and data_id.": { "args": null, "asctime": "2019-12-27 17:11:14,453", "created": 1577463074.4535742, "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": 453.57418060302734, "msg": "socket_protocol.pure_json_protocol: Wildcard Callback registration for service_id and data_id.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 2886.3062858581543, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2019-12-27 17:11:14,956", "created": 1577463074.9569433, "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": "2019-12-27 17:11:14,453", "created": 1577463074.453821, "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": 453.82094383239746, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 2886.5530490875244, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:14,454", "created": 1577463074.4541957, "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": 454.1957378387451, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 2886.927843093872, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:14,454", "created": 1577463074.4543827, "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": 454.38265800476074, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 2887.1147632598877, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:14,454", "created": 1577463074.4546418, "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": 454.64181900024414, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 2887.373924255371, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "SJP:", 0, 10, 48879, "{'test': 'test'}" ], "asctime": "2019-12-27 17:11:14,454", "created": 1577463074.454832, "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": 454.8320770263672, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 2887.564182281494, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:11:14,455", "created": 1577463074.4552312, "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": 455.2311897277832, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 2887.96329498291, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:11:14,606", "created": 1577463074.6060658, "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": 606.0657501220703, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 3038.7978553771973, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-11" }, { "args": [ "SJP:", "0", "10", "48879", "{'test': 'test'}" ], "asctime": "2019-12-27 17:11:14,606", "created": 1577463074.6064613, "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": 606.4612865447998, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 3039.1933917999268, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-11" }, { "args": [ "SJP:", "response_data_method" ], "asctime": "2019-12-27 17:11:14,606", "created": 1577463074.6066804, "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": 606.6803932189941, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 3039.412498474121, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-11" }, { "args": [ "SJP:", 5, 11, 48879, "[1, 3, 's']" ], "asctime": "2019-12-27 17:11:14,606", "created": 1577463074.6068494, "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": 606.8494319915771, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 3039.581537246704, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-11" }, { "args": [], "asctime": "2019-12-27 17:11:14,607", "created": 1577463074.607226, "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": 607.2258949279785, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 3039.9580001831055, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-11" }, { "args": [], "asctime": "2019-12-27 17:11:14,758", "created": 1577463074.7580664, "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": 758.0664157867432, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 3190.79852104187, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-12" }, { "args": [ "SJP:", "5", "11", "48879", "[1, 3, 's']" ], "asctime": "2019-12-27 17:11:14,758", "created": 1577463074.7584448, "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": 758.4447860717773, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 3191.1768913269043, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-12" }, { "args": [ "SJP:", "Operation not permitted" ], "asctime": "2019-12-27 17:11:14,758", "created": 1577463074.758673, "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": 758.6729526519775, "msg": "%s Received message has a peculiar status: %s", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 3191.4050579071045, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-12" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:14,758", "created": 1577463074.7588527, "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": 758.8527202606201, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 3191.584825515747, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-12" } ], "msecs": 956.9432735443115, "msg": "Send and received data by pure_json_protocol. Wildcard callback registerd for service_id and data_id.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_normal_operation.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 3389.6753787994385, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.1980905532836914 }, { "args": [ "True", "" ], "asctime": "2019-12-27 17:11:14,957", "created": 1577463074.9576817, "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": "2019-12-27 17:11:14,957", "created": 1577463074.9573255, "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": 957.3254585266113, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 3390.0575637817383, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2019-12-27 17:11:14,957", "created": 1577463074.9575183, "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": 957.5183391571045, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 3390.2504444122314, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 957.6816558837891, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 3390.413761138916, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.0001633167266845703 }, { "args": [ "0", "" ], "asctime": "2019-12-27 17:11:14,958", "created": 1577463074.9582057, "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": "2019-12-27 17:11:14,957", "created": 1577463074.9578807, "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": 957.8807353973389, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 3390.612840652466, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Request Status (Okay) transfered via pure_json_protocol", "0", "" ], "asctime": "2019-12-27 17:11:14,958", "created": 1577463074.9580233, "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": 958.0233097076416, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 3390.7554149627686, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 958.2056999206543, "msg": "Request Status (Okay) transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 3390.9378051757812, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.0001823902130126953 }, { "args": [ "{'test': 'test'}", "" ], "asctime": "2019-12-27 17:11:14,958", "created": 1577463074.9587216, "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": "2019-12-27 17:11:14,958", "created": 1577463074.9584155, "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": 958.4155082702637, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 3391.1476135253906, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Request Data transfered via pure_json_protocol", "{ 'test': 'test' }", "" ], "asctime": "2019-12-27 17:11:14,958", "created": 1577463074.9585593, "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": 958.5592746734619, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 3391.291379928589, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 958.7216377258301, "msg": "Request Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 3391.453742980957, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.00016236305236816406 }, { "args": [ "5", "" ], "asctime": "2019-12-27 17:11:14,959", "created": 1577463074.959166, "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": "2019-12-27 17:11:14,958", "created": 1577463074.9589016, "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": 958.9016437530518, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 3391.6337490081787, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Response Status (Operation not permitted) transfered via pure_json_protocol", "5", "" ], "asctime": "2019-12-27 17:11:14,959", "created": 1577463074.959038, "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": 959.0380191802979, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 3391.770124435425, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 959.1660499572754, "msg": "Response Status (Operation not permitted) transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 3391.8981552124023, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.00012803077697753906 }, { "args": [ "[1, 3, 's']", "" ], "asctime": "2019-12-27 17:11:14,959", "created": 1577463074.9596786, "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": "2019-12-27 17:11:14,959", "created": 1577463074.9593637, "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": 959.3636989593506, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 3392.0958042144775, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Response Data transfered via pure_json_protocol", "[ 1, 3, 's' ]", "" ], "asctime": "2019-12-27 17:11:14,959", "created": 1577463074.959503, "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": 959.5029354095459, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 3392.235040664673, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 959.6786499023438, "msg": "Response Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 3392.4107551574707, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.00017571449279785156 }, { "args": [ "None", "" ], "asctime": "2019-12-27 17:11:15,060", "created": 1577463075.0606637, "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": "2019-12-27 17:11:15,060", "created": 1577463075.0601091, "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": 60.10913848876953, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 3492.8412437438965, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2019-12-27 17:11:15,060", "created": 1577463075.060357, "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": 60.357093811035156, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 3493.089199066162, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2019-12-27 17:11:15,060", "created": 1577463075.0605178, "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": 60.51778793334961, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 3493.2498931884766, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 60.663700103759766, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 3493.3958053588867, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.00014591217041015625 }, { "args": [ "None", "" ], "asctime": "2019-12-27 17:11:15,161", "created": 1577463075.1616414, "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": "2019-12-27 17:11:15,161", "created": 1577463075.161106, "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": 161.10610961914062, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 3593.8382148742676, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2019-12-27 17:11:15,161", "created": 1577463075.1613393, "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": 161.33928298950195, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 3594.071388244629, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2019-12-27 17:11:15,161", "created": 1577463075.1614974, "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": 161.4973545074463, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 3594.2294597625732, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 161.64135932922363, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 3594.3734645843506, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.00014400482177734375 } ], "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.7080671787261963, "time_finished": "2019-12-27 17:11:15,161", "time_start": "2019-12-27 17:11:14,453" }, "socket_protocol.pure_json_protocol: Wildcard Callback registration for service_id.": { "args": null, "asctime": "2019-12-27 17:11:15,162", "created": 1577463075.1620328, "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": 162.0328426361084, "msg": "socket_protocol.pure_json_protocol: Wildcard Callback registration for service_id.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 3594.7649478912354, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2019-12-27 17:11:15,665", "created": 1577463075.6653104, "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": "2019-12-27 17:11:15,162", "created": 1577463075.1623578, "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": 162.35780715942383, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 3595.089912414551, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:15,162", "created": 1577463075.162665, "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": 162.66489028930664, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 3595.3969955444336, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:15,162", "created": 1577463075.162887, "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": 162.8870964050293, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 3595.6192016601562, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:15,163", "created": 1577463075.1631618, "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": 163.1617546081543, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 3595.8938598632812, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "SJP:", 0, 10, 48879, "{'test': 'test'}" ], "asctime": "2019-12-27 17:11:15,163", "created": 1577463075.1633587, "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": 163.3586883544922, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 3596.090793609619, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:11:15,163", "created": 1577463075.1637585, "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": 163.7585163116455, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 3596.4906215667725, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:11:15,314", "created": 1577463075.3144932, "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": 314.49317932128906, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 3747.225284576416, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-13" }, { "args": [ "SJP:", "0", "10", "48879", "{'test': 'test'}" ], "asctime": "2019-12-27 17:11:15,314", "created": 1577463075.3147082, "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": 314.7082328796387, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 3747.4403381347656, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-13" }, { "args": [ "SJP:", "response_data_method" ], "asctime": "2019-12-27 17:11:15,314", "created": 1577463075.3148243, "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": 314.82434272766113, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 3747.556447982788, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-13" }, { "args": [ "SJP:", 5, 11, 48879, "[1, 3, 's']" ], "asctime": "2019-12-27 17:11:15,314", "created": 1577463075.3149076, "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": 314.9075508117676, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 3747.6396560668945, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-13" }, { "args": [], "asctime": "2019-12-27 17:11:15,315", "created": 1577463075.3150969, "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": 315.0968551635742, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 3747.828960418701, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-13" }, { "args": [], "asctime": "2019-12-27 17:11:15,465", "created": 1577463075.4656203, "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": 465.6202793121338, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 3898.3523845672607, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-14" }, { "args": [ "SJP:", "5", "11", "48879", "[1, 3, 's']" ], "asctime": "2019-12-27 17:11:15,465", "created": 1577463075.4659345, "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": 465.93451499938965, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 3898.6666202545166, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-14" }, { "args": [ "SJP:", "Operation not permitted" ], "asctime": "2019-12-27 17:11:15,466", "created": 1577463075.4661813, "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": 466.18127822875977, "msg": "%s Received message has a peculiar status: %s", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 3898.9133834838867, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-14" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:15,466", "created": 1577463075.4663315, "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": 466.33148193359375, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 3899.0635871887207, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-14" } ], "msecs": 665.3103828430176, "msg": "Send and received data by pure_json_protocol. Wildcard callback registerd for service_id.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_normal_operation.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 4098.0424880981445, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.19897890090942383 }, { "args": [ "True", "" ], "asctime": "2019-12-27 17:11:15,666", "created": 1577463075.6660125, "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": "2019-12-27 17:11:15,665", "created": 1577463075.6656256, "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": 665.6255722045898, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 4098.357677459717, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2019-12-27 17:11:15,665", "created": 1577463075.6657982, "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": 665.7981872558594, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 4098.530292510986, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 666.0125255584717, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 4098.744630813599, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.0002143383026123047 }, { "args": [ "0", "" ], "asctime": "2019-12-27 17:11:15,666", "created": 1577463075.6665547, "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": "2019-12-27 17:11:15,666", "created": 1577463075.666275, "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": 666.2750244140625, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 4099.007129669189, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Request Status (Okay) transfered via pure_json_protocol", "0", "" ], "asctime": "2019-12-27 17:11:15,666", "created": 1577463075.6664233, "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": 666.4233207702637, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 4099.155426025391, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 666.5546894073486, "msg": "Request Status (Okay) transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 4099.286794662476, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.00013136863708496094 }, { "args": [ "{'test': 'test'}", "" ], "asctime": "2019-12-27 17:11:15,667", "created": 1577463075.6670341, "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": "2019-12-27 17:11:15,666", "created": 1577463075.6667416, "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": 666.7416095733643, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 4099.473714828491, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Request Data transfered via pure_json_protocol", "{ 'test': 'test' }", "" ], "asctime": "2019-12-27 17:11:15,666", "created": 1577463075.666878, "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": 666.8779850006104, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 4099.610090255737, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 667.0341491699219, "msg": "Request Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 4099.766254425049, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.00015616416931152344 }, { "args": [ "5", "" ], "asctime": "2019-12-27 17:11:15,667", "created": 1577463075.667456, "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": "2019-12-27 17:11:15,667", "created": 1577463075.6672113, "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": 667.2112941741943, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 4099.943399429321, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Response Status (Operation not permitted) transfered via pure_json_protocol", "5", "" ], "asctime": "2019-12-27 17:11:15,667", "created": 1577463075.6673343, "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": 667.3343181610107, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 4100.066423416138, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 667.4559116363525, "msg": "Response Status (Operation not permitted) transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 4100.1880168914795, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.00012159347534179688 }, { "args": [ "[1, 3, 's']", "" ], "asctime": "2019-12-27 17:11:15,667", "created": 1577463075.6679678, "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": "2019-12-27 17:11:15,667", "created": 1577463075.667637, "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": 667.6371097564697, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 4100.369215011597, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Response Data transfered via pure_json_protocol", "[ 1, 3, 's' ]", "" ], "asctime": "2019-12-27 17:11:15,667", "created": 1577463075.6677842, "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": 667.7842140197754, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 4100.516319274902, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 667.9677963256836, "msg": "Response Data transfered via pure_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 4100.699901580811, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.00018358230590820312 }, { "args": [ "None", "" ], "asctime": "2019-12-27 17:11:15,768", "created": 1577463075.7689471, "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": "2019-12-27 17:11:15,768", "created": 1577463075.7683861, "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": 768.3861255645752, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 4201.118230819702, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2019-12-27 17:11:15,768", "created": 1577463075.7686322, "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": 768.632173538208, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 4201.364278793335, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2019-12-27 17:11:15,768", "created": 1577463075.7688003, "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": 768.8002586364746, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 4201.532363891602, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 768.9471244812012, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 4201.679229736328, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.0001468658447265625 }, { "args": [ "None", "" ], "asctime": "2019-12-27 17:11:15,869", "created": 1577463075.869941, "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": "2019-12-27 17:11:15,869", "created": 1577463075.8693748, "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": 869.3747520446777, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 4302.106857299805, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2019-12-27 17:11:15,869", "created": 1577463075.8696222, "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": 869.6222305297852, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 4302.354335784912, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef", "None", "" ], "asctime": "2019-12-27 17:11:15,869", "created": 1577463075.8697925, "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": 869.7924613952637, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 4302.524566650391, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 869.940996170044, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 4302.673101425171, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.00014853477478027344 } ], "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.7079081535339355, "time_finished": "2019-12-27 17:11:15,869", "time_start": "2019-12-27 17:11:15,162" }, "socket_protocol.struct_json_protocol: Send and receive check (Twice for coverage of buffer initialisation).": { "args": null, "asctime": "2019-12-27 17:11:17,287", "created": 1577463077.287348, "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": 287.34803199768066, "msg": "socket_protocol.struct_json_protocol: Send and receive check (Twice for coverage of buffer initialisation).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 5720.080137252808, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2019-12-27 17:11:18,292", "created": 1577463078.2922707, "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": "2019-12-27 17:11:17,287", "created": 1577463077.287609, "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": 287.6091003417969, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 5720.341205596924, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:17,287", "created": 1577463077.287922, "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": 287.9219055175781, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 5720.654010772705, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:17,288", "created": 1577463077.2880955, "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": 288.09547424316406, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 5720.827579498291, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:17,288", "created": 1577463077.2883508, "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": 288.35082054138184, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 5721.082925796509, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "SJP:", 0, 10, 45054, "{'test': 'test'}" ], "asctime": "2019-12-27 17:11:17,288", "created": 1577463077.2885487, "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": 288.54870796203613, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 5721.280813217163, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:11:17,288", "created": 1577463077.2888913, "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": 288.8913154602051, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 5721.623420715332, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:11:17,439", "created": 1577463077.4396434, "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": 439.64338302612305, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 5872.37548828125, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-19" }, { "args": [ "SJP:", "0", "10", "45054", "{'test': 'test'}" ], "asctime": "2019-12-27 17:11:17,440", "created": 1577463077.4400399, "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": 440.03987312316895, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 5872.771978378296, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-19" }, { "args": [ "SJP:", "response_data_method" ], "asctime": "2019-12-27 17:11:17,440", "created": 1577463077.440254, "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": 440.25397300720215, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 5872.986078262329, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-19" }, { "args": [ "SJP:", 5, 11, 45054, "[1, 3, 's']" ], "asctime": "2019-12-27 17:11:17,440", "created": 1577463077.4404204, "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": 440.42038917541504, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 5873.152494430542, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-19" }, { "args": [], "asctime": "2019-12-27 17:11:17,440", "created": 1577463077.440721, "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": 440.7210350036621, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 5873.453140258789, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-19" }, { "args": [], "asctime": "2019-12-27 17:11:17,591", "created": 1577463077.5914285, "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": 591.4285182952881, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 6024.160623550415, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-20" }, { "args": [ "SJP:", "5", "11", "45054", "[1, 3, 's']" ], "asctime": "2019-12-27 17:11:17,591", "created": 1577463077.5918036, "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": 591.8035507202148, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 6024.535655975342, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-20" }, { "args": [ "SJP:", "Operation not permitted" ], "asctime": "2019-12-27 17:11:17,592", "created": 1577463077.592028, "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": 592.0279026031494, "msg": "%s Received message has a peculiar status: %s", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 6024.760007858276, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-20" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:17,592", "created": 1577463077.5922246, "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": 592.2245979309082, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 6024.956703186035, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-20" }, { "args": [ "SJP:", 0, 10, 45054, "{'test': 'test'}" ], "asctime": "2019-12-27 17:11:17,790", "created": 1577463077.7905676, "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": 790.5676364898682, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 6223.299741744995, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:11:17,790", "created": 1577463077.7908494, "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": 790.8494472503662, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 6223.581552505493, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:11:17,941", "created": 1577463077.9414585, "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": 941.4584636688232, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 6374.19056892395, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-21" }, { "args": [ "SJP:", "0", "10", "45054", "{'test': 'test'}" ], "asctime": "2019-12-27 17:11:17,941", "created": 1577463077.9418874, "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": 941.887378692627, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 6374.619483947754, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-21" }, { "args": [ "SJP:", "response_data_method" ], "asctime": "2019-12-27 17:11:17,942", "created": 1577463077.9421268, "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": 942.1267509460449, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 6374.858856201172, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-21" }, { "args": [ "SJP:", 5, 11, 45054, "[1, 3, 's']" ], "asctime": "2019-12-27 17:11:17,942", "created": 1577463077.9423206, "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": 942.3205852508545, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 6375.052690505981, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-21" }, { "args": [], "asctime": "2019-12-27 17:11:17,942", "created": 1577463077.9426482, "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": 942.64817237854, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 6375.380277633667, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-21" }, { "args": [], "asctime": "2019-12-27 17:11:18,093", "created": 1577463078.0933764, "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": 93.37639808654785, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 6526.108503341675, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-22" }, { "args": [ "SJP:", "5", "11", "45054", "[1, 3, 's']" ], "asctime": "2019-12-27 17:11:18,093", "created": 1577463078.0937743, "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": 93.77431869506836, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 6526.506423950195, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-22" }, { "args": [ "SJP:", "Operation not permitted" ], "asctime": "2019-12-27 17:11:18,093", "created": 1577463078.0939996, "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": 93.99962425231934, "msg": "%s Received message has a peculiar status: %s", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 6526.731729507446, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-22" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:18,094", "created": 1577463078.0942163, "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": 94.21634674072266, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 6526.94845199585, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-22" } ], "msecs": 292.2706604003906, "msg": "Send and received data by struct_json_protocol.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_normal_operation.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 6725.002765655518, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.19805431365966797 }, { "args": [ "True", "" ], "asctime": "2019-12-27 17:11:18,292", "created": 1577463078.292878, "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": "2019-12-27 17:11:18,292", "created": 1577463078.2925954, "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": 292.59538650512695, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 6725.327491760254, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2019-12-27 17:11:18,292", "created": 1577463078.2927449, "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": 292.74487495422363, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 6725.476980209351, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 292.8779125213623, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 6725.610017776489, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.00013303756713867188 }, { "args": [ "0", "" ], "asctime": "2019-12-27 17:11:18,293", "created": 1577463078.2933054, "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": "2019-12-27 17:11:18,293", "created": 1577463078.2930605, "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": 293.0605411529541, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 6725.792646408081, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Request Status (Okay) transfered via struct_json_protocol", "0", "" ], "asctime": "2019-12-27 17:11:18,293", "created": 1577463078.2931814, "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": 293.1814193725586, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 6725.913524627686, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 293.3053970336914, "msg": "Request Status (Okay) transfered via struct_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 6726.037502288818, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.0001239776611328125 }, { "args": [ "{'test': 'test'}", "" ], "asctime": "2019-12-27 17:11:18,293", "created": 1577463078.293748, "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": "2019-12-27 17:11:18,293", "created": 1577463078.2934818, "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": 293.48182678222656, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 6726.2139320373535, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Request Data transfered via struct_json_protocol", "{ 'test': 'test' }", "" ], "asctime": "2019-12-27 17:11:18,293", "created": 1577463078.2936053, "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": 293.6053276062012, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 6726.337432861328, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 293.7479019165039, "msg": "Request Data transfered via struct_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 6726.480007171631, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.00014257431030273438 }, { "args": [ "5", "" ], "asctime": "2019-12-27 17:11:18,294", "created": 1577463078.294163, "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": "2019-12-27 17:11:18,293", "created": 1577463078.293904, "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": 293.90406608581543, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 6726.636171340942, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Response Status (Operation not permitted) transfered via struct_json_protocol", "5", "" ], "asctime": "2019-12-27 17:11:18,294", "created": 1577463078.2940147, "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": 294.01469230651855, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 6726.7467975616455, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 294.1629886627197, "msg": "Response Status (Operation not permitted) transfered via struct_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 6726.895093917847, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.00014829635620117188 }, { "args": [ "[1, 3, 's']", "" ], "asctime": "2019-12-27 17:11:18,294", "created": 1577463078.2946067, "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": "2019-12-27 17:11:18,294", "created": 1577463078.29433, "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": 294.3298816680908, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 6727.061986923218, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Response Data transfered via struct_json_protocol", "[ 1, 3, 's' ]", "" ], "asctime": "2019-12-27 17:11:18,294", "created": 1577463078.2944505, "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": 294.4505214691162, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 6727.182626724243, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 294.60668563842773, "msg": "Response Data transfered via struct_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 6727.338790893555, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.00015616416931152344 }, { "args": [ "None", "" ], "asctime": "2019-12-27 17:11:18,396", "created": 1577463078.3963172, "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": "2019-12-27 17:11:18,395", "created": 1577463078.3951821, "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": 395.18213272094727, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 6827.914237976074, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for struct_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:18,395", "created": 1577463078.395719, "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": 395.719051361084, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 6828.451156616211, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for struct_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:18,396", "created": 1577463078.3960714, "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": 396.0714340209961, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 6828.803539276123, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 396.3172435760498, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 6829.049348831177, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.00024580955505371094 }, { "args": [ "None", "" ], "asctime": "2019-12-27 17:11:18,497", "created": 1577463078.4975219, "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": "2019-12-27 17:11:18,496", "created": 1577463078.496928, "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": 496.92797660827637, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 6929.660081863403, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for struct_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:18,497", "created": 1577463078.4971814, "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": 497.1814155578613, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 6929.913520812988, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for struct_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:18,497", "created": 1577463078.497361, "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": 497.3609447479248, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 6930.093050003052, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 497.52187728881836, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 6930.253982543945, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.0001609325408935547 } ], "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 1.2101738452911377, "time_finished": "2019-12-27 17:11:18,497", "time_start": "2019-12-27 17:11:17,287" }, "socket_protocol.struct_json_protocol: Send and receive check.": { "args": null, "asctime": "2019-12-27 17:11:11,626", "created": 1577463071.6268632, "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": 626.8632411956787, "msg": "socket_protocol.struct_json_protocol: Send and receive check.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 59.595346450805664, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2019-12-27 17:11:12,129", "created": 1577463072.1291292, "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": "2019-12-27 17:11:11,627", "created": 1577463071.6270738, "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": 627.0737648010254, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 59.805870056152344, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:11,627", "created": 1577463071.6273751, "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": 627.3751258850098, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 60.10723114013672, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:11,627", "created": 1577463071.6274376, "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": 627.4375915527344, "msg": "%s Cleaning up receive-buffer", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 60.16969680786133, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:11,627", "created": 1577463071.6275141, "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": 627.514123916626, "msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 60.24622917175293, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "SJP:", 0, 10, 45054, "{'test': 'test'}" ], "asctime": "2019-12-27 17:11:11,627", "created": 1577463071.6275754, "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": 627.5753974914551, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 60.30750274658203, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:11:11,627", "created": 1577463071.6276908, "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": 627.6907920837402, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 60.42289733886719, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [], "asctime": "2019-12-27 17:11:11,778", "created": 1577463071.7783256, "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": 778.3255577087402, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 211.0576629638672, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-1" }, { "args": [ "SJP:", "0", "10", "45054", "{'test': 'test'}" ], "asctime": "2019-12-27 17:11:11,778", "created": 1577463071.778836, "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": 778.8360118865967, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 211.56811714172363, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-1" }, { "args": [ "SJP:", "response_data_method" ], "asctime": "2019-12-27 17:11:11,779", "created": 1577463071.7790623, "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": 779.0622711181641, "msg": "%s Executing callback %s to process received data", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 211.79437637329102, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-1" }, { "args": [ "SJP:", 5, 11, 45054, "[1, 3, 's']" ], "asctime": "2019-12-27 17:11:11,779", "created": 1577463071.7792463, "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": 779.2463302612305, "msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 211.97843551635742, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-1" }, { "args": [], "asctime": "2019-12-27 17:11:11,779", "created": 1577463071.779576, "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": 779.5760631561279, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 212.30816841125488, "stack_info": null, "thread": 139786349680384, "threadName": "Thread-1" }, { "args": [], "asctime": "2019-12-27 17:11:11,930", "created": 1577463071.9305272, "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": 930.5272102355957, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_helpers.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 363.25931549072266, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-2" }, { "args": [ "SJP:", "5", "11", "45054", "[1, 3, 's']" ], "asctime": "2019-12-27 17:11:11,930", "created": 1577463071.9309752, "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": 930.9751987457275, "msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 363.7073040008545, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-2" }, { "args": [ "SJP:", "Operation not permitted" ], "asctime": "2019-12-27 17:11:11,931", "created": 1577463071.9312048, "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": 931.2047958374023, "msg": "%s Received message has a peculiar status: %s", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 363.9369010925293, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-2" }, { "args": [ "SJP:" ], "asctime": "2019-12-27 17:11:11,931", "created": 1577463071.9313853, "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": 931.3852787017822, "msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 364.1173839569092, "stack_info": null, "thread": 139786341287680, "threadName": "Thread-2" } ], "msecs": 129.12917137145996, "msg": "Send and received data by struct_json_protocol.", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/tests/test_normal_operation.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 561.8612766265869, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.19774389266967773 }, { "args": [ "True", "" ], "asctime": "2019-12-27 17:11:12,129", "created": 1577463072.1297705, "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": "2019-12-27 17:11:12,129", "created": 1577463072.1294434, "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": 129.44340705871582, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 562.1755123138428, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Return value of send method", "True", "" ], "asctime": "2019-12-27 17:11:12,129", "created": 1577463072.1296213, "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": 129.6212673187256, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 562.3533725738525, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 129.77051734924316, "msg": "Return value of send method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 562.5026226043701, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.00014925003051757812 }, { "args": [ "0", "" ], "asctime": "2019-12-27 17:11:12,130", "created": 1577463072.130381, "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": "2019-12-27 17:11:12,130", "created": 1577463072.130035, "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": 130.0349235534668, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 562.7670288085938, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Request Status (Okay) transfered via struct_json_protocol", "0", "" ], "asctime": "2019-12-27 17:11:12,130", "created": 1577463072.1302478, "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": 130.2478313446045, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 562.9799365997314, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 130.38110733032227, "msg": "Request Status (Okay) transfered via struct_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 563.1132125854492, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.00013327598571777344 }, { "args": [ "{'test': 'test'}", "" ], "asctime": "2019-12-27 17:11:12,130", "created": 1577463072.1308815, "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": "2019-12-27 17:11:12,130", "created": 1577463072.1305735, "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": 130.57351112365723, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 563.3056163787842, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Request Data transfered via struct_json_protocol", "{ 'test': 'test' }", "" ], "asctime": "2019-12-27 17:11:12,130", "created": 1577463072.1307113, "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": 130.71131706237793, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 563.4434223175049, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 130.88154792785645, "msg": "Request Data transfered via struct_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 563.6136531829834, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.00017023086547851562 }, { "args": [ "5", "" ], "asctime": "2019-12-27 17:11:12,131", "created": 1577463072.1313272, "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": "2019-12-27 17:11:12,131", "created": 1577463072.131071, "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": 131.0710906982422, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 563.8031959533691, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Response Status (Operation not permitted) transfered via struct_json_protocol", "5", "" ], "asctime": "2019-12-27 17:11:12,131", "created": 1577463072.131196, "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": 131.1960220336914, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 563.9281272888184, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 131.32715225219727, "msg": "Response Status (Operation not permitted) transfered via struct_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 564.0592575073242, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.00013113021850585938 }, { "args": [ "[1, 3, 's']", "" ], "asctime": "2019-12-27 17:11:12,131", "created": 1577463072.1318307, "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": "2019-12-27 17:11:12,131", "created": 1577463072.1315126, "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": 131.51264190673828, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 564.2447471618652, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Response Data transfered via struct_json_protocol", "[ 1, 3, 's' ]", "" ], "asctime": "2019-12-27 17:11:12,131", "created": 1577463072.131651, "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": 131.6509246826172, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 564.3830299377441, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 131.83069229125977, "msg": "Response Data transfered via struct_json_protocol is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 564.5627975463867, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.00017976760864257812 }, { "args": [ "None", "" ], "asctime": "2019-12-27 17:11:12,232", "created": 1577463072.2327988, "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": "2019-12-27 17:11:12,232", "created": 1577463072.2322466, "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": 232.24663734436035, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 664.9787425994873, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for struct_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:12,232", "created": 1577463072.232492, "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": 232.49197006225586, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 665.2240753173828, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Return Value (request instance) for struct_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:12,232", "created": 1577463072.2326536, "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": 232.65361785888672, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 665.3857231140137, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 232.79881477355957, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 665.5309200286865, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.00014519691467285156 }, { "args": [ "None", "" ], "asctime": "2019-12-27 17:11:12,333", "created": 1577463072.33381, "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": "2019-12-27 17:11:12,333", "created": 1577463072.333254, "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": 333.2540988922119, "msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.", "name": "SOCKET_PROTOCOL", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/socket_protocol/__init__.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 765.9862041473389, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for struct_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:12,333", "created": 1577463072.3334835, "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": 333.4834575653076, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 766.2155628204346, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" }, { "args": [ "Return Value (response instance) for struct_json_protocol.receive with data data_id 0xaffe", "None", "" ], "asctime": "2019-12-27 17:11:12,333", "created": 1577463072.3336427, "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": 333.64272117614746, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 766.3748264312744, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread" } ], "msecs": 333.81009101867676, "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": "/user_data/data/dirk/prj/modules/socket_protocol/unittest/src/unittest/test.py", "process": 24494, "processName": "MainProcess", "relativeCreated": 766.5421962738037, "stack_info": null, "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.00016736984252929688 } ], "thread": 139786427156288, "threadName": "MainThread", "time_consumption": 0.706946849822998, "time_finished": "2019-12-27 17:11:12,333", "time_start": "2019-12-27 17:11:11,626" } }, "testrun_id": "p3", "time_consumption": 11.309005975723267, "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" } }