31676 行
1.9 MiB
31676 行
1.9 MiB
{
|
|
"coverage_information": [
|
|
{
|
|
"branch_coverage": 96.77,
|
|
"filepath": "/user_data/data/dirk/prj/unittest/socket_protocol/pylibs/socket_protocol",
|
|
"files": [
|
|
{
|
|
"branch_coverage": 96.77,
|
|
"filepath": "/user_data/data/dirk/prj/unittest/socket_protocol/pylibs/socket_protocol/__init__.py",
|
|
"fragments": [
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 3,
|
|
"start": 1
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 4,
|
|
"start": 4
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 24,
|
|
"start": 5
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 25,
|
|
"start": 25
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 26,
|
|
"start": 26
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 27,
|
|
"start": 27
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 28,
|
|
"start": 28
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 36,
|
|
"start": 29
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 38,
|
|
"start": 37
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 43,
|
|
"start": 39
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 45,
|
|
"start": 44
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 46,
|
|
"start": 46
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 48,
|
|
"start": 47
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 49,
|
|
"start": 49
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 52,
|
|
"start": 50
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 54,
|
|
"start": 53
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 56,
|
|
"start": 55
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 59,
|
|
"start": 57
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 60,
|
|
"start": 60
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 81,
|
|
"start": 61
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 82,
|
|
"start": 82
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 88,
|
|
"start": 83
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 90,
|
|
"start": 89
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 95,
|
|
"start": 91
|
|
},
|
|
{
|
|
"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": 108,
|
|
"start": 108
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 110,
|
|
"start": 109
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 112,
|
|
"start": 111
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 113,
|
|
"start": 113
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 139,
|
|
"start": 114
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 140,
|
|
"start": 140
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 141,
|
|
"start": 141
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 151,
|
|
"start": 142
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 152,
|
|
"start": 152
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 153,
|
|
"start": 153
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 159,
|
|
"start": 154
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 160,
|
|
"start": 160
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 161,
|
|
"start": 161
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 168,
|
|
"start": 162
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 174,
|
|
"start": 169
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 180,
|
|
"start": 175
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 185,
|
|
"start": 181
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 200,
|
|
"start": 186
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 201,
|
|
"start": 201
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 202,
|
|
"start": 202
|
|
},
|
|
{
|
|
"coverage_state": "uncovered",
|
|
"end": 203,
|
|
"start": 203
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 204,
|
|
"start": 204
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 205,
|
|
"start": 205
|
|
},
|
|
{
|
|
"coverage_state": "uncovered",
|
|
"end": 206,
|
|
"start": 206
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 207,
|
|
"start": 207
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 208,
|
|
"start": 208
|
|
},
|
|
{
|
|
"coverage_state": "uncovered",
|
|
"end": 209,
|
|
"start": 209
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 210,
|
|
"start": 210
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 211,
|
|
"start": 211
|
|
},
|
|
{
|
|
"coverage_state": "uncovered",
|
|
"end": 214,
|
|
"start": 212
|
|
},
|
|
{
|
|
"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": 223,
|
|
"start": 220
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 224,
|
|
"start": 224
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 226,
|
|
"start": 225
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 227,
|
|
"start": 227
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 232,
|
|
"start": 228
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 233,
|
|
"start": 233
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 236,
|
|
"start": 234
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 237,
|
|
"start": 237
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 242,
|
|
"start": 238
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 243,
|
|
"start": 243
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 246,
|
|
"start": 244
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 247,
|
|
"start": 247
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 248,
|
|
"start": 248
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 249,
|
|
"start": 249
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 251,
|
|
"start": 250
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 252,
|
|
"start": 252
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 256,
|
|
"start": 253
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 257,
|
|
"start": 257
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 259,
|
|
"start": 258
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 266,
|
|
"start": 260
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 268,
|
|
"start": 267
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 271,
|
|
"start": 269
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 279,
|
|
"start": 272
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 280,
|
|
"start": 280
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 286,
|
|
"start": 281
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 290,
|
|
"start": 287
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 296,
|
|
"start": 291
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 297,
|
|
"start": 297
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 302,
|
|
"start": 298
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 303,
|
|
"start": 303
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 310,
|
|
"start": 304
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 311,
|
|
"start": 311
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 314,
|
|
"start": 312
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 315,
|
|
"start": 315
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 328,
|
|
"start": 316
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 329,
|
|
"start": 329
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 331,
|
|
"start": 330
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 332,
|
|
"start": 332
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 333,
|
|
"start": 333
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 351,
|
|
"start": 334
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 353,
|
|
"start": 352
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 354,
|
|
"start": 354
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 355,
|
|
"start": 355
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 378,
|
|
"start": 356
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 379,
|
|
"start": 379
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 380,
|
|
"start": 380
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 381,
|
|
"start": 381
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 393,
|
|
"start": 382
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 406,
|
|
"start": 394
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 407,
|
|
"start": 407
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 408,
|
|
"start": 408
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 412,
|
|
"start": 409
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 413,
|
|
"start": 413
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 414,
|
|
"start": 414
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 417,
|
|
"start": 415
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 418,
|
|
"start": 418
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 419,
|
|
"start": 419
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 420,
|
|
"start": 420
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 425,
|
|
"start": 421
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 426,
|
|
"start": 426
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 428,
|
|
"start": 427
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 429,
|
|
"start": 429
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 435,
|
|
"start": 430
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 436,
|
|
"start": 436
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 442,
|
|
"start": 437
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 443,
|
|
"start": 443
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 446,
|
|
"start": 444
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 447,
|
|
"start": 447
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 452,
|
|
"start": 448
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 453,
|
|
"start": 453
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 456,
|
|
"start": 454
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 458,
|
|
"start": 457
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 459,
|
|
"start": 459
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 482,
|
|
"start": 460
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 484,
|
|
"start": 483
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 485,
|
|
"start": 485
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 491,
|
|
"start": 486
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 492,
|
|
"start": 492
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 495,
|
|
"start": 493
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 496,
|
|
"start": 496
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 497,
|
|
"start": 497
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 498,
|
|
"start": 498
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 500,
|
|
"start": 499
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 501,
|
|
"start": 501
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 503,
|
|
"start": 502
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": null,
|
|
"start": 504
|
|
}
|
|
],
|
|
"line_coverage": 97.82,
|
|
"name": "socket_protocol.__init__.py"
|
|
}
|
|
],
|
|
"line_coverage": 97.82,
|
|
"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": "Linux Mint 20 ulyana",
|
|
"Hostname": "ahorn",
|
|
"Kernel": "5.4.0-58-generic (#64-Ubuntu SMP Wed Dec 9 08:16:25 UTC 2020)",
|
|
"Machine": "x86_64",
|
|
"Path": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest",
|
|
"System": "Linux",
|
|
"Username": "dirk"
|
|
},
|
|
"testobject_information": {
|
|
"Dependencies": [
|
|
[
|
|
"stringtools",
|
|
"3eac28a80770a728e1f521fadb92868d"
|
|
]
|
|
],
|
|
"Description": "The Module {\\tt socket\\_protocol} is designed to pack and unpack data for serial transportation.\nFor more Information read the sphinx documentation.",
|
|
"Name": "socket_protocol",
|
|
"State": "Released",
|
|
"Supported Interpreters": "python2, python3",
|
|
"Version": "b6a37b5ebade9bbfaf8d4b1ce203f822"
|
|
},
|
|
"testrun_list": [
|
|
{
|
|
"heading_dict": {},
|
|
"interpreter": "python 2.7.18 (final)",
|
|
"name": "Default Testsession name",
|
|
"number_of_failed_tests": 0,
|
|
"number_of_possibly_failed_tests": 0,
|
|
"number_of_successfull_tests": 15,
|
|
"number_of_tests": 15,
|
|
"testcase_execution_level": 90,
|
|
"testcase_names": {
|
|
"0": "Single Test",
|
|
"10": "Smoke Test (Minumum subset)",
|
|
"50": "Short Test (Subset)",
|
|
"90": "Full Test (all defined tests)"
|
|
},
|
|
"testcases": {
|
|
"socket_protocol.pure_json_protocol: Authentification processed without secret.": {
|
|
"args": null,
|
|
"asctime": "2020-12-21 22:33:00,256",
|
|
"created": 1608586380.25657,
|
|
"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": 256.57010078430176,
|
|
"msg": "socket_protocol.pure_json_protocol: Authentification processed without secret.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest/src/tests/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10950.309038162231,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:00,257",
|
|
"created": 1608586380.257375,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_handling_errors.py",
|
|
"funcName": "authentification_no_secret",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 109,
|
|
"message": "Authentification with no secret definition (pure_json_protocol).",
|
|
"module": "test_handling_errors",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:00,256",
|
|
"created": 1608586380.256762,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__clean_receive_buffer__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 313,
|
|
"message": "SJP: Cleaning up receive-buffer",
|
|
"module": "__init__",
|
|
"msecs": 256.7620277404785,
|
|
"msg": "%s Cleaning up receive-buffer",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10950.500965118408,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:00,256",
|
|
"created": 1608586380.256957,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentification_state_reset__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 217,
|
|
"message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"module": "__init__",
|
|
"msecs": 256.9570541381836,
|
|
"msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10950.695991516113,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:00,257",
|
|
"created": 1608586380.257082,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__clean_receive_buffer__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 313,
|
|
"message": "SJP: Cleaning up receive-buffer",
|
|
"module": "__init__",
|
|
"msecs": 257.0819854736328,
|
|
"msg": "%s Cleaning up receive-buffer",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10950.820922851562,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:00,257",
|
|
"created": 1608586380.257265,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentification_state_reset__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 217,
|
|
"message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"module": "__init__",
|
|
"msecs": 257.2650909423828,
|
|
"msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10951.004028320312,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 257.37500190734863,
|
|
"msg": "Authentification with no secret definition (pure_json_protocol).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_handling_errors.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10951.113939285278,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00010991096496582031
|
|
},
|
|
{
|
|
"args": [
|
|
"False",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:00,257",
|
|
"created": 1608586380.257721,
|
|
"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 <type 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Return value of authentification",
|
|
"False",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:00,257",
|
|
"created": 1608586380.257542,
|
|
"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 (<type 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 257.5418949127197,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10951.28083229065,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return value of authentification",
|
|
"False",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:00,257",
|
|
"created": 1608586380.257632,
|
|
"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 (<type 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 257.6320171356201,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10951.37095451355,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 257.720947265625,
|
|
"msg": "Return value of authentification is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10951.459884643555,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 8.893013000488281e-05
|
|
}
|
|
],
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0011508464813232422,
|
|
"time_finished": "2020-12-21 22:33:00,257",
|
|
"time_start": "2020-12-21 22:33:00,256"
|
|
},
|
|
"socket_protocol.pure_json_protocol: Authentification required, but not processed/ correctly processed.": {
|
|
"args": null,
|
|
"asctime": "2020-12-21 22:32:58,845",
|
|
"created": 1608586378.845987,
|
|
"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": 845.98708152771,
|
|
"msg": "socket_protocol.pure_json_protocol: Authentification required, but not processed/ correctly processed.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest/src/tests/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9539.72601890564,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:00,052",
|
|
"created": 1608586380.052388,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_handling_errors.py",
|
|
"funcName": "authentification_error",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 67,
|
|
"message": "Authentification with different secrets for request and response instance (pure_json_protocol).",
|
|
"module": "test_handling_errors",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:58,846",
|
|
"created": 1608586378.846379,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__clean_receive_buffer__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 313,
|
|
"message": "SJP: Cleaning up receive-buffer",
|
|
"module": "__init__",
|
|
"msecs": 846.3790416717529,
|
|
"msg": "%s Cleaning up receive-buffer",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9540.117979049683,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:58,846",
|
|
"created": 1608586378.846818,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentification_state_reset__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 217,
|
|
"message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"module": "__init__",
|
|
"msecs": 846.8179702758789,
|
|
"msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9540.556907653809,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:58,847",
|
|
"created": 1608586378.847055,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__clean_receive_buffer__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 313,
|
|
"message": "SJP: Cleaning up receive-buffer",
|
|
"module": "__init__",
|
|
"msecs": 847.0549583435059,
|
|
"msg": "%s Cleaning up receive-buffer",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9540.793895721436,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:58,847",
|
|
"created": 1608586378.847385,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentification_state_reset__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 217,
|
|
"message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"module": "__init__",
|
|
"msecs": 847.3849296569824,
|
|
"msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9541.123867034912,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:58,847",
|
|
"created": 1608586378.847645,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "authentificate",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 396,
|
|
"message": "SJP: Requesting seed for authentification",
|
|
"module": "__init__",
|
|
"msecs": 847.6450443267822,
|
|
"msg": "%s Requesting seed for authentification",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9541.383981704712,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
0,
|
|
1,
|
|
0,
|
|
"None"
|
|
],
|
|
"asctime": "2020-12-21 22:32:58,847",
|
|
"created": 1608586378.847841,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 0, service_id: 1, data_id: 0, data: \"None\"",
|
|
"module": "__init__",
|
|
"msecs": 847.8410243988037,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9541.579961776733,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:58,848",
|
|
"created": 1608586378.848333,
|
|
"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": 848.3328819274902,
|
|
"msg": "Send data: (62): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 2c 2d 2e 5d",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9542.07181930542,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:58,999",
|
|
"created": 1608586378.999472,
|
|
"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": 999.47190284729,
|
|
"msg": "Receive data (62): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 2c 2d 2e 5d",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9693.21084022522,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-26"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0",
|
|
"1",
|
|
"0",
|
|
"None"
|
|
],
|
|
"asctime": "2020-12-21 22:32:58,999",
|
|
"created": 1608586378.999952,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 265,
|
|
"message": "SJP: RX <- status: 0, service_id: 1, data_id: 0, data: \"None\"",
|
|
"module": "__init__",
|
|
"msecs": 999.9520778656006,
|
|
"msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9693.69101524353,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-26"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"__authentificate_create_seed__"
|
|
],
|
|
"asctime": "2020-12-21 22:32:59,000",
|
|
"created": 1608586379.000199,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 282,
|
|
"message": "SJP: Executing callback __authentificate_create_seed__ to process received data",
|
|
"module": "__init__",
|
|
"msecs": 0.1990795135498047,
|
|
"msg": "%s Executing callback %s to process received data",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9693.93801689148,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-26"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:59,000",
|
|
"created": 1608586379.000376,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentificate_create_seed__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 422,
|
|
"message": "SJP: Got seed request, sending seed for authentification",
|
|
"module": "__init__",
|
|
"msecs": 0.37598609924316406,
|
|
"msg": "%s Got seed request, sending seed for authentification",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9694.114923477173,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-26"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
0,
|
|
2,
|
|
0,
|
|
"'0e07fcd8b40cf2c9341c9192b86f6d6f8b014a35fe6a99028dd5014d42f60a36'"
|
|
],
|
|
"asctime": "2020-12-21 22:32:59,000",
|
|
"created": 1608586379.000627,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 0, service_id: 2, data_id: 0, data: \"'0e07fcd8b40cf2c9341c9192b86f6d6f8b014a35fe6a99028dd5014d42f60a36'\"",
|
|
"module": "__init__",
|
|
"msecs": 0.6270408630371094,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9694.365978240967,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-26"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:59,001",
|
|
"created": 1608586379.001278,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_helpers.py",
|
|
"funcName": "send",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 55,
|
|
"message": "Send data: (124): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 32 2c 20 22 64 61 74 61 22 3a 20 22 30 65 30 37 66 63 64 38 62 34 30 63 66 32 63 39 33 34 31 63 39 31 39 32 62 38 36 66 36 64 36 66 38 62 30 31 34 61 33 35 66 65 36 61 39 39 30 32 38 64 64 35 30 31 34 64 34 32 66 36 30 61 33 36 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 0c 1e 5c ae",
|
|
"module": "test_helpers",
|
|
"msecs": 1.277923583984375,
|
|
"msg": "Send data: (124): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 32 2c 20 22 64 61 74 61 22 3a 20 22 30 65 30 37 66 63 64 38 62 34 30 63 66 32 63 39 33 34 31 63 39 31 39 32 62 38 36 66 36 64 36 66 38 62 30 31 34 61 33 35 66 65 36 61 39 39 30 32 38 64 64 35 30 31 34 64 34 32 66 36 30 61 33 36 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 0c 1e 5c ae",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9695.016860961914,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-26"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:59,152",
|
|
"created": 1608586379.152882,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_helpers.py",
|
|
"funcName": "receive",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 66,
|
|
"message": "Receive data (124): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 32 2c 20 22 64 61 74 61 22 3a 20 22 30 65 30 37 66 63 64 38 62 34 30 63 66 32 63 39 33 34 31 63 39 31 39 32 62 38 36 66 36 64 36 66 38 62 30 31 34 61 33 35 66 65 36 61 39 39 30 32 38 64 64 35 30 31 34 64 34 32 66 36 30 61 33 36 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 0c 1e 5c ae",
|
|
"module": "test_helpers",
|
|
"msecs": 152.88209915161133,
|
|
"msg": "Receive data (124): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 32 2c 20 22 64 61 74 61 22 3a 20 22 30 65 30 37 66 63 64 38 62 34 30 63 66 32 63 39 33 34 31 63 39 31 39 32 62 38 36 66 36 64 36 66 38 62 30 31 34 61 33 35 66 65 36 61 39 39 30 32 38 64 64 35 30 31 34 64 34 32 66 36 30 61 33 36 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 0c 1e 5c ae",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9846.621036529541,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-27"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0",
|
|
"2",
|
|
"0",
|
|
"u'0e07fcd8b40cf2c9341c9192b86f6d6f8b014a35fe6a99028dd5014d42f60a36'"
|
|
],
|
|
"asctime": "2020-12-21 22:32:59,153",
|
|
"created": 1608586379.153361,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 265,
|
|
"message": "SJP: RX <- status: 0, service_id: 2, data_id: 0, data: \"u'0e07fcd8b40cf2c9341c9192b86f6d6f8b014a35fe6a99028dd5014d42f60a36'\"",
|
|
"module": "__init__",
|
|
"msecs": 153.36108207702637,
|
|
"msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9847.100019454956,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-27"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"__authentificate_create_key__"
|
|
],
|
|
"asctime": "2020-12-21 22:32:59,153",
|
|
"created": 1608586379.153632,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 282,
|
|
"message": "SJP: Executing callback __authentificate_create_key__ to process received data",
|
|
"module": "__init__",
|
|
"msecs": 153.63192558288574,
|
|
"msg": "%s Executing callback %s to process received data",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9847.370862960815,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-27"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:59,153",
|
|
"created": 1608586379.153805,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentificate_create_key__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 431,
|
|
"message": "SJP: Got seed, sending key for authentification",
|
|
"module": "__init__",
|
|
"msecs": 153.80501747131348,
|
|
"msg": "%s Got seed, sending key for authentification",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9847.543954849243,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-27"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
0,
|
|
3,
|
|
0,
|
|
"'8d64836851399cace34c5a414cc6ff2ae92e9dc5bc0f1763e95cf5ace45abc023e0a004554e03650be3cfe815f4d4859eeac3d3ae77149a730dff8dc21fa5b8e'"
|
|
],
|
|
"asctime": "2020-12-21 22:32:59,154",
|
|
"created": 1608586379.154075,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 0, service_id: 3, data_id: 0, data: \"'8d64836851399cace34c5a414cc6ff2ae92e9dc5bc0f1763e95cf5ace45abc023e0a004554e03650be3cfe815f4d4859eeac3d3ae77149a730dff8dc21fa5b8e'\"",
|
|
"module": "__init__",
|
|
"msecs": 154.07490730285645,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9847.813844680786,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-27"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:59,154",
|
|
"created": 1608586379.154878,
|
|
"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 38 64 36 34 38 33 36 38 35 31 33 39 39 63 61 63 65 33 34 63 35 61 34 31 34 63 63 36 66 66 32 61 65 39 32 65 39 64 63 35 62 63 30 66 31 37 36 33 65 39 35 63 66 35 61 63 65 34 35 61 62 63 30 32 33 65 30 61 30 30 34 35 35 34 65 30 33 36 35 30 62 65 33 63 66 65 38 31 35 66 34 64 34 38 35 39 65 65 61 63 33 64 33 61 65 37 37 31 34 39 61 37 33 30 64 66 66 38 64 63 32 31 66 61 35 62 38 65 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 66 cf 82 1c",
|
|
"module": "test_helpers",
|
|
"msecs": 154.8779010772705,
|
|
"msg": "Send data: (188): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 33 2c 20 22 64 61 74 61 22 3a 20 22 38 64 36 34 38 33 36 38 35 31 33 39 39 63 61 63 65 33 34 63 35 61 34 31 34 63 63 36 66 66 32 61 65 39 32 65 39 64 63 35 62 63 30 66 31 37 36 33 65 39 35 63 66 35 61 63 65 34 35 61 62 63 30 32 33 65 30 61 30 30 34 35 35 34 65 30 33 36 35 30 62 65 33 63 66 65 38 31 35 66 34 64 34 38 35 39 65 65 61 63 33 64 33 61 65 37 37 31 34 39 61 37 33 30 64 66 66 38 64 63 32 31 66 61 35 62 38 65 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 66 cf 82 1c",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9848.6168384552,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-27"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:59,306",
|
|
"created": 1608586379.306386,
|
|
"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 38 64 36 34 38 33 36 38 35 31 33 39 39 63 61 63 65 33 34 63 35 61 34 31 34 63 63 36 66 66 32 61 65 39 32 65 39 64 63 35 62 63 30 66 31 37 36 33 65 39 35 63 66 35 61 63 65 34 35 61 62 63 30 32 33 65 30 61 30 30 34 35 35 34 65 30 33 36 35 30 62 65 33 63 66 65 38 31 35 66 34 64 34 38 35 39 65 65 61 63 33 64 33 61 65 37 37 31 34 39 61 37 33 30 64 66 66 38 64 63 32 31 66 61 35 62 38 65 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 66 cf 82 1c",
|
|
"module": "test_helpers",
|
|
"msecs": 306.38599395751953,
|
|
"msg": "Receive data (188): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 33 2c 20 22 64 61 74 61 22 3a 20 22 38 64 36 34 38 33 36 38 35 31 33 39 39 63 61 63 65 33 34 63 35 61 34 31 34 63 63 36 66 66 32 61 65 39 32 65 39 64 63 35 62 63 30 66 31 37 36 33 65 39 35 63 66 35 61 63 65 34 35 61 62 63 30 32 33 65 30 61 30 30 34 35 35 34 65 30 33 36 35 30 62 65 33 63 66 65 38 31 35 66 34 64 34 38 35 39 65 65 61 63 33 64 33 61 65 37 37 31 34 39 61 37 33 30 64 66 66 38 64 63 32 31 66 61 35 62 38 65 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 66 cf 82 1c",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10000.12493133545,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-28"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0",
|
|
"3",
|
|
"0",
|
|
"u'8d64836851399cace34c5a414cc6ff2ae92e9dc5bc0f1763e95cf5ace45abc023e0a004554e03650be3cfe815f4d4859eeac3d3ae77149a730dff8dc21fa5b8e'"
|
|
],
|
|
"asctime": "2020-12-21 22:32:59,306",
|
|
"created": 1608586379.306862,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 265,
|
|
"message": "SJP: RX <- status: 0, service_id: 3, data_id: 0, data: \"u'8d64836851399cace34c5a414cc6ff2ae92e9dc5bc0f1763e95cf5ace45abc023e0a004554e03650be3cfe815f4d4859eeac3d3ae77149a730dff8dc21fa5b8e'\"",
|
|
"module": "__init__",
|
|
"msecs": 306.86211585998535,
|
|
"msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10000.601053237915,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-28"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"__authentificate_check_key__"
|
|
],
|
|
"asctime": "2020-12-21 22:32:59,307",
|
|
"created": 1608586379.307104,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 282,
|
|
"message": "SJP: Executing callback __authentificate_check_key__ to process received data",
|
|
"module": "__init__",
|
|
"msecs": 307.10411071777344,
|
|
"msg": "%s Executing callback %s to process received data",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10000.843048095703,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-28"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:59,307",
|
|
"created": 1608586379.307331,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentificate_check_key__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 445,
|
|
"message": "SJP: Got incorrect key, sending negative authentification feedback",
|
|
"module": "__init__",
|
|
"msecs": 307.3310852050781,
|
|
"msg": "%s Got incorrect key, sending negative authentification feedback",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10001.070022583008,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-28"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
0,
|
|
4,
|
|
0,
|
|
"False"
|
|
],
|
|
"asctime": "2020-12-21 22:32:59,307",
|
|
"created": 1608586379.307561,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 0, service_id: 4, data_id: 0, data: \"False\"",
|
|
"module": "__init__",
|
|
"msecs": 307.56092071533203,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10001.299858093262,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-28"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:59,308",
|
|
"created": 1608586379.308051,
|
|
"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": 308.05110931396484,
|
|
"msg": "Send data: (63): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 34 2c 20 22 64 61 74 61 22 3a 20 66 61 6c 73 65 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 8d 2b 5d a9",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10001.790046691895,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-28"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:59,458",
|
|
"created": 1608586379.458941,
|
|
"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": 458.9409828186035,
|
|
"msg": "Receive data (63): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 34 2c 20 22 64 61 74 61 22 3a 20 66 61 6c 73 65 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 8d 2b 5d a9",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10152.679920196533,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-29"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0",
|
|
"4",
|
|
"0",
|
|
"False"
|
|
],
|
|
"asctime": "2020-12-21 22:32:59,459",
|
|
"created": 1608586379.459161,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 265,
|
|
"message": "SJP: RX <- status: 0, service_id: 4, data_id: 0, data: \"False\"",
|
|
"module": "__init__",
|
|
"msecs": 459.16104316711426,
|
|
"msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10152.899980545044,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-29"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"__authentificate_process_feedback__"
|
|
],
|
|
"asctime": "2020-12-21 22:32:59,459",
|
|
"created": 1608586379.459272,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 299,
|
|
"message": "SJP: Executing callback __authentificate_process_feedback__ to process received data",
|
|
"module": "__init__",
|
|
"msecs": 459.2719078063965,
|
|
"msg": "%s Executing callback %s to process received data",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10153.010845184326,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-29"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:59,459",
|
|
"created": 1608586379.459355,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentificate_process_feedback__",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 455,
|
|
"message": "SJP: Got negative authentification feedback",
|
|
"module": "__init__",
|
|
"msecs": 459.35511589050293,
|
|
"msg": "%s Got negative authentification feedback",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10153.094053268433,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-29"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
0,
|
|
10,
|
|
45054,
|
|
"{u'test': u'test'}"
|
|
],
|
|
"asctime": "2020-12-21 22:32:59,550",
|
|
"created": 1608586379.550235,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 0, service_id: 10, data_id: 45054, data: \"{u'test': u'test'}\"",
|
|
"module": "__init__",
|
|
"msecs": 550.2350330352783,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10243.973970413208,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:59,550",
|
|
"created": 1608586379.550509,
|
|
"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": 550.508975982666,
|
|
"msg": "Send data: (79): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d 63 ee c4 24",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10244.247913360596,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:59,701",
|
|
"created": 1608586379.701693,
|
|
"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": 701.693058013916,
|
|
"msg": "Receive data (79): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d 63 ee c4 24",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10395.431995391846,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-30"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0",
|
|
"10",
|
|
"45054",
|
|
"{u'test': u'test'}"
|
|
],
|
|
"asctime": "2020-12-21 22:32:59,702",
|
|
"created": 1608586379.702219,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 265,
|
|
"message": "SJP: RX <- status: 0, service_id: 10, data_id: 45054, data: \"{u'test': u'test'}\"",
|
|
"module": "__init__",
|
|
"msecs": 702.2190093994141,
|
|
"msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10395.957946777344,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-30"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"Unknown Client"
|
|
],
|
|
"asctime": "2020-12-21 22:32:59,702",
|
|
"created": 1608586379.702649,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 275,
|
|
"message": "SJP: Received message needs authentification: Unknown Client. Sending negative response.",
|
|
"module": "__init__",
|
|
"msecs": 702.6491165161133,
|
|
"msg": "%s Received message needs authentification: %s. Sending negative response.",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10396.388053894043,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-30"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
2,
|
|
11,
|
|
45054,
|
|
"None"
|
|
],
|
|
"asctime": "2020-12-21 22:32:59,702",
|
|
"created": 1608586379.702851,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 2, service_id: 11, data_id: 45054, data: \"None\"",
|
|
"module": "__init__",
|
|
"msecs": 702.8510570526123,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10396.589994430542,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-30"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:59,703",
|
|
"created": 1608586379.703333,
|
|
"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": 703.3329010009766,
|
|
"msg": "Send data: (67): 7b 22 73 74 61 74 75 73 22 3a 20 32 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d 0b 25 14 73",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10397.071838378906,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-30"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:59,854",
|
|
"created": 1608586379.854762,
|
|
"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": 854.762077331543,
|
|
"msg": "Receive data (67): 7b 22 73 74 61 74 75 73 22 3a 20 32 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d 0b 25 14 73",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10548.501014709473,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-31"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"2",
|
|
"11",
|
|
"45054",
|
|
"None"
|
|
],
|
|
"asctime": "2020-12-21 22:32:59,855",
|
|
"created": 1608586379.855211,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 265,
|
|
"message": "SJP: RX <- status: 2, service_id: 11, data_id: 45054, data: \"None\"",
|
|
"module": "__init__",
|
|
"msecs": 855.2110195159912,
|
|
"msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10548.94995689392,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-31"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"Authentification required"
|
|
],
|
|
"asctime": "2020-12-21 22:32:59,855",
|
|
"created": 1608586379.855496,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 292,
|
|
"message": "SJP: Received message has a peculiar status: Authentification required",
|
|
"module": "__init__",
|
|
"msecs": 855.4959297180176,
|
|
"msg": "%s Received message has a peculiar status: %s",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10549.234867095947,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-31"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:59,855",
|
|
"created": 1608586379.85571,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__buffer_received_data__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 310,
|
|
"message": "SJP: Message data is stored in buffer and is now ready to be retrieved by receive method",
|
|
"module": "__init__",
|
|
"msecs": 855.7100296020508,
|
|
"msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10549.44896697998,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-31"
|
|
}
|
|
],
|
|
"msecs": 52.38795280456543,
|
|
"msg": "Authentification with different secrets for request and response instance (pure_json_protocol).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_handling_errors.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10746.126890182495,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.19667792320251465
|
|
},
|
|
{
|
|
"args": [
|
|
"False",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:00,052",
|
|
"created": 1608586380.052771,
|
|
"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 <type 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Return value of authentification",
|
|
"False",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:00,052",
|
|
"created": 1608586380.05262,
|
|
"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 (<type 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 52.61993408203125,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10746.358871459961,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return value of authentification",
|
|
"False",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:00,052",
|
|
"created": 1608586380.05269,
|
|
"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 (<type 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 52.69002914428711,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10746.428966522217,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 52.77109146118164,
|
|
"msg": "Return value of authentification is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10746.510028839111,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 8.106231689453125e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:00,052",
|
|
"created": 1608586380.052973,
|
|
"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 <type 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Return value of send method",
|
|
"True",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:00,052",
|
|
"created": 1608586380.052864,
|
|
"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 (<type 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 52.86407470703125,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10746.603012084961,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return value of send method",
|
|
"True",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:00,052",
|
|
"created": 1608586380.05292,
|
|
"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 (<type 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 52.92010307312012,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10746.65904045105,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 52.973031997680664,
|
|
"msg": "Return value of send method is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10746.71196937561,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 5.2928924560546875e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"2",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:00,053",
|
|
"created": 1608586380.053168,
|
|
"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 <type 'int'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Response Status (Authentification required) transfered via pure_json_protocol",
|
|
"2",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:00,053",
|
|
"created": 1608586380.053061,
|
|
"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 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 53.06100845336914,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10746.799945831299,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Response Status (Authentification required) transfered via pure_json_protocol",
|
|
"2",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:00,053",
|
|
"created": 1608586380.053115,
|
|
"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 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 53.114891052246094,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10746.853828430176,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 53.16805839538574,
|
|
"msg": "Response Status (Authentification required) transfered via pure_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10746.906995773315,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 5.316734313964844e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:00,053",
|
|
"created": 1608586380.053375,
|
|
"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 <type 'NoneType'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Response Data (no data) transfered via pure_json_protocol",
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:00,053",
|
|
"created": 1608586380.053264,
|
|
"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 (<type 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 53.26390266418457,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10747.002840042114,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Response Data (no data) transfered via pure_json_protocol",
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:00,053",
|
|
"created": 1608586380.053317,
|
|
"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 (<type 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 53.31707000732422,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10747.056007385254,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 53.3750057220459,
|
|
"msg": "Response Data (no data) transfered via pure_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10747.113943099976,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 5.793571472167969e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:00,154",
|
|
"created": 1608586380.154158,
|
|
"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 <type 'NoneType'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0.1",
|
|
"11",
|
|
"45054"
|
|
],
|
|
"asctime": "2020-12-21 22:33:00,153",
|
|
"created": 1608586380.153691,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "receive",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 327,
|
|
"message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.",
|
|
"module": "__init__",
|
|
"msecs": 153.69105339050293,
|
|
"msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10847.429990768433,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:00,153",
|
|
"created": 1608586380.153923,
|
|
"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 (<type 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 153.92303466796875,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10847.661972045898,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:00,154",
|
|
"created": 1608586380.15405,
|
|
"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 (<type 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 154.05011177062988,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10847.78904914856,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 154.1581153869629,
|
|
"msg": "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10847.897052764893,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00010800361633300781
|
|
},
|
|
{
|
|
"args": [
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:00,255",
|
|
"created": 1608586380.255072,
|
|
"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 <type 'NoneType'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0.1",
|
|
"10",
|
|
"45054"
|
|
],
|
|
"asctime": "2020-12-21 22:33:00,254",
|
|
"created": 1608586380.254627,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "receive",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 327,
|
|
"message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.",
|
|
"module": "__init__",
|
|
"msecs": 254.62698936462402,
|
|
"msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10948.365926742554,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:00,254",
|
|
"created": 1608586380.254854,
|
|
"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 (<type 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 254.8539638519287,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10948.592901229858,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:00,254",
|
|
"created": 1608586380.254964,
|
|
"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 (<type 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 254.96411323547363,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10948.703050613403,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 255.07211685180664,
|
|
"msg": "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10948.811054229736,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00010800361633300781
|
|
}
|
|
],
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 1.4090850353240967,
|
|
"time_finished": "2020-12-21 22:33:00,255",
|
|
"time_start": "2020-12-21 22:32:58,845"
|
|
},
|
|
"socket_protocol.pure_json_protocol: Checksum corumpation while sending.": {
|
|
"args": null,
|
|
"asctime": "2020-12-21 22:32:56,220",
|
|
"created": 1608586376.220752,
|
|
"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": 220.75200080871582,
|
|
"msg": "socket_protocol.pure_json_protocol: Checksum corumpation while sending.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest/src/tests/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6914.4909381866455,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:56,524",
|
|
"created": 1608586376.524177,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_communication_errors.py",
|
|
"funcName": "send_checksum_error",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 40,
|
|
"message": "Send data with wrong checksum by pure_json_protocol.",
|
|
"module": "test_communication_errors",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:56,221",
|
|
"created": 1608586376.221096,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__clean_receive_buffer__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 313,
|
|
"message": "SJP: Cleaning up receive-buffer",
|
|
"module": "__init__",
|
|
"msecs": 221.09603881835938,
|
|
"msg": "%s Cleaning up receive-buffer",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6914.834976196289,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:56,221",
|
|
"created": 1608586376.221474,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentification_state_reset__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 217,
|
|
"message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"module": "__init__",
|
|
"msecs": 221.47393226623535,
|
|
"msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6915.212869644165,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:56,221",
|
|
"created": 1608586376.221696,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__clean_receive_buffer__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 313,
|
|
"message": "SJP: Cleaning up receive-buffer",
|
|
"module": "__init__",
|
|
"msecs": 221.6958999633789,
|
|
"msg": "%s Cleaning up receive-buffer",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6915.434837341309,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:56,222",
|
|
"created": 1608586376.222016,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentification_state_reset__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 217,
|
|
"message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"module": "__init__",
|
|
"msecs": 222.0160961151123,
|
|
"msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6915.755033493042,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
0,
|
|
10,
|
|
45054,
|
|
"{u'test': u'test'}"
|
|
],
|
|
"asctime": "2020-12-21 22:32:56,222",
|
|
"created": 1608586376.222273,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 0, service_id: 10, data_id: 45054, data: \"{u'test': u'test'}\"",
|
|
"module": "__init__",
|
|
"msecs": 222.2731113433838,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6916.0120487213135,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:56,222",
|
|
"created": 1608586376.222794,
|
|
"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": 222.7940559387207,
|
|
"msg": "Send data: (79): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d 63 ee c4 24",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6916.53299331665,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:56,374",
|
|
"created": 1608586376.374005,
|
|
"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": 374.0050792694092,
|
|
"msg": "Receive data (79): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d 63 ee c4 25",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7067.744016647339,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-23"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"(79): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d 63 ee c4 25"
|
|
],
|
|
"asctime": "2020-12-21 22:32:56,374",
|
|
"created": 1608586376.374546,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 256,
|
|
"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": 374.5460510253906,
|
|
"msg": "%s Received message has a wrong checksum and will be ignored: %s.",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7068.28498840332,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-23"
|
|
}
|
|
],
|
|
"msecs": 524.177074432373,
|
|
"msg": "Send data with wrong checksum by pure_json_protocol.",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_communication_errors.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7217.916011810303,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.14963102340698242
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:56,525",
|
|
"created": 1608586376.525582,
|
|
"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 <type 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Return value of send method",
|
|
"True",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:56,525",
|
|
"created": 1608586376.525032,
|
|
"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 (<type 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 525.0320434570312,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7218.770980834961,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return value of send method",
|
|
"True",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:56,525",
|
|
"created": 1608586376.525279,
|
|
"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 (<type 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 525.2790451049805,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7219.01798248291,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 525.5820751190186,
|
|
"msg": "Return value of send method is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7219.321012496948,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00030303001403808594
|
|
},
|
|
{
|
|
"args": [
|
|
"False",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:56,525",
|
|
"created": 1608586376.525837,
|
|
"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 <type 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Callback executed variable",
|
|
"False",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:56,525",
|
|
"created": 1608586376.525723,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Callback executed variable): False (<type 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 525.7229804992676,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7219.461917877197,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Callback executed variable",
|
|
"False",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:56,525",
|
|
"created": 1608586376.525781,
|
|
"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 (<type 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 525.7809162139893,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7219.519853591919,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 525.8369445800781,
|
|
"msg": "Callback executed variable is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7219.575881958008,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 5.602836608886719e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:56,626",
|
|
"created": 1608586376.626423,
|
|
"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 <type 'NoneType'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0.1",
|
|
"11",
|
|
"45054"
|
|
],
|
|
"asctime": "2020-12-21 22:32:56,626",
|
|
"created": 1608586376.626153,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "receive",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 327,
|
|
"message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.",
|
|
"module": "__init__",
|
|
"msecs": 626.1529922485352,
|
|
"msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7319.891929626465,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:56,626",
|
|
"created": 1608586376.626297,
|
|
"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 (<type 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 626.2969970703125,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7320.035934448242,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:56,626",
|
|
"created": 1608586376.626357,
|
|
"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 (<type 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 626.3570785522461,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7320.096015930176,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 626.4228820800781,
|
|
"msg": "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7320.161819458008,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 6.580352783203125e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:56,727",
|
|
"created": 1608586376.727201,
|
|
"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 <type 'NoneType'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0.1",
|
|
"10",
|
|
"45054"
|
|
],
|
|
"asctime": "2020-12-21 22:32:56,726",
|
|
"created": 1608586376.72679,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "receive",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 327,
|
|
"message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.",
|
|
"module": "__init__",
|
|
"msecs": 726.7899513244629,
|
|
"msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7420.528888702393,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:56,726",
|
|
"created": 1608586376.726986,
|
|
"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 (<type 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 726.9859313964844,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7420.724868774414,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:56,727",
|
|
"created": 1608586376.727111,
|
|
"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 (<type 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 727.1111011505127,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7420.850038528442,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 727.200984954834,
|
|
"msg": "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7420.939922332764,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 8.988380432128906e-05
|
|
}
|
|
],
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.5064489841461182,
|
|
"time_finished": "2020-12-21 22:32:56,727",
|
|
"time_start": "2020-12-21 22:32:56,220"
|
|
},
|
|
"socket_protocol.pure_json_protocol: Incompatible Callback return value(s).": {
|
|
"args": null,
|
|
"asctime": "2020-12-21 22:33:00,257",
|
|
"created": 1608586380.257965,
|
|
"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": 257.965087890625,
|
|
"msg": "socket_protocol.pure_json_protocol: Incompatible Callback return value(s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest/src/tests/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10951.704025268555,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:00,261",
|
|
"created": 1608586380.261393,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_handling_errors.py",
|
|
"funcName": "callback_rv_error",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 144,
|
|
"message": "Send and received data with incompatible callback (pure_json_protocol).",
|
|
"module": "test_handling_errors",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:00,258",
|
|
"created": 1608586380.258136,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__clean_receive_buffer__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 313,
|
|
"message": "SJP: Cleaning up receive-buffer",
|
|
"module": "__init__",
|
|
"msecs": 258.1360340118408,
|
|
"msg": "%s Cleaning up receive-buffer",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10951.87497138977,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:00,258",
|
|
"created": 1608586380.258327,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentification_state_reset__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 217,
|
|
"message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"module": "__init__",
|
|
"msecs": 258.3270072937012,
|
|
"msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10952.06594467163,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:00,258",
|
|
"created": 1608586380.258441,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__clean_receive_buffer__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 313,
|
|
"message": "SJP: Cleaning up receive-buffer",
|
|
"module": "__init__",
|
|
"msecs": 258.4409713745117,
|
|
"msg": "%s Cleaning up receive-buffer",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10952.179908752441,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:00,258",
|
|
"created": 1608586380.258618,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentification_state_reset__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 217,
|
|
"message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"module": "__init__",
|
|
"msecs": 258.6181163787842,
|
|
"msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10952.357053756714,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
0,
|
|
10,
|
|
45054,
|
|
"None"
|
|
],
|
|
"asctime": "2020-12-21 22:33:00,258",
|
|
"created": 1608586380.258776,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 0, service_id: 10, data_id: 45054, data: \"None\"",
|
|
"module": "__init__",
|
|
"msecs": 258.7759494781494,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10952.51488685608,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:00,259",
|
|
"created": 1608586380.259048,
|
|
"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": 259.0479850769043,
|
|
"msg": "Send data: (67): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d fc 3e bd 5f",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10952.786922454834,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:00,259",
|
|
"created": 1608586380.259249,
|
|
"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": 259.2489719390869,
|
|
"msg": "Receive data (67): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d fc 3e bd 5f",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10952.987909317017,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0",
|
|
"10",
|
|
"45054",
|
|
"None"
|
|
],
|
|
"asctime": "2020-12-21 22:33:00,259",
|
|
"created": 1608586380.259413,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 265,
|
|
"message": "SJP: RX <- status: 0, service_id: 10, data_id: 45054, data: \"None\"",
|
|
"module": "__init__",
|
|
"msecs": 259.4130039215088,
|
|
"msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10953.151941299438,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"response_data_method_fail"
|
|
],
|
|
"asctime": "2020-12-21 22:33:00,259",
|
|
"created": 1608586380.259523,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 282,
|
|
"message": "SJP: Executing callback response_data_method_fail to process received data",
|
|
"module": "__init__",
|
|
"msecs": 259.5229148864746,
|
|
"msg": "%s Executing callback %s to process received data",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10953.261852264404,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
0,
|
|
10,
|
|
48879,
|
|
"None"
|
|
],
|
|
"asctime": "2020-12-21 22:33:00,259",
|
|
"created": 1608586380.259642,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 0, service_id: 10, data_id: 48879, data: \"None\"",
|
|
"module": "__init__",
|
|
"msecs": 259.6418857574463,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10953.380823135376,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:00,259",
|
|
"created": 1608586380.259892,
|
|
"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": 259.8919868469238,
|
|
"msg": "Send data: (67): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 7d 77 30 fb 22",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10953.630924224854,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:00,260",
|
|
"created": 1608586380.260099,
|
|
"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": 260.098934173584,
|
|
"msg": "Receive data (67): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 7d 77 30 fb 22",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10953.837871551514,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0",
|
|
"10",
|
|
"48879",
|
|
"None"
|
|
],
|
|
"asctime": "2020-12-21 22:33:00,260",
|
|
"created": 1608586380.260239,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 265,
|
|
"message": "SJP: RX <- status: 0, service_id: 10, data_id: 48879, data: \"None\"",
|
|
"module": "__init__",
|
|
"msecs": 260.2388858795166,
|
|
"msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10953.977823257446,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:00,260",
|
|
"created": 1608586380.260371,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 277,
|
|
"message": "SJP: Received message with no registered callback. Sending negative response.",
|
|
"module": "__init__",
|
|
"msecs": 260.37096977233887,
|
|
"msg": "%s Received message with no registered callback. Sending negative response.",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10954.109907150269,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
1,
|
|
11,
|
|
48879,
|
|
"None"
|
|
],
|
|
"asctime": "2020-12-21 22:33:00,260",
|
|
"created": 1608586380.260481,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 1, service_id: 11, data_id: 48879, data: \"None\"",
|
|
"module": "__init__",
|
|
"msecs": 260.4811191558838,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10954.220056533813,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:00,260",
|
|
"created": 1608586380.260739,
|
|
"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": 260.7390880584717,
|
|
"msg": "Send data: (67): 7b 22 73 74 61 74 75 73 22 3a 20 31 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 7d 3a 7e 56 19",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10954.478025436401,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:00,260",
|
|
"created": 1608586380.260939,
|
|
"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": 260.9388828277588,
|
|
"msg": "Receive data (67): 7b 22 73 74 61 74 75 73 22 3a 20 31 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 7d 3a 7e 56 19",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10954.677820205688,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"1",
|
|
"11",
|
|
"48879",
|
|
"None"
|
|
],
|
|
"asctime": "2020-12-21 22:33:00,261",
|
|
"created": 1608586380.261077,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 265,
|
|
"message": "SJP: RX <- status: 1, service_id: 11, data_id: 48879, data: \"None\"",
|
|
"module": "__init__",
|
|
"msecs": 261.0769271850586,
|
|
"msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10954.815864562988,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"Request has no callback. Data buffered."
|
|
],
|
|
"asctime": "2020-12-21 22:33:00,261",
|
|
"created": 1608586380.261186,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 292,
|
|
"message": "SJP: Received message has a peculiar status: Request has no callback. Data buffered.",
|
|
"module": "__init__",
|
|
"msecs": 261.185884475708,
|
|
"msg": "%s Received message has a peculiar status: %s",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10954.924821853638,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"response_data_method_fail"
|
|
],
|
|
"asctime": "2020-12-21 22:33:00,261",
|
|
"created": 1608586380.26128,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 299,
|
|
"message": "SJP: Executing callback response_data_method_fail to process received data",
|
|
"module": "__init__",
|
|
"msecs": 261.2800598144531,
|
|
"msg": "%s Executing callback %s to process received data",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10955.018997192383,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 261.39307022094727,
|
|
"msg": "Send and received data with incompatible callback (pure_json_protocol).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_handling_errors.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10955.132007598877,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00011301040649414062
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:00,261",
|
|
"created": 1608586380.261753,
|
|
"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 <type 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Exception (TypeError) detection variable",
|
|
"True",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:00,261",
|
|
"created": 1608586380.261568,
|
|
"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 (<type 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 261.5680694580078,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10955.307006835938,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Exception (TypeError) detection variable",
|
|
"True",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:00,261",
|
|
"created": 1608586380.261659,
|
|
"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 (<type 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 261.6589069366455,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10955.397844314575,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 261.7530822753906,
|
|
"msg": "Exception (TypeError) detection variable is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10955.49201965332,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 9.417533874511719e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:00,362",
|
|
"created": 1608586380.362601,
|
|
"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 <type 'NoneType'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0.1",
|
|
"11",
|
|
"45054"
|
|
],
|
|
"asctime": "2020-12-21 22:33:00,362",
|
|
"created": 1608586380.362144,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "receive",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 327,
|
|
"message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.",
|
|
"module": "__init__",
|
|
"msecs": 362.14399337768555,
|
|
"msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11055.882930755615,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:00,362",
|
|
"created": 1608586380.362371,
|
|
"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 (<type 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 362.37096786499023,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11056.10990524292,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:00,362",
|
|
"created": 1608586380.362481,
|
|
"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 (<type 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 362.48111724853516,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11056.220054626465,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 362.60104179382324,
|
|
"msg": "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11056.339979171753,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00011992454528808594
|
|
},
|
|
{
|
|
"args": [
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:00,463",
|
|
"created": 1608586380.463856,
|
|
"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 <type 'NoneType'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0.1",
|
|
"10",
|
|
"45054"
|
|
],
|
|
"asctime": "2020-12-21 22:33:00,463",
|
|
"created": 1608586380.463125,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "receive",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 327,
|
|
"message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.",
|
|
"module": "__init__",
|
|
"msecs": 463.12499046325684,
|
|
"msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11156.863927841187,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:00,463",
|
|
"created": 1608586380.463486,
|
|
"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 (<type 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 463.4859561920166,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11157.224893569946,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:00,463",
|
|
"created": 1608586380.463677,
|
|
"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 (<type 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 463.67692947387695,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11157.415866851807,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 463.8559818267822,
|
|
"msg": "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11157.594919204712,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00017905235290527344
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:00,464",
|
|
"created": 1608586380.464484,
|
|
"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 <type 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Exception (TypeError) detection variable",
|
|
"True",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:00,464",
|
|
"created": 1608586380.464172,
|
|
"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 (<type 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 464.1718864440918,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11157.910823822021,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Exception (TypeError) detection variable",
|
|
"True",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:00,464",
|
|
"created": 1608586380.464331,
|
|
"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 (<type 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 464.33091163635254,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11158.069849014282,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 464.48397636413574,
|
|
"msg": "Exception (TypeError) detection variable is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11158.222913742065,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00015306472778320312
|
|
},
|
|
{
|
|
"args": [
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:00,565",
|
|
"created": 1608586380.565509,
|
|
"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 <type 'NoneType'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0.1",
|
|
"11",
|
|
"48879"
|
|
],
|
|
"asctime": "2020-12-21 22:33:00,564",
|
|
"created": 1608586380.56498,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "receive",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 327,
|
|
"message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 48879) not in buffer.",
|
|
"module": "__init__",
|
|
"msecs": 564.9800300598145,
|
|
"msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11258.718967437744,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef",
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:00,565",
|
|
"created": 1608586380.565227,
|
|
"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 (<type 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 565.2270317077637,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11258.965969085693,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef",
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:00,565",
|
|
"created": 1608586380.565385,
|
|
"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 (<type 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 565.385103225708,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11259.124040603638,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 565.5090808868408,
|
|
"msg": "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11259.24801826477,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001239776611328125
|
|
},
|
|
{
|
|
"args": [
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:00,666",
|
|
"created": 1608586380.666766,
|
|
"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 <type 'NoneType'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0.1",
|
|
"10",
|
|
"48879"
|
|
],
|
|
"asctime": "2020-12-21 22:33:00,666",
|
|
"created": 1608586380.666028,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "receive",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 327,
|
|
"message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 48879) not in buffer.",
|
|
"module": "__init__",
|
|
"msecs": 666.0280227661133,
|
|
"msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11359.766960144043,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef",
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:00,666",
|
|
"created": 1608586380.666389,
|
|
"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 (<type 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 666.388988494873,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11360.127925872803,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef",
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:00,666",
|
|
"created": 1608586380.666584,
|
|
"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 (<type 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 666.5840148925781,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11360.322952270508,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 666.7659282684326,
|
|
"msg": "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11360.504865646362,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001819133758544922
|
|
}
|
|
],
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.4088008403778076,
|
|
"time_finished": "2020-12-21 22:33:00,666",
|
|
"time_start": "2020-12-21 22:33:00,257"
|
|
},
|
|
"socket_protocol.pure_json_protocol: No Callback at response instance for the request.": {
|
|
"args": null,
|
|
"asctime": "2020-12-21 22:32:58,136",
|
|
"created": 1608586378.13655,
|
|
"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": 136.5499496459961,
|
|
"msg": "socket_protocol.pure_json_protocol: No Callback at response instance for the request.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest/src/tests/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 8830.288887023926,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:58,640",
|
|
"created": 1608586378.640819,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_handling_errors.py",
|
|
"funcName": "no_callback",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 32,
|
|
"message": "Send data, but no callback registered (pure_json_protocol).",
|
|
"module": "test_handling_errors",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:58,136",
|
|
"created": 1608586378.13694,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__clean_receive_buffer__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 313,
|
|
"message": "SJP: Cleaning up receive-buffer",
|
|
"module": "__init__",
|
|
"msecs": 136.94000244140625,
|
|
"msg": "%s Cleaning up receive-buffer",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 8830.678939819336,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:58,137",
|
|
"created": 1608586378.137322,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentification_state_reset__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 217,
|
|
"message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"module": "__init__",
|
|
"msecs": 137.32194900512695,
|
|
"msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 8831.060886383057,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:58,137",
|
|
"created": 1608586378.137546,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__clean_receive_buffer__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 313,
|
|
"message": "SJP: Cleaning up receive-buffer",
|
|
"module": "__init__",
|
|
"msecs": 137.54606246948242,
|
|
"msg": "%s Cleaning up receive-buffer",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 8831.284999847412,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:58,137",
|
|
"created": 1608586378.137873,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentification_state_reset__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 217,
|
|
"message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"module": "__init__",
|
|
"msecs": 137.87293434143066,
|
|
"msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 8831.61187171936,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
0,
|
|
10,
|
|
45054,
|
|
"{u'test': u'test'}"
|
|
],
|
|
"asctime": "2020-12-21 22:32:58,138",
|
|
"created": 1608586378.138079,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 0, service_id: 10, data_id: 45054, data: \"{u'test': u'test'}\"",
|
|
"module": "__init__",
|
|
"msecs": 138.0789279937744,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 8831.817865371704,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:58,138",
|
|
"created": 1608586378.138627,
|
|
"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": 138.6270523071289,
|
|
"msg": "Send data: (79): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d 63 ee c4 24",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 8832.365989685059,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:58,289",
|
|
"created": 1608586378.289846,
|
|
"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": 289.84594345092773,
|
|
"msg": "Receive data (79): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d 63 ee c4 24",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 8983.584880828857,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-24"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0",
|
|
"10",
|
|
"45054",
|
|
"{u'test': u'test'}"
|
|
],
|
|
"asctime": "2020-12-21 22:32:58,290",
|
|
"created": 1608586378.290335,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 265,
|
|
"message": "SJP: RX <- status: 0, service_id: 10, data_id: 45054, data: \"{u'test': u'test'}\"",
|
|
"module": "__init__",
|
|
"msecs": 290.33493995666504,
|
|
"msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 8984.073877334595,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-24"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:58,290",
|
|
"created": 1608586378.290654,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 277,
|
|
"message": "SJP: Received message with no registered callback. Sending negative response.",
|
|
"module": "__init__",
|
|
"msecs": 290.65394401550293,
|
|
"msg": "%s Received message with no registered callback. Sending negative response.",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 8984.392881393433,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-24"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
1,
|
|
11,
|
|
45054,
|
|
"None"
|
|
],
|
|
"asctime": "2020-12-21 22:32:58,290",
|
|
"created": 1608586378.290912,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 1, service_id: 11, data_id: 45054, data: \"None\"",
|
|
"module": "__init__",
|
|
"msecs": 290.9119129180908,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 8984.65085029602,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-24"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:58,291",
|
|
"created": 1608586378.291406,
|
|
"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": 291.40591621398926,
|
|
"msg": "Send data: (67): 7b 22 73 74 61 74 75 73 22 3a 20 31 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d b1 70 10 64",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 8985.144853591919,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-24"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:58,442",
|
|
"created": 1608586378.442577,
|
|
"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": 442.5768852233887,
|
|
"msg": "Receive data (67): 7b 22 73 74 61 74 75 73 22 3a 20 31 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d b1 70 10 64",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9136.315822601318,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-25"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"1",
|
|
"11",
|
|
"45054",
|
|
"None"
|
|
],
|
|
"asctime": "2020-12-21 22:32:58,443",
|
|
"created": 1608586378.44304,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 265,
|
|
"message": "SJP: RX <- status: 1, service_id: 11, data_id: 45054, data: \"None\"",
|
|
"module": "__init__",
|
|
"msecs": 443.0398941040039,
|
|
"msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9136.778831481934,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-25"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"Request has no callback. Data buffered."
|
|
],
|
|
"asctime": "2020-12-21 22:32:58,443",
|
|
"created": 1608586378.443363,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 292,
|
|
"message": "SJP: Received message has a peculiar status: Request has no callback. Data buffered.",
|
|
"module": "__init__",
|
|
"msecs": 443.3629512786865,
|
|
"msg": "%s Received message has a peculiar status: %s",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9137.101888656616,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-25"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:58,443",
|
|
"created": 1608586378.443576,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__buffer_received_data__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 310,
|
|
"message": "SJP: Message data is stored in buffer and is now ready to be retrieved by receive method",
|
|
"module": "__init__",
|
|
"msecs": 443.5760974884033,
|
|
"msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9137.315034866333,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-25"
|
|
}
|
|
],
|
|
"msecs": 640.8190727233887,
|
|
"msg": "Send data, but no callback registered (pure_json_protocol).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_handling_errors.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9334.558010101318,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.19724297523498535
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:58,641",
|
|
"created": 1608586378.641639,
|
|
"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 <type 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Return value of send method",
|
|
"True",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:58,641",
|
|
"created": 1608586378.641295,
|
|
"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 (<type 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 641.2949562072754,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9335.033893585205,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return value of send method",
|
|
"True",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:58,641",
|
|
"created": 1608586378.641471,
|
|
"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 (<type 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 641.4709091186523,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9335.209846496582,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 641.638994216919,
|
|
"msg": "Return value of send method is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9335.377931594849,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00016808509826660156
|
|
},
|
|
{
|
|
"args": [
|
|
"1",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:58,642",
|
|
"created": 1608586378.642172,
|
|
"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 <type 'int'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Response Status (Request has no callback. Data buffered.) transfered via pure_json_protocol",
|
|
"1",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:58,641",
|
|
"created": 1608586378.641889,
|
|
"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 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 641.8890953063965,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9335.628032684326,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Response Status (Request has no callback. Data buffered.) transfered via pure_json_protocol",
|
|
"1",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:58,642",
|
|
"created": 1608586378.642032,
|
|
"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 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 642.0319080352783,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9335.770845413208,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 642.17209815979,
|
|
"msg": "Response Status (Request has no callback. Data buffered.) transfered via pure_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9335.91103553772,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00014019012451171875
|
|
},
|
|
{
|
|
"args": [
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:58,642",
|
|
"created": 1608586378.642671,
|
|
"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 <type 'NoneType'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Response Data (no data) transfered via pure_json_protocol",
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:58,642",
|
|
"created": 1608586378.6424,
|
|
"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 (<type 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 642.4000263214111,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9336.13896369934,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Response Data (no data) transfered via pure_json_protocol",
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:58,642",
|
|
"created": 1608586378.642536,
|
|
"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 (<type 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 642.535924911499,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9336.274862289429,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 642.6711082458496,
|
|
"msg": "Response Data (no data) transfered via pure_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9336.41004562378,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00013518333435058594
|
|
},
|
|
{
|
|
"args": [
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:58,743",
|
|
"created": 1608586378.743909,
|
|
"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 <type 'NoneType'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0.1",
|
|
"11",
|
|
"45054"
|
|
],
|
|
"asctime": "2020-12-21 22:32:58,743",
|
|
"created": 1608586378.743146,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "receive",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 327,
|
|
"message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.",
|
|
"module": "__init__",
|
|
"msecs": 743.1459426879883,
|
|
"msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9436.884880065918,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:58,743",
|
|
"created": 1608586378.743499,
|
|
"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 (<type 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 743.4990406036377,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9437.237977981567,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:58,743",
|
|
"created": 1608586378.743693,
|
|
"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 (<type 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 743.6931133270264,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9437.432050704956,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 743.9088821411133,
|
|
"msg": "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9437.647819519043,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00021576881408691406
|
|
},
|
|
{
|
|
"args": [
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:58,845",
|
|
"created": 1608586378.845366,
|
|
"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 <type 'NoneType'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0.1",
|
|
"10",
|
|
"45054"
|
|
],
|
|
"asctime": "2020-12-21 22:32:58,844",
|
|
"created": 1608586378.844539,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "receive",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 327,
|
|
"message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.",
|
|
"module": "__init__",
|
|
"msecs": 844.5389270782471,
|
|
"msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9538.277864456177,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:58,844",
|
|
"created": 1608586378.84497,
|
|
"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 (<type 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 844.9699878692627,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9538.708925247192,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:58,845",
|
|
"created": 1608586378.845178,
|
|
"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 (<type 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 845.1778888702393,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9538.916826248169,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 845.3660011291504,
|
|
"msg": "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9539.10493850708,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001881122589111328
|
|
}
|
|
],
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.7088160514831543,
|
|
"time_finished": "2020-12-21 22:32:58,845",
|
|
"time_start": "2020-12-21 22:32:58,136"
|
|
},
|
|
"socket_protocol.pure_json_protocol: Register a Callback which is already defined.": {
|
|
"args": null,
|
|
"asctime": "2020-12-21 22:33:00,255",
|
|
"created": 1608586380.255399,
|
|
"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": 255.39898872375488,
|
|
"msg": "socket_protocol.pure_json_protocol: Register a Callback which is already defined.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest/src/tests/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10949.137926101685,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:00,255",
|
|
"created": 1608586380.255975,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_handling_errors.py",
|
|
"funcName": "callback_conf_error",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 94,
|
|
"message": "Registering two callbacks which overlap for at least one message (pure_json_protocol).",
|
|
"module": "test_handling_errors",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:00,255",
|
|
"created": 1608586380.255582,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__clean_receive_buffer__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 313,
|
|
"message": "SJP: Cleaning up receive-buffer",
|
|
"module": "__init__",
|
|
"msecs": 255.58209419250488,
|
|
"msg": "%s Cleaning up receive-buffer",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10949.321031570435,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:00,255",
|
|
"created": 1608586380.255808,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentification_state_reset__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 217,
|
|
"message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"module": "__init__",
|
|
"msecs": 255.80811500549316,
|
|
"msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10949.547052383423,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 255.97500801086426,
|
|
"msg": "Registering two callbacks which overlap for at least one message (pure_json_protocol).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_handling_errors.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10949.713945388794,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00016689300537109375
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:00,256",
|
|
"created": 1608586380.256322,
|
|
"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 <type 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Exception (RegistrationError) detection variable",
|
|
"True",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:00,256",
|
|
"created": 1608586380.256134,
|
|
"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 (<type 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 256.134033203125,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10949.872970581055,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Exception (RegistrationError) detection variable",
|
|
"True",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:00,256",
|
|
"created": 1608586380.25623,
|
|
"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 (<type 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 256.23011589050293,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10949.969053268433,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 256.32190704345703,
|
|
"msg": "Exception (RegistrationError) detection variable is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10950.060844421387,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 9.179115295410156e-05
|
|
}
|
|
],
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0009229183197021484,
|
|
"time_finished": "2020-12-21 22:33:00,256",
|
|
"time_start": "2020-12-21 22:33:00,255"
|
|
},
|
|
"socket_protocol.pure_json_protocol: Register a second Callback with the same service_id.": {
|
|
"args": null,
|
|
"asctime": "2020-12-21 22:32:54,298",
|
|
"created": 1608586374.298348,
|
|
"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": 298.34794998168945,
|
|
"msg": "socket_protocol.pure_json_protocol: Register a second Callback with the same service_id.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest/src/tests/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4992.086887359619,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:54,802",
|
|
"created": 1608586374.802384,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_normal_operation.py",
|
|
"funcName": "second_service_callback",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 140,
|
|
"message": "Send and received data by pure_json_protocol.",
|
|
"module": "test_normal_operation",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:54,298",
|
|
"created": 1608586374.298689,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__clean_receive_buffer__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 313,
|
|
"message": "SJP: Cleaning up receive-buffer",
|
|
"module": "__init__",
|
|
"msecs": 298.6888885498047,
|
|
"msg": "%s Cleaning up receive-buffer",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4992.427825927734,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:54,299",
|
|
"created": 1608586374.299083,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentification_state_reset__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 217,
|
|
"message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"module": "__init__",
|
|
"msecs": 299.08299446105957,
|
|
"msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4992.821931838989,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:54,299",
|
|
"created": 1608586374.299315,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__clean_receive_buffer__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 313,
|
|
"message": "SJP: Cleaning up receive-buffer",
|
|
"module": "__init__",
|
|
"msecs": 299.3149757385254,
|
|
"msg": "%s Cleaning up receive-buffer",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4993.053913116455,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:54,299",
|
|
"created": 1608586374.299633,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentification_state_reset__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 217,
|
|
"message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"module": "__init__",
|
|
"msecs": 299.6330261230469,
|
|
"msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4993.371963500977,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
0,
|
|
10,
|
|
45054,
|
|
"{u'test': u'test'}"
|
|
],
|
|
"asctime": "2020-12-21 22:32:54,299",
|
|
"created": 1608586374.299925,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 0, service_id: 10, data_id: 45054, data: \"{u'test': u'test'}\"",
|
|
"module": "__init__",
|
|
"msecs": 299.9250888824463,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4993.664026260376,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:54,300",
|
|
"created": 1608586374.300477,
|
|
"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": 300.4770278930664,
|
|
"msg": "Send data: (79): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d 63 ee c4 24",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4994.215965270996,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:54,451",
|
|
"created": 1608586374.451793,
|
|
"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": 451.79295539855957,
|
|
"msg": "Receive data (79): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d 63 ee c4 24",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5145.531892776489,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-17"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0",
|
|
"10",
|
|
"45054",
|
|
"{u'test': u'test'}"
|
|
],
|
|
"asctime": "2020-12-21 22:32:54,452",
|
|
"created": 1608586374.452346,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 265,
|
|
"message": "SJP: RX <- status: 0, service_id: 10, data_id: 45054, data: \"{u'test': u'test'}\"",
|
|
"module": "__init__",
|
|
"msecs": 452.3460865020752,
|
|
"msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5146.085023880005,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-17"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"response_data_method_2"
|
|
],
|
|
"asctime": "2020-12-21 22:32:54,452",
|
|
"created": 1608586374.452586,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 282,
|
|
"message": "SJP: Executing callback response_data_method_2 to process received data",
|
|
"module": "__init__",
|
|
"msecs": 452.58593559265137,
|
|
"msg": "%s Executing callback %s to process received data",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5146.324872970581,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-17"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
5,
|
|
11,
|
|
45054,
|
|
"[1, 3, u's']"
|
|
],
|
|
"asctime": "2020-12-21 22:32:54,452",
|
|
"created": 1608586374.452831,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, u's']\"",
|
|
"module": "__init__",
|
|
"msecs": 452.8310298919678,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5146.5699672698975,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-17"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:54,453",
|
|
"created": 1608586374.45334,
|
|
"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": 453.3400535583496,
|
|
"msg": "Send data: (74): 7b 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d 85 0b b7 34",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5147.078990936279,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-17"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:54,607",
|
|
"created": 1608586374.607388,
|
|
"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": 607.3880195617676,
|
|
"msg": "Receive data (74): 7b 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d 85 0b b7 34",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5301.126956939697,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-18"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"5",
|
|
"11",
|
|
"45054",
|
|
"[1, 3, u's']"
|
|
],
|
|
"asctime": "2020-12-21 22:32:54,607",
|
|
"created": 1608586374.607714,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 265,
|
|
"message": "SJP: RX <- status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, u's']\"",
|
|
"module": "__init__",
|
|
"msecs": 607.7139377593994,
|
|
"msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5301.452875137329,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-18"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"Operation not permitted"
|
|
],
|
|
"asctime": "2020-12-21 22:32:54,607",
|
|
"created": 1608586374.607836,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 292,
|
|
"message": "SJP: Received message has a peculiar status: Operation not permitted",
|
|
"module": "__init__",
|
|
"msecs": 607.8360080718994,
|
|
"msg": "%s Received message has a peculiar status: %s",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5301.574945449829,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-18"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:54,607",
|
|
"created": 1608586374.607913,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__buffer_received_data__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 310,
|
|
"message": "SJP: Message data is stored in buffer and is now ready to be retrieved by receive method",
|
|
"module": "__init__",
|
|
"msecs": 607.9130172729492,
|
|
"msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5301.651954650879,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-18"
|
|
}
|
|
],
|
|
"msecs": 802.3838996887207,
|
|
"msg": "Send and received data by pure_json_protocol.",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_normal_operation.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5496.12283706665,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.19447088241577148
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:54,803",
|
|
"created": 1608586374.803502,
|
|
"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 <type 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Return value of send method",
|
|
"True",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:54,803",
|
|
"created": 1608586374.803013,
|
|
"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 (<type 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 803.0130863189697,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5496.752023696899,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return value of send method",
|
|
"True",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:54,803",
|
|
"created": 1608586374.803247,
|
|
"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 (<type 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 803.2469749450684,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5496.985912322998,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 803.502082824707,
|
|
"msg": "Return value of send method is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5497.241020202637,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0002551078796386719
|
|
},
|
|
{
|
|
"args": [
|
|
"0",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:54,803",
|
|
"created": 1608586374.803914,
|
|
"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 <type 'int'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Request Status (Okay) transfered via pure_json_protocol",
|
|
"0",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:54,803",
|
|
"created": 1608586374.803707,
|
|
"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 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 803.7068843841553,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5497.445821762085,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Request Status (Okay) transfered via pure_json_protocol",
|
|
"0",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:54,803",
|
|
"created": 1608586374.803812,
|
|
"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 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 803.8120269775391,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5497.550964355469,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 803.9140701293945,
|
|
"msg": "Request Status (Okay) transfered via pure_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5497.653007507324,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00010204315185546875
|
|
},
|
|
{
|
|
"args": [
|
|
"{u'test': u'test'}",
|
|
"<type 'dict'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:54,804",
|
|
"created": 1608586374.804308,
|
|
"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 <type 'dict'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Request Data transfered via pure_json_protocol",
|
|
"{ u'test': u'test' }",
|
|
"<type 'dict'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:54,804",
|
|
"created": 1608586374.804079,
|
|
"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' } (<type 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 804.0790557861328,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5497.8179931640625,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Request Data transfered via pure_json_protocol",
|
|
"{ u'test': u'test' }",
|
|
"<type 'dict'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:54,804",
|
|
"created": 1608586374.804182,
|
|
"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' } (<type 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 804.1820526123047,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5497.920989990234,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 804.3079376220703,
|
|
"msg": "Request Data transfered via pure_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5498.046875,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.000125885009765625
|
|
},
|
|
{
|
|
"args": [
|
|
"5",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:54,804",
|
|
"created": 1608586374.80467,
|
|
"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 <type 'int'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Response Status (Operation not permitted) transfered via pure_json_protocol",
|
|
"5",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:54,804",
|
|
"created": 1608586374.804477,
|
|
"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 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 804.4769763946533,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5498.215913772583,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Response Status (Operation not permitted) transfered via pure_json_protocol",
|
|
"5",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:54,804",
|
|
"created": 1608586374.804573,
|
|
"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 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 804.5730590820312,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5498.311996459961,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 804.6700954437256,
|
|
"msg": "Response Status (Operation not permitted) transfered via pure_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5498.409032821655,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 9.703636169433594e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"[1, 3, u's']",
|
|
"<type 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:54,805",
|
|
"created": 1608586374.805125,
|
|
"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 <type 'list'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Response Data transfered via pure_json_protocol",
|
|
"[ 1, 3, u's' ]",
|
|
"<type 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:54,804",
|
|
"created": 1608586374.804879,
|
|
"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' ] (<type 'list'>)",
|
|
"module": "test",
|
|
"msecs": 804.8789501190186,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5498.617887496948,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Response Data transfered via pure_json_protocol",
|
|
"[ 1, 3, u's' ]",
|
|
"<type 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:54,804",
|
|
"created": 1608586374.804988,
|
|
"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' ] (<type 'list'>)",
|
|
"module": "test",
|
|
"msecs": 804.987907409668,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5498.726844787598,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 805.1249980926514,
|
|
"msg": "Response Data transfered via pure_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5498.863935470581,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00013709068298339844
|
|
},
|
|
{
|
|
"args": [
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:54,905",
|
|
"created": 1608586374.905841,
|
|
"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 <type 'NoneType'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0.1",
|
|
"11",
|
|
"45054"
|
|
],
|
|
"asctime": "2020-12-21 22:32:54,905",
|
|
"created": 1608586374.905478,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "receive",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 327,
|
|
"message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.",
|
|
"module": "__init__",
|
|
"msecs": 905.4780006408691,
|
|
"msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5599.216938018799,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:54,905",
|
|
"created": 1608586374.905662,
|
|
"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 (<type 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 905.6620597839355,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5599.400997161865,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:54,905",
|
|
"created": 1608586374.905753,
|
|
"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 (<type 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 905.7528972625732,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5599.491834640503,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 905.8411121368408,
|
|
"msg": "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5599.5800495147705,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 8.821487426757812e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:55,006",
|
|
"created": 1608586375.006916,
|
|
"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 <type 'NoneType'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0.1",
|
|
"10",
|
|
"45054"
|
|
],
|
|
"asctime": "2020-12-21 22:32:55,006",
|
|
"created": 1608586375.006312,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "receive",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 327,
|
|
"message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.",
|
|
"module": "__init__",
|
|
"msecs": 6.311893463134766,
|
|
"msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5700.050830841064,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:55,006",
|
|
"created": 1608586375.006614,
|
|
"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 (<type 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 6.613969802856445,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5700.352907180786,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:55,006",
|
|
"created": 1608586375.006771,
|
|
"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 (<type 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 6.771087646484375,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5700.510025024414,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 6.916046142578125,
|
|
"msg": "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5700.654983520508,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00014495849609375
|
|
}
|
|
],
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.7085680961608887,
|
|
"time_finished": "2020-12-21 22:32:55,006",
|
|
"time_start": "2020-12-21 22:32:54,298"
|
|
},
|
|
"socket_protocol.pure_json_protocol: Send and receive check including authentification.": {
|
|
"args": null,
|
|
"asctime": "2020-12-21 22:32:50,753",
|
|
"created": 1608586370.753642,
|
|
"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": 753.6420822143555,
|
|
"msg": "socket_protocol.pure_json_protocol: Send and receive check including authentification.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest/src/tests/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1447.3810195922852,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:51,961",
|
|
"created": 1608586371.961391,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_normal_operation.py",
|
|
"funcName": "send_n_receive",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 42,
|
|
"message": "Send and received data by pure_json_protocol.",
|
|
"module": "test_normal_operation",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:50,753",
|
|
"created": 1608586370.75398,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__clean_receive_buffer__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 313,
|
|
"message": "SJP: Cleaning up receive-buffer",
|
|
"module": "__init__",
|
|
"msecs": 753.9799213409424,
|
|
"msg": "%s Cleaning up receive-buffer",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1447.718858718872,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:50,754",
|
|
"created": 1608586370.754369,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentification_state_reset__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 217,
|
|
"message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"module": "__init__",
|
|
"msecs": 754.3690204620361,
|
|
"msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1448.1079578399658,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:50,754",
|
|
"created": 1608586370.754591,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__clean_receive_buffer__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 313,
|
|
"message": "SJP: Cleaning up receive-buffer",
|
|
"module": "__init__",
|
|
"msecs": 754.5909881591797,
|
|
"msg": "%s Cleaning up receive-buffer",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1448.3299255371094,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:50,754",
|
|
"created": 1608586370.754915,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentification_state_reset__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 217,
|
|
"message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"module": "__init__",
|
|
"msecs": 754.9149990081787,
|
|
"msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1448.6539363861084,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:50,755",
|
|
"created": 1608586370.755153,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "authentificate",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 396,
|
|
"message": "SJP: Requesting seed for authentification",
|
|
"module": "__init__",
|
|
"msecs": 755.1529407501221,
|
|
"msg": "%s Requesting seed for authentification",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1448.8918781280518,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
0,
|
|
1,
|
|
0,
|
|
"None"
|
|
],
|
|
"asctime": "2020-12-21 22:32:50,755",
|
|
"created": 1608586370.755335,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 0, service_id: 1, data_id: 0, data: \"None\"",
|
|
"module": "__init__",
|
|
"msecs": 755.3350925445557,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1449.0740299224854,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:50,755",
|
|
"created": 1608586370.755782,
|
|
"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": 755.781888961792,
|
|
"msg": "Send data: (62): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 2c 2d 2e 5d",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1449.5208263397217,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:50,906",
|
|
"created": 1608586370.906828,
|
|
"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": 906.8279266357422,
|
|
"msg": "Receive data (62): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 2c 2d 2e 5d",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1600.5668640136719,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-5"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0",
|
|
"1",
|
|
"0",
|
|
"None"
|
|
],
|
|
"asctime": "2020-12-21 22:32:50,907",
|
|
"created": 1608586370.907002,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 265,
|
|
"message": "SJP: RX <- status: 0, service_id: 1, data_id: 0, data: \"None\"",
|
|
"module": "__init__",
|
|
"msecs": 907.0019721984863,
|
|
"msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1600.740909576416,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-5"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"__authentificate_create_seed__"
|
|
],
|
|
"asctime": "2020-12-21 22:32:50,907",
|
|
"created": 1608586370.907072,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 282,
|
|
"message": "SJP: Executing callback __authentificate_create_seed__ to process received data",
|
|
"module": "__init__",
|
|
"msecs": 907.0720672607422,
|
|
"msg": "%s Executing callback %s to process received data",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1600.8110046386719,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-5"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:50,907",
|
|
"created": 1608586370.907125,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentificate_create_seed__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 422,
|
|
"message": "SJP: Got seed request, sending seed for authentification",
|
|
"module": "__init__",
|
|
"msecs": 907.1249961853027,
|
|
"msg": "%s Got seed request, sending seed for authentification",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1600.8639335632324,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-5"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
0,
|
|
2,
|
|
0,
|
|
"'0922d9bd6ece45f73011f7db3c5da2acbb6167bdb3e7b2dcecad4e98f15adf13'"
|
|
],
|
|
"asctime": "2020-12-21 22:32:50,907",
|
|
"created": 1608586370.907196,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 0, service_id: 2, data_id: 0, data: \"'0922d9bd6ece45f73011f7db3c5da2acbb6167bdb3e7b2dcecad4e98f15adf13'\"",
|
|
"module": "__init__",
|
|
"msecs": 907.196044921875,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1600.9349822998047,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-5"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:50,907",
|
|
"created": 1608586370.907368,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_helpers.py",
|
|
"funcName": "send",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 55,
|
|
"message": "Send data: (124): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 32 2c 20 22 64 61 74 61 22 3a 20 22 30 39 32 32 64 39 62 64 36 65 63 65 34 35 66 37 33 30 31 31 66 37 64 62 33 63 35 64 61 32 61 63 62 62 36 31 36 37 62 64 62 33 65 37 62 32 64 63 65 63 61 64 34 65 39 38 66 31 35 61 64 66 31 33 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d df d1 ae 17",
|
|
"module": "test_helpers",
|
|
"msecs": 907.3679447174072,
|
|
"msg": "Send data: (124): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 32 2c 20 22 64 61 74 61 22 3a 20 22 30 39 32 32 64 39 62 64 36 65 63 65 34 35 66 37 33 30 31 31 66 37 64 62 33 63 35 64 61 32 61 63 62 62 36 31 36 37 62 64 62 33 65 37 62 32 64 63 65 63 61 64 34 65 39 38 66 31 35 61 64 66 31 33 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d df d1 ae 17",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1601.106882095337,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-5"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:51,058",
|
|
"created": 1608586371.058338,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_helpers.py",
|
|
"funcName": "receive",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 66,
|
|
"message": "Receive data (124): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 32 2c 20 22 64 61 74 61 22 3a 20 22 30 39 32 32 64 39 62 64 36 65 63 65 34 35 66 37 33 30 31 31 66 37 64 62 33 63 35 64 61 32 61 63 62 62 36 31 36 37 62 64 62 33 65 37 62 32 64 63 65 63 61 64 34 65 39 38 66 31 35 61 64 66 31 33 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d df d1 ae 17",
|
|
"module": "test_helpers",
|
|
"msecs": 58.33792686462402,
|
|
"msg": "Receive data (124): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 32 2c 20 22 64 61 74 61 22 3a 20 22 30 39 32 32 64 39 62 64 36 65 63 65 34 35 66 37 33 30 31 31 66 37 64 62 33 63 35 64 61 32 61 63 62 62 36 31 36 37 62 64 62 33 65 37 62 32 64 63 65 63 61 64 34 65 39 38 66 31 35 61 64 66 31 33 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d df d1 ae 17",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1752.0768642425537,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-6"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0",
|
|
"2",
|
|
"0",
|
|
"u'0922d9bd6ece45f73011f7db3c5da2acbb6167bdb3e7b2dcecad4e98f15adf13'"
|
|
],
|
|
"asctime": "2020-12-21 22:32:51,058",
|
|
"created": 1608586371.058798,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 265,
|
|
"message": "SJP: RX <- status: 0, service_id: 2, data_id: 0, data: \"u'0922d9bd6ece45f73011f7db3c5da2acbb6167bdb3e7b2dcecad4e98f15adf13'\"",
|
|
"module": "__init__",
|
|
"msecs": 58.79807472229004,
|
|
"msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1752.5370121002197,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-6"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"__authentificate_create_key__"
|
|
],
|
|
"asctime": "2020-12-21 22:32:51,059",
|
|
"created": 1608586371.059039,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 282,
|
|
"message": "SJP: Executing callback __authentificate_create_key__ to process received data",
|
|
"module": "__init__",
|
|
"msecs": 59.03911590576172,
|
|
"msg": "%s Executing callback %s to process received data",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1752.7780532836914,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-6"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:51,059",
|
|
"created": 1608586371.059212,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentificate_create_key__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 431,
|
|
"message": "SJP: Got seed, sending key for authentification",
|
|
"module": "__init__",
|
|
"msecs": 59.21196937561035,
|
|
"msg": "%s Got seed, sending key for authentification",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1752.95090675354,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-6"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
0,
|
|
3,
|
|
0,
|
|
"'1464476a2e6a06841bd4922c84ba2f218850ac86c82ae81a81ab132a423137da9ba239acb47cc257740ada03035e65a71106341eeb6e7277c1c67846f5b63bf6'"
|
|
],
|
|
"asctime": "2020-12-21 22:32:51,059",
|
|
"created": 1608586371.0595,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 0, service_id: 3, data_id: 0, data: \"'1464476a2e6a06841bd4922c84ba2f218850ac86c82ae81a81ab132a423137da9ba239acb47cc257740ada03035e65a71106341eeb6e7277c1c67846f5b63bf6'\"",
|
|
"module": "__init__",
|
|
"msecs": 59.49997901916504,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1753.2389163970947,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-6"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:51,060",
|
|
"created": 1608586371.060293,
|
|
"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 31 34 36 34 34 37 36 61 32 65 36 61 30 36 38 34 31 62 64 34 39 32 32 63 38 34 62 61 32 66 32 31 38 38 35 30 61 63 38 36 63 38 32 61 65 38 31 61 38 31 61 62 31 33 32 61 34 32 33 31 33 37 64 61 39 62 61 32 33 39 61 63 62 34 37 63 63 32 35 37 37 34 30 61 64 61 30 33 30 33 35 65 36 35 61 37 31 31 30 36 33 34 31 65 65 62 36 65 37 32 37 37 63 31 63 36 37 38 34 36 66 35 62 36 33 62 66 36 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d f6 4d 06 2a",
|
|
"module": "test_helpers",
|
|
"msecs": 60.292959213256836,
|
|
"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 31 34 36 34 34 37 36 61 32 65 36 61 30 36 38 34 31 62 64 34 39 32 32 63 38 34 62 61 32 66 32 31 38 38 35 30 61 63 38 36 63 38 32 61 65 38 31 61 38 31 61 62 31 33 32 61 34 32 33 31 33 37 64 61 39 62 61 32 33 39 61 63 62 34 37 63 63 32 35 37 37 34 30 61 64 61 30 33 30 33 35 65 36 35 61 37 31 31 30 36 33 34 31 65 65 62 36 65 37 32 37 37 63 31 63 36 37 38 34 36 66 35 62 36 33 62 66 36 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d f6 4d 06 2a",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1754.0318965911865,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-6"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:51,211",
|
|
"created": 1608586371.211903,
|
|
"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 31 34 36 34 34 37 36 61 32 65 36 61 30 36 38 34 31 62 64 34 39 32 32 63 38 34 62 61 32 66 32 31 38 38 35 30 61 63 38 36 63 38 32 61 65 38 31 61 38 31 61 62 31 33 32 61 34 32 33 31 33 37 64 61 39 62 61 32 33 39 61 63 62 34 37 63 63 32 35 37 37 34 30 61 64 61 30 33 30 33 35 65 36 35 61 37 31 31 30 36 33 34 31 65 65 62 36 65 37 32 37 37 63 31 63 36 37 38 34 36 66 35 62 36 33 62 66 36 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d f6 4d 06 2a",
|
|
"module": "test_helpers",
|
|
"msecs": 211.90309524536133,
|
|
"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 31 34 36 34 34 37 36 61 32 65 36 61 30 36 38 34 31 62 64 34 39 32 32 63 38 34 62 61 32 66 32 31 38 38 35 30 61 63 38 36 63 38 32 61 65 38 31 61 38 31 61 62 31 33 32 61 34 32 33 31 33 37 64 61 39 62 61 32 33 39 61 63 62 34 37 63 63 32 35 37 37 34 30 61 64 61 30 33 30 33 35 65 36 35 61 37 31 31 30 36 33 34 31 65 65 62 36 65 37 32 37 37 63 31 63 36 37 38 34 36 66 35 62 36 33 62 66 36 22 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d f6 4d 06 2a",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1905.642032623291,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-7"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0",
|
|
"3",
|
|
"0",
|
|
"u'1464476a2e6a06841bd4922c84ba2f218850ac86c82ae81a81ab132a423137da9ba239acb47cc257740ada03035e65a71106341eeb6e7277c1c67846f5b63bf6'"
|
|
],
|
|
"asctime": "2020-12-21 22:32:51,212",
|
|
"created": 1608586371.212393,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 265,
|
|
"message": "SJP: RX <- status: 0, service_id: 3, data_id: 0, data: \"u'1464476a2e6a06841bd4922c84ba2f218850ac86c82ae81a81ab132a423137da9ba239acb47cc257740ada03035e65a71106341eeb6e7277c1c67846f5b63bf6'\"",
|
|
"module": "__init__",
|
|
"msecs": 212.39304542541504,
|
|
"msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1906.1319828033447,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-7"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"__authentificate_check_key__"
|
|
],
|
|
"asctime": "2020-12-21 22:32:51,212",
|
|
"created": 1608586371.212639,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 282,
|
|
"message": "SJP: Executing callback __authentificate_check_key__ to process received data",
|
|
"module": "__init__",
|
|
"msecs": 212.63909339904785,
|
|
"msg": "%s Executing callback %s to process received data",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1906.3780307769775,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-7"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:51,212",
|
|
"created": 1608586371.21297,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentificate_check_key__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 441,
|
|
"message": "SJP: Got correct key, sending positive authentification feedback",
|
|
"module": "__init__",
|
|
"msecs": 212.97001838684082,
|
|
"msg": "%s Got correct key, sending positive authentification feedback",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1906.7089557647705,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-7"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
0,
|
|
4,
|
|
0,
|
|
"True"
|
|
],
|
|
"asctime": "2020-12-21 22:32:51,213",
|
|
"created": 1608586371.213197,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 0, service_id: 4, data_id: 0, data: \"True\"",
|
|
"module": "__init__",
|
|
"msecs": 213.1969928741455,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1906.9359302520752,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-7"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:51,213",
|
|
"created": 1608586371.21365,
|
|
"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": 213.64998817443848,
|
|
"msg": "Send data: (62): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 34 2c 20 22 64 61 74 61 22 3a 20 74 72 75 65 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d c5 2b 78 11",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1907.3889255523682,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-7"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:51,364",
|
|
"created": 1608586371.364903,
|
|
"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": 364.9029731750488,
|
|
"msg": "Receive data (62): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 34 2c 20 22 64 61 74 61 22 3a 20 74 72 75 65 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d c5 2b 78 11",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2058.6419105529785,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-8"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0",
|
|
"4",
|
|
"0",
|
|
"True"
|
|
],
|
|
"asctime": "2020-12-21 22:32:51,365",
|
|
"created": 1608586371.365429,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 265,
|
|
"message": "SJP: RX <- status: 0, service_id: 4, data_id: 0, data: \"True\"",
|
|
"module": "__init__",
|
|
"msecs": 365.4289245605469,
|
|
"msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2059.1678619384766,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-8"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"__authentificate_process_feedback__"
|
|
],
|
|
"asctime": "2020-12-21 22:32:51,365",
|
|
"created": 1608586371.365673,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 299,
|
|
"message": "SJP: Executing callback __authentificate_process_feedback__ to process received data",
|
|
"module": "__init__",
|
|
"msecs": 365.6730651855469,
|
|
"msg": "%s Executing callback %s to process received data",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2059.4120025634766,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-8"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:51,366",
|
|
"created": 1608586371.366238,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentificate_process_feedback__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 452,
|
|
"message": "SJP: Got positive authentification feedback",
|
|
"module": "__init__",
|
|
"msecs": 366.2381172180176,
|
|
"msg": "%s Got positive authentification feedback",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2059.9770545959473,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-8"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
0,
|
|
10,
|
|
45054,
|
|
"{u'test': u'test'}"
|
|
],
|
|
"asctime": "2020-12-21 22:32:51,458",
|
|
"created": 1608586371.45834,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 0, service_id: 10, data_id: 45054, data: \"{u'test': u'test'}\"",
|
|
"module": "__init__",
|
|
"msecs": 458.3399295806885,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2152.078866958618,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:51,459",
|
|
"created": 1608586371.459155,
|
|
"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": 459.1550827026367,
|
|
"msg": "Send data: (79): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d 63 ee c4 24",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2152.8940200805664,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:51,610",
|
|
"created": 1608586371.610726,
|
|
"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": 610.7261180877686,
|
|
"msg": "Receive data (79): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d 63 ee c4 24",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2304.4650554656982,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-9"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0",
|
|
"10",
|
|
"45054",
|
|
"{u'test': u'test'}"
|
|
],
|
|
"asctime": "2020-12-21 22:32:51,611",
|
|
"created": 1608586371.611235,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 265,
|
|
"message": "SJP: RX <- status: 0, service_id: 10, data_id: 45054, data: \"{u'test': u'test'}\"",
|
|
"module": "__init__",
|
|
"msecs": 611.2349033355713,
|
|
"msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2304.973840713501,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-9"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"response_data_method"
|
|
],
|
|
"asctime": "2020-12-21 22:32:51,611",
|
|
"created": 1608586371.611478,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 282,
|
|
"message": "SJP: Executing callback response_data_method to process received data",
|
|
"module": "__init__",
|
|
"msecs": 611.4780902862549,
|
|
"msg": "%s Executing callback %s to process received data",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2305.2170276641846,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-9"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
5,
|
|
11,
|
|
45054,
|
|
"[1, 3, u's']"
|
|
],
|
|
"asctime": "2020-12-21 22:32:51,611",
|
|
"created": 1608586371.611682,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, u's']\"",
|
|
"module": "__init__",
|
|
"msecs": 611.6819381713867,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2305.4208755493164,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-9"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:51,612",
|
|
"created": 1608586371.612177,
|
|
"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": 612.1768951416016,
|
|
"msg": "Send data: (74): 7b 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d 85 0b b7 34",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2305.9158325195312,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-9"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:51,763",
|
|
"created": 1608586371.763441,
|
|
"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": 763.4410858154297,
|
|
"msg": "Receive data (74): 7b 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d 85 0b b7 34",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2457.1800231933594,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-10"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"5",
|
|
"11",
|
|
"45054",
|
|
"[1, 3, u's']"
|
|
],
|
|
"asctime": "2020-12-21 22:32:51,763",
|
|
"created": 1608586371.763897,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 265,
|
|
"message": "SJP: RX <- status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, u's']\"",
|
|
"module": "__init__",
|
|
"msecs": 763.8969421386719,
|
|
"msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2457.6358795166016,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-10"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"Operation not permitted"
|
|
],
|
|
"asctime": "2020-12-21 22:32:51,764",
|
|
"created": 1608586371.764175,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 292,
|
|
"message": "SJP: Received message has a peculiar status: Operation not permitted",
|
|
"module": "__init__",
|
|
"msecs": 764.1749382019043,
|
|
"msg": "%s Received message has a peculiar status: %s",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2457.913875579834,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-10"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:51,764",
|
|
"created": 1608586371.764389,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__buffer_received_data__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 310,
|
|
"message": "SJP: Message data is stored in buffer and is now ready to be retrieved by receive method",
|
|
"module": "__init__",
|
|
"msecs": 764.3890380859375,
|
|
"msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2458.127975463867,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-10"
|
|
}
|
|
],
|
|
"msecs": 961.3909721374512,
|
|
"msg": "Send and received data by pure_json_protocol.",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_normal_operation.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2655.129909515381,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.19700193405151367
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:51,962",
|
|
"created": 1608586371.96234,
|
|
"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 <type 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Return value of authentification",
|
|
"True",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:51,961",
|
|
"created": 1608586371.961962,
|
|
"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 (<type 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 961.9619846343994,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2655.700922012329,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return value of authentification",
|
|
"True",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:51,962",
|
|
"created": 1608586371.962163,
|
|
"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 (<type 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 962.162971496582,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2655.9019088745117,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 962.3401165008545,
|
|
"msg": "Return value of authentification is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2656.079053878784,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00017714500427246094
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:51,962",
|
|
"created": 1608586371.962915,
|
|
"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 <type 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Return value of send method",
|
|
"True",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:51,962",
|
|
"created": 1608586371.962606,
|
|
"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 (<type 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 962.6059532165527,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2656.3448905944824,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return value of send method",
|
|
"True",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:51,962",
|
|
"created": 1608586371.962762,
|
|
"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 (<type 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 962.7621173858643,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2656.501054763794,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 962.9149436950684,
|
|
"msg": "Return value of send method is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2656.653881072998,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00015282630920410156
|
|
},
|
|
{
|
|
"args": [
|
|
"0",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:51,963",
|
|
"created": 1608586371.963473,
|
|
"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 <type 'int'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Request Status (Okay) transfered via pure_json_protocol",
|
|
"0",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:51,963",
|
|
"created": 1608586371.963176,
|
|
"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 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 963.1760120391846,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2656.9149494171143,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Request Status (Okay) transfered via pure_json_protocol",
|
|
"0",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:51,963",
|
|
"created": 1608586371.963324,
|
|
"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 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 963.3240699768066,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2657.0630073547363,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 963.4730815887451,
|
|
"msg": "Request Status (Okay) transfered via pure_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2657.212018966675,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00014901161193847656
|
|
},
|
|
{
|
|
"args": [
|
|
"{u'test': u'test'}",
|
|
"<type 'dict'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:51,964",
|
|
"created": 1608586371.964079,
|
|
"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 <type 'dict'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Request Data transfered via pure_json_protocol",
|
|
"{ u'test': u'test' }",
|
|
"<type 'dict'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:51,963",
|
|
"created": 1608586371.96373,
|
|
"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' } (<type 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 963.7300968170166,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2657.4690341949463,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Request Data transfered via pure_json_protocol",
|
|
"{ u'test': u'test' }",
|
|
"<type 'dict'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:51,963",
|
|
"created": 1608586371.963886,
|
|
"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' } (<type 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 963.886022567749,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2657.6249599456787,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 964.0789031982422,
|
|
"msg": "Request Data transfered via pure_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2657.817840576172,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00019288063049316406
|
|
},
|
|
{
|
|
"args": [
|
|
"5",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:51,964",
|
|
"created": 1608586371.964635,
|
|
"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 <type 'int'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Response Status (Operation not permitted) transfered via pure_json_protocol",
|
|
"5",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:51,964",
|
|
"created": 1608586371.964336,
|
|
"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 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 964.3359184265137,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2658.0748558044434,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Response Status (Operation not permitted) transfered via pure_json_protocol",
|
|
"5",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:51,964",
|
|
"created": 1608586371.964487,
|
|
"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 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 964.4870758056641,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2658.2260131835938,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 964.634895324707,
|
|
"msg": "Response Status (Operation not permitted) transfered via pure_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2658.3738327026367,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00014781951904296875
|
|
},
|
|
{
|
|
"args": [
|
|
"[1, 3, u's']",
|
|
"<type 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:51,965",
|
|
"created": 1608586371.965293,
|
|
"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 <type 'list'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Response Data transfered via pure_json_protocol",
|
|
"[ 1, 3, u's' ]",
|
|
"<type 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:51,964",
|
|
"created": 1608586371.964921,
|
|
"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' ] (<type 'list'>)",
|
|
"module": "test",
|
|
"msecs": 964.9209976196289,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2658.6599349975586,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Response Data transfered via pure_json_protocol",
|
|
"[ 1, 3, u's' ]",
|
|
"<type 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:51,965",
|
|
"created": 1608586371.965083,
|
|
"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' ] (<type 'list'>)",
|
|
"module": "test",
|
|
"msecs": 965.0828838348389,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2658.8218212127686,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 965.2929306030273,
|
|
"msg": "Response Data transfered via pure_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2659.031867980957,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00021004676818847656
|
|
},
|
|
{
|
|
"args": [
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:52,066",
|
|
"created": 1608586372.066667,
|
|
"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 <type 'NoneType'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0.1",
|
|
"11",
|
|
"45054"
|
|
],
|
|
"asctime": "2020-12-21 22:32:52,065",
|
|
"created": 1608586372.065905,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "receive",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 327,
|
|
"message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.",
|
|
"module": "__init__",
|
|
"msecs": 65.90509414672852,
|
|
"msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2759.644031524658,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:52,066",
|
|
"created": 1608586372.066262,
|
|
"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 (<type 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 66.26200675964355,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2760.0009441375732,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:52,066",
|
|
"created": 1608586372.066488,
|
|
"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 (<type 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 66.48802757263184,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2760.2269649505615,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 66.66707992553711,
|
|
"msg": "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2760.406017303467,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00017905235290527344
|
|
},
|
|
{
|
|
"args": [
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:52,168",
|
|
"created": 1608586372.168063,
|
|
"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 <type 'NoneType'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0.1",
|
|
"10",
|
|
"45054"
|
|
],
|
|
"asctime": "2020-12-21 22:32:52,167",
|
|
"created": 1608586372.167328,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "receive",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 327,
|
|
"message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.",
|
|
"module": "__init__",
|
|
"msecs": 167.327880859375,
|
|
"msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2861.0668182373047,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:52,167",
|
|
"created": 1608586372.167689,
|
|
"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 (<type 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 167.68908500671387,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2861.4280223846436,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:52,167",
|
|
"created": 1608586372.167884,
|
|
"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 (<type 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 167.88411140441895,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2861.6230487823486,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 168.06292533874512,
|
|
"msg": "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2861.801862716675,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00017881393432617188
|
|
}
|
|
],
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 1.4144208431243896,
|
|
"time_finished": "2020-12-21 22:32:52,168",
|
|
"time_start": "2020-12-21 22:32:50,753"
|
|
},
|
|
"socket_protocol.pure_json_protocol: Send and receive check.": {
|
|
"args": null,
|
|
"asctime": "2020-12-21 22:32:50,045",
|
|
"created": 1608586370.045864,
|
|
"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": 45.864105224609375,
|
|
"msg": "socket_protocol.pure_json_protocol: Send and receive check.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest/src/tests/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 739.6030426025391,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:50,548",
|
|
"created": 1608586370.548834,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_normal_operation.py",
|
|
"funcName": "send_n_receive",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 42,
|
|
"message": "Send and received data by pure_json_protocol.",
|
|
"module": "test_normal_operation",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:50,046",
|
|
"created": 1608586370.046062,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__clean_receive_buffer__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 313,
|
|
"message": "SJP: Cleaning up receive-buffer",
|
|
"module": "__init__",
|
|
"msecs": 46.06199264526367,
|
|
"msg": "%s Cleaning up receive-buffer",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 739.8009300231934,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:50,046",
|
|
"created": 1608586370.046283,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentification_state_reset__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 217,
|
|
"message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"module": "__init__",
|
|
"msecs": 46.28300666809082,
|
|
"msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 740.0219440460205,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:50,046",
|
|
"created": 1608586370.046414,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__clean_receive_buffer__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 313,
|
|
"message": "SJP: Cleaning up receive-buffer",
|
|
"module": "__init__",
|
|
"msecs": 46.41389846801758,
|
|
"msg": "%s Cleaning up receive-buffer",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 740.1528358459473,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:50,046",
|
|
"created": 1608586370.046602,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentification_state_reset__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 217,
|
|
"message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"module": "__init__",
|
|
"msecs": 46.60201072692871,
|
|
"msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 740.3409481048584,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
0,
|
|
10,
|
|
45054,
|
|
"{u'test': u'test'}"
|
|
],
|
|
"asctime": "2020-12-21 22:32:50,046",
|
|
"created": 1608586370.046755,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 0, service_id: 10, data_id: 45054, data: \"{u'test': u'test'}\"",
|
|
"module": "__init__",
|
|
"msecs": 46.755075454711914,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 740.4940128326416,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:50,047",
|
|
"created": 1608586370.047068,
|
|
"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": 47.068119049072266,
|
|
"msg": "Send data: (79): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d 63 ee c4 24",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 740.807056427002,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:50,198",
|
|
"created": 1608586370.198044,
|
|
"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": 198.0440616607666,
|
|
"msg": "Receive data (79): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d 63 ee c4 24",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 891.7829990386963,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-3"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0",
|
|
"10",
|
|
"45054",
|
|
"{u'test': u'test'}"
|
|
],
|
|
"asctime": "2020-12-21 22:32:50,198",
|
|
"created": 1608586370.198512,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 265,
|
|
"message": "SJP: RX <- status: 0, service_id: 10, data_id: 45054, data: \"{u'test': u'test'}\"",
|
|
"module": "__init__",
|
|
"msecs": 198.51207733154297,
|
|
"msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 892.2510147094727,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-3"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"response_data_method"
|
|
],
|
|
"asctime": "2020-12-21 22:32:50,198",
|
|
"created": 1608586370.198747,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 282,
|
|
"message": "SJP: Executing callback response_data_method to process received data",
|
|
"module": "__init__",
|
|
"msecs": 198.746919631958,
|
|
"msg": "%s Executing callback %s to process received data",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 892.4858570098877,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-3"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
5,
|
|
11,
|
|
45054,
|
|
"[1, 3, u's']"
|
|
],
|
|
"asctime": "2020-12-21 22:32:50,198",
|
|
"created": 1608586370.198958,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, u's']\"",
|
|
"module": "__init__",
|
|
"msecs": 198.9579200744629,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 892.6968574523926,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-3"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:50,199",
|
|
"created": 1608586370.199438,
|
|
"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": 199.43809509277344,
|
|
"msg": "Send data: (74): 7b 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d 85 0b b7 34",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 893.1770324707031,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-3"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:50,350",
|
|
"created": 1608586370.350448,
|
|
"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": 350.4478931427002,
|
|
"msg": "Receive data (74): 7b 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 7d 85 0b b7 34",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1044.1868305206299,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-4"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"5",
|
|
"11",
|
|
"45054",
|
|
"[1, 3, u's']"
|
|
],
|
|
"asctime": "2020-12-21 22:32:50,350",
|
|
"created": 1608586370.350713,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 265,
|
|
"message": "SJP: RX <- status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, u's']\"",
|
|
"module": "__init__",
|
|
"msecs": 350.71301460266113,
|
|
"msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1044.4519519805908,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-4"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"Operation not permitted"
|
|
],
|
|
"asctime": "2020-12-21 22:32:50,350",
|
|
"created": 1608586370.350876,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 292,
|
|
"message": "SJP: Received message has a peculiar status: Operation not permitted",
|
|
"module": "__init__",
|
|
"msecs": 350.8760929107666,
|
|
"msg": "%s Received message has a peculiar status: %s",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1044.6150302886963,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-4"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:50,351",
|
|
"created": 1608586370.351005,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__buffer_received_data__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 310,
|
|
"message": "SJP: Message data is stored in buffer and is now ready to be retrieved by receive method",
|
|
"module": "__init__",
|
|
"msecs": 351.00507736206055,
|
|
"msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1044.7440147399902,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-4"
|
|
}
|
|
],
|
|
"msecs": 548.8340854644775,
|
|
"msg": "Send and received data by pure_json_protocol.",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_normal_operation.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1242.5730228424072,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.197829008102417
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:50,549",
|
|
"created": 1608586370.549259,
|
|
"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 <type 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Return value of send method",
|
|
"True",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:50,549",
|
|
"created": 1608586370.549089,
|
|
"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 (<type 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 549.0889549255371,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1242.8278923034668,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return value of send method",
|
|
"True",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:50,549",
|
|
"created": 1608586370.549181,
|
|
"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 (<type 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 549.1809844970703,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1242.919921875,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 549.2589473724365,
|
|
"msg": "Return value of send method is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1242.9978847503662,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 7.796287536621094e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"0",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:50,549",
|
|
"created": 1608586370.549519,
|
|
"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 <type 'int'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Request Status (Okay) transfered via pure_json_protocol",
|
|
"0",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:50,549",
|
|
"created": 1608586370.549379,
|
|
"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 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 549.3791103363037,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1243.1180477142334,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Request Status (Okay) transfered via pure_json_protocol",
|
|
"0",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:50,549",
|
|
"created": 1608586370.54945,
|
|
"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 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 549.4499206542969,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1243.1888580322266,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 549.5190620422363,
|
|
"msg": "Request Status (Okay) transfered via pure_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1243.257999420166,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 6.914138793945312e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"{u'test': u'test'}",
|
|
"<type 'dict'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:50,549",
|
|
"created": 1608586370.54981,
|
|
"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 <type 'dict'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Request Data transfered via pure_json_protocol",
|
|
"{ u'test': u'test' }",
|
|
"<type 'dict'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:50,549",
|
|
"created": 1608586370.549644,
|
|
"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' } (<type 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 549.6439933776855,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1243.3829307556152,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Request Data transfered via pure_json_protocol",
|
|
"{ u'test': u'test' }",
|
|
"<type 'dict'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:50,549",
|
|
"created": 1608586370.549716,
|
|
"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' } (<type 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 549.7159957885742,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1243.454933166504,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 549.8099327087402,
|
|
"msg": "Request Data transfered via pure_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1243.54887008667,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 9.393692016601562e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"5",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:50,550",
|
|
"created": 1608586370.550062,
|
|
"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 <type 'int'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Response Status (Operation not permitted) transfered via pure_json_protocol",
|
|
"5",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:50,549",
|
|
"created": 1608586370.549922,
|
|
"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 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 549.921989440918,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1243.6609268188477,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Response Status (Operation not permitted) transfered via pure_json_protocol",
|
|
"5",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:50,549",
|
|
"created": 1608586370.549994,
|
|
"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 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 549.9939918518066,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1243.7329292297363,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 550.0619411468506,
|
|
"msg": "Response Status (Operation not permitted) transfered via pure_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1243.8008785247803,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 6.794929504394531e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"[1, 3, u's']",
|
|
"<type 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:50,550",
|
|
"created": 1608586370.550355,
|
|
"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 <type 'list'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Response Data transfered via pure_json_protocol",
|
|
"[ 1, 3, u's' ]",
|
|
"<type 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:50,550",
|
|
"created": 1608586370.550181,
|
|
"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' ] (<type 'list'>)",
|
|
"module": "test",
|
|
"msecs": 550.1809120178223,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1243.919849395752,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Response Data transfered via pure_json_protocol",
|
|
"[ 1, 3, u's' ]",
|
|
"<type 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:50,550",
|
|
"created": 1608586370.550256,
|
|
"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' ] (<type 'list'>)",
|
|
"module": "test",
|
|
"msecs": 550.2560138702393,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1243.994951248169,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 550.3549575805664,
|
|
"msg": "Response Data transfered via pure_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1244.093894958496,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 9.894371032714844e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:50,651",
|
|
"created": 1608586370.65158,
|
|
"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 <type 'NoneType'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0.1",
|
|
"11",
|
|
"45054"
|
|
],
|
|
"asctime": "2020-12-21 22:32:50,650",
|
|
"created": 1608586370.650822,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "receive",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 327,
|
|
"message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.",
|
|
"module": "__init__",
|
|
"msecs": 650.8219242095947,
|
|
"msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1344.5608615875244,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:50,651",
|
|
"created": 1608586370.65118,
|
|
"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 (<type 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 651.1800289154053,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1344.918966293335,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:50,651",
|
|
"created": 1608586370.651375,
|
|
"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 (<type 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 651.3750553131104,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1345.11399269104,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 651.5800952911377,
|
|
"msg": "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1345.3190326690674,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00020503997802734375
|
|
},
|
|
{
|
|
"args": [
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:50,753",
|
|
"created": 1608586370.753045,
|
|
"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 <type 'NoneType'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0.1",
|
|
"10",
|
|
"45054"
|
|
],
|
|
"asctime": "2020-12-21 22:32:50,752",
|
|
"created": 1608586370.752271,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "receive",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 327,
|
|
"message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.",
|
|
"module": "__init__",
|
|
"msecs": 752.2709369659424,
|
|
"msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1446.009874343872,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:50,752",
|
|
"created": 1608586370.752635,
|
|
"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 (<type 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 752.6350021362305,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1446.3739395141602,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:50,752",
|
|
"created": 1608586370.752863,
|
|
"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 (<type 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 752.8629302978516,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1446.6018676757812,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 753.0450820922852,
|
|
"msg": "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1446.7840194702148,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00018215179443359375
|
|
}
|
|
],
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.7071809768676758,
|
|
"time_finished": "2020-12-21 22:32:50,753",
|
|
"time_start": "2020-12-21 22:32:50,045"
|
|
},
|
|
"socket_protocol.pure_json_protocol: Timeout measurement for authentification and send method.": {
|
|
"args": null,
|
|
"asctime": "2020-12-21 22:32:56,727",
|
|
"created": 1608586376.727479,
|
|
"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": 727.4789810180664,
|
|
"msg": "socket_protocol.pure_json_protocol: Timeout measurement for authentification and send method.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest/src/tests/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7421.217918395996,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [
|
|
"0.20090699195861816",
|
|
"0.2",
|
|
"0.22000000000000003",
|
|
"<type 'float'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:56,930",
|
|
"created": 1608586376.930025,
|
|
"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.20090699195861816 in [0.2 ... 0.22000000000000003] and Type is <type 'float'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:56,727",
|
|
"created": 1608586376.727661,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__clean_receive_buffer__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 313,
|
|
"message": "SJP: Cleaning up receive-buffer",
|
|
"module": "__init__",
|
|
"msecs": 727.6608943939209,
|
|
"msg": "%s Cleaning up receive-buffer",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7421.399831771851,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:56,727",
|
|
"created": 1608586376.727858,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentification_state_reset__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 217,
|
|
"message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"module": "__init__",
|
|
"msecs": 727.8580665588379,
|
|
"msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7421.597003936768,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:56,727",
|
|
"created": 1608586376.727974,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__clean_receive_buffer__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 313,
|
|
"message": "SJP: Cleaning up receive-buffer",
|
|
"module": "__init__",
|
|
"msecs": 727.9739379882812,
|
|
"msg": "%s Cleaning up receive-buffer",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7421.712875366211,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:56,728",
|
|
"created": 1608586376.728143,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentification_state_reset__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 217,
|
|
"message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"module": "__init__",
|
|
"msecs": 728.1429767608643,
|
|
"msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7421.881914138794,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:56,728",
|
|
"created": 1608586376.728247,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "authentificate",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 396,
|
|
"message": "SJP: Requesting seed for authentification",
|
|
"module": "__init__",
|
|
"msecs": 728.2469272613525,
|
|
"msg": "%s Requesting seed for authentification",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7421.985864639282,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
0,
|
|
1,
|
|
0,
|
|
"None"
|
|
],
|
|
"asctime": "2020-12-21 22:32:56,728",
|
|
"created": 1608586376.728332,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 0, service_id: 1, data_id: 0, data: \"None\"",
|
|
"module": "__init__",
|
|
"msecs": 728.3320426940918,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7422.0709800720215,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:56,728",
|
|
"created": 1608586376.728567,
|
|
"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": 728.5668849945068,
|
|
"msg": "Send data: (62): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 2c 2d 2e 5d",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7422.3058223724365,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Timeout for authentification",
|
|
"0.20090699195861816",
|
|
"<type 'float'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:56,929",
|
|
"created": 1608586376.929325,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Timeout for authentification): 0.20090699195861816 (<type 'float'>)",
|
|
"module": "test",
|
|
"msecs": 929.3251037597656,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7623.064041137695,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Timeout for authentification",
|
|
"0.2",
|
|
"0.22000000000000003"
|
|
],
|
|
"asctime": "2020-12-21 22:32:56,929",
|
|
"created": 1608586376.929828,
|
|
"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": 929.8279285430908,
|
|
"msg": "Expectation (%s): %s <= result <= %s",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7623.5668659210205,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 930.0251007080078,
|
|
"msg": "Timeout for authentification is correct (Content %s in [%s ... %s] and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7623.7640380859375,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001971721649169922
|
|
},
|
|
{
|
|
"args": [
|
|
"0.5018911361694336",
|
|
"0.5",
|
|
"0.55",
|
|
"<type 'float'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:57,432",
|
|
"created": 1608586377.43245,
|
|
"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.5018911361694336 in [0.5 ... 0.55] and Type is <type 'float'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:56,930",
|
|
"created": 1608586376.930357,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "authentificate",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 396,
|
|
"message": "SJP: Requesting seed for authentification",
|
|
"module": "__init__",
|
|
"msecs": 930.3569793701172,
|
|
"msg": "%s Requesting seed for authentification",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7624.095916748047,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
0,
|
|
1,
|
|
0,
|
|
"None"
|
|
],
|
|
"asctime": "2020-12-21 22:32:56,930",
|
|
"created": 1608586376.930521,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 0, service_id: 1, data_id: 0, data: \"None\"",
|
|
"module": "__init__",
|
|
"msecs": 930.5210113525391,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7624.259948730469,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:56,930",
|
|
"created": 1608586376.93085,
|
|
"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": 930.8500289916992,
|
|
"msg": "Send data: (62): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 30 7d 2c 2d 2e 5d",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7624.588966369629,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Timeout for authentification",
|
|
"0.5018911361694336",
|
|
"<type 'float'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:57,432",
|
|
"created": 1608586377.43226,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Timeout for authentification): 0.5018911361694336 (<type 'float'>)",
|
|
"module": "test",
|
|
"msecs": 432.26003646850586,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 8125.998973846436,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Timeout for authentification",
|
|
"0.5",
|
|
"0.55"
|
|
],
|
|
"asctime": "2020-12-21 22:32:57,432",
|
|
"created": 1608586377.432392,
|
|
"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": 432.391881942749,
|
|
"msg": "Expectation (%s): %s <= result <= %s",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 8126.130819320679,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 432.4500560760498,
|
|
"msg": "Timeout for authentification is correct (Content %s in [%s ... %s] and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 8126.1889934539795,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 5.817413330078125e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"0.20077204704284668",
|
|
"0.2",
|
|
"0.22000000000000003",
|
|
"<type 'float'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:57,633",
|
|
"created": 1608586377.633755,
|
|
"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.20077204704284668 in [0.2 ... 0.22000000000000003] and Type is <type 'float'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0.2",
|
|
"30",
|
|
"0"
|
|
],
|
|
"asctime": "2020-12-21 22:32:57,633",
|
|
"created": 1608586377.633052,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "receive",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 327,
|
|
"message": "SJP: TIMEOUT (0.2s): Requested data (service_id: 30; data_id: 0) not in buffer.",
|
|
"module": "__init__",
|
|
"msecs": 633.0521106719971,
|
|
"msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 8326.791048049927,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Timeout for send method",
|
|
"0.20077204704284668",
|
|
"<type 'float'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:57,633",
|
|
"created": 1608586377.633384,
|
|
"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.20077204704284668 (<type 'float'>)",
|
|
"module": "test",
|
|
"msecs": 633.3839893341064,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 8327.122926712036,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Timeout for send method",
|
|
"0.2",
|
|
"0.22000000000000003"
|
|
],
|
|
"asctime": "2020-12-21 22:32:57,633",
|
|
"created": 1608586377.633563,
|
|
"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": 633.5630416870117,
|
|
"msg": "Expectation (%s): %s <= result <= %s",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 8327.301979064941,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 633.7549686431885,
|
|
"msg": "Timeout for send method is correct (Content %s in [%s ... %s] and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 8327.493906021118,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001919269561767578
|
|
},
|
|
{
|
|
"args": [
|
|
"0.5015850067138672",
|
|
"0.5",
|
|
"0.55",
|
|
"<type 'float'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:58,136",
|
|
"created": 1608586378.136024,
|
|
"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.5015850067138672 in [0.5 ... 0.55] and Type is <type 'float'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0.5",
|
|
"30",
|
|
"0"
|
|
],
|
|
"asctime": "2020-12-21 22:32:58,135",
|
|
"created": 1608586378.13529,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "receive",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 327,
|
|
"message": "SJP: TIMEOUT (0.5s): Requested data (service_id: 30; data_id: 0) not in buffer.",
|
|
"module": "__init__",
|
|
"msecs": 135.28990745544434,
|
|
"msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 8829.028844833374,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Timeout for send method",
|
|
"0.5015850067138672",
|
|
"<type 'float'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:58,135",
|
|
"created": 1608586378.135638,
|
|
"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.5015850067138672 (<type 'float'>)",
|
|
"module": "test",
|
|
"msecs": 135.63799858093262,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 8829.376935958862,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Timeout for send method",
|
|
"0.5",
|
|
"0.55"
|
|
],
|
|
"asctime": "2020-12-21 22:32:58,135",
|
|
"created": 1608586378.135837,
|
|
"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": 135.83707809448242,
|
|
"msg": "Expectation (%s): %s <= result <= %s",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 8829.576015472412,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 136.02399826049805,
|
|
"msg": "Timeout for send method is correct (Content %s in [%s ... %s] and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 8829.762935638428,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.000186920166015625
|
|
}
|
|
],
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 1.4085450172424316,
|
|
"time_finished": "2020-12-21 22:32:58,136",
|
|
"time_start": "2020-12-21 22:32:56,727"
|
|
},
|
|
"socket_protocol.pure_json_protocol: Wildcard Callback registration for data_id.": {
|
|
"args": null,
|
|
"asctime": "2020-12-21 22:32:53,587",
|
|
"created": 1608586373.587175,
|
|
"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": 587.1748924255371,
|
|
"msg": "socket_protocol.pure_json_protocol: Wildcard Callback registration for data_id.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest/src/tests/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4280.913829803467,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:54,091",
|
|
"created": 1608586374.091652,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_normal_operation.py",
|
|
"funcName": "wildcard_callback",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 96,
|
|
"message": "Send and received data by pure_json_protocol. Wildcard callback registerd for .",
|
|
"module": "test_normal_operation",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:53,587",
|
|
"created": 1608586373.587508,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__clean_receive_buffer__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 313,
|
|
"message": "SJP: Cleaning up receive-buffer",
|
|
"module": "__init__",
|
|
"msecs": 587.507963180542,
|
|
"msg": "%s Cleaning up receive-buffer",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4281.246900558472,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:53,587",
|
|
"created": 1608586373.587886,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentification_state_reset__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 217,
|
|
"message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"module": "__init__",
|
|
"msecs": 587.8860950469971,
|
|
"msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4281.625032424927,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:53,588",
|
|
"created": 1608586373.588108,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__clean_receive_buffer__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 313,
|
|
"message": "SJP: Cleaning up receive-buffer",
|
|
"module": "__init__",
|
|
"msecs": 588.1080627441406,
|
|
"msg": "%s Cleaning up receive-buffer",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4281.84700012207,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:53,588",
|
|
"created": 1608586373.588432,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentification_state_reset__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 217,
|
|
"message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"module": "__init__",
|
|
"msecs": 588.4320735931396,
|
|
"msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4282.171010971069,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
0,
|
|
10,
|
|
48879,
|
|
"{u'test': u'test'}"
|
|
],
|
|
"asctime": "2020-12-21 22:32:53,588",
|
|
"created": 1608586373.588694,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 0, service_id: 10, data_id: 48879, data: \"{u'test': u'test'}\"",
|
|
"module": "__init__",
|
|
"msecs": 588.6940956115723,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4282.433032989502,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:53,589",
|
|
"created": 1608586373.589274,
|
|
"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": 589.2739295959473,
|
|
"msg": "Send data: (79): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 7d e8 e0 82 59",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4283.012866973877,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:53,740",
|
|
"created": 1608586373.740585,
|
|
"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": 740.5850887298584,
|
|
"msg": "Receive data (79): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 7d e8 e0 82 59",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4434.324026107788,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-15"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0",
|
|
"10",
|
|
"48879",
|
|
"{u'test': u'test'}"
|
|
],
|
|
"asctime": "2020-12-21 22:32:53,741",
|
|
"created": 1608586373.74109,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 265,
|
|
"message": "SJP: RX <- status: 0, service_id: 10, data_id: 48879, data: \"{u'test': u'test'}\"",
|
|
"module": "__init__",
|
|
"msecs": 741.0900592803955,
|
|
"msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4434.828996658325,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-15"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"response_data_method"
|
|
],
|
|
"asctime": "2020-12-21 22:32:53,741",
|
|
"created": 1608586373.741322,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 282,
|
|
"message": "SJP: Executing callback response_data_method to process received data",
|
|
"module": "__init__",
|
|
"msecs": 741.3220405578613,
|
|
"msg": "%s Executing callback %s to process received data",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4435.060977935791,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-15"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
5,
|
|
11,
|
|
48879,
|
|
"[1, 3, u's']"
|
|
],
|
|
"asctime": "2020-12-21 22:32:53,741",
|
|
"created": 1608586373.741524,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 5, service_id: 11, data_id: 48879, data: \"[1, 3, u's']\"",
|
|
"module": "__init__",
|
|
"msecs": 741.5239810943604,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4435.26291847229,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-15"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:53,742",
|
|
"created": 1608586373.742017,
|
|
"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": 742.0170307159424,
|
|
"msg": "Send data: (74): 7b 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 7d 0e 05 f1 49",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4435.755968093872,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-15"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:53,893",
|
|
"created": 1608586373.893307,
|
|
"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": 893.3069705963135,
|
|
"msg": "Receive data (74): 7b 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 7d 0e 05 f1 49",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4587.045907974243,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-16"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"5",
|
|
"11",
|
|
"48879",
|
|
"[1, 3, u's']"
|
|
],
|
|
"asctime": "2020-12-21 22:32:53,893",
|
|
"created": 1608586373.893776,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 265,
|
|
"message": "SJP: RX <- status: 5, service_id: 11, data_id: 48879, data: \"[1, 3, u's']\"",
|
|
"module": "__init__",
|
|
"msecs": 893.7759399414062,
|
|
"msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4587.514877319336,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-16"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"Operation not permitted"
|
|
],
|
|
"asctime": "2020-12-21 22:32:53,894",
|
|
"created": 1608586373.89406,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 292,
|
|
"message": "SJP: Received message has a peculiar status: Operation not permitted",
|
|
"module": "__init__",
|
|
"msecs": 894.0598964691162,
|
|
"msg": "%s Received message has a peculiar status: %s",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4587.798833847046,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-16"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:53,894",
|
|
"created": 1608586373.89428,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__buffer_received_data__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 310,
|
|
"message": "SJP: Message data is stored in buffer and is now ready to be retrieved by receive method",
|
|
"module": "__init__",
|
|
"msecs": 894.279956817627,
|
|
"msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4588.018894195557,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-16"
|
|
}
|
|
],
|
|
"msecs": 91.65191650390625,
|
|
"msg": "Send and received data by pure_json_protocol. Wildcard callback registerd for .",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_normal_operation.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4785.390853881836,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.1973719596862793
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:54,092",
|
|
"created": 1608586374.092538,
|
|
"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 <type 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Return value of send method",
|
|
"True",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:54,092",
|
|
"created": 1608586374.092162,
|
|
"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 (<type 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 92.16189384460449,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4785.900831222534,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return value of send method",
|
|
"True",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:54,092",
|
|
"created": 1608586374.092363,
|
|
"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 (<type 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 92.36311912536621,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4786.102056503296,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 92.53811836242676,
|
|
"msg": "Return value of send method is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4786.277055740356,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00017499923706054688
|
|
},
|
|
{
|
|
"args": [
|
|
"0",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:54,093",
|
|
"created": 1608586374.093175,
|
|
"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 <type 'int'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Request Status (Okay) transfered via pure_json_protocol",
|
|
"0",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:54,092",
|
|
"created": 1608586374.092853,
|
|
"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 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 92.85306930541992,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4786.59200668335,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Request Status (Okay) transfered via pure_json_protocol",
|
|
"0",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:54,093",
|
|
"created": 1608586374.09302,
|
|
"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 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 93.01996231079102,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4786.758899688721,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 93.17493438720703,
|
|
"msg": "Request Status (Okay) transfered via pure_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4786.913871765137,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00015497207641601562
|
|
},
|
|
{
|
|
"args": [
|
|
"{u'test': u'test'}",
|
|
"<type 'dict'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:54,093",
|
|
"created": 1608586374.093803,
|
|
"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 <type 'dict'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Request Data transfered via pure_json_protocol",
|
|
"{ u'test': u'test' }",
|
|
"<type 'dict'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:54,093",
|
|
"created": 1608586374.093439,
|
|
"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' } (<type 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 93.43910217285156,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4787.178039550781,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Request Data transfered via pure_json_protocol",
|
|
"{ u'test': u'test' }",
|
|
"<type 'dict'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:54,093",
|
|
"created": 1608586374.093598,
|
|
"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' } (<type 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 93.5978889465332,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4787.336826324463,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 93.80292892456055,
|
|
"msg": "Request Data transfered via pure_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4787.54186630249,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00020503997802734375
|
|
},
|
|
{
|
|
"args": [
|
|
"5",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:54,094",
|
|
"created": 1608586374.094372,
|
|
"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 <type 'int'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Response Status (Operation not permitted) transfered via pure_json_protocol",
|
|
"5",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:54,094",
|
|
"created": 1608586374.094051,
|
|
"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 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 94.05088424682617,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4787.789821624756,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Response Status (Operation not permitted) transfered via pure_json_protocol",
|
|
"5",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:54,094",
|
|
"created": 1608586374.094201,
|
|
"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 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 94.20108795166016,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4787.94002532959,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 94.37203407287598,
|
|
"msg": "Response Status (Operation not permitted) transfered via pure_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4788.110971450806,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001709461212158203
|
|
},
|
|
{
|
|
"args": [
|
|
"[1, 3, u's']",
|
|
"<type 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:54,095",
|
|
"created": 1608586374.095016,
|
|
"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 <type 'list'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Response Data transfered via pure_json_protocol",
|
|
"[ 1, 3, u's' ]",
|
|
"<type 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:54,094",
|
|
"created": 1608586374.094645,
|
|
"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' ] (<type 'list'>)",
|
|
"module": "test",
|
|
"msecs": 94.64502334594727,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4788.383960723877,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Response Data transfered via pure_json_protocol",
|
|
"[ 1, 3, u's' ]",
|
|
"<type 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:54,094",
|
|
"created": 1608586374.094809,
|
|
"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' ] (<type 'list'>)",
|
|
"module": "test",
|
|
"msecs": 94.80905532836914,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4788.547992706299,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 95.0160026550293,
|
|
"msg": "Response Data transfered via pure_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4788.754940032959,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00020694732666015625
|
|
},
|
|
{
|
|
"args": [
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:54,196",
|
|
"created": 1608586374.19635,
|
|
"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 <type 'NoneType'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0.1",
|
|
"11",
|
|
"48879"
|
|
],
|
|
"asctime": "2020-12-21 22:32:54,195",
|
|
"created": 1608586374.195572,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "receive",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 327,
|
|
"message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 48879) not in buffer.",
|
|
"module": "__init__",
|
|
"msecs": 195.5718994140625,
|
|
"msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4889.310836791992,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef",
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:54,195",
|
|
"created": 1608586374.195904,
|
|
"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 (<type 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 195.90401649475098,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4889.642953872681,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef",
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:54,196",
|
|
"created": 1608586374.196136,
|
|
"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 (<type 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 196.1359977722168,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4889.8749351501465,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 196.35009765625,
|
|
"msg": "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4890.08903503418,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00021409988403320312
|
|
},
|
|
{
|
|
"args": [
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:54,297",
|
|
"created": 1608586374.297795,
|
|
"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 <type 'NoneType'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0.1",
|
|
"10",
|
|
"48879"
|
|
],
|
|
"asctime": "2020-12-21 22:32:54,297",
|
|
"created": 1608586374.297006,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "receive",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 327,
|
|
"message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 48879) not in buffer.",
|
|
"module": "__init__",
|
|
"msecs": 297.00589179992676,
|
|
"msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4990.744829177856,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef",
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:54,297",
|
|
"created": 1608586374.297371,
|
|
"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 (<type 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 297.37091064453125,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4991.109848022461,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef",
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:54,297",
|
|
"created": 1608586374.297613,
|
|
"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 (<type 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 297.61290550231934,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4991.351842880249,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 297.79505729675293,
|
|
"msg": "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4991.533994674683,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00018215179443359375
|
|
}
|
|
],
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.7106201648712158,
|
|
"time_finished": "2020-12-21 22:32:54,297",
|
|
"time_start": "2020-12-21 22:32:53,587"
|
|
},
|
|
"socket_protocol.pure_json_protocol: Wildcard Callback registration for service_id and data_id.": {
|
|
"args": null,
|
|
"asctime": "2020-12-21 22:32:52,168",
|
|
"created": 1608586372.168823,
|
|
"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": 168.8230037689209,
|
|
"msg": "socket_protocol.pure_json_protocol: Wildcard Callback registration for service_id and data_id.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest/src/tests/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2862.5619411468506,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:52,672",
|
|
"created": 1608586372.672914,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_normal_operation.py",
|
|
"funcName": "wildcard_callback",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 96,
|
|
"message": "Send and received data by pure_json_protocol. Wildcard callback registerd for service_id and data_id.",
|
|
"module": "test_normal_operation",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:52,169",
|
|
"created": 1608586372.169187,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__clean_receive_buffer__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 313,
|
|
"message": "SJP: Cleaning up receive-buffer",
|
|
"module": "__init__",
|
|
"msecs": 169.18706893920898,
|
|
"msg": "%s Cleaning up receive-buffer",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2862.9260063171387,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:52,169",
|
|
"created": 1608586372.169619,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentification_state_reset__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 217,
|
|
"message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"module": "__init__",
|
|
"msecs": 169.61908340454102,
|
|
"msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2863.3580207824707,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:52,169",
|
|
"created": 1608586372.169844,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__clean_receive_buffer__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 313,
|
|
"message": "SJP: Cleaning up receive-buffer",
|
|
"module": "__init__",
|
|
"msecs": 169.8439121246338,
|
|
"msg": "%s Cleaning up receive-buffer",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2863.5828495025635,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:52,170",
|
|
"created": 1608586372.170179,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentification_state_reset__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 217,
|
|
"message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"module": "__init__",
|
|
"msecs": 170.17889022827148,
|
|
"msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2863.917827606201,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
0,
|
|
10,
|
|
48879,
|
|
"{u'test': u'test'}"
|
|
],
|
|
"asctime": "2020-12-21 22:32:52,170",
|
|
"created": 1608586372.170429,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 0, service_id: 10, data_id: 48879, data: \"{u'test': u'test'}\"",
|
|
"module": "__init__",
|
|
"msecs": 170.42899131774902,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2864.1679286956787,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:52,170",
|
|
"created": 1608586372.170959,
|
|
"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": 170.9589958190918,
|
|
"msg": "Send data: (79): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 7d e8 e0 82 59",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2864.6979331970215,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:52,322",
|
|
"created": 1608586372.322128,
|
|
"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": 322.1280574798584,
|
|
"msg": "Receive data (79): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 7d e8 e0 82 59",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3015.866994857788,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-11"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0",
|
|
"10",
|
|
"48879",
|
|
"{u'test': u'test'}"
|
|
],
|
|
"asctime": "2020-12-21 22:32:52,322",
|
|
"created": 1608586372.322777,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 265,
|
|
"message": "SJP: RX <- status: 0, service_id: 10, data_id: 48879, data: \"{u'test': u'test'}\"",
|
|
"module": "__init__",
|
|
"msecs": 322.77703285217285,
|
|
"msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3016.5159702301025,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-11"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"response_data_method"
|
|
],
|
|
"asctime": "2020-12-21 22:32:52,323",
|
|
"created": 1608586372.323027,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 282,
|
|
"message": "SJP: Executing callback response_data_method to process received data",
|
|
"module": "__init__",
|
|
"msecs": 323.0268955230713,
|
|
"msg": "%s Executing callback %s to process received data",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3016.765832901001,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-11"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
5,
|
|
11,
|
|
48879,
|
|
"[1, 3, u's']"
|
|
],
|
|
"asctime": "2020-12-21 22:32:52,323",
|
|
"created": 1608586372.323167,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 5, service_id: 11, data_id: 48879, data: \"[1, 3, u's']\"",
|
|
"module": "__init__",
|
|
"msecs": 323.167085647583,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3016.9060230255127,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-11"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:52,323",
|
|
"created": 1608586372.323501,
|
|
"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": 323.5011100769043,
|
|
"msg": "Send data: (74): 7b 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 7d 0e 05 f1 49",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3017.240047454834,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-11"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:52,474",
|
|
"created": 1608586372.474705,
|
|
"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": 474.7049808502197,
|
|
"msg": "Receive data (74): 7b 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 7d 0e 05 f1 49",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3168.4439182281494,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-12"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"5",
|
|
"11",
|
|
"48879",
|
|
"[1, 3, u's']"
|
|
],
|
|
"asctime": "2020-12-21 22:32:52,475",
|
|
"created": 1608586372.475013,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 265,
|
|
"message": "SJP: RX <- status: 5, service_id: 11, data_id: 48879, data: \"[1, 3, u's']\"",
|
|
"module": "__init__",
|
|
"msecs": 475.01301765441895,
|
|
"msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3168.7519550323486,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-12"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"Operation not permitted"
|
|
],
|
|
"asctime": "2020-12-21 22:32:52,475",
|
|
"created": 1608586372.475187,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 292,
|
|
"message": "SJP: Received message has a peculiar status: Operation not permitted",
|
|
"module": "__init__",
|
|
"msecs": 475.1870632171631,
|
|
"msg": "%s Received message has a peculiar status: %s",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3168.926000595093,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-12"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:52,475",
|
|
"created": 1608586372.475322,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__buffer_received_data__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 310,
|
|
"message": "SJP: Message data is stored in buffer and is now ready to be retrieved by receive method",
|
|
"module": "__init__",
|
|
"msecs": 475.32200813293457,
|
|
"msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3169.0609455108643,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-12"
|
|
}
|
|
],
|
|
"msecs": 672.9140281677246,
|
|
"msg": "Send and received data by pure_json_protocol. Wildcard callback registerd for service_id and data_id.",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_normal_operation.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3366.6529655456543,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.19759202003479004
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:52,673",
|
|
"created": 1608586372.67341,
|
|
"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 <type 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Return value of send method",
|
|
"True",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:52,673",
|
|
"created": 1608586372.673214,
|
|
"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 (<type 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 673.2139587402344,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3366.952896118164,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return value of send method",
|
|
"True",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:52,673",
|
|
"created": 1608586372.673318,
|
|
"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 (<type 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 673.3179092407227,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3367.0568466186523,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 673.4099388122559,
|
|
"msg": "Return value of send method is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3367.1488761901855,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 9.202957153320312e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"0",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:52,673",
|
|
"created": 1608586372.673737,
|
|
"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 <type 'int'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Request Status (Okay) transfered via pure_json_protocol",
|
|
"0",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:52,673",
|
|
"created": 1608586372.673555,
|
|
"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 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 673.5548973083496,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3367.2938346862793,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Request Status (Okay) transfered via pure_json_protocol",
|
|
"0",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:52,673",
|
|
"created": 1608586372.673639,
|
|
"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 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 673.6390590667725,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3367.377996444702,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 673.7370491027832,
|
|
"msg": "Request Status (Okay) transfered via pure_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3367.475986480713,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 9.799003601074219e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"{u'test': u'test'}",
|
|
"<type 'dict'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:52,674",
|
|
"created": 1608586372.674069,
|
|
"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 <type 'dict'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Request Data transfered via pure_json_protocol",
|
|
"{ u'test': u'test' }",
|
|
"<type 'dict'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:52,673",
|
|
"created": 1608586372.673877,
|
|
"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' } (<type 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 673.8770008087158,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3367.6159381866455,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Request Data transfered via pure_json_protocol",
|
|
"{ u'test': u'test' }",
|
|
"<type 'dict'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:52,673",
|
|
"created": 1608586372.673964,
|
|
"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' } (<type 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 673.9640235900879,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3367.7029609680176,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 674.0689277648926,
|
|
"msg": "Request Data transfered via pure_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3367.8078651428223,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001049041748046875
|
|
},
|
|
{
|
|
"args": [
|
|
"5",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:52,674",
|
|
"created": 1608586372.674367,
|
|
"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 <type 'int'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Response Status (Operation not permitted) transfered via pure_json_protocol",
|
|
"5",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:52,674",
|
|
"created": 1608586372.674207,
|
|
"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 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 674.2069721221924,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3367.945909500122,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Response Status (Operation not permitted) transfered via pure_json_protocol",
|
|
"5",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:52,674",
|
|
"created": 1608586372.674288,
|
|
"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 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 674.2880344390869,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3368.0269718170166,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 674.3669509887695,
|
|
"msg": "Response Status (Operation not permitted) transfered via pure_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3368.105888366699,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 7.891654968261719e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"[1, 3, u's']",
|
|
"<type 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:52,674",
|
|
"created": 1608586372.674708,
|
|
"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 <type 'list'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Response Data transfered via pure_json_protocol",
|
|
"[ 1, 3, u's' ]",
|
|
"<type 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:52,674",
|
|
"created": 1608586372.67451,
|
|
"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' ] (<type 'list'>)",
|
|
"module": "test",
|
|
"msecs": 674.5100021362305,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3368.24893951416,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Response Data transfered via pure_json_protocol",
|
|
"[ 1, 3, u's' ]",
|
|
"<type 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:52,674",
|
|
"created": 1608586372.674597,
|
|
"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' ] (<type 'list'>)",
|
|
"module": "test",
|
|
"msecs": 674.5970249176025,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3368.335962295532,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 674.7078895568848,
|
|
"msg": "Response Data transfered via pure_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3368.4468269348145,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00011086463928222656
|
|
},
|
|
{
|
|
"args": [
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:52,775",
|
|
"created": 1608586372.775405,
|
|
"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 <type 'NoneType'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0.1",
|
|
"11",
|
|
"48879"
|
|
],
|
|
"asctime": "2020-12-21 22:32:52,775",
|
|
"created": 1608586372.775036,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "receive",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 327,
|
|
"message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 48879) not in buffer.",
|
|
"module": "__init__",
|
|
"msecs": 775.036096572876,
|
|
"msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3468.7750339508057,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef",
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:52,775",
|
|
"created": 1608586372.775214,
|
|
"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 (<type 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 775.2139568328857,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3468.9528942108154,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef",
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:52,775",
|
|
"created": 1608586372.775318,
|
|
"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 (<type 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 775.317907333374,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3469.0568447113037,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 775.4049301147461,
|
|
"msg": "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3469.143867492676,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 8.702278137207031e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:52,876",
|
|
"created": 1608586372.876433,
|
|
"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 <type 'NoneType'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0.1",
|
|
"10",
|
|
"48879"
|
|
],
|
|
"asctime": "2020-12-21 22:32:52,875",
|
|
"created": 1608586372.875867,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "receive",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 327,
|
|
"message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 48879) not in buffer.",
|
|
"module": "__init__",
|
|
"msecs": 875.8668899536133,
|
|
"msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3569.605827331543,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef",
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:52,876",
|
|
"created": 1608586372.876142,
|
|
"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 (<type 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 876.1420249938965,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3569.880962371826,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef",
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:52,876",
|
|
"created": 1608586372.876299,
|
|
"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 (<type 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 876.2989044189453,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3570.037841796875,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 876.4328956604004,
|
|
"msg": "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3570.17183303833,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00013399124145507812
|
|
}
|
|
],
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.7076098918914795,
|
|
"time_finished": "2020-12-21 22:32:52,876",
|
|
"time_start": "2020-12-21 22:32:52,168"
|
|
},
|
|
"socket_protocol.pure_json_protocol: Wildcard Callback registration for service_id.": {
|
|
"args": null,
|
|
"asctime": "2020-12-21 22:32:52,876",
|
|
"created": 1608586372.876881,
|
|
"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": 876.8808841705322,
|
|
"msg": "socket_protocol.pure_json_protocol: Wildcard Callback registration for service_id.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest/src/tests/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3570.619821548462,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:53,380",
|
|
"created": 1608586373.380403,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_normal_operation.py",
|
|
"funcName": "wildcard_callback",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 96,
|
|
"message": "Send and received data by pure_json_protocol. Wildcard callback registerd for service_id.",
|
|
"module": "test_normal_operation",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:52,877",
|
|
"created": 1608586372.877129,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__clean_receive_buffer__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 313,
|
|
"message": "SJP: Cleaning up receive-buffer",
|
|
"module": "__init__",
|
|
"msecs": 877.129077911377,
|
|
"msg": "%s Cleaning up receive-buffer",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3570.8680152893066,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:52,877",
|
|
"created": 1608586372.877433,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentification_state_reset__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 217,
|
|
"message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"module": "__init__",
|
|
"msecs": 877.4330615997314,
|
|
"msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3571.171998977661,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:52,877",
|
|
"created": 1608586372.87759,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__clean_receive_buffer__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 313,
|
|
"message": "SJP: Cleaning up receive-buffer",
|
|
"module": "__init__",
|
|
"msecs": 877.5899410247803,
|
|
"msg": "%s Cleaning up receive-buffer",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3571.32887840271,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:52,877",
|
|
"created": 1608586372.877828,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentification_state_reset__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 217,
|
|
"message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"module": "__init__",
|
|
"msecs": 877.8278827667236,
|
|
"msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3571.5668201446533,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
0,
|
|
10,
|
|
48879,
|
|
"{u'test': u'test'}"
|
|
],
|
|
"asctime": "2020-12-21 22:32:52,878",
|
|
"created": 1608586372.878004,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 0, service_id: 10, data_id: 48879, data: \"{u'test': u'test'}\"",
|
|
"module": "__init__",
|
|
"msecs": 878.0040740966797,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3571.7430114746094,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:52,878",
|
|
"created": 1608586372.878397,
|
|
"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": 878.3969879150391,
|
|
"msg": "Send data: (79): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 7d e8 e0 82 59",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3572.1359252929688,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:53,029",
|
|
"created": 1608586373.02956,
|
|
"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": 29.560089111328125,
|
|
"msg": "Receive data (79): 7b 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 7d e8 e0 82 59",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3723.299026489258,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-13"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0",
|
|
"10",
|
|
"48879",
|
|
"{u'test': u'test'}"
|
|
],
|
|
"asctime": "2020-12-21 22:32:53,030",
|
|
"created": 1608586373.03003,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 265,
|
|
"message": "SJP: RX <- status: 0, service_id: 10, data_id: 48879, data: \"{u'test': u'test'}\"",
|
|
"module": "__init__",
|
|
"msecs": 30.030012130737305,
|
|
"msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3723.768949508667,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-13"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"response_data_method"
|
|
],
|
|
"asctime": "2020-12-21 22:32:53,030",
|
|
"created": 1608586373.030287,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 282,
|
|
"message": "SJP: Executing callback response_data_method to process received data",
|
|
"module": "__init__",
|
|
"msecs": 30.28702735900879,
|
|
"msg": "%s Executing callback %s to process received data",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3724.0259647369385,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-13"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
5,
|
|
11,
|
|
48879,
|
|
"[1, 3, u's']"
|
|
],
|
|
"asctime": "2020-12-21 22:32:53,030",
|
|
"created": 1608586373.030511,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 5, service_id: 11, data_id: 48879, data: \"[1, 3, u's']\"",
|
|
"module": "__init__",
|
|
"msecs": 30.510902404785156,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3724.249839782715,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-13"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:53,030",
|
|
"created": 1608586373.030992,
|
|
"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": 30.99203109741211,
|
|
"msg": "Send data: (74): 7b 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 7d 0e 05 f1 49",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3724.730968475342,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-13"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:53,182",
|
|
"created": 1608586373.182278,
|
|
"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": 182.27791786193848,
|
|
"msg": "Receive data (74): 7b 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 2c 20 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 7d 0e 05 f1 49",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3876.016855239868,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-14"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"5",
|
|
"11",
|
|
"48879",
|
|
"[1, 3, u's']"
|
|
],
|
|
"asctime": "2020-12-21 22:32:53,182",
|
|
"created": 1608586373.182744,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 265,
|
|
"message": "SJP: RX <- status: 5, service_id: 11, data_id: 48879, data: \"[1, 3, u's']\"",
|
|
"module": "__init__",
|
|
"msecs": 182.74402618408203,
|
|
"msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3876.4829635620117,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-14"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"Operation not permitted"
|
|
],
|
|
"asctime": "2020-12-21 22:32:53,183",
|
|
"created": 1608586373.183024,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 292,
|
|
"message": "SJP: Received message has a peculiar status: Operation not permitted",
|
|
"module": "__init__",
|
|
"msecs": 183.02392959594727,
|
|
"msg": "%s Received message has a peculiar status: %s",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3876.762866973877,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-14"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:53,183",
|
|
"created": 1608586373.183236,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__buffer_received_data__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 310,
|
|
"message": "SJP: Message data is stored in buffer and is now ready to be retrieved by receive method",
|
|
"module": "__init__",
|
|
"msecs": 183.23588371276855,
|
|
"msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3876.9748210906982,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-14"
|
|
}
|
|
],
|
|
"msecs": 380.4030418395996,
|
|
"msg": "Send and received data by pure_json_protocol. Wildcard callback registerd for service_id.",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_normal_operation.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4074.1419792175293,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.19716715812683105
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:53,381",
|
|
"created": 1608586373.381309,
|
|
"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 <type 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Return value of send method",
|
|
"True",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:53,380",
|
|
"created": 1608586373.380939,
|
|
"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 (<type 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 380.9390068054199,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4074.6779441833496,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return value of send method",
|
|
"True",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:53,381",
|
|
"created": 1608586373.381136,
|
|
"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 (<type 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 381.1359405517578,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4074.8748779296875,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 381.30903244018555,
|
|
"msg": "Return value of send method is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4075.0479698181152,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00017309188842773438
|
|
},
|
|
{
|
|
"args": [
|
|
"0",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:53,381",
|
|
"created": 1608586373.381897,
|
|
"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 <type 'int'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Request Status (Okay) transfered via pure_json_protocol",
|
|
"0",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:53,381",
|
|
"created": 1608586373.381577,
|
|
"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 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 381.5770149230957,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4075.3159523010254,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Request Status (Okay) transfered via pure_json_protocol",
|
|
"0",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:53,381",
|
|
"created": 1608586373.381734,
|
|
"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 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 381.73389434814453,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4075.472831726074,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 381.89697265625,
|
|
"msg": "Request Status (Okay) transfered via pure_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4075.6359100341797,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00016307830810546875
|
|
},
|
|
{
|
|
"args": [
|
|
"{u'test': u'test'}",
|
|
"<type 'dict'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:53,382",
|
|
"created": 1608586373.382515,
|
|
"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 <type 'dict'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Request Data transfered via pure_json_protocol",
|
|
"{ u'test': u'test' }",
|
|
"<type 'dict'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:53,382",
|
|
"created": 1608586373.382159,
|
|
"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' } (<type 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 382.1589946746826,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4075.8979320526123,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Request Data transfered via pure_json_protocol",
|
|
"{ u'test': u'test' }",
|
|
"<type 'dict'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:53,382",
|
|
"created": 1608586373.38232,
|
|
"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' } (<type 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 382.3199272155762,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4076.058864593506,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 382.51495361328125,
|
|
"msg": "Request Data transfered via pure_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4076.253890991211,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00019502639770507812
|
|
},
|
|
{
|
|
"args": [
|
|
"5",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:53,383",
|
|
"created": 1608586373.383078,
|
|
"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 <type 'int'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Response Status (Operation not permitted) transfered via pure_json_protocol",
|
|
"5",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:53,382",
|
|
"created": 1608586373.382769,
|
|
"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 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 382.7691078186035,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4076.508045196533,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Response Status (Operation not permitted) transfered via pure_json_protocol",
|
|
"5",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:53,382",
|
|
"created": 1608586373.38292,
|
|
"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 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 382.9200267791748,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4076.6589641571045,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 383.07809829711914,
|
|
"msg": "Response Status (Operation not permitted) transfered via pure_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4076.817035675049,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00015807151794433594
|
|
},
|
|
{
|
|
"args": [
|
|
"[1, 3, u's']",
|
|
"<type 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:53,383",
|
|
"created": 1608586373.383708,
|
|
"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 <type 'list'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Response Data transfered via pure_json_protocol",
|
|
"[ 1, 3, u's' ]",
|
|
"<type 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:53,383",
|
|
"created": 1608586373.383343,
|
|
"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' ] (<type 'list'>)",
|
|
"module": "test",
|
|
"msecs": 383.342981338501,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4077.0819187164307,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Response Data transfered via pure_json_protocol",
|
|
"[ 1, 3, u's' ]",
|
|
"<type 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:53,383",
|
|
"created": 1608586373.383504,
|
|
"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' ] (<type 'list'>)",
|
|
"module": "test",
|
|
"msecs": 383.50391387939453,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4077.242851257324,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 383.70800018310547,
|
|
"msg": "Response Data transfered via pure_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4077.446937561035,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0002040863037109375
|
|
},
|
|
{
|
|
"args": [
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:53,485",
|
|
"created": 1608586373.485143,
|
|
"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 <type 'NoneType'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0.1",
|
|
"11",
|
|
"48879"
|
|
],
|
|
"asctime": "2020-12-21 22:32:53,484",
|
|
"created": 1608586373.484328,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "receive",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 327,
|
|
"message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 48879) not in buffer.",
|
|
"module": "__init__",
|
|
"msecs": 484.328031539917,
|
|
"msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4178.066968917847,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef",
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:53,484",
|
|
"created": 1608586373.484686,
|
|
"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 (<type 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 484.68589782714844,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4178.424835205078,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef",
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:53,484",
|
|
"created": 1608586373.484959,
|
|
"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 (<type 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 484.9588871002197,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4178.697824478149,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 485.14294624328613,
|
|
"msg": "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4178.881883621216,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00018405914306640625
|
|
},
|
|
{
|
|
"args": [
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:53,586",
|
|
"created": 1608586373.586616,
|
|
"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 <type 'NoneType'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0.1",
|
|
"10",
|
|
"48879"
|
|
],
|
|
"asctime": "2020-12-21 22:32:53,585",
|
|
"created": 1608586373.585879,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "receive",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 327,
|
|
"message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 48879) not in buffer.",
|
|
"module": "__init__",
|
|
"msecs": 585.8790874481201,
|
|
"msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4279.61802482605,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef",
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:53,586",
|
|
"created": 1608586373.586239,
|
|
"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 (<type 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 586.2390995025635,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4279.978036880493,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef",
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:53,586",
|
|
"created": 1608586373.586433,
|
|
"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 (<type 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 586.432933807373,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4280.171871185303,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 586.616039276123,
|
|
"msg": "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4280.354976654053,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00018310546875
|
|
}
|
|
],
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.7097351551055908,
|
|
"time_finished": "2020-12-21 22:32:53,586",
|
|
"time_start": "2020-12-21 22:32:52,876"
|
|
},
|
|
"socket_protocol.struct_json_protocol: Send and receive check (Twice for coverage of buffer initialisation).": {
|
|
"args": null,
|
|
"asctime": "2020-12-21 22:32:55,007",
|
|
"created": 1608586375.007368,
|
|
"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": 7.3680877685546875,
|
|
"msg": "socket_protocol.struct_json_protocol: Send and receive check (Twice for coverage of buffer initialisation).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest/src/tests/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5701.107025146484,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:56,013",
|
|
"created": 1608586376.013852,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_normal_operation.py",
|
|
"funcName": "send_n_receive",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 42,
|
|
"message": "Send and received data by struct_json_protocol.",
|
|
"module": "test_normal_operation",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:55,007",
|
|
"created": 1608586375.007639,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__clean_receive_buffer__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 313,
|
|
"message": "SJP: Cleaning up receive-buffer",
|
|
"module": "__init__",
|
|
"msecs": 7.6389312744140625,
|
|
"msg": "%s Cleaning up receive-buffer",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5701.377868652344,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:55,007",
|
|
"created": 1608586375.007949,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentification_state_reset__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 217,
|
|
"message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"module": "__init__",
|
|
"msecs": 7.949113845825195,
|
|
"msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5701.688051223755,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:55,008",
|
|
"created": 1608586375.008118,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__clean_receive_buffer__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 313,
|
|
"message": "SJP: Cleaning up receive-buffer",
|
|
"module": "__init__",
|
|
"msecs": 8.117914199829102,
|
|
"msg": "%s Cleaning up receive-buffer",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5701.856851577759,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:55,008",
|
|
"created": 1608586375.008373,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentification_state_reset__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 217,
|
|
"message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"module": "__init__",
|
|
"msecs": 8.373022079467773,
|
|
"msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5702.1119594573975,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
0,
|
|
10,
|
|
45054,
|
|
"{u'test': u'test'}"
|
|
],
|
|
"asctime": "2020-12-21 22:32:55,008",
|
|
"created": 1608586375.008577,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 0, service_id: 10, data_id: 45054, data: \"{u'test': u'test'}\"",
|
|
"module": "__init__",
|
|
"msecs": 8.577108383178711,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5702.316045761108,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:55,008",
|
|
"created": 1608586375.008947,
|
|
"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": 8.946895599365234,
|
|
"msg": "Send data: (29): 00 00 00 00 00 00 00 0a 00 00 af fe 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 47",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5702.685832977295,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:55,159",
|
|
"created": 1608586375.15974,
|
|
"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": 159.73997116088867,
|
|
"msg": "Receive data (29): 00 00 00 00 00 00 00 0a 00 00 af fe 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 47",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5853.478908538818,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-19"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0",
|
|
"10",
|
|
"45054",
|
|
"{u'test': u'test'}"
|
|
],
|
|
"asctime": "2020-12-21 22:32:55,160",
|
|
"created": 1608586375.16,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 265,
|
|
"message": "SJP: RX <- status: 0, service_id: 10, data_id: 45054, data: \"{u'test': u'test'}\"",
|
|
"module": "__init__",
|
|
"msecs": 160.00008583068848,
|
|
"msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5853.739023208618,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-19"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"response_data_method"
|
|
],
|
|
"asctime": "2020-12-21 22:32:55,160",
|
|
"created": 1608586375.160105,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 282,
|
|
"message": "SJP: Executing callback response_data_method to process received data",
|
|
"module": "__init__",
|
|
"msecs": 160.10499000549316,
|
|
"msg": "%s Executing callback %s to process received data",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5853.843927383423,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-19"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
5,
|
|
11,
|
|
45054,
|
|
"[1, 3, u's']"
|
|
],
|
|
"asctime": "2020-12-21 22:32:55,160",
|
|
"created": 1608586375.160197,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, u's']\"",
|
|
"module": "__init__",
|
|
"msecs": 160.19701957702637,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5853.935956954956,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-19"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:55,160",
|
|
"created": 1608586375.160382,
|
|
"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": 160.38203239440918,
|
|
"msg": "Send data: (24): 00 00 00 05 00 00 00 0b 00 00 af fe 5b 31 2c 20 33 2c 20 22 73 22 5d 28",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5854.120969772339,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-19"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:55,311",
|
|
"created": 1608586375.311285,
|
|
"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": 311.28501892089844,
|
|
"msg": "Receive data (24): 00 00 00 05 00 00 00 0b 00 00 af fe 5b 31 2c 20 33 2c 20 22 73 22 5d 28",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6005.023956298828,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-20"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"5",
|
|
"11",
|
|
"45054",
|
|
"[1, 3, u's']"
|
|
],
|
|
"asctime": "2020-12-21 22:32:55,311",
|
|
"created": 1608586375.311786,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 265,
|
|
"message": "SJP: RX <- status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, u's']\"",
|
|
"module": "__init__",
|
|
"msecs": 311.7859363555908,
|
|
"msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6005.5248737335205,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-20"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"Operation not permitted"
|
|
],
|
|
"asctime": "2020-12-21 22:32:55,312",
|
|
"created": 1608586375.312057,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 292,
|
|
"message": "SJP: Received message has a peculiar status: Operation not permitted",
|
|
"module": "__init__",
|
|
"msecs": 312.0570182800293,
|
|
"msg": "%s Received message has a peculiar status: %s",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6005.795955657959,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-20"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:55,312",
|
|
"created": 1608586375.31227,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__buffer_received_data__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 310,
|
|
"message": "SJP: Message data is stored in buffer and is now ready to be retrieved by receive method",
|
|
"module": "__init__",
|
|
"msecs": 312.269926071167,
|
|
"msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6006.008863449097,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-20"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
0,
|
|
10,
|
|
45054,
|
|
"{u'test': u'test'}"
|
|
],
|
|
"asctime": "2020-12-21 22:32:55,510",
|
|
"created": 1608586375.510958,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 0, service_id: 10, data_id: 45054, data: \"{u'test': u'test'}\"",
|
|
"module": "__init__",
|
|
"msecs": 510.9579563140869,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6204.696893692017,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:55,511",
|
|
"created": 1608586375.511563,
|
|
"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": 511.5630626678467,
|
|
"msg": "Send data: (29): 00 00 00 00 00 00 00 0a 00 00 af fe 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 47",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6205.302000045776,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:55,662",
|
|
"created": 1608586375.662705,
|
|
"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": 662.7049446105957,
|
|
"msg": "Receive data (29): 00 00 00 00 00 00 00 0a 00 00 af fe 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 47",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6356.443881988525,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-21"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0",
|
|
"10",
|
|
"45054",
|
|
"{u'test': u'test'}"
|
|
],
|
|
"asctime": "2020-12-21 22:32:55,663",
|
|
"created": 1608586375.663232,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 265,
|
|
"message": "SJP: RX <- status: 0, service_id: 10, data_id: 45054, data: \"{u'test': u'test'}\"",
|
|
"module": "__init__",
|
|
"msecs": 663.2320880889893,
|
|
"msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6356.971025466919,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-21"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"response_data_method"
|
|
],
|
|
"asctime": "2020-12-21 22:32:55,663",
|
|
"created": 1608586375.663504,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 282,
|
|
"message": "SJP: Executing callback response_data_method to process received data",
|
|
"module": "__init__",
|
|
"msecs": 663.503885269165,
|
|
"msg": "%s Executing callback %s to process received data",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6357.242822647095,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-21"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
5,
|
|
11,
|
|
45054,
|
|
"[1, 3, u's']"
|
|
],
|
|
"asctime": "2020-12-21 22:32:55,663",
|
|
"created": 1608586375.663712,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, u's']\"",
|
|
"module": "__init__",
|
|
"msecs": 663.7120246887207,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6357.45096206665,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-21"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:55,664",
|
|
"created": 1608586375.664093,
|
|
"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": 664.093017578125,
|
|
"msg": "Send data: (24): 00 00 00 05 00 00 00 0b 00 00 af fe 5b 31 2c 20 33 2c 20 22 73 22 5d 28",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6357.831954956055,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-21"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:55,815",
|
|
"created": 1608586375.815239,
|
|
"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": 815.2389526367188,
|
|
"msg": "Receive data (24): 00 00 00 05 00 00 00 0b 00 00 af fe 5b 31 2c 20 33 2c 20 22 73 22 5d 28",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6508.977890014648,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-22"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"5",
|
|
"11",
|
|
"45054",
|
|
"[1, 3, u's']"
|
|
],
|
|
"asctime": "2020-12-21 22:32:55,815",
|
|
"created": 1608586375.815756,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 265,
|
|
"message": "SJP: RX <- status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, u's']\"",
|
|
"module": "__init__",
|
|
"msecs": 815.75608253479,
|
|
"msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6509.49501991272,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-22"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"Operation not permitted"
|
|
],
|
|
"asctime": "2020-12-21 22:32:55,816",
|
|
"created": 1608586375.816028,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 292,
|
|
"message": "SJP: Received message has a peculiar status: Operation not permitted",
|
|
"module": "__init__",
|
|
"msecs": 816.0281181335449,
|
|
"msg": "%s Received message has a peculiar status: %s",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6509.767055511475,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-22"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:55,816",
|
|
"created": 1608586375.816241,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__buffer_received_data__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 310,
|
|
"message": "SJP: Message data is stored in buffer and is now ready to be retrieved by receive method",
|
|
"module": "__init__",
|
|
"msecs": 816.2410259246826,
|
|
"msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6509.979963302612,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-22"
|
|
}
|
|
],
|
|
"msecs": 13.85188102722168,
|
|
"msg": "Send and received data by struct_json_protocol.",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_normal_operation.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6707.590818405151,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.19761085510253906
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:56,014",
|
|
"created": 1608586376.014769,
|
|
"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 <type 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Return value of send method",
|
|
"True",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:56,014",
|
|
"created": 1608586376.014382,
|
|
"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 (<type 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 14.381885528564453,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6708.120822906494,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return value of send method",
|
|
"True",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:56,014",
|
|
"created": 1608586376.014584,
|
|
"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 (<type 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 14.584064483642578,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6708.323001861572,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 14.76907730102539,
|
|
"msg": "Return value of send method is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6708.508014678955,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001850128173828125
|
|
},
|
|
{
|
|
"args": [
|
|
"0",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:56,015",
|
|
"created": 1608586376.015357,
|
|
"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 <type 'int'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Request Status (Okay) transfered via struct_json_protocol",
|
|
"0",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:56,015",
|
|
"created": 1608586376.015045,
|
|
"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 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 15.044927597045898,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6708.783864974976,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Request Status (Okay) transfered via struct_json_protocol",
|
|
"0",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:56,015",
|
|
"created": 1608586376.015204,
|
|
"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 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 15.20395278930664,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6708.942890167236,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 15.357017517089844,
|
|
"msg": "Request Status (Okay) transfered via struct_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6709.0959548950195,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00015306472778320312
|
|
},
|
|
{
|
|
"args": [
|
|
"{u'test': u'test'}",
|
|
"<type 'dict'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:56,015",
|
|
"created": 1608586376.015977,
|
|
"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 <type 'dict'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Request Data transfered via struct_json_protocol",
|
|
"{ u'test': u'test' }",
|
|
"<type 'dict'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:56,015",
|
|
"created": 1608586376.015619,
|
|
"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' } (<type 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 15.619039535522461,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6709.357976913452,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Request Data transfered via struct_json_protocol",
|
|
"{ u'test': u'test' }",
|
|
"<type 'dict'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:56,015",
|
|
"created": 1608586376.015779,
|
|
"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' } (<type 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 15.77901840209961,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6709.517955780029,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 15.976905822753906,
|
|
"msg": "Request Data transfered via struct_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6709.715843200684,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00019788742065429688
|
|
},
|
|
{
|
|
"args": [
|
|
"5",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:56,016",
|
|
"created": 1608586376.016545,
|
|
"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 <type 'int'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Response Status (Operation not permitted) transfered via struct_json_protocol",
|
|
"5",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:56,016",
|
|
"created": 1608586376.016233,
|
|
"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 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 16.232967376708984,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6709.971904754639,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Response Status (Operation not permitted) transfered via struct_json_protocol",
|
|
"5",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:56,016",
|
|
"created": 1608586376.016384,
|
|
"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 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 16.383886337280273,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6710.12282371521,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 16.54505729675293,
|
|
"msg": "Response Status (Operation not permitted) transfered via struct_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6710.283994674683,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00016117095947265625
|
|
},
|
|
{
|
|
"args": [
|
|
"[1, 3, u's']",
|
|
"<type 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:56,017",
|
|
"created": 1608586376.017232,
|
|
"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 <type 'list'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Response Data transfered via struct_json_protocol",
|
|
"[ 1, 3, u's' ]",
|
|
"<type 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:56,016",
|
|
"created": 1608586376.016857,
|
|
"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' ] (<type 'list'>)",
|
|
"module": "test",
|
|
"msecs": 16.856908798217773,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6710.5958461761475,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Response Data transfered via struct_json_protocol",
|
|
"[ 1, 3, u's' ]",
|
|
"<type 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:56,017",
|
|
"created": 1608586376.017023,
|
|
"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' ] (<type 'list'>)",
|
|
"module": "test",
|
|
"msecs": 17.023086547851562,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6710.762023925781,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 17.23194122314453,
|
|
"msg": "Response Data transfered via struct_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6710.970878601074,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00020885467529296875
|
|
},
|
|
{
|
|
"args": [
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:56,118",
|
|
"created": 1608586376.118748,
|
|
"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 <type 'NoneType'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0.1",
|
|
"11",
|
|
"45054"
|
|
],
|
|
"asctime": "2020-12-21 22:32:56,117",
|
|
"created": 1608586376.117847,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "receive",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 327,
|
|
"message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.",
|
|
"module": "__init__",
|
|
"msecs": 117.84696578979492,
|
|
"msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6811.585903167725,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (request instance) for struct_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:56,118",
|
|
"created": 1608586376.11826,
|
|
"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 (<type 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 118.25990676879883,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6811.9988441467285,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (request instance) for struct_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:56,118",
|
|
"created": 1608586376.118561,
|
|
"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 (<type 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 118.5610294342041,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6812.299966812134,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 118.74794960021973,
|
|
"msg": "Return Value (request instance) for struct_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6812.486886978149,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.000186920166015625
|
|
},
|
|
{
|
|
"args": [
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:56,220",
|
|
"created": 1608586376.220166,
|
|
"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 <type 'NoneType'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0.1",
|
|
"10",
|
|
"45054"
|
|
],
|
|
"asctime": "2020-12-21 22:32:56,219",
|
|
"created": 1608586376.21941,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "receive",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 327,
|
|
"message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.",
|
|
"module": "__init__",
|
|
"msecs": 219.40994262695312,
|
|
"msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6913.148880004883,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (response instance) for struct_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:56,219",
|
|
"created": 1608586376.219769,
|
|
"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 (<type 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 219.76900100708008,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6913.50793838501,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (response instance) for struct_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:56,219",
|
|
"created": 1608586376.219986,
|
|
"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 (<type 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 219.9859619140625,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6913.724899291992,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 220.16596794128418,
|
|
"msg": "Return Value (response instance) for struct_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6913.904905319214,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001800060272216797
|
|
}
|
|
],
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 1.2127978801727295,
|
|
"time_finished": "2020-12-21 22:32:56,220",
|
|
"time_start": "2020-12-21 22:32:55,007"
|
|
},
|
|
"socket_protocol.struct_json_protocol: Send and receive check.": {
|
|
"args": null,
|
|
"asctime": "2020-12-21 22:32:49,336",
|
|
"created": 1608586369.336675,
|
|
"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": 336.67492866516113,
|
|
"msg": "socket_protocol.struct_json_protocol: Send and receive check.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest/src/tests/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 30.41386604309082,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:49,839",
|
|
"created": 1608586369.839372,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_normal_operation.py",
|
|
"funcName": "send_n_receive",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 42,
|
|
"message": "Send and received data by struct_json_protocol.",
|
|
"module": "test_normal_operation",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:49,336",
|
|
"created": 1608586369.336901,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__clean_receive_buffer__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 313,
|
|
"message": "SJP: Cleaning up receive-buffer",
|
|
"module": "__init__",
|
|
"msecs": 336.9009494781494,
|
|
"msg": "%s Cleaning up receive-buffer",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 30.6398868560791,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:49,337",
|
|
"created": 1608586369.337075,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentification_state_reset__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 217,
|
|
"message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"module": "__init__",
|
|
"msecs": 337.07499504089355,
|
|
"msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 30.813932418823242,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:49,337",
|
|
"created": 1608586369.337135,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__clean_receive_buffer__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 313,
|
|
"message": "SJP: Cleaning up receive-buffer",
|
|
"module": "__init__",
|
|
"msecs": 337.13507652282715,
|
|
"msg": "%s Cleaning up receive-buffer",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 30.874013900756836,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:49,337",
|
|
"created": 1608586369.337222,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentification_state_reset__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 217,
|
|
"message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"module": "__init__",
|
|
"msecs": 337.2220993041992,
|
|
"msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 30.961036682128906,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
0,
|
|
10,
|
|
45054,
|
|
"{u'test': u'test'}"
|
|
],
|
|
"asctime": "2020-12-21 22:32:49,337",
|
|
"created": 1608586369.337291,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 0, service_id: 10, data_id: 45054, data: \"{u'test': u'test'}\"",
|
|
"module": "__init__",
|
|
"msecs": 337.29100227355957,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 31.029939651489258,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:49,337",
|
|
"created": 1608586369.337406,
|
|
"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": 337.4059200286865,
|
|
"msg": "Send data: (29): 00 00 00 00 00 00 00 0a 00 00 af fe 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 47",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 31.14485740661621,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:49,488",
|
|
"created": 1608586369.488249,
|
|
"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": 488.2490634918213,
|
|
"msg": "Receive data (29): 00 00 00 00 00 00 00 0a 00 00 af fe 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 47",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 181.98800086975098,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-1"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0",
|
|
"10",
|
|
"45054",
|
|
"{u'test': u'test'}"
|
|
],
|
|
"asctime": "2020-12-21 22:32:49,488",
|
|
"created": 1608586369.48885,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 265,
|
|
"message": "SJP: RX <- status: 0, service_id: 10, data_id: 45054, data: \"{u'test': u'test'}\"",
|
|
"module": "__init__",
|
|
"msecs": 488.8501167297363,
|
|
"msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 182.58905410766602,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-1"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"response_data_method"
|
|
],
|
|
"asctime": "2020-12-21 22:32:49,489",
|
|
"created": 1608586369.489085,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 282,
|
|
"message": "SJP: Executing callback response_data_method to process received data",
|
|
"module": "__init__",
|
|
"msecs": 489.08495903015137,
|
|
"msg": "%s Executing callback %s to process received data",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 182.82389640808105,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-1"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
5,
|
|
11,
|
|
45054,
|
|
"[1, 3, u's']"
|
|
],
|
|
"asctime": "2020-12-21 22:32:49,489",
|
|
"created": 1608586369.48929,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, u's']\"",
|
|
"module": "__init__",
|
|
"msecs": 489.2899990081787,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 183.0289363861084,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-1"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:49,489",
|
|
"created": 1608586369.489674,
|
|
"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": 489.6740913391113,
|
|
"msg": "Send data: (24): 00 00 00 05 00 00 00 0b 00 00 af fe 5b 31 2c 20 33 2c 20 22 73 22 5d 28",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 183.41302871704102,
|
|
"thread": 140534747334400,
|
|
"threadName": "Thread-1"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:32:49,640",
|
|
"created": 1608586369.640927,
|
|
"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": 640.9270763397217,
|
|
"msg": "Receive data (24): 00 00 00 05 00 00 00 0b 00 00 af fe 5b 31 2c 20 33 2c 20 22 73 22 5d 28",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 334.66601371765137,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-2"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"5",
|
|
"11",
|
|
"45054",
|
|
"[1, 3, u's']"
|
|
],
|
|
"asctime": "2020-12-21 22:32:49,641",
|
|
"created": 1608586369.641444,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 265,
|
|
"message": "SJP: RX <- status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, u's']\"",
|
|
"module": "__init__",
|
|
"msecs": 641.4439678192139,
|
|
"msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 335.18290519714355,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-2"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"Operation not permitted"
|
|
],
|
|
"asctime": "2020-12-21 22:32:49,641",
|
|
"created": 1608586369.641723,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 292,
|
|
"message": "SJP: Received message has a peculiar status: Operation not permitted",
|
|
"module": "__init__",
|
|
"msecs": 641.7229175567627,
|
|
"msg": "%s Received message has a peculiar status: %s",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 335.4618549346924,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-2"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:32:49,641",
|
|
"created": 1608586369.641946,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__buffer_received_data__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 310,
|
|
"message": "SJP: Message data is stored in buffer and is now ready to be retrieved by receive method",
|
|
"module": "__init__",
|
|
"msecs": 641.9460773468018,
|
|
"msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 335.68501472473145,
|
|
"thread": 140534738941696,
|
|
"threadName": "Thread-2"
|
|
}
|
|
],
|
|
"msecs": 839.371919631958,
|
|
"msg": "Send and received data by struct_json_protocol.",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_normal_operation.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 533.1108570098877,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.19742584228515625
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:49,840",
|
|
"created": 1608586369.840266,
|
|
"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 <type 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Return value of send method",
|
|
"True",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:49,839",
|
|
"created": 1608586369.839868,
|
|
"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 (<type 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 839.8680686950684,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 533.607006072998,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return value of send method",
|
|
"True",
|
|
"<type 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:49,840",
|
|
"created": 1608586369.840065,
|
|
"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 (<type 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 840.0650024414062,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 533.8039398193359,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 840.2659893035889,
|
|
"msg": "Return value of send method is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 534.0049266815186,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0002009868621826172
|
|
},
|
|
{
|
|
"args": [
|
|
"0",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:49,840",
|
|
"created": 1608586369.840878,
|
|
"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 <type 'int'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Request Status (Okay) transfered via struct_json_protocol",
|
|
"0",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:49,840",
|
|
"created": 1608586369.840526,
|
|
"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 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 840.5261039733887,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 534.2650413513184,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Request Status (Okay) transfered via struct_json_protocol",
|
|
"0",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:49,840",
|
|
"created": 1608586369.840682,
|
|
"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 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 840.6820297241211,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 534.4209671020508,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 840.8780097961426,
|
|
"msg": "Request Status (Okay) transfered via struct_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 534.6169471740723,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00019598007202148438
|
|
},
|
|
{
|
|
"args": [
|
|
"{u'test': u'test'}",
|
|
"<type 'dict'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:49,841",
|
|
"created": 1608586369.841519,
|
|
"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 <type 'dict'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Request Data transfered via struct_json_protocol",
|
|
"{ u'test': u'test' }",
|
|
"<type 'dict'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:49,841",
|
|
"created": 1608586369.84115,
|
|
"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' } (<type 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 841.1500453948975,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 534.8889827728271,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Request Data transfered via struct_json_protocol",
|
|
"{ u'test': u'test' }",
|
|
"<type 'dict'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:49,841",
|
|
"created": 1608586369.841311,
|
|
"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' } (<type 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 841.310977935791,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 535.0499153137207,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 841.5191173553467,
|
|
"msg": "Request Data transfered via struct_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 535.2580547332764,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00020813941955566406
|
|
},
|
|
{
|
|
"args": [
|
|
"5",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:49,842",
|
|
"created": 1608586369.842065,
|
|
"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 <type 'int'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Response Status (Operation not permitted) transfered via struct_json_protocol",
|
|
"5",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:49,841",
|
|
"created": 1608586369.841769,
|
|
"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 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 841.7689800262451,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 535.5079174041748,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Response Status (Operation not permitted) transfered via struct_json_protocol",
|
|
"5",
|
|
"<type 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:49,841",
|
|
"created": 1608586369.841919,
|
|
"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 (<type 'int'>)",
|
|
"module": "test",
|
|
"msecs": 841.9189453125,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 535.6578826904297,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 842.0650959014893,
|
|
"msg": "Response Status (Operation not permitted) transfered via struct_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 535.804033279419,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001461505889892578
|
|
},
|
|
{
|
|
"args": [
|
|
"[1, 3, u's']",
|
|
"<type 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:49,842",
|
|
"created": 1608586369.842719,
|
|
"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 <type 'list'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Response Data transfered via struct_json_protocol",
|
|
"[ 1, 3, u's' ]",
|
|
"<type 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:49,842",
|
|
"created": 1608586369.842329,
|
|
"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' ] (<type 'list'>)",
|
|
"module": "test",
|
|
"msecs": 842.3290252685547,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 536.0679626464844,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Response Data transfered via struct_json_protocol",
|
|
"[ 1, 3, u's' ]",
|
|
"<type 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:49,842",
|
|
"created": 1608586369.842491,
|
|
"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' ] (<type 'list'>)",
|
|
"module": "test",
|
|
"msecs": 842.4909114837646,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 536.2298488616943,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 842.7190780639648,
|
|
"msg": "Response Data transfered via struct_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 536.4580154418945,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0002281665802001953
|
|
},
|
|
{
|
|
"args": [
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:49,944",
|
|
"created": 1608586369.944515,
|
|
"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 <type 'NoneType'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0.1",
|
|
"11",
|
|
"45054"
|
|
],
|
|
"asctime": "2020-12-21 22:32:49,943",
|
|
"created": 1608586369.943269,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "receive",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 327,
|
|
"message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.",
|
|
"module": "__init__",
|
|
"msecs": 943.2690143585205,
|
|
"msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 637.0079517364502,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (request instance) for struct_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:49,943",
|
|
"created": 1608586369.943811,
|
|
"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 (<type 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 943.8109397888184,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 637.549877166748,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (request instance) for struct_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:49,944",
|
|
"created": 1608586369.944175,
|
|
"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 (<type 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 944.1750049591064,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 637.9139423370361,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 944.5149898529053,
|
|
"msg": "Return Value (request instance) for struct_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 638.253927230835,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0003399848937988281
|
|
},
|
|
{
|
|
"args": [
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:50,045",
|
|
"created": 1608586370.045552,
|
|
"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 <type 'NoneType'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0.1",
|
|
"10",
|
|
"45054"
|
|
],
|
|
"asctime": "2020-12-21 22:32:50,045",
|
|
"created": 1608586370.045087,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "receive",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 327,
|
|
"message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.",
|
|
"module": "__init__",
|
|
"msecs": 45.08709907531738,
|
|
"msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 738.8260364532471,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (response instance) for struct_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:50,045",
|
|
"created": 1608586370.04533,
|
|
"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 (<type 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 45.330047607421875,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 739.0689849853516,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (response instance) for struct_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<type 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:32:50,045",
|
|
"created": 1608586370.045448,
|
|
"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 (<type 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 45.44806480407715,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 739.1870021820068,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 45.55201530456543,
|
|
"msg": "Return Value (response instance) for struct_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115431,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 739.2909526824951,
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00010395050048828125
|
|
}
|
|
],
|
|
"thread": 140534768363328,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.7088770866394043,
|
|
"time_finished": "2020-12-21 22:32:50,045",
|
|
"time_start": "2020-12-21 22:32:49,336"
|
|
}
|
|
},
|
|
"testrun_id": "p2",
|
|
"time_consumption": 11.323579788208008,
|
|
"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.8.5 (final)",
|
|
"name": "Default Testsession name",
|
|
"number_of_failed_tests": 0,
|
|
"number_of_possibly_failed_tests": 0,
|
|
"number_of_successfull_tests": 15,
|
|
"number_of_tests": 15,
|
|
"testcase_execution_level": 90,
|
|
"testcase_names": {
|
|
"0": "Single Test",
|
|
"10": "Smoke Test (Minumum subset)",
|
|
"50": "Short Test (Subset)",
|
|
"90": "Full Test (all defined tests)"
|
|
},
|
|
"testcases": {
|
|
"socket_protocol.pure_json_protocol: Authentification processed without secret.": {
|
|
"args": null,
|
|
"asctime": "2020-12-21 22:33:12,089",
|
|
"created": 1608586392.0895512,
|
|
"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": 89.55121040344238,
|
|
"msg": "socket_protocol.pure_json_protocol: Authentification processed without secret.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest/src/tests/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11001.858234405518,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:12,090",
|
|
"created": 1608586392.090681,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_handling_errors.py",
|
|
"funcName": "authentification_no_secret",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 109,
|
|
"message": "Authentification with no secret definition (pure_json_protocol).",
|
|
"module": "test_handling_errors",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:12,089",
|
|
"created": 1608586392.0898035,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__clean_receive_buffer__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 313,
|
|
"message": "SJP: Cleaning up receive-buffer",
|
|
"module": "__init__",
|
|
"msecs": 89.80345726013184,
|
|
"msg": "%s Cleaning up receive-buffer",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11002.110481262207,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:12,090",
|
|
"created": 1608586392.0900793,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentification_state_reset__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 217,
|
|
"message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"module": "__init__",
|
|
"msecs": 90.07930755615234,
|
|
"msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11002.386331558228,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:12,090",
|
|
"created": 1608586392.0902584,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__clean_receive_buffer__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 313,
|
|
"message": "SJP: Cleaning up receive-buffer",
|
|
"module": "__init__",
|
|
"msecs": 90.25835990905762,
|
|
"msg": "%s Cleaning up receive-buffer",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11002.565383911133,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:12,090",
|
|
"created": 1608586392.090507,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentification_state_reset__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 217,
|
|
"message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"module": "__init__",
|
|
"msecs": 90.50703048706055,
|
|
"msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11002.814054489136,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 90.68107604980469,
|
|
"msg": "Authentification with no secret definition (pure_json_protocol).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_handling_errors.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11002.98810005188,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00017404556274414062
|
|
},
|
|
{
|
|
"args": [
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:12,091",
|
|
"created": 1608586392.0913703,
|
|
"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 <class 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Return value of authentification",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:12,090",
|
|
"created": 1608586392.0909271,
|
|
"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 (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 90.9271240234375,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11003.234148025513,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return value of authentification",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:12,091",
|
|
"created": 1608586392.0911827,
|
|
"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 (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 91.18270874023438,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11003.48973274231,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 91.3703441619873,
|
|
"msg": "Return value of authentification is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11003.677368164062,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001876354217529297
|
|
}
|
|
],
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0018191337585449219,
|
|
"time_finished": "2020-12-21 22:33:12,091",
|
|
"time_start": "2020-12-21 22:33:12,089"
|
|
},
|
|
"socket_protocol.pure_json_protocol: Authentification required, but not processed/ correctly processed.": {
|
|
"args": null,
|
|
"asctime": "2020-12-21 22:33:10,675",
|
|
"created": 1608586390.675439,
|
|
"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": 675.4388809204102,
|
|
"msg": "socket_protocol.pure_json_protocol: Authentification required, but not processed/ correctly processed.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest/src/tests/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9587.745904922485,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:11,882",
|
|
"created": 1608586391.882332,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_handling_errors.py",
|
|
"funcName": "authentification_error",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 67,
|
|
"message": "Authentification with different secrets for request and response instance (pure_json_protocol).",
|
|
"module": "test_handling_errors",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:10,675",
|
|
"created": 1608586390.6757958,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__clean_receive_buffer__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 313,
|
|
"message": "SJP: Cleaning up receive-buffer",
|
|
"module": "__init__",
|
|
"msecs": 675.7957935333252,
|
|
"msg": "%s Cleaning up receive-buffer",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9588.1028175354,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:10,676",
|
|
"created": 1608586390.6760828,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentification_state_reset__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 217,
|
|
"message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"module": "__init__",
|
|
"msecs": 676.0828495025635,
|
|
"msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9588.389873504639,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:10,676",
|
|
"created": 1608586390.6762457,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__clean_receive_buffer__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 313,
|
|
"message": "SJP: Cleaning up receive-buffer",
|
|
"module": "__init__",
|
|
"msecs": 676.2456893920898,
|
|
"msg": "%s Cleaning up receive-buffer",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9588.552713394165,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:10,676",
|
|
"created": 1608586390.67647,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentification_state_reset__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 217,
|
|
"message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"module": "__init__",
|
|
"msecs": 676.4700412750244,
|
|
"msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9588.7770652771,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:10,676",
|
|
"created": 1608586390.6766467,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "authentificate",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 396,
|
|
"message": "SJP: Requesting seed for authentification",
|
|
"module": "__init__",
|
|
"msecs": 676.6467094421387,
|
|
"msg": "%s Requesting seed for authentification",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9588.953733444214,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
0,
|
|
1,
|
|
0,
|
|
"None"
|
|
],
|
|
"asctime": "2020-12-21 22:33:10,676",
|
|
"created": 1608586390.6768377,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 0, service_id: 1, data_id: 0, data: \"None\"",
|
|
"module": "__init__",
|
|
"msecs": 676.837682723999,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9589.144706726074,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:10,677",
|
|
"created": 1608586390.6771688,
|
|
"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": 677.1688461303711,
|
|
"msg": "Send data: (62): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 7d 9e 85 7b 8d",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9589.475870132446,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:10,827",
|
|
"created": 1608586390.8279712,
|
|
"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": 827.9712200164795,
|
|
"msg": "Receive data (62): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 7d 9e 85 7b 8d",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9740.278244018555,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-26"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0",
|
|
"1",
|
|
"0",
|
|
"None"
|
|
],
|
|
"asctime": "2020-12-21 22:33:10,828",
|
|
"created": 1608586390.828376,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 259,
|
|
"message": "SJP: RX <- status: 0, service_id: 1, data_id: 0, data: \"None\"",
|
|
"module": "__init__",
|
|
"msecs": 828.376054763794,
|
|
"msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9740.68307876587,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-26"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"__authentificate_create_seed__"
|
|
],
|
|
"asctime": "2020-12-21 22:33:10,828",
|
|
"created": 1608586390.8286057,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 282,
|
|
"message": "SJP: Executing callback __authentificate_create_seed__ to process received data",
|
|
"module": "__init__",
|
|
"msecs": 828.6056518554688,
|
|
"msg": "%s Executing callback %s to process received data",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9740.912675857544,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-26"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:10,828",
|
|
"created": 1608586390.828802,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentificate_create_seed__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 422,
|
|
"message": "SJP: Got seed request, sending seed for authentification",
|
|
"module": "__init__",
|
|
"msecs": 828.8021087646484,
|
|
"msg": "%s Got seed request, sending seed for authentification",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9741.109132766724,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-26"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
0,
|
|
2,
|
|
0,
|
|
"'8492ca6edb9887708423c0282c2fb75d3b297a461f4fdee4dfec8a0f0028bc43'"
|
|
],
|
|
"asctime": "2020-12-21 22:33:10,829",
|
|
"created": 1608586390.8290029,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 0, service_id: 2, data_id: 0, data: \"'8492ca6edb9887708423c0282c2fb75d3b297a461f4fdee4dfec8a0f0028bc43'\"",
|
|
"module": "__init__",
|
|
"msecs": 829.002857208252,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9741.309881210327,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-26"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:10,829",
|
|
"created": 1608586390.8294759,
|
|
"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 38 34 39 32 63 61 36 65 64 62 39 38 38 37 37 30 38 34 32 33 63 30 32 38 32 63 32 66 62 37 35 64 33 62 32 39 37 61 34 36 31 66 34 66 64 65 65 34 64 66 65 63 38 61 30 66 30 30 32 38 62 63 34 33 22 7d b3 21 58 a4",
|
|
"module": "test_helpers",
|
|
"msecs": 829.4758796691895,
|
|
"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 38 34 39 32 63 61 36 65 64 62 39 38 38 37 37 30 38 34 32 33 63 30 32 38 32 63 32 66 62 37 35 64 33 62 32 39 37 61 34 36 31 66 34 66 64 65 65 34 64 66 65 63 38 61 30 66 30 30 32 38 62 63 34 33 22 7d b3 21 58 a4",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9741.782903671265,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-26"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:10,980",
|
|
"created": 1608586390.9806073,
|
|
"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 38 34 39 32 63 61 36 65 64 62 39 38 38 37 37 30 38 34 32 33 63 30 32 38 32 63 32 66 62 37 35 64 33 62 32 39 37 61 34 36 31 66 34 66 64 65 65 34 64 66 65 63 38 61 30 66 30 30 32 38 62 63 34 33 22 7d b3 21 58 a4",
|
|
"module": "test_helpers",
|
|
"msecs": 980.607271194458,
|
|
"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 38 34 39 32 63 61 36 65 64 62 39 38 38 37 37 30 38 34 32 33 63 30 32 38 32 63 32 66 62 37 35 64 33 62 32 39 37 61 34 36 31 66 34 66 64 65 65 34 64 66 65 63 38 61 30 66 30 30 32 38 62 63 34 33 22 7d b3 21 58 a4",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9892.914295196533,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-27"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0",
|
|
"2",
|
|
"0",
|
|
"'8492ca6edb9887708423c0282c2fb75d3b297a461f4fdee4dfec8a0f0028bc43'"
|
|
],
|
|
"asctime": "2020-12-21 22:33:10,981",
|
|
"created": 1608586390.981065,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 259,
|
|
"message": "SJP: RX <- status: 0, service_id: 2, data_id: 0, data: \"'8492ca6edb9887708423c0282c2fb75d3b297a461f4fdee4dfec8a0f0028bc43'\"",
|
|
"module": "__init__",
|
|
"msecs": 981.065034866333,
|
|
"msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9893.372058868408,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-27"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"__authentificate_create_key__"
|
|
],
|
|
"asctime": "2020-12-21 22:33:10,981",
|
|
"created": 1608586390.9812806,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 282,
|
|
"message": "SJP: Executing callback __authentificate_create_key__ to process received data",
|
|
"module": "__init__",
|
|
"msecs": 981.2805652618408,
|
|
"msg": "%s Executing callback %s to process received data",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9893.587589263916,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-27"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:10,981",
|
|
"created": 1608586390.9814525,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentificate_create_key__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 431,
|
|
"message": "SJP: Got seed, sending key for authentification",
|
|
"module": "__init__",
|
|
"msecs": 981.452465057373,
|
|
"msg": "%s Got seed, sending key for authentification",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9893.759489059448,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-27"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
0,
|
|
3,
|
|
0,
|
|
"'1b438e77e5310d5fdc5ad77d7bdef1879268dd4b4367f3243f73300f990ba7afcfc5ed5ad583261cee8dd68a46a591d8cabaa32bc182a0ad12470f7619fa4f15'"
|
|
],
|
|
"asctime": "2020-12-21 22:33:10,981",
|
|
"created": 1608586390.981671,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 0, service_id: 3, data_id: 0, data: \"'1b438e77e5310d5fdc5ad77d7bdef1879268dd4b4367f3243f73300f990ba7afcfc5ed5ad583261cee8dd68a46a591d8cabaa32bc182a0ad12470f7619fa4f15'\"",
|
|
"module": "__init__",
|
|
"msecs": 981.6710948944092,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9893.978118896484,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-27"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:10,982",
|
|
"created": 1608586390.9822643,
|
|
"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 31 62 34 33 38 65 37 37 65 35 33 31 30 64 35 66 64 63 35 61 64 37 37 64 37 62 64 65 66 31 38 37 39 32 36 38 64 64 34 62 34 33 36 37 66 33 32 34 33 66 37 33 33 30 30 66 39 39 30 62 61 37 61 66 63 66 63 35 65 64 35 61 64 35 38 33 32 36 31 63 65 65 38 64 64 36 38 61 34 36 61 35 39 31 64 38 63 61 62 61 61 33 32 62 63 31 38 32 61 30 61 64 31 32 34 37 30 66 37 36 31 39 66 61 34 66 31 35 22 7d d4 d9 18 24",
|
|
"module": "test_helpers",
|
|
"msecs": 982.2642803192139,
|
|
"msg": "Send data: (188): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 33 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 22 31 62 34 33 38 65 37 37 65 35 33 31 30 64 35 66 64 63 35 61 64 37 37 64 37 62 64 65 66 31 38 37 39 32 36 38 64 64 34 62 34 33 36 37 66 33 32 34 33 66 37 33 33 30 30 66 39 39 30 62 61 37 61 66 63 66 63 35 65 64 35 61 64 35 38 33 32 36 31 63 65 65 38 64 64 36 38 61 34 36 61 35 39 31 64 38 63 61 62 61 61 33 32 62 63 31 38 32 61 30 61 64 31 32 34 37 30 66 37 36 31 39 66 61 34 66 31 35 22 7d d4 d9 18 24",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9894.571304321289,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-27"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:11,133",
|
|
"created": 1608586391.1333892,
|
|
"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 31 62 34 33 38 65 37 37 65 35 33 31 30 64 35 66 64 63 35 61 64 37 37 64 37 62 64 65 66 31 38 37 39 32 36 38 64 64 34 62 34 33 36 37 66 33 32 34 33 66 37 33 33 30 30 66 39 39 30 62 61 37 61 66 63 66 63 35 65 64 35 61 64 35 38 33 32 36 31 63 65 65 38 64 64 36 38 61 34 36 61 35 39 31 64 38 63 61 62 61 61 33 32 62 63 31 38 32 61 30 61 64 31 32 34 37 30 66 37 36 31 39 66 61 34 66 31 35 22 7d d4 d9 18 24",
|
|
"module": "test_helpers",
|
|
"msecs": 133.38923454284668,
|
|
"msg": "Receive data (188): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 33 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 22 31 62 34 33 38 65 37 37 65 35 33 31 30 64 35 66 64 63 35 61 64 37 37 64 37 62 64 65 66 31 38 37 39 32 36 38 64 64 34 62 34 33 36 37 66 33 32 34 33 66 37 33 33 30 30 66 39 39 30 62 61 37 61 66 63 66 63 35 65 64 35 61 64 35 38 33 32 36 31 63 65 65 38 64 64 36 38 61 34 36 61 35 39 31 64 38 63 61 62 61 61 33 32 62 63 31 38 32 61 30 61 64 31 32 34 37 30 66 37 36 31 39 66 61 34 66 31 35 22 7d d4 d9 18 24",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10045.696258544922,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-28"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0",
|
|
"3",
|
|
"0",
|
|
"'1b438e77e5310d5fdc5ad77d7bdef1879268dd4b4367f3243f73300f990ba7afcfc5ed5ad583261cee8dd68a46a591d8cabaa32bc182a0ad12470f7619fa4f15'"
|
|
],
|
|
"asctime": "2020-12-21 22:33:11,133",
|
|
"created": 1608586391.133811,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 259,
|
|
"message": "SJP: RX <- status: 0, service_id: 3, data_id: 0, data: \"'1b438e77e5310d5fdc5ad77d7bdef1879268dd4b4367f3243f73300f990ba7afcfc5ed5ad583261cee8dd68a46a591d8cabaa32bc182a0ad12470f7619fa4f15'\"",
|
|
"module": "__init__",
|
|
"msecs": 133.81099700927734,
|
|
"msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10046.118021011353,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-28"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"__authentificate_check_key__"
|
|
],
|
|
"asctime": "2020-12-21 22:33:11,134",
|
|
"created": 1608586391.1340733,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 282,
|
|
"message": "SJP: Executing callback __authentificate_check_key__ to process received data",
|
|
"module": "__init__",
|
|
"msecs": 134.07325744628906,
|
|
"msg": "%s Executing callback %s to process received data",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10046.380281448364,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-28"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:11,134",
|
|
"created": 1608586391.1342802,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentificate_check_key__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 445,
|
|
"message": "SJP: Got incorrect key, sending negative authentification feedback",
|
|
"module": "__init__",
|
|
"msecs": 134.28020477294922,
|
|
"msg": "%s Got incorrect key, sending negative authentification feedback",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10046.587228775024,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-28"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
0,
|
|
4,
|
|
0,
|
|
"False"
|
|
],
|
|
"asctime": "2020-12-21 22:33:11,134",
|
|
"created": 1608586391.1345766,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 0, service_id: 4, data_id: 0, data: \"False\"",
|
|
"module": "__init__",
|
|
"msecs": 134.57655906677246,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10046.883583068848,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-28"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:11,135",
|
|
"created": 1608586391.135165,
|
|
"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": 135.16497611999512,
|
|
"msg": "Send data: (63): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 34 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 66 61 6c 73 65 7d 4e 90 38 f9",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10047.47200012207,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-28"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:11,286",
|
|
"created": 1608586391.2861924,
|
|
"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": 286.1924171447754,
|
|
"msg": "Receive data (63): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 34 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 66 61 6c 73 65 7d 4e 90 38 f9",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10198.49944114685,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-29"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0",
|
|
"4",
|
|
"0",
|
|
"False"
|
|
],
|
|
"asctime": "2020-12-21 22:33:11,286",
|
|
"created": 1608586391.286689,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 259,
|
|
"message": "SJP: RX <- status: 0, service_id: 4, data_id: 0, data: \"False\"",
|
|
"module": "__init__",
|
|
"msecs": 286.68904304504395,
|
|
"msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10198.99606704712,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-29"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"__authentificate_process_feedback__"
|
|
],
|
|
"asctime": "2020-12-21 22:33:11,286",
|
|
"created": 1608586391.2869031,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 299,
|
|
"message": "SJP: Executing callback __authentificate_process_feedback__ to process received data",
|
|
"module": "__init__",
|
|
"msecs": 286.90314292907715,
|
|
"msg": "%s Executing callback %s to process received data",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10199.210166931152,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-29"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:11,287",
|
|
"created": 1608586391.2870605,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentificate_process_feedback__",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 455,
|
|
"message": "SJP: Got negative authentification feedback",
|
|
"module": "__init__",
|
|
"msecs": 287.0604991912842,
|
|
"msg": "%s Got negative authentification feedback",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10199.36752319336,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-29"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
0,
|
|
10,
|
|
45054,
|
|
"{'test': 'test'}"
|
|
],
|
|
"asctime": "2020-12-21 22:33:11,379",
|
|
"created": 1608586391.3795815,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 0, service_id: 10, data_id: 45054, data: \"{'test': 'test'}\"",
|
|
"module": "__init__",
|
|
"msecs": 379.5814514160156,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10291.88847541809,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:11,380",
|
|
"created": 1608586391.3801787,
|
|
"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": 380.17868995666504,
|
|
"msg": "Send data: (79): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 7d 82 1c 8b 89",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10292.48571395874,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:11,531",
|
|
"created": 1608586391.5312803,
|
|
"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": 531.2802791595459,
|
|
"msg": "Receive data (79): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 7d 82 1c 8b 89",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10443.587303161621,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-30"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0",
|
|
"10",
|
|
"45054",
|
|
"{'test': 'test'}"
|
|
],
|
|
"asctime": "2020-12-21 22:33:11,531",
|
|
"created": 1608586391.531724,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 259,
|
|
"message": "SJP: RX <- status: 0, service_id: 10, data_id: 45054, data: \"{'test': 'test'}\"",
|
|
"module": "__init__",
|
|
"msecs": 531.7239761352539,
|
|
"msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10444.03100013733,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-30"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"Unknown Client"
|
|
],
|
|
"asctime": "2020-12-21 22:33:11,531",
|
|
"created": 1608586391.5319405,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 275,
|
|
"message": "SJP: Received message needs authentification: Unknown Client. Sending negative response.",
|
|
"module": "__init__",
|
|
"msecs": 531.9404602050781,
|
|
"msg": "%s Received message needs authentification: %s. Sending negative response.",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10444.247484207153,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-30"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
2,
|
|
11,
|
|
45054,
|
|
"None"
|
|
],
|
|
"asctime": "2020-12-21 22:33:11,532",
|
|
"created": 1608586391.532117,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 2, service_id: 11, data_id: 45054, data: \"None\"",
|
|
"module": "__init__",
|
|
"msecs": 532.1168899536133,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10444.423913955688,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-30"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:11,532",
|
|
"created": 1608586391.5324883,
|
|
"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": 532.4883460998535,
|
|
"msg": "Send data: (67): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 73 74 61 74 75 73 22 3a 20 32 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 7d 0d 4e 8b 87",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10444.795370101929,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-30"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:11,683",
|
|
"created": 1608586391.683534,
|
|
"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": 683.5339069366455,
|
|
"msg": "Receive data (67): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 73 74 61 74 75 73 22 3a 20 32 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 7d 0d 4e 8b 87",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10595.84093093872,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-31"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"2",
|
|
"11",
|
|
"45054",
|
|
"None"
|
|
],
|
|
"asctime": "2020-12-21 22:33:11,683",
|
|
"created": 1608586391.6839418,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 259,
|
|
"message": "SJP: RX <- status: 2, service_id: 11, data_id: 45054, data: \"None\"",
|
|
"module": "__init__",
|
|
"msecs": 683.9418411254883,
|
|
"msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10596.248865127563,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-31"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"Authentification required"
|
|
],
|
|
"asctime": "2020-12-21 22:33:11,684",
|
|
"created": 1608586391.684196,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 292,
|
|
"message": "SJP: Received message has a peculiar status: Authentification required",
|
|
"module": "__init__",
|
|
"msecs": 684.1959953308105,
|
|
"msg": "%s Received message has a peculiar status: %s",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10596.503019332886,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-31"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:11,684",
|
|
"created": 1608586391.684379,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__buffer_received_data__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 310,
|
|
"message": "SJP: Message data is stored in buffer and is now ready to be retrieved by receive method",
|
|
"module": "__init__",
|
|
"msecs": 684.3791007995605,
|
|
"msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10596.686124801636,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-31"
|
|
}
|
|
],
|
|
"msecs": 882.3320865631104,
|
|
"msg": "Authentification with different secrets for request and response instance (pure_json_protocol).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_handling_errors.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10794.639110565186,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.1979529857635498
|
|
},
|
|
{
|
|
"args": [
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:11,883",
|
|
"created": 1608586391.883149,
|
|
"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 <class 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Return value of authentification",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:11,882",
|
|
"created": 1608586391.8828146,
|
|
"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 (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 882.8146457672119,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10795.121669769287,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return value of authentification",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:11,882",
|
|
"created": 1608586391.8829923,
|
|
"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 (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 882.9922676086426,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10795.299291610718,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 883.1489086151123,
|
|
"msg": "Return value of authentification is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10795.455932617188,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00015664100646972656
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:11,883",
|
|
"created": 1608586391.8836803,
|
|
"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 <class 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Return value of send method",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:11,883",
|
|
"created": 1608586391.8833723,
|
|
"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 (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 883.3723068237305,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10795.679330825806,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return value of send method",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:11,883",
|
|
"created": 1608586391.883515,
|
|
"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 (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 883.5148811340332,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10795.821905136108,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 883.6803436279297,
|
|
"msg": "Return value of send method is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10795.987367630005,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00016546249389648438
|
|
},
|
|
{
|
|
"args": [
|
|
"2",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:11,884",
|
|
"created": 1608586391.8841856,
|
|
"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 <class 'int'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Response Status (Authentification required) transfered via pure_json_protocol",
|
|
"2",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:11,883",
|
|
"created": 1608586391.8839102,
|
|
"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 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 883.9101791381836,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10796.217203140259,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Response Status (Authentification required) transfered via pure_json_protocol",
|
|
"2",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:11,884",
|
|
"created": 1608586391.8840501,
|
|
"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 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 884.0501308441162,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10796.357154846191,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 884.1855525970459,
|
|
"msg": "Response Status (Authentification required) transfered via pure_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10796.492576599121,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001354217529296875
|
|
},
|
|
{
|
|
"args": [
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:11,884",
|
|
"created": 1608586391.8846774,
|
|
"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 <class 'NoneType'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Response Data (no data) transfered via pure_json_protocol",
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:11,884",
|
|
"created": 1608586391.8844066,
|
|
"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 (<class 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 884.406566619873,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10796.713590621948,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Response Data (no data) transfered via pure_json_protocol",
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:11,884",
|
|
"created": 1608586391.8845446,
|
|
"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 (<class 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 884.5446109771729,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10796.851634979248,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 884.6774101257324,
|
|
"msg": "Response Data (no data) transfered via pure_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10796.984434127808,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001327991485595703
|
|
},
|
|
{
|
|
"args": [
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:11,985",
|
|
"created": 1608586391.9859545,
|
|
"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 <class 'NoneType'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0.1",
|
|
"11",
|
|
"45054"
|
|
],
|
|
"asctime": "2020-12-21 22:33:11,985",
|
|
"created": 1608586391.985235,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "receive",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 327,
|
|
"message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.",
|
|
"module": "__init__",
|
|
"msecs": 985.2349758148193,
|
|
"msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10897.541999816895,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:11,985",
|
|
"created": 1608586391.9855933,
|
|
"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 (<class 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 985.593318939209,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10897.900342941284,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:11,985",
|
|
"created": 1608586391.9857929,
|
|
"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 (<class 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 985.792875289917,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10898.099899291992,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 985.9545230865479,
|
|
"msg": "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10898.261547088623,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00016164779663085938
|
|
},
|
|
{
|
|
"args": [
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:12,087",
|
|
"created": 1608586392.0872252,
|
|
"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 <class 'NoneType'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0.1",
|
|
"10",
|
|
"45054"
|
|
],
|
|
"asctime": "2020-12-21 22:33:12,086",
|
|
"created": 1608586392.0865903,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "receive",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 327,
|
|
"message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.",
|
|
"module": "__init__",
|
|
"msecs": 86.59029006958008,
|
|
"msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10998.897314071655,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:12,086",
|
|
"created": 1608586392.086902,
|
|
"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 (<class 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 86.90190315246582,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10999.208927154541,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:12,087",
|
|
"created": 1608586392.0870724,
|
|
"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 (<class 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 87.07237243652344,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10999.379396438599,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 87.22519874572754,
|
|
"msg": "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 10999.532222747803,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00015282630920410156
|
|
}
|
|
],
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 1.4117863178253174,
|
|
"time_finished": "2020-12-21 22:33:12,087",
|
|
"time_start": "2020-12-21 22:33:10,675"
|
|
},
|
|
"socket_protocol.pure_json_protocol: Checksum corumpation while sending.": {
|
|
"args": null,
|
|
"asctime": "2020-12-21 22:33:08,047",
|
|
"created": 1608586388.0475433,
|
|
"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": 47.54328727722168,
|
|
"msg": "socket_protocol.pure_json_protocol: Checksum corumpation while sending.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest/src/tests/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6959.850311279297,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:08,353",
|
|
"created": 1608586388.353679,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_communication_errors.py",
|
|
"funcName": "send_checksum_error",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 40,
|
|
"message": "Send data with wrong checksum by pure_json_protocol.",
|
|
"module": "test_communication_errors",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:08,047",
|
|
"created": 1608586388.047835,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__clean_receive_buffer__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 313,
|
|
"message": "SJP: Cleaning up receive-buffer",
|
|
"module": "__init__",
|
|
"msecs": 47.83511161804199,
|
|
"msg": "%s Cleaning up receive-buffer",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6960.142135620117,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:08,048",
|
|
"created": 1608586388.048151,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentification_state_reset__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 217,
|
|
"message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"module": "__init__",
|
|
"msecs": 48.15101623535156,
|
|
"msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6960.458040237427,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:08,048",
|
|
"created": 1608586388.0483403,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__clean_receive_buffer__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 313,
|
|
"message": "SJP: Cleaning up receive-buffer",
|
|
"module": "__init__",
|
|
"msecs": 48.3403205871582,
|
|
"msg": "%s Cleaning up receive-buffer",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6960.647344589233,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:08,051",
|
|
"created": 1608586388.0516574,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentification_state_reset__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 217,
|
|
"message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"module": "__init__",
|
|
"msecs": 51.65743827819824,
|
|
"msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6963.964462280273,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
0,
|
|
10,
|
|
45054,
|
|
"{'test': 'test'}"
|
|
],
|
|
"asctime": "2020-12-21 22:33:08,052",
|
|
"created": 1608586388.0520065,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 0, service_id: 10, data_id: 45054, data: \"{'test': 'test'}\"",
|
|
"module": "__init__",
|
|
"msecs": 52.00648307800293,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6964.313507080078,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:08,052",
|
|
"created": 1608586388.0524678,
|
|
"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": 52.46782302856445,
|
|
"msg": "Send data: (79): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 7d 82 1c 8b 89",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6964.77484703064,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:08,203",
|
|
"created": 1608586388.2035697,
|
|
"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": 203.5696506500244,
|
|
"msg": "Receive data (79): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 7d 82 1c 8b 8a",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7115.8766746521,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-23"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"(79): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 7d 82 1c 8b 8a"
|
|
],
|
|
"asctime": "2020-12-21 22:33:08,203",
|
|
"created": 1608586388.2039897,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 256,
|
|
"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": 203.98974418640137,
|
|
"msg": "%s Received message has a wrong checksum and will be ignored: %s.",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7116.296768188477,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-23"
|
|
}
|
|
],
|
|
"msecs": 353.67894172668457,
|
|
"msg": "Send data with wrong checksum by pure_json_protocol.",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_communication_errors.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7265.98596572876,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.1496891975402832
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:08,354",
|
|
"created": 1608586388.3544984,
|
|
"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 <class 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Return value of send method",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:08,354",
|
|
"created": 1608586388.3541205,
|
|
"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 (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 354.12049293518066,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7266.427516937256,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return value of send method",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:08,354",
|
|
"created": 1608586388.354341,
|
|
"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 (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 354.3410301208496,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7266.648054122925,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 354.49838638305664,
|
|
"msg": "Return value of send method is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7266.805410385132,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00015735626220703125
|
|
},
|
|
{
|
|
"args": [
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:08,355",
|
|
"created": 1608586388.3550136,
|
|
"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 <class 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Callback executed variable",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:08,354",
|
|
"created": 1608586388.354729,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Callback executed variable): False (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 354.72893714904785,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7267.035961151123,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Callback executed variable",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:08,354",
|
|
"created": 1608586388.354875,
|
|
"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 (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 354.8750877380371,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7267.182111740112,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 355.0136089324951,
|
|
"msg": "Callback executed variable is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7267.32063293457,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001385211944580078
|
|
},
|
|
{
|
|
"args": [
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:08,456",
|
|
"created": 1608586388.4565601,
|
|
"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 <class 'NoneType'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0.1",
|
|
"11",
|
|
"45054"
|
|
],
|
|
"asctime": "2020-12-21 22:33:08,455",
|
|
"created": 1608586388.4556112,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "receive",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 327,
|
|
"message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.",
|
|
"module": "__init__",
|
|
"msecs": 455.6112289428711,
|
|
"msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7367.918252944946,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:08,456",
|
|
"created": 1608586388.456077,
|
|
"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 (<class 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 456.07709884643555,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7368.384122848511,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:08,456",
|
|
"created": 1608586388.4563124,
|
|
"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 (<class 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 456.3124179840088,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7368.619441986084,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 456.5601348876953,
|
|
"msg": "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7368.8671588897705,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00024771690368652344
|
|
},
|
|
{
|
|
"args": [
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:08,557",
|
|
"created": 1608586388.5578475,
|
|
"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 <class 'NoneType'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0.1",
|
|
"10",
|
|
"45054"
|
|
],
|
|
"asctime": "2020-12-21 22:33:08,557",
|
|
"created": 1608586388.5571654,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "receive",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 327,
|
|
"message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.",
|
|
"module": "__init__",
|
|
"msecs": 557.1653842926025,
|
|
"msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7469.472408294678,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:08,557",
|
|
"created": 1608586388.5574813,
|
|
"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 (<class 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 557.4812889099121,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7469.788312911987,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:08,557",
|
|
"created": 1608586388.5576532,
|
|
"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 (<class 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 557.6531887054443,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7469.9602127075195,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 557.8474998474121,
|
|
"msg": "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7470.154523849487,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00019431114196777344
|
|
}
|
|
],
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.5103042125701904,
|
|
"time_finished": "2020-12-21 22:33:08,557",
|
|
"time_start": "2020-12-21 22:33:08,047"
|
|
},
|
|
"socket_protocol.pure_json_protocol: Incompatible Callback return value(s).": {
|
|
"args": null,
|
|
"asctime": "2020-12-21 22:33:12,091",
|
|
"created": 1608586392.0917678,
|
|
"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": 91.76778793334961,
|
|
"msg": "socket_protocol.pure_json_protocol: Incompatible Callback return value(s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest/src/tests/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11004.074811935425,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:12,096",
|
|
"created": 1608586392.0969408,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_handling_errors.py",
|
|
"funcName": "callback_rv_error",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 144,
|
|
"message": "Send and received data with incompatible callback (pure_json_protocol).",
|
|
"module": "test_handling_errors",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:12,092",
|
|
"created": 1608586392.0920215,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__clean_receive_buffer__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 313,
|
|
"message": "SJP: Cleaning up receive-buffer",
|
|
"module": "__init__",
|
|
"msecs": 92.02146530151367,
|
|
"msg": "%s Cleaning up receive-buffer",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11004.328489303589,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:12,092",
|
|
"created": 1608586392.092329,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentification_state_reset__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 217,
|
|
"message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"module": "__init__",
|
|
"msecs": 92.32902526855469,
|
|
"msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11004.63604927063,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:12,092",
|
|
"created": 1608586392.0924988,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__clean_receive_buffer__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 313,
|
|
"message": "SJP: Cleaning up receive-buffer",
|
|
"module": "__init__",
|
|
"msecs": 92.498779296875,
|
|
"msg": "%s Cleaning up receive-buffer",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11004.80580329895,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:12,092",
|
|
"created": 1608586392.0927818,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentification_state_reset__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 217,
|
|
"message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"module": "__init__",
|
|
"msecs": 92.78178215026855,
|
|
"msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11005.088806152344,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
0,
|
|
10,
|
|
45054,
|
|
"None"
|
|
],
|
|
"asctime": "2020-12-21 22:33:12,093",
|
|
"created": 1608586392.0930116,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 0, service_id: 10, data_id: 45054, data: \"None\"",
|
|
"module": "__init__",
|
|
"msecs": 93.01161766052246,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11005.318641662598,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:12,093",
|
|
"created": 1608586392.0933876,
|
|
"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": 93.38760375976562,
|
|
"msg": "Send data: (67): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 7d e9 e9 77 c0",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11005.69462776184,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:12,093",
|
|
"created": 1608586392.0936453,
|
|
"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": 93.64533424377441,
|
|
"msg": "Receive data (67): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 7d e9 e9 77 c0",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11005.95235824585,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0",
|
|
"10",
|
|
"45054",
|
|
"None"
|
|
],
|
|
"asctime": "2020-12-21 22:33:12,093",
|
|
"created": 1608586392.093928,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 259,
|
|
"message": "SJP: RX <- status: 0, service_id: 10, data_id: 45054, data: \"None\"",
|
|
"module": "__init__",
|
|
"msecs": 93.92809867858887,
|
|
"msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11006.235122680664,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"response_data_method_fail"
|
|
],
|
|
"asctime": "2020-12-21 22:33:12,094",
|
|
"created": 1608586392.0940957,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 282,
|
|
"message": "SJP: Executing callback response_data_method_fail to process received data",
|
|
"module": "__init__",
|
|
"msecs": 94.09570693969727,
|
|
"msg": "%s Executing callback %s to process received data",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11006.402730941772,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
0,
|
|
10,
|
|
48879,
|
|
"None"
|
|
],
|
|
"asctime": "2020-12-21 22:33:12,094",
|
|
"created": 1608586392.0943017,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 0, service_id: 10, data_id: 48879, data: \"None\"",
|
|
"module": "__init__",
|
|
"msecs": 94.30170059204102,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11006.608724594116,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:12,094",
|
|
"created": 1608586392.0946386,
|
|
"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": 94.63858604431152,
|
|
"msg": "Send data: (67): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 7d da 63 1a 84",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11006.945610046387,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:12,094",
|
|
"created": 1608586392.0948892,
|
|
"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": 94.88916397094727,
|
|
"msg": "Receive data (67): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 7d da 63 1a 84",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11007.196187973022,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0",
|
|
"10",
|
|
"48879",
|
|
"None"
|
|
],
|
|
"asctime": "2020-12-21 22:33:12,095",
|
|
"created": 1608586392.0951116,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 259,
|
|
"message": "SJP: RX <- status: 0, service_id: 10, data_id: 48879, data: \"None\"",
|
|
"module": "__init__",
|
|
"msecs": 95.11160850524902,
|
|
"msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11007.418632507324,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:12,095",
|
|
"created": 1608586392.0952966,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 277,
|
|
"message": "SJP: Received message with no registered callback. Sending negative response.",
|
|
"module": "__init__",
|
|
"msecs": 95.29662132263184,
|
|
"msg": "%s Received message with no registered callback. Sending negative response.",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11007.603645324707,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
1,
|
|
11,
|
|
48879,
|
|
"None"
|
|
],
|
|
"asctime": "2020-12-21 22:33:12,095",
|
|
"created": 1608586392.0954504,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 1, service_id: 11, data_id: 48879, data: \"None\"",
|
|
"module": "__init__",
|
|
"msecs": 95.45040130615234,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11007.757425308228,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:12,095",
|
|
"created": 1608586392.095791,
|
|
"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": 95.79110145568848,
|
|
"msg": "Send data: (67): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 73 74 61 74 75 73 22 3a 20 31 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 7d 17 0c 52 31",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11008.098125457764,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:12,096",
|
|
"created": 1608586392.096043,
|
|
"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": 96.04310989379883,
|
|
"msg": "Receive data (67): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 73 74 61 74 75 73 22 3a 20 31 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 7d 17 0c 52 31",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11008.350133895874,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"1",
|
|
"11",
|
|
"48879",
|
|
"None"
|
|
],
|
|
"asctime": "2020-12-21 22:33:12,096",
|
|
"created": 1608586392.0962644,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 259,
|
|
"message": "SJP: RX <- status: 1, service_id: 11, data_id: 48879, data: \"None\"",
|
|
"module": "__init__",
|
|
"msecs": 96.26436233520508,
|
|
"msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11008.57138633728,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"Request has no callback. Data buffered."
|
|
],
|
|
"asctime": "2020-12-21 22:33:12,096",
|
|
"created": 1608586392.0964465,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 292,
|
|
"message": "SJP: Received message has a peculiar status: Request has no callback. Data buffered.",
|
|
"module": "__init__",
|
|
"msecs": 96.44651412963867,
|
|
"msg": "%s Received message has a peculiar status: %s",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11008.753538131714,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"response_data_method_fail"
|
|
],
|
|
"asctime": "2020-12-21 22:33:12,096",
|
|
"created": 1608586392.096589,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 299,
|
|
"message": "SJP: Executing callback response_data_method_fail to process received data",
|
|
"module": "__init__",
|
|
"msecs": 96.5890884399414,
|
|
"msg": "%s Executing callback %s to process received data",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11008.896112442017,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 96.94075584411621,
|
|
"msg": "Send and received data with incompatible callback (pure_json_protocol).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_handling_errors.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11009.247779846191,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0003516674041748047
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:12,097",
|
|
"created": 1608586392.0971234,
|
|
"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 <class 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Exception (TypeError) detection variable",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:12,097",
|
|
"created": 1608586392.0970283,
|
|
"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 (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 97.02825546264648,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11009.335279464722,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Exception (TypeError) detection variable",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:12,097",
|
|
"created": 1608586392.097078,
|
|
"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 (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 97.07808494567871,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11009.385108947754,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 97.12338447570801,
|
|
"msg": "Exception (TypeError) detection variable is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11009.430408477783,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.5299530029296875e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:12,198",
|
|
"created": 1608586392.1980443,
|
|
"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 <class 'NoneType'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0.1",
|
|
"11",
|
|
"45054"
|
|
],
|
|
"asctime": "2020-12-21 22:33:12,197",
|
|
"created": 1608586392.197526,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "receive",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 327,
|
|
"message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.",
|
|
"module": "__init__",
|
|
"msecs": 197.5259780883789,
|
|
"msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11109.833002090454,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:12,197",
|
|
"created": 1608586392.197783,
|
|
"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 (<class 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 197.7829933166504,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11110.090017318726,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:12,197",
|
|
"created": 1608586392.1979191,
|
|
"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 (<class 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 197.91913032531738,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11110.226154327393,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 198.0443000793457,
|
|
"msg": "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11110.35132408142,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001251697540283203
|
|
},
|
|
{
|
|
"args": [
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:12,299",
|
|
"created": 1608586392.2991974,
|
|
"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 <class 'NoneType'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0.1",
|
|
"10",
|
|
"45054"
|
|
],
|
|
"asctime": "2020-12-21 22:33:12,298",
|
|
"created": 1608586392.2986028,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "receive",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 327,
|
|
"message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.",
|
|
"module": "__init__",
|
|
"msecs": 298.602819442749,
|
|
"msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11210.909843444824,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:12,298",
|
|
"created": 1608586392.2988844,
|
|
"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 (<class 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 298.88439178466797,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11211.191415786743,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:12,299",
|
|
"created": 1608586392.2990348,
|
|
"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 (<class 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 299.03483390808105,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11211.341857910156,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 299.1974353790283,
|
|
"msg": "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11211.504459381104,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00016260147094726562
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:12,299",
|
|
"created": 1608586392.299697,
|
|
"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 <class 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Exception (TypeError) detection variable",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:12,299",
|
|
"created": 1608586392.2994423,
|
|
"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 (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 299.4422912597656,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11211.74931526184,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Exception (TypeError) detection variable",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:12,299",
|
|
"created": 1608586392.299573,
|
|
"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 (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 299.5729446411133,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11211.879968643188,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 299.6969223022461,
|
|
"msg": "Exception (TypeError) detection variable is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11212.003946304321,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001239776611328125
|
|
},
|
|
{
|
|
"args": [
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:12,400",
|
|
"created": 1608586392.400873,
|
|
"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 <class 'NoneType'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0.1",
|
|
"11",
|
|
"48879"
|
|
],
|
|
"asctime": "2020-12-21 22:33:12,400",
|
|
"created": 1608586392.400238,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "receive",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 327,
|
|
"message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 48879) not in buffer.",
|
|
"module": "__init__",
|
|
"msecs": 400.238037109375,
|
|
"msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11312.54506111145,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef",
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:12,400",
|
|
"created": 1608586392.400522,
|
|
"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 (<class 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 400.52199363708496,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11312.82901763916,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef",
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:12,400",
|
|
"created": 1608586392.4006913,
|
|
"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 (<class 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 400.69127082824707,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11312.998294830322,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 400.87294578552246,
|
|
"msg": "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11313.179969787598,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00018167495727539062
|
|
},
|
|
{
|
|
"args": [
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:12,502",
|
|
"created": 1608586392.502145,
|
|
"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 <class 'NoneType'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0.1",
|
|
"10",
|
|
"48879"
|
|
],
|
|
"asctime": "2020-12-21 22:33:12,501",
|
|
"created": 1608586392.5014794,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "receive",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 327,
|
|
"message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 48879) not in buffer.",
|
|
"module": "__init__",
|
|
"msecs": 501.4793872833252,
|
|
"msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11413.7864112854,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef",
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:12,501",
|
|
"created": 1608586392.5018132,
|
|
"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 (<class 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 501.8131732940674,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11414.120197296143,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef",
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:12,501",
|
|
"created": 1608586392.501987,
|
|
"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 (<class 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 501.9869804382324,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11414.294004440308,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 502.14505195617676,
|
|
"msg": "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11414.452075958252,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00015807151794433594
|
|
}
|
|
],
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.41037726402282715,
|
|
"time_finished": "2020-12-21 22:33:12,502",
|
|
"time_start": "2020-12-21 22:33:12,091"
|
|
},
|
|
"socket_protocol.pure_json_protocol: No Callback at response instance for the request.": {
|
|
"args": null,
|
|
"asctime": "2020-12-21 22:33:09,968",
|
|
"created": 1608586389.9689164,
|
|
"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": 968.9164161682129,
|
|
"msg": "socket_protocol.pure_json_protocol: No Callback at response instance for the request.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest/src/tests/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 8881.223440170288,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:10,472",
|
|
"created": 1608586390.4725976,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_handling_errors.py",
|
|
"funcName": "no_callback",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 32,
|
|
"message": "Send data, but no callback registered (pure_json_protocol).",
|
|
"module": "test_handling_errors",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:09,969",
|
|
"created": 1608586389.969212,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__clean_receive_buffer__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 313,
|
|
"message": "SJP: Cleaning up receive-buffer",
|
|
"module": "__init__",
|
|
"msecs": 969.2120552062988,
|
|
"msg": "%s Cleaning up receive-buffer",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 8881.519079208374,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:09,969",
|
|
"created": 1608586389.9695218,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentification_state_reset__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 217,
|
|
"message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"module": "__init__",
|
|
"msecs": 969.5217609405518,
|
|
"msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 8881.828784942627,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:09,969",
|
|
"created": 1608586389.9696991,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__clean_receive_buffer__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 313,
|
|
"message": "SJP: Cleaning up receive-buffer",
|
|
"module": "__init__",
|
|
"msecs": 969.6991443634033,
|
|
"msg": "%s Cleaning up receive-buffer",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 8882.006168365479,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:09,969",
|
|
"created": 1608586389.9699502,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentification_state_reset__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 217,
|
|
"message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"module": "__init__",
|
|
"msecs": 969.9501991271973,
|
|
"msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 8882.257223129272,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
0,
|
|
10,
|
|
45054,
|
|
"{'test': 'test'}"
|
|
],
|
|
"asctime": "2020-12-21 22:33:09,970",
|
|
"created": 1608586389.970128,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 0, service_id: 10, data_id: 45054, data: \"{'test': 'test'}\"",
|
|
"module": "__init__",
|
|
"msecs": 970.128059387207,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 8882.435083389282,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:09,970",
|
|
"created": 1608586389.970528,
|
|
"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": 970.5278873443604,
|
|
"msg": "Send data: (79): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 7d 82 1c 8b 89",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 8882.834911346436,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:10,121",
|
|
"created": 1608586390.1215096,
|
|
"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": 121.50955200195312,
|
|
"msg": "Receive data (79): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 7d 82 1c 8b 89",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9033.816576004028,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-24"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0",
|
|
"10",
|
|
"45054",
|
|
"{'test': 'test'}"
|
|
],
|
|
"asctime": "2020-12-21 22:33:10,121",
|
|
"created": 1608586390.1219282,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 259,
|
|
"message": "SJP: RX <- status: 0, service_id: 10, data_id: 45054, data: \"{'test': 'test'}\"",
|
|
"module": "__init__",
|
|
"msecs": 121.92821502685547,
|
|
"msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9034.23523902893,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-24"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:10,122",
|
|
"created": 1608586390.122152,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 277,
|
|
"message": "SJP: Received message with no registered callback. Sending negative response.",
|
|
"module": "__init__",
|
|
"msecs": 122.15209007263184,
|
|
"msg": "%s Received message with no registered callback. Sending negative response.",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9034.459114074707,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-24"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
1,
|
|
11,
|
|
45054,
|
|
"None"
|
|
],
|
|
"asctime": "2020-12-21 22:33:10,122",
|
|
"created": 1608586390.1223588,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 1, service_id: 11, data_id: 45054, data: \"None\"",
|
|
"module": "__init__",
|
|
"msecs": 122.35879898071289,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9034.665822982788,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-24"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:10,122",
|
|
"created": 1608586390.1227303,
|
|
"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": 122.73025512695312,
|
|
"msg": "Send data: (67): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 73 74 61 74 75 73 22 3a 20 31 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 7d 24 86 3f 75",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9035.037279129028,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-24"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:10,273",
|
|
"created": 1608586390.2736678,
|
|
"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": 273.6678123474121,
|
|
"msg": "Receive data (67): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 73 74 61 74 75 73 22 3a 20 31 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 7d 24 86 3f 75",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9185.974836349487,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-25"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"1",
|
|
"11",
|
|
"45054",
|
|
"None"
|
|
],
|
|
"asctime": "2020-12-21 22:33:10,274",
|
|
"created": 1608586390.2740798,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 259,
|
|
"message": "SJP: RX <- status: 1, service_id: 11, data_id: 45054, data: \"None\"",
|
|
"module": "__init__",
|
|
"msecs": 274.0797996520996,
|
|
"msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9186.386823654175,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-25"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"Request has no callback. Data buffered."
|
|
],
|
|
"asctime": "2020-12-21 22:33:10,274",
|
|
"created": 1608586390.2743444,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 292,
|
|
"message": "SJP: Received message has a peculiar status: Request has no callback. Data buffered.",
|
|
"module": "__init__",
|
|
"msecs": 274.34444427490234,
|
|
"msg": "%s Received message has a peculiar status: %s",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9186.651468276978,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-25"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:10,274",
|
|
"created": 1608586390.2745316,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__buffer_received_data__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 310,
|
|
"message": "SJP: Message data is stored in buffer and is now ready to be retrieved by receive method",
|
|
"module": "__init__",
|
|
"msecs": 274.53160285949707,
|
|
"msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9186.838626861572,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-25"
|
|
}
|
|
],
|
|
"msecs": 472.597599029541,
|
|
"msg": "Send data, but no callback registered (pure_json_protocol).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_handling_errors.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9384.904623031616,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.19806599617004395
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:10,472",
|
|
"created": 1608586390.4729533,
|
|
"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 <class 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Return value of send method",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:10,472",
|
|
"created": 1608586390.4728012,
|
|
"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 (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 472.80120849609375,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9385.108232498169,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return value of send method",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:10,472",
|
|
"created": 1608586390.47288,
|
|
"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 (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 472.87988662719727,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9385.186910629272,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 472.95331954956055,
|
|
"msg": "Return value of send method is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9385.260343551636,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 7.343292236328125e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"1",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:10,473",
|
|
"created": 1608586390.4731412,
|
|
"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 <class 'int'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Response Status (Request has no callback. Data buffered.) transfered via pure_json_protocol",
|
|
"1",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:10,473",
|
|
"created": 1608586390.473043,
|
|
"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 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 473.04296493530273,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9385.349988937378,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Response Status (Request has no callback. Data buffered.) transfered via pure_json_protocol",
|
|
"1",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:10,473",
|
|
"created": 1608586390.4730945,
|
|
"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 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 473.0944633483887,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9385.401487350464,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 473.1411933898926,
|
|
"msg": "Response Status (Request has no callback. Data buffered.) transfered via pure_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9385.448217391968,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.673004150390625e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:10,473",
|
|
"created": 1608586390.4733021,
|
|
"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 <class 'NoneType'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Response Data (no data) transfered via pure_json_protocol",
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:10,473",
|
|
"created": 1608586390.4732184,
|
|
"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 (<class 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 473.2184410095215,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9385.525465011597,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Response Data (no data) transfered via pure_json_protocol",
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:10,473",
|
|
"created": 1608586390.4732623,
|
|
"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 (<class 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 473.2623100280762,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9385.569334030151,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 473.30212593078613,
|
|
"msg": "Response Data (no data) transfered via pure_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9385.609149932861,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 3.981590270996094e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:10,573",
|
|
"created": 1608586390.5739002,
|
|
"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 <class 'NoneType'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0.1",
|
|
"11",
|
|
"45054"
|
|
],
|
|
"asctime": "2020-12-21 22:33:10,573",
|
|
"created": 1608586390.573559,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "receive",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 327,
|
|
"message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.",
|
|
"module": "__init__",
|
|
"msecs": 573.559045791626,
|
|
"msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9485.866069793701,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:10,573",
|
|
"created": 1608586390.5737357,
|
|
"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 (<class 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 573.7357139587402,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9486.042737960815,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:10,573",
|
|
"created": 1608586390.5738294,
|
|
"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 (<class 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 573.8294124603271,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9486.136436462402,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 573.9002227783203,
|
|
"msg": "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9486.207246780396,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 7.081031799316406e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:10,674",
|
|
"created": 1608586390.674888,
|
|
"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 <class 'NoneType'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0.1",
|
|
"10",
|
|
"45054"
|
|
],
|
|
"asctime": "2020-12-21 22:33:10,674",
|
|
"created": 1608586390.6742804,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "receive",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 327,
|
|
"message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.",
|
|
"module": "__init__",
|
|
"msecs": 674.2804050445557,
|
|
"msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9586.58742904663,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:10,674",
|
|
"created": 1608586390.6745985,
|
|
"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 (<class 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 674.5984554290771,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9586.905479431152,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:10,674",
|
|
"created": 1608586390.6747477,
|
|
"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 (<class 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 674.7477054595947,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9587.05472946167,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 674.8878955841064,
|
|
"msg": "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9587.194919586182,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00014019012451171875
|
|
}
|
|
],
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.7059714794158936,
|
|
"time_finished": "2020-12-21 22:33:10,674",
|
|
"time_start": "2020-12-21 22:33:09,968"
|
|
},
|
|
"socket_protocol.pure_json_protocol: Register a Callback which is already defined.": {
|
|
"args": null,
|
|
"asctime": "2020-12-21 22:33:12,087",
|
|
"created": 1608586392.0877314,
|
|
"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": 87.73136138916016,
|
|
"msg": "socket_protocol.pure_json_protocol: Register a Callback which is already defined.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest/src/tests/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11000.038385391235,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:12,088",
|
|
"created": 1608586392.0885448,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_handling_errors.py",
|
|
"funcName": "callback_conf_error",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 94,
|
|
"message": "Registering two callbacks which overlap for at least one message (pure_json_protocol).",
|
|
"module": "test_handling_errors",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:12,088",
|
|
"created": 1608586392.0880008,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__clean_receive_buffer__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 313,
|
|
"message": "SJP: Cleaning up receive-buffer",
|
|
"module": "__init__",
|
|
"msecs": 88.00077438354492,
|
|
"msg": "%s Cleaning up receive-buffer",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11000.30779838562,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:12,088",
|
|
"created": 1608586392.0883076,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentification_state_reset__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 217,
|
|
"message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"module": "__init__",
|
|
"msecs": 88.30761909484863,
|
|
"msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11000.614643096924,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 88.54484558105469,
|
|
"msg": "Registering two callbacks which overlap for at least one message (pure_json_protocol).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_handling_errors.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11000.85186958313,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0002372264862060547
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:12,089",
|
|
"created": 1608586392.0891578,
|
|
"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 <class 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Exception (RegistrationError) detection variable",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:12,088",
|
|
"created": 1608586392.0888445,
|
|
"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 (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 88.84453773498535,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11001.15156173706,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Exception (RegistrationError) detection variable",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:12,089",
|
|
"created": 1608586392.089012,
|
|
"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 (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 89.01190757751465,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11001.31893157959,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 89.1578197479248,
|
|
"msg": "Exception (RegistrationError) detection variable is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 11001.46484375,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00014591217041015625
|
|
}
|
|
],
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0014264583587646484,
|
|
"time_finished": "2020-12-21 22:33:12,089",
|
|
"time_start": "2020-12-21 22:33:12,087"
|
|
},
|
|
"socket_protocol.pure_json_protocol: Register a second Callback with the same service_id.": {
|
|
"args": null,
|
|
"asctime": "2020-12-21 22:33:06,124",
|
|
"created": 1608586386.1249187,
|
|
"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": 124.91869926452637,
|
|
"msg": "socket_protocol.pure_json_protocol: Register a second Callback with the same service_id.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest/src/tests/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5037.225723266602,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:06,628",
|
|
"created": 1608586386.628689,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_normal_operation.py",
|
|
"funcName": "second_service_callback",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 140,
|
|
"message": "Send and received data by pure_json_protocol.",
|
|
"module": "test_normal_operation",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:06,125",
|
|
"created": 1608586386.125219,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__clean_receive_buffer__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 313,
|
|
"message": "SJP: Cleaning up receive-buffer",
|
|
"module": "__init__",
|
|
"msecs": 125.21910667419434,
|
|
"msg": "%s Cleaning up receive-buffer",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5037.5261306762695,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:06,125",
|
|
"created": 1608586386.125532,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentification_state_reset__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 217,
|
|
"message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"module": "__init__",
|
|
"msecs": 125.53191184997559,
|
|
"msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5037.838935852051,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:06,125",
|
|
"created": 1608586386.12571,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__clean_receive_buffer__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 313,
|
|
"message": "SJP: Cleaning up receive-buffer",
|
|
"module": "__init__",
|
|
"msecs": 125.71001052856445,
|
|
"msg": "%s Cleaning up receive-buffer",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5038.01703453064,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:06,126",
|
|
"created": 1608586386.1260767,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentification_state_reset__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 217,
|
|
"message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"module": "__init__",
|
|
"msecs": 126.07669830322266,
|
|
"msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5038.383722305298,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
0,
|
|
10,
|
|
45054,
|
|
"{'test': 'test'}"
|
|
],
|
|
"asctime": "2020-12-21 22:33:06,126",
|
|
"created": 1608586386.1263237,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 0, service_id: 10, data_id: 45054, data: \"{'test': 'test'}\"",
|
|
"module": "__init__",
|
|
"msecs": 126.32369995117188,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5038.630723953247,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:06,126",
|
|
"created": 1608586386.126732,
|
|
"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": 126.73211097717285,
|
|
"msg": "Send data: (79): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 7d 82 1c 8b 89",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5039.039134979248,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:06,277",
|
|
"created": 1608586386.2777593,
|
|
"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": 277.759313583374,
|
|
"msg": "Receive data (79): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 7d 82 1c 8b 89",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5190.066337585449,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-17"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0",
|
|
"10",
|
|
"45054",
|
|
"{'test': 'test'}"
|
|
],
|
|
"asctime": "2020-12-21 22:33:06,278",
|
|
"created": 1608586386.2781825,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 259,
|
|
"message": "SJP: RX <- status: 0, service_id: 10, data_id: 45054, data: \"{'test': 'test'}\"",
|
|
"module": "__init__",
|
|
"msecs": 278.1825065612793,
|
|
"msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5190.4895305633545,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-17"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"response_data_method_2"
|
|
],
|
|
"asctime": "2020-12-21 22:33:06,278",
|
|
"created": 1608586386.2783833,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 282,
|
|
"message": "SJP: Executing callback response_data_method_2 to process received data",
|
|
"module": "__init__",
|
|
"msecs": 278.3832550048828,
|
|
"msg": "%s Executing callback %s to process received data",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5190.690279006958,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-17"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
5,
|
|
11,
|
|
45054,
|
|
"[1, 3, 's']"
|
|
],
|
|
"asctime": "2020-12-21 22:33:06,278",
|
|
"created": 1608586386.2785609,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, 's']\"",
|
|
"module": "__init__",
|
|
"msecs": 278.5608768463135,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5190.867900848389,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-17"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:06,278",
|
|
"created": 1608586386.2789648,
|
|
"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": 278.9647579193115,
|
|
"msg": "Send data: (74): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 7d 60 f8 dc 89",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5191.271781921387,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-17"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:06,429",
|
|
"created": 1608586386.4298801,
|
|
"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": 429.88014221191406,
|
|
"msg": "Receive data (74): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 7d 60 f8 dc 89",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5342.187166213989,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-18"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"5",
|
|
"11",
|
|
"45054",
|
|
"[1, 3, 's']"
|
|
],
|
|
"asctime": "2020-12-21 22:33:06,430",
|
|
"created": 1608586386.430322,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 259,
|
|
"message": "SJP: RX <- status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, 's']\"",
|
|
"module": "__init__",
|
|
"msecs": 430.32193183898926,
|
|
"msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5342.628955841064,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-18"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"Operation not permitted"
|
|
],
|
|
"asctime": "2020-12-21 22:33:06,430",
|
|
"created": 1608586386.430595,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 292,
|
|
"message": "SJP: Received message has a peculiar status: Operation not permitted",
|
|
"module": "__init__",
|
|
"msecs": 430.59492111206055,
|
|
"msg": "%s Received message has a peculiar status: %s",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5342.901945114136,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-18"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:06,430",
|
|
"created": 1608586386.430781,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__buffer_received_data__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 310,
|
|
"message": "SJP: Message data is stored in buffer and is now ready to be retrieved by receive method",
|
|
"module": "__init__",
|
|
"msecs": 430.78088760375977,
|
|
"msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5343.087911605835,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-18"
|
|
}
|
|
],
|
|
"msecs": 628.6890506744385,
|
|
"msg": "Send and received data by pure_json_protocol.",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_normal_operation.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5540.996074676514,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.1979081630706787
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:06,629",
|
|
"created": 1608586386.6295474,
|
|
"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 <class 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Return value of send method",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:06,629",
|
|
"created": 1608586386.6291857,
|
|
"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 (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 629.185676574707,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5541.492700576782,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return value of send method",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:06,629",
|
|
"created": 1608586386.6293736,
|
|
"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 (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 629.3735504150391,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5541.680574417114,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 629.5473575592041,
|
|
"msg": "Return value of send method is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5541.854381561279,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00017380714416503906
|
|
},
|
|
{
|
|
"args": [
|
|
"0",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:06,630",
|
|
"created": 1608586386.6301365,
|
|
"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 <class 'int'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Request Status (Okay) transfered via pure_json_protocol",
|
|
"0",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:06,629",
|
|
"created": 1608586386.6298094,
|
|
"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 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 629.8093795776367,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5542.116403579712,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Request Status (Okay) transfered via pure_json_protocol",
|
|
"0",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:06,629",
|
|
"created": 1608586386.6299756,
|
|
"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 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 629.9755573272705,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5542.282581329346,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 630.1364898681641,
|
|
"msg": "Request Status (Okay) transfered via pure_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5542.443513870239,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001609325408935547
|
|
},
|
|
{
|
|
"args": [
|
|
"{'test': 'test'}",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:06,630",
|
|
"created": 1608586386.6307995,
|
|
"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 <class 'dict'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Request Data transfered via pure_json_protocol",
|
|
"{ 'test': 'test' }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:06,630",
|
|
"created": 1608586386.6304219,
|
|
"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' } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 630.4218769073486,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5542.728900909424,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Request Data transfered via pure_json_protocol",
|
|
"{ 'test': 'test' }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:06,630",
|
|
"created": 1608586386.6306047,
|
|
"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' } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 630.6047439575195,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5542.911767959595,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 630.7995319366455,
|
|
"msg": "Request Data transfered via pure_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5543.106555938721,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00019478797912597656
|
|
},
|
|
{
|
|
"args": [
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:06,631",
|
|
"created": 1608586386.6313274,
|
|
"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 <class 'int'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Response Status (Operation not permitted) transfered via pure_json_protocol",
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:06,631",
|
|
"created": 1608586386.6310484,
|
|
"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 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 631.0484409332275,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5543.355464935303,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Response Status (Operation not permitted) transfered via pure_json_protocol",
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:06,631",
|
|
"created": 1608586386.6311915,
|
|
"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 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 631.1914920806885,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5543.498516082764,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 631.3273906707764,
|
|
"msg": "Response Status (Operation not permitted) transfered via pure_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5543.634414672852,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00013589859008789062
|
|
},
|
|
{
|
|
"args": [
|
|
"[1, 3, 's']",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:06,631",
|
|
"created": 1608586386.6319032,
|
|
"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 <class 'list'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Response Data transfered via pure_json_protocol",
|
|
"[ 1, 3, 's' ]",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:06,631",
|
|
"created": 1608586386.6315615,
|
|
"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' ] (<class 'list'>)",
|
|
"module": "test",
|
|
"msecs": 631.5615177154541,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5543.868541717529,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Response Data transfered via pure_json_protocol",
|
|
"[ 1, 3, 's' ]",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:06,631",
|
|
"created": 1608586386.631713,
|
|
"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' ] (<class 'list'>)",
|
|
"module": "test",
|
|
"msecs": 631.7129135131836,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5544.019937515259,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 631.9031715393066,
|
|
"msg": "Response Data transfered via pure_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5544.210195541382,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00019025802612304688
|
|
},
|
|
{
|
|
"args": [
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:06,733",
|
|
"created": 1608586386.7331822,
|
|
"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 <class 'NoneType'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0.1",
|
|
"11",
|
|
"45054"
|
|
],
|
|
"asctime": "2020-12-21 22:33:06,732",
|
|
"created": 1608586386.7324667,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "receive",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 327,
|
|
"message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.",
|
|
"module": "__init__",
|
|
"msecs": 732.4666976928711,
|
|
"msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5644.773721694946,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:06,732",
|
|
"created": 1608586386.7328193,
|
|
"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 (<class 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 732.8193187713623,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5645.1263427734375,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:06,733",
|
|
"created": 1608586386.7330184,
|
|
"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 (<class 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 733.0183982849121,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5645.325422286987,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 733.1821918487549,
|
|
"msg": "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5645.48921585083,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00016379356384277344
|
|
},
|
|
{
|
|
"args": [
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:06,834",
|
|
"created": 1608586386.8345695,
|
|
"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 <class 'NoneType'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0.1",
|
|
"10",
|
|
"45054"
|
|
],
|
|
"asctime": "2020-12-21 22:33:06,833",
|
|
"created": 1608586386.833808,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "receive",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 327,
|
|
"message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.",
|
|
"module": "__init__",
|
|
"msecs": 833.8079452514648,
|
|
"msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5746.11496925354,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:06,834",
|
|
"created": 1608586386.8342144,
|
|
"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 (<class 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 834.214448928833,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5746.521472930908,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:06,834",
|
|
"created": 1608586386.8344092,
|
|
"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 (<class 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 834.409236907959,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5746.716260910034,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 834.5694541931152,
|
|
"msg": "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5746.87647819519,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00016021728515625
|
|
}
|
|
],
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.7096507549285889,
|
|
"time_finished": "2020-12-21 22:33:06,834",
|
|
"time_start": "2020-12-21 22:33:06,124"
|
|
},
|
|
"socket_protocol.pure_json_protocol: Send and receive check including authentification.": {
|
|
"args": null,
|
|
"asctime": "2020-12-21 22:33:02,581",
|
|
"created": 1608586382.581725,
|
|
"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": 581.7248821258545,
|
|
"msg": "socket_protocol.pure_json_protocol: Send and receive check including authentification.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest/src/tests/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1494.0319061279297,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:03,788",
|
|
"created": 1608586383.7884717,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_normal_operation.py",
|
|
"funcName": "send_n_receive",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 42,
|
|
"message": "Send and received data by pure_json_protocol.",
|
|
"module": "test_normal_operation",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:02,582",
|
|
"created": 1608586382.5821419,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__clean_receive_buffer__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 313,
|
|
"message": "SJP: Cleaning up receive-buffer",
|
|
"module": "__init__",
|
|
"msecs": 582.1418762207031,
|
|
"msg": "%s Cleaning up receive-buffer",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1494.4489002227783,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:02,582",
|
|
"created": 1608586382.5825207,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentification_state_reset__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 217,
|
|
"message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"module": "__init__",
|
|
"msecs": 582.5207233428955,
|
|
"msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1494.8277473449707,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:02,582",
|
|
"created": 1608586382.5827515,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__clean_receive_buffer__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 313,
|
|
"message": "SJP: Cleaning up receive-buffer",
|
|
"module": "__init__",
|
|
"msecs": 582.7515125274658,
|
|
"msg": "%s Cleaning up receive-buffer",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1495.058536529541,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:02,583",
|
|
"created": 1608586382.5830345,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentification_state_reset__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 217,
|
|
"message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"module": "__init__",
|
|
"msecs": 583.0345153808594,
|
|
"msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1495.3415393829346,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:02,583",
|
|
"created": 1608586382.5832896,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "authentificate",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 396,
|
|
"message": "SJP: Requesting seed for authentification",
|
|
"module": "__init__",
|
|
"msecs": 583.289623260498,
|
|
"msg": "%s Requesting seed for authentification",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1495.5966472625732,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
0,
|
|
1,
|
|
0,
|
|
"None"
|
|
],
|
|
"asctime": "2020-12-21 22:33:02,583",
|
|
"created": 1608586382.583409,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 0, service_id: 1, data_id: 0, data: \"None\"",
|
|
"module": "__init__",
|
|
"msecs": 583.4090709686279,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1495.7160949707031,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:02,583",
|
|
"created": 1608586382.5836997,
|
|
"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": 583.6997032165527,
|
|
"msg": "Send data: (62): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 7d 9e 85 7b 8d",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1496.006727218628,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:02,734",
|
|
"created": 1608586382.7344763,
|
|
"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": 734.4763278961182,
|
|
"msg": "Receive data (62): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 7d 9e 85 7b 8d",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1646.7833518981934,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-5"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0",
|
|
"1",
|
|
"0",
|
|
"None"
|
|
],
|
|
"asctime": "2020-12-21 22:33:02,734",
|
|
"created": 1608586382.7348855,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 259,
|
|
"message": "SJP: RX <- status: 0, service_id: 1, data_id: 0, data: \"None\"",
|
|
"module": "__init__",
|
|
"msecs": 734.8854541778564,
|
|
"msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1647.1924781799316,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-5"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"__authentificate_create_seed__"
|
|
],
|
|
"asctime": "2020-12-21 22:33:02,735",
|
|
"created": 1608586382.7350998,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 282,
|
|
"message": "SJP: Executing callback __authentificate_create_seed__ to process received data",
|
|
"module": "__init__",
|
|
"msecs": 735.0997924804688,
|
|
"msg": "%s Executing callback %s to process received data",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1647.406816482544,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-5"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:02,735",
|
|
"created": 1608586382.7352483,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentificate_create_seed__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 422,
|
|
"message": "SJP: Got seed request, sending seed for authentification",
|
|
"module": "__init__",
|
|
"msecs": 735.248327255249,
|
|
"msg": "%s Got seed request, sending seed for authentification",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1647.5553512573242,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-5"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
0,
|
|
2,
|
|
0,
|
|
"'efa0dc1516add005e12d4fbebaac0403d96f6e1bb4582d5391a272cf9169bd32'"
|
|
],
|
|
"asctime": "2020-12-21 22:33:02,735",
|
|
"created": 1608586382.7354476,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 0, service_id: 2, data_id: 0, data: \"'efa0dc1516add005e12d4fbebaac0403d96f6e1bb4582d5391a272cf9169bd32'\"",
|
|
"module": "__init__",
|
|
"msecs": 735.4476451873779,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1647.7546691894531,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-5"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:02,735",
|
|
"created": 1608586382.7359247,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_helpers.py",
|
|
"funcName": "send",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 55,
|
|
"message": "Send data: (124): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 32 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 22 65 66 61 30 64 63 31 35 31 36 61 64 64 30 30 35 65 31 32 64 34 66 62 65 62 61 61 63 30 34 30 33 64 39 36 66 36 65 31 62 62 34 35 38 32 64 35 33 39 31 61 32 37 32 63 66 39 31 36 39 62 64 33 32 22 7d df 11 5a 26",
|
|
"module": "test_helpers",
|
|
"msecs": 735.9247207641602,
|
|
"msg": "Send data: (124): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 32 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 22 65 66 61 30 64 63 31 35 31 36 61 64 64 30 30 35 65 31 32 64 34 66 62 65 62 61 61 63 30 34 30 33 64 39 36 66 36 65 31 62 62 34 35 38 32 64 35 33 39 31 61 32 37 32 63 66 39 31 36 39 62 64 33 32 22 7d df 11 5a 26",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1648.2317447662354,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-5"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:02,887",
|
|
"created": 1608586382.8870206,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_helpers.py",
|
|
"funcName": "receive",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 66,
|
|
"message": "Receive data (124): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 32 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 22 65 66 61 30 64 63 31 35 31 36 61 64 64 30 30 35 65 31 32 64 34 66 62 65 62 61 61 63 30 34 30 33 64 39 36 66 36 65 31 62 62 34 35 38 32 64 35 33 39 31 61 32 37 32 63 66 39 31 36 39 62 64 33 32 22 7d df 11 5a 26",
|
|
"module": "test_helpers",
|
|
"msecs": 887.0205879211426,
|
|
"msg": "Receive data (124): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 32 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 22 65 66 61 30 64 63 31 35 31 36 61 64 64 30 30 35 65 31 32 64 34 66 62 65 62 61 61 63 30 34 30 33 64 39 36 66 36 65 31 62 62 34 35 38 32 64 35 33 39 31 61 32 37 32 63 66 39 31 36 39 62 64 33 32 22 7d df 11 5a 26",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1799.3276119232178,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-6"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0",
|
|
"2",
|
|
"0",
|
|
"'efa0dc1516add005e12d4fbebaac0403d96f6e1bb4582d5391a272cf9169bd32'"
|
|
],
|
|
"asctime": "2020-12-21 22:33:02,887",
|
|
"created": 1608586382.887456,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 259,
|
|
"message": "SJP: RX <- status: 0, service_id: 2, data_id: 0, data: \"'efa0dc1516add005e12d4fbebaac0403d96f6e1bb4582d5391a272cf9169bd32'\"",
|
|
"module": "__init__",
|
|
"msecs": 887.455940246582,
|
|
"msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1799.7629642486572,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-6"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"__authentificate_create_key__"
|
|
],
|
|
"asctime": "2020-12-21 22:33:02,887",
|
|
"created": 1608586382.8876793,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 282,
|
|
"message": "SJP: Executing callback __authentificate_create_key__ to process received data",
|
|
"module": "__init__",
|
|
"msecs": 887.6793384552002,
|
|
"msg": "%s Executing callback %s to process received data",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1799.9863624572754,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-6"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:02,887",
|
|
"created": 1608586382.8878312,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentificate_create_key__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 431,
|
|
"message": "SJP: Got seed, sending key for authentification",
|
|
"module": "__init__",
|
|
"msecs": 887.8312110900879,
|
|
"msg": "%s Got seed, sending key for authentification",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1800.138235092163,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-6"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
0,
|
|
3,
|
|
0,
|
|
"'8236f10c89bff4f28f00db77091cbc81edaeaf6de1716ce477602e97840605d19f5e67cbfd3378d2cf916351fc6f1eac1ff473f6b025a908522a20965e8965b6'"
|
|
],
|
|
"asctime": "2020-12-21 22:33:02,888",
|
|
"created": 1608586382.8880537,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 0, service_id: 3, data_id: 0, data: \"'8236f10c89bff4f28f00db77091cbc81edaeaf6de1716ce477602e97840605d19f5e67cbfd3378d2cf916351fc6f1eac1ff473f6b025a908522a20965e8965b6'\"",
|
|
"module": "__init__",
|
|
"msecs": 888.0536556243896,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1800.3606796264648,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-6"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:02,888",
|
|
"created": 1608586382.8886065,
|
|
"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 38 32 33 36 66 31 30 63 38 39 62 66 66 34 66 32 38 66 30 30 64 62 37 37 30 39 31 63 62 63 38 31 65 64 61 65 61 66 36 64 65 31 37 31 36 63 65 34 37 37 36 30 32 65 39 37 38 34 30 36 30 35 64 31 39 66 35 65 36 37 63 62 66 64 33 33 37 38 64 32 63 66 39 31 36 33 35 31 66 63 36 66 31 65 61 63 31 66 66 34 37 33 66 36 62 30 32 35 61 39 30 38 35 32 32 61 32 30 39 36 35 65 38 39 36 35 62 36 22 7d a8 8f 70 81",
|
|
"module": "test_helpers",
|
|
"msecs": 888.6065483093262,
|
|
"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 38 32 33 36 66 31 30 63 38 39 62 66 66 34 66 32 38 66 30 30 64 62 37 37 30 39 31 63 62 63 38 31 65 64 61 65 61 66 36 64 65 31 37 31 36 63 65 34 37 37 36 30 32 65 39 37 38 34 30 36 30 35 64 31 39 66 35 65 36 37 63 62 66 64 33 33 37 38 64 32 63 66 39 31 36 33 35 31 66 63 36 66 31 65 61 63 31 66 66 34 37 33 66 36 62 30 32 35 61 39 30 38 35 32 32 61 32 30 39 36 35 65 38 39 36 35 62 36 22 7d a8 8f 70 81",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1800.9135723114014,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-6"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:03,040",
|
|
"created": 1608586383.0400386,
|
|
"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 38 32 33 36 66 31 30 63 38 39 62 66 66 34 66 32 38 66 30 30 64 62 37 37 30 39 31 63 62 63 38 31 65 64 61 65 61 66 36 64 65 31 37 31 36 63 65 34 37 37 36 30 32 65 39 37 38 34 30 36 30 35 64 31 39 66 35 65 36 37 63 62 66 64 33 33 37 38 64 32 63 66 39 31 36 33 35 31 66 63 36 66 31 65 61 63 31 66 66 34 37 33 66 36 62 30 32 35 61 39 30 38 35 32 32 61 32 30 39 36 35 65 38 39 36 35 62 36 22 7d a8 8f 70 81",
|
|
"module": "test_helpers",
|
|
"msecs": 40.0385856628418,
|
|
"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 38 32 33 36 66 31 30 63 38 39 62 66 66 34 66 32 38 66 30 30 64 62 37 37 30 39 31 63 62 63 38 31 65 64 61 65 61 66 36 64 65 31 37 31 36 63 65 34 37 37 36 30 32 65 39 37 38 34 30 36 30 35 64 31 39 66 35 65 36 37 63 62 66 64 33 33 37 38 64 32 63 66 39 31 36 33 35 31 66 63 36 66 31 65 61 63 31 66 66 34 37 33 66 36 62 30 32 35 61 39 30 38 35 32 32 61 32 30 39 36 35 65 38 39 36 35 62 36 22 7d a8 8f 70 81",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1952.345609664917,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-7"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0",
|
|
"3",
|
|
"0",
|
|
"'8236f10c89bff4f28f00db77091cbc81edaeaf6de1716ce477602e97840605d19f5e67cbfd3378d2cf916351fc6f1eac1ff473f6b025a908522a20965e8965b6'"
|
|
],
|
|
"asctime": "2020-12-21 22:33:03,040",
|
|
"created": 1608586383.0406315,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 259,
|
|
"message": "SJP: RX <- status: 0, service_id: 3, data_id: 0, data: \"'8236f10c89bff4f28f00db77091cbc81edaeaf6de1716ce477602e97840605d19f5e67cbfd3378d2cf916351fc6f1eac1ff473f6b025a908522a20965e8965b6'\"",
|
|
"module": "__init__",
|
|
"msecs": 40.63153266906738,
|
|
"msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1952.9385566711426,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-7"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"__authentificate_check_key__"
|
|
],
|
|
"asctime": "2020-12-21 22:33:03,040",
|
|
"created": 1608586383.0409331,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 282,
|
|
"message": "SJP: Executing callback __authentificate_check_key__ to process received data",
|
|
"module": "__init__",
|
|
"msecs": 40.93313217163086,
|
|
"msg": "%s Executing callback %s to process received data",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1953.240156173706,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-7"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:03,041",
|
|
"created": 1608586383.0411491,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentificate_check_key__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 441,
|
|
"message": "SJP: Got correct key, sending positive authentification feedback",
|
|
"module": "__init__",
|
|
"msecs": 41.149139404296875,
|
|
"msg": "%s Got correct key, sending positive authentification feedback",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1953.456163406372,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-7"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
0,
|
|
4,
|
|
0,
|
|
"True"
|
|
],
|
|
"asctime": "2020-12-21 22:33:03,041",
|
|
"created": 1608586383.0413249,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 0, service_id: 4, data_id: 0, data: \"True\"",
|
|
"module": "__init__",
|
|
"msecs": 41.32485389709473,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1953.63187789917,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-7"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:03,041",
|
|
"created": 1608586383.0417163,
|
|
"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": 41.71633720397949,
|
|
"msg": "Send data: (62): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 34 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 74 72 75 65 7d df 5e 54 54",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1954.0233612060547,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-7"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:03,192",
|
|
"created": 1608586383.1927798,
|
|
"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": 192.7797794342041,
|
|
"msg": "Receive data (62): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 34 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 74 72 75 65 7d df 5e 54 54",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2105.0868034362793,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-8"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0",
|
|
"4",
|
|
"0",
|
|
"True"
|
|
],
|
|
"asctime": "2020-12-21 22:33:03,193",
|
|
"created": 1608586383.1932278,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 259,
|
|
"message": "SJP: RX <- status: 0, service_id: 4, data_id: 0, data: \"True\"",
|
|
"module": "__init__",
|
|
"msecs": 193.22776794433594,
|
|
"msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2105.534791946411,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-8"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"__authentificate_process_feedback__"
|
|
],
|
|
"asctime": "2020-12-21 22:33:03,193",
|
|
"created": 1608586383.1934607,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 299,
|
|
"message": "SJP: Executing callback __authentificate_process_feedback__ to process received data",
|
|
"module": "__init__",
|
|
"msecs": 193.46070289611816,
|
|
"msg": "%s Executing callback %s to process received data",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2105.7677268981934,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-8"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:03,193",
|
|
"created": 1608586383.1936214,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentificate_process_feedback__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 452,
|
|
"message": "SJP: Got positive authentification feedback",
|
|
"module": "__init__",
|
|
"msecs": 193.62139701843262,
|
|
"msg": "%s Got positive authentification feedback",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2105.928421020508,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-8"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
0,
|
|
10,
|
|
45054,
|
|
"{'test': 'test'}"
|
|
],
|
|
"asctime": "2020-12-21 22:33:03,285",
|
|
"created": 1608586383.2858305,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 0, service_id: 10, data_id: 45054, data: \"{'test': 'test'}\"",
|
|
"module": "__init__",
|
|
"msecs": 285.8304977416992,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2198.1375217437744,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:03,286",
|
|
"created": 1608586383.2863817,
|
|
"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": 286.38172149658203,
|
|
"msg": "Send data: (79): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 7d 82 1c 8b 89",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2198.688745498657,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:03,437",
|
|
"created": 1608586383.4374583,
|
|
"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": 437.4582767486572,
|
|
"msg": "Receive data (79): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 7d 82 1c 8b 89",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2349.7653007507324,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-9"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0",
|
|
"10",
|
|
"45054",
|
|
"{'test': 'test'}"
|
|
],
|
|
"asctime": "2020-12-21 22:33:03,437",
|
|
"created": 1608586383.4378772,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 259,
|
|
"message": "SJP: RX <- status: 0, service_id: 10, data_id: 45054, data: \"{'test': 'test'}\"",
|
|
"module": "__init__",
|
|
"msecs": 437.8771781921387,
|
|
"msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2350.184202194214,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-9"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"response_data_method"
|
|
],
|
|
"asctime": "2020-12-21 22:33:03,438",
|
|
"created": 1608586383.438089,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 282,
|
|
"message": "SJP: Executing callback response_data_method to process received data",
|
|
"module": "__init__",
|
|
"msecs": 438.08889389038086,
|
|
"msg": "%s Executing callback %s to process received data",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2350.395917892456,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-9"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
5,
|
|
11,
|
|
45054,
|
|
"[1, 3, 's']"
|
|
],
|
|
"asctime": "2020-12-21 22:33:03,438",
|
|
"created": 1608586383.4382648,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, 's']\"",
|
|
"module": "__init__",
|
|
"msecs": 438.2648468017578,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2350.571870803833,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-9"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:03,438",
|
|
"created": 1608586383.4386406,
|
|
"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": 438.6405944824219,
|
|
"msg": "Send data: (74): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 7d 60 f8 dc 89",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2350.947618484497,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-9"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:03,589",
|
|
"created": 1608586383.5896819,
|
|
"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": 589.68186378479,
|
|
"msg": "Receive data (74): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 7d 60 f8 dc 89",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2501.9888877868652,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-10"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"5",
|
|
"11",
|
|
"45054",
|
|
"[1, 3, 's']"
|
|
],
|
|
"asctime": "2020-12-21 22:33:03,590",
|
|
"created": 1608586383.5901225,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 259,
|
|
"message": "SJP: RX <- status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, 's']\"",
|
|
"module": "__init__",
|
|
"msecs": 590.1224613189697,
|
|
"msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2502.429485321045,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-10"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"Operation not permitted"
|
|
],
|
|
"asctime": "2020-12-21 22:33:03,590",
|
|
"created": 1608586383.5903919,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 292,
|
|
"message": "SJP: Received message has a peculiar status: Operation not permitted",
|
|
"module": "__init__",
|
|
"msecs": 590.3918743133545,
|
|
"msg": "%s Received message has a peculiar status: %s",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2502.6988983154297,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-10"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:03,590",
|
|
"created": 1608586383.5905788,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__buffer_received_data__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 310,
|
|
"message": "SJP: Message data is stored in buffer and is now ready to be retrieved by receive method",
|
|
"module": "__init__",
|
|
"msecs": 590.5787944793701,
|
|
"msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2502.8858184814453,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-10"
|
|
}
|
|
],
|
|
"msecs": 788.4716987609863,
|
|
"msg": "Send and received data by pure_json_protocol.",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_normal_operation.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2700.7787227630615,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.1978929042816162
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:03,789",
|
|
"created": 1608586383.7893555,
|
|
"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 <class 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Return value of authentification",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:03,788",
|
|
"created": 1608586383.7889855,
|
|
"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 (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 788.9854907989502,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2701.2925148010254,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return value of authentification",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:03,789",
|
|
"created": 1608586383.7891948,
|
|
"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 (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 789.1948223114014,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2701.5018463134766,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 789.3555164337158,
|
|
"msg": "Return value of authentification is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2701.662540435791,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00016069412231445312
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:03,789",
|
|
"created": 1608586383.78987,
|
|
"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 <class 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Return value of send method",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:03,789",
|
|
"created": 1608586383.7895854,
|
|
"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 (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 789.5853519439697,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2701.892375946045,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return value of send method",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:03,789",
|
|
"created": 1608586383.7897308,
|
|
"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 (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 789.7307872772217,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2702.037811279297,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 789.870023727417,
|
|
"msg": "Return value of send method is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2702.177047729492,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001392364501953125
|
|
},
|
|
{
|
|
"args": [
|
|
"0",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:03,790",
|
|
"created": 1608586383.7903824,
|
|
"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 <class 'int'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Request Status (Okay) transfered via pure_json_protocol",
|
|
"0",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:03,790",
|
|
"created": 1608586383.790086,
|
|
"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 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 790.086030960083,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2702.393054962158,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Request Status (Okay) transfered via pure_json_protocol",
|
|
"0",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:03,790",
|
|
"created": 1608586383.7902443,
|
|
"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 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 790.2443408966064,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2702.5513648986816,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 790.3823852539062,
|
|
"msg": "Request Status (Okay) transfered via pure_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2702.6894092559814,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001380443572998047
|
|
},
|
|
{
|
|
"args": [
|
|
"{'test': 'test'}",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:03,790",
|
|
"created": 1608586383.7909405,
|
|
"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 <class 'dict'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Request Data transfered via pure_json_protocol",
|
|
"{ 'test': 'test' }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:03,790",
|
|
"created": 1608586383.7906084,
|
|
"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' } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 790.6084060668945,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2702.9154300689697,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Request Data transfered via pure_json_protocol",
|
|
"{ 'test': 'test' }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:03,790",
|
|
"created": 1608586383.7907581,
|
|
"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' } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 790.7581329345703,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2703.0651569366455,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 790.940523147583,
|
|
"msg": "Request Data transfered via pure_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2703.247547149658,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001823902130126953
|
|
},
|
|
{
|
|
"args": [
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:03,791",
|
|
"created": 1608586383.791434,
|
|
"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 <class 'int'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Response Status (Operation not permitted) transfered via pure_json_protocol",
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:03,791",
|
|
"created": 1608586383.791162,
|
|
"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 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 791.1620140075684,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2703.4690380096436,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Response Status (Operation not permitted) transfered via pure_json_protocol",
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:03,791",
|
|
"created": 1608586383.7913003,
|
|
"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 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 791.3002967834473,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2703.6073207855225,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 791.4340496063232,
|
|
"msg": "Response Status (Operation not permitted) transfered via pure_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2703.7410736083984,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00013375282287597656
|
|
},
|
|
{
|
|
"args": [
|
|
"[1, 3, 's']",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:03,791",
|
|
"created": 1608586383.7919958,
|
|
"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 <class 'list'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Response Data transfered via pure_json_protocol",
|
|
"[ 1, 3, 's' ]",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:03,791",
|
|
"created": 1608586383.7916567,
|
|
"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' ] (<class 'list'>)",
|
|
"module": "test",
|
|
"msecs": 791.6567325592041,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2703.9637565612793,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Response Data transfered via pure_json_protocol",
|
|
"[ 1, 3, 's' ]",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:03,791",
|
|
"created": 1608586383.791807,
|
|
"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' ] (<class 'list'>)",
|
|
"module": "test",
|
|
"msecs": 791.8069362640381,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2704.1139602661133,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 791.9957637786865,
|
|
"msg": "Response Data transfered via pure_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2704.3027877807617,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001888275146484375
|
|
},
|
|
{
|
|
"args": [
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:03,893",
|
|
"created": 1608586383.8933105,
|
|
"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 <class 'NoneType'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0.1",
|
|
"11",
|
|
"45054"
|
|
],
|
|
"asctime": "2020-12-21 22:33:03,892",
|
|
"created": 1608586383.8925674,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "receive",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 327,
|
|
"message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.",
|
|
"module": "__init__",
|
|
"msecs": 892.5673961639404,
|
|
"msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2804.8744201660156,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:03,892",
|
|
"created": 1608586383.8929782,
|
|
"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 (<class 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 892.9781913757324,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2805.2852153778076,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:03,893",
|
|
"created": 1608586383.8931527,
|
|
"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 (<class 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 893.1527137756348,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2805.45973777771,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 893.310546875,
|
|
"msg": "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2805.617570877075,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00015783309936523438
|
|
},
|
|
{
|
|
"args": [
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:03,994",
|
|
"created": 1608586383.9945948,
|
|
"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 <class 'NoneType'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0.1",
|
|
"10",
|
|
"45054"
|
|
],
|
|
"asctime": "2020-12-21 22:33:03,993",
|
|
"created": 1608586383.9938853,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "receive",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 327,
|
|
"message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.",
|
|
"module": "__init__",
|
|
"msecs": 993.8852787017822,
|
|
"msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2906.1923027038574,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:03,994",
|
|
"created": 1608586383.9942572,
|
|
"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 (<class 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 994.2572116851807,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2906.564235687256,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:03,994",
|
|
"created": 1608586383.9944363,
|
|
"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 (<class 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 994.4362640380859,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2906.743288040161,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 994.5948123931885,
|
|
"msg": "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2906.9018363952637,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00015854835510253906
|
|
}
|
|
],
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 1.412869930267334,
|
|
"time_finished": "2020-12-21 22:33:03,994",
|
|
"time_start": "2020-12-21 22:33:02,581"
|
|
},
|
|
"socket_protocol.pure_json_protocol: Send and receive check.": {
|
|
"args": null,
|
|
"asctime": "2020-12-21 22:33:01,871",
|
|
"created": 1608586381.8715048,
|
|
"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": 871.5047836303711,
|
|
"msg": "socket_protocol.pure_json_protocol: Send and receive check.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest/src/tests/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 783.8118076324463,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:02,374",
|
|
"created": 1608586382.3746574,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_normal_operation.py",
|
|
"funcName": "send_n_receive",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 42,
|
|
"message": "Send and received data by pure_json_protocol.",
|
|
"module": "test_normal_operation",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:01,871",
|
|
"created": 1608586381.871734,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__clean_receive_buffer__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 313,
|
|
"message": "SJP: Cleaning up receive-buffer",
|
|
"module": "__init__",
|
|
"msecs": 871.7339038848877,
|
|
"msg": "%s Cleaning up receive-buffer",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 784.0409278869629,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:01,871",
|
|
"created": 1608586381.8719707,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentification_state_reset__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 217,
|
|
"message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"module": "__init__",
|
|
"msecs": 871.9706535339355,
|
|
"msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 784.2776775360107,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:01,872",
|
|
"created": 1608586381.8721097,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__clean_receive_buffer__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 313,
|
|
"message": "SJP: Cleaning up receive-buffer",
|
|
"module": "__init__",
|
|
"msecs": 872.1096515655518,
|
|
"msg": "%s Cleaning up receive-buffer",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 784.416675567627,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:01,872",
|
|
"created": 1608586381.8722541,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentification_state_reset__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 217,
|
|
"message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"module": "__init__",
|
|
"msecs": 872.2541332244873,
|
|
"msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 784.5611572265625,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
0,
|
|
10,
|
|
45054,
|
|
"{'test': 'test'}"
|
|
],
|
|
"asctime": "2020-12-21 22:33:01,872",
|
|
"created": 1608586381.8723776,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 0, service_id: 10, data_id: 45054, data: \"{'test': 'test'}\"",
|
|
"module": "__init__",
|
|
"msecs": 872.3776340484619,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 784.6846580505371,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:01,872",
|
|
"created": 1608586381.8726604,
|
|
"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": 872.6603984832764,
|
|
"msg": "Send data: (79): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 7d 82 1c 8b 89",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 784.9674224853516,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:02,023",
|
|
"created": 1608586382.0235343,
|
|
"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": 23.534297943115234,
|
|
"msg": "Receive data (79): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 7d 82 1c 8b 89",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 935.8413219451904,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-3"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0",
|
|
"10",
|
|
"45054",
|
|
"{'test': 'test'}"
|
|
],
|
|
"asctime": "2020-12-21 22:33:02,023",
|
|
"created": 1608586382.0237153,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 259,
|
|
"message": "SJP: RX <- status: 0, service_id: 10, data_id: 45054, data: \"{'test': 'test'}\"",
|
|
"module": "__init__",
|
|
"msecs": 23.71525764465332,
|
|
"msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 936.0222816467285,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-3"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"response_data_method"
|
|
],
|
|
"asctime": "2020-12-21 22:33:02,023",
|
|
"created": 1608586382.0238383,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 282,
|
|
"message": "SJP: Executing callback response_data_method to process received data",
|
|
"module": "__init__",
|
|
"msecs": 23.838281631469727,
|
|
"msg": "%s Executing callback %s to process received data",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 936.1453056335449,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-3"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
5,
|
|
11,
|
|
45054,
|
|
"[1, 3, 's']"
|
|
],
|
|
"asctime": "2020-12-21 22:33:02,023",
|
|
"created": 1608586382.0239198,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, 's']\"",
|
|
"module": "__init__",
|
|
"msecs": 23.91982078552246,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 936.2268447875977,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-3"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:02,024",
|
|
"created": 1608586382.0240624,
|
|
"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": 24.062395095825195,
|
|
"msg": "Send data: (74): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 7d 60 f8 dc 89",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 936.3694190979004,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-3"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:02,174",
|
|
"created": 1608586382.1747656,
|
|
"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": 174.76558685302734,
|
|
"msg": "Receive data (74): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 35 30 35 34 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 7d 60 f8 dc 89",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1087.0726108551025,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-4"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"5",
|
|
"11",
|
|
"45054",
|
|
"[1, 3, 's']"
|
|
],
|
|
"asctime": "2020-12-21 22:33:02,175",
|
|
"created": 1608586382.1751964,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 259,
|
|
"message": "SJP: RX <- status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, 's']\"",
|
|
"module": "__init__",
|
|
"msecs": 175.19640922546387,
|
|
"msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1087.503433227539,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-4"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"Operation not permitted"
|
|
],
|
|
"asctime": "2020-12-21 22:33:02,175",
|
|
"created": 1608586382.1754267,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 292,
|
|
"message": "SJP: Received message has a peculiar status: Operation not permitted",
|
|
"module": "__init__",
|
|
"msecs": 175.42672157287598,
|
|
"msg": "%s Received message has a peculiar status: %s",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1087.7337455749512,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-4"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:02,175",
|
|
"created": 1608586382.1756117,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__buffer_received_data__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 310,
|
|
"message": "SJP: Message data is stored in buffer and is now ready to be retrieved by receive method",
|
|
"module": "__init__",
|
|
"msecs": 175.6117343902588,
|
|
"msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1087.918758392334,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-4"
|
|
}
|
|
],
|
|
"msecs": 374.65739250183105,
|
|
"msg": "Send and received data by pure_json_protocol.",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_normal_operation.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1286.9644165039062,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.19904565811157227
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:02,375",
|
|
"created": 1608586382.3754456,
|
|
"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 <class 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Return value of send method",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:02,375",
|
|
"created": 1608586382.3750882,
|
|
"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 (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 375.0882148742676,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1287.3952388763428,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return value of send method",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:02,375",
|
|
"created": 1608586382.375278,
|
|
"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 (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 375.2779960632324,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1287.5850200653076,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 375.4456043243408,
|
|
"msg": "Return value of send method is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1287.752628326416,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00016760826110839844
|
|
},
|
|
{
|
|
"args": [
|
|
"0",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:02,375",
|
|
"created": 1608586382.375984,
|
|
"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 <class 'int'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Request Status (Okay) transfered via pure_json_protocol",
|
|
"0",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:02,375",
|
|
"created": 1608586382.3756895,
|
|
"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 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 375.6895065307617,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1287.996530532837,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Request Status (Okay) transfered via pure_json_protocol",
|
|
"0",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:02,375",
|
|
"created": 1608586382.375836,
|
|
"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 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 375.8358955383301,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1288.1429195404053,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 375.98395347595215,
|
|
"msg": "Request Status (Okay) transfered via pure_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1288.2909774780273,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001480579376220703
|
|
},
|
|
{
|
|
"args": [
|
|
"{'test': 'test'}",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:02,376",
|
|
"created": 1608586382.3765419,
|
|
"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 <class 'dict'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Request Data transfered via pure_json_protocol",
|
|
"{ 'test': 'test' }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:02,376",
|
|
"created": 1608586382.3762195,
|
|
"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' } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 376.2195110321045,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1288.5265350341797,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Request Data transfered via pure_json_protocol",
|
|
"{ 'test': 'test' }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:02,376",
|
|
"created": 1608586382.3763697,
|
|
"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' } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 376.3697147369385,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1288.6767387390137,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 376.5418529510498,
|
|
"msg": "Request Data transfered via pure_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1288.848876953125,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00017213821411132812
|
|
},
|
|
{
|
|
"args": [
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:02,377",
|
|
"created": 1608586382.377088,
|
|
"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 <class 'int'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Response Status (Operation not permitted) transfered via pure_json_protocol",
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:02,376",
|
|
"created": 1608586382.3768022,
|
|
"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 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 376.8022060394287,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1289.109230041504,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Response Status (Operation not permitted) transfered via pure_json_protocol",
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:02,376",
|
|
"created": 1608586382.376949,
|
|
"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 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 376.9490718841553,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1289.2560958862305,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 377.0880699157715,
|
|
"msg": "Response Status (Operation not permitted) transfered via pure_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1289.3950939178467,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00013899803161621094
|
|
},
|
|
{
|
|
"args": [
|
|
"[1, 3, 's']",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:02,377",
|
|
"created": 1608586382.3776622,
|
|
"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 <class 'list'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Response Data transfered via pure_json_protocol",
|
|
"[ 1, 3, 's' ]",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:02,377",
|
|
"created": 1608586382.377319,
|
|
"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' ] (<class 'list'>)",
|
|
"module": "test",
|
|
"msecs": 377.3190975189209,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1289.626121520996,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Response Data transfered via pure_json_protocol",
|
|
"[ 1, 3, 's' ]",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:02,377",
|
|
"created": 1608586382.3774714,
|
|
"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' ] (<class 'list'>)",
|
|
"module": "test",
|
|
"msecs": 377.4714469909668,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1289.778470993042,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 377.66218185424805,
|
|
"msg": "Response Data transfered via pure_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1289.9692058563232,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00019073486328125
|
|
},
|
|
{
|
|
"args": [
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:02,478",
|
|
"created": 1608586382.478912,
|
|
"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 <class 'NoneType'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0.1",
|
|
"11",
|
|
"45054"
|
|
],
|
|
"asctime": "2020-12-21 22:33:02,478",
|
|
"created": 1608586382.4782338,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "receive",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 327,
|
|
"message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.",
|
|
"module": "__init__",
|
|
"msecs": 478.23381423950195,
|
|
"msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1390.5408382415771,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:02,478",
|
|
"created": 1608586382.478574,
|
|
"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 (<class 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 478.5740375518799,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1390.881061553955,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:02,478",
|
|
"created": 1608586382.4787576,
|
|
"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 (<class 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 478.7576198577881,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1391.0646438598633,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 478.9121150970459,
|
|
"msg": "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1391.219139099121,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001544952392578125
|
|
},
|
|
{
|
|
"args": [
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:02,580",
|
|
"created": 1608586382.5808768,
|
|
"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 <class 'NoneType'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0.1",
|
|
"10",
|
|
"45054"
|
|
],
|
|
"asctime": "2020-12-21 22:33:02,579",
|
|
"created": 1608586382.5795164,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "receive",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 327,
|
|
"message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.",
|
|
"module": "__init__",
|
|
"msecs": 579.5164108276367,
|
|
"msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1491.823434829712,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:02,580",
|
|
"created": 1608586382.5801826,
|
|
"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 (<class 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 580.1825523376465,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1492.4895763397217,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:02,580",
|
|
"created": 1608586382.5805354,
|
|
"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 (<class 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 580.5354118347168,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1492.842435836792,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 580.8768272399902,
|
|
"msg": "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1493.1838512420654,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0003414154052734375
|
|
}
|
|
],
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.7093720436096191,
|
|
"time_finished": "2020-12-21 22:33:02,580",
|
|
"time_start": "2020-12-21 22:33:01,871"
|
|
},
|
|
"socket_protocol.pure_json_protocol: Timeout measurement for authentification and send method.": {
|
|
"args": null,
|
|
"asctime": "2020-12-21 22:33:08,558",
|
|
"created": 1608586388.5583332,
|
|
"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": 558.333158493042,
|
|
"msg": "socket_protocol.pure_json_protocol: Timeout measurement for authentification and send method.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest/src/tests/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7470.640182495117,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [
|
|
"0.20124530792236328",
|
|
"0.2",
|
|
"0.22000000000000003",
|
|
"<class 'float'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:08,761",
|
|
"created": 1608586388.761356,
|
|
"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.20124530792236328 in [0.2 ... 0.22000000000000003] and Type is <class 'float'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:08,558",
|
|
"created": 1608586388.558641,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__clean_receive_buffer__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 313,
|
|
"message": "SJP: Cleaning up receive-buffer",
|
|
"module": "__init__",
|
|
"msecs": 558.6409568786621,
|
|
"msg": "%s Cleaning up receive-buffer",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7470.947980880737,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:08,558",
|
|
"created": 1608586388.558948,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentification_state_reset__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 217,
|
|
"message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"module": "__init__",
|
|
"msecs": 558.9480400085449,
|
|
"msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7471.25506401062,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:08,559",
|
|
"created": 1608586388.5591404,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__clean_receive_buffer__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 313,
|
|
"message": "SJP: Cleaning up receive-buffer",
|
|
"module": "__init__",
|
|
"msecs": 559.1404438018799,
|
|
"msg": "%s Cleaning up receive-buffer",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7471.447467803955,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:08,559",
|
|
"created": 1608586388.5593998,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentification_state_reset__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 217,
|
|
"message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"module": "__init__",
|
|
"msecs": 559.3998432159424,
|
|
"msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7471.706867218018,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:08,559",
|
|
"created": 1608586388.5595672,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "authentificate",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 396,
|
|
"message": "SJP: Requesting seed for authentification",
|
|
"module": "__init__",
|
|
"msecs": 559.5672130584717,
|
|
"msg": "%s Requesting seed for authentification",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7471.874237060547,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
0,
|
|
1,
|
|
0,
|
|
"None"
|
|
],
|
|
"asctime": "2020-12-21 22:33:08,559",
|
|
"created": 1608586388.5597115,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 0, service_id: 1, data_id: 0, data: \"None\"",
|
|
"module": "__init__",
|
|
"msecs": 559.7114562988281,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7472.018480300903,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:08,560",
|
|
"created": 1608586388.5600815,
|
|
"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": 560.0814819335938,
|
|
"msg": "Send data: (62): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 7d 9e 85 7b 8d",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7472.388505935669,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Timeout for authentification",
|
|
"0.20124530792236328",
|
|
"<class 'float'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:08,760",
|
|
"created": 1608586388.7608838,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Timeout for authentification): 0.20124530792236328 (<class 'float'>)",
|
|
"module": "test",
|
|
"msecs": 760.8838081359863,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7673.1908321380615,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Timeout for authentification",
|
|
"0.2",
|
|
"0.22000000000000003"
|
|
],
|
|
"asctime": "2020-12-21 22:33:08,761",
|
|
"created": 1608586388.7611704,
|
|
"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": 761.1703872680664,
|
|
"msg": "Expectation (%s): %s <= result <= %s",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7673.477411270142,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 761.3561153411865,
|
|
"msg": "Timeout for authentification is correct (Content %s in [%s ... %s] and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7673.663139343262,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001857280731201172
|
|
},
|
|
{
|
|
"args": [
|
|
"0.5021066665649414",
|
|
"0.5",
|
|
"0.55",
|
|
"<class 'float'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:09,264",
|
|
"created": 1608586389.2643282,
|
|
"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.5021066665649414 in [0.5 ... 0.55] and Type is <class 'float'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:08,761",
|
|
"created": 1608586388.7616549,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "authentificate",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 396,
|
|
"message": "SJP: Requesting seed for authentification",
|
|
"module": "__init__",
|
|
"msecs": 761.6548538208008,
|
|
"msg": "%s Requesting seed for authentification",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7673.961877822876,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
0,
|
|
1,
|
|
0,
|
|
"None"
|
|
],
|
|
"asctime": "2020-12-21 22:33:08,761",
|
|
"created": 1608586388.7618334,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 0, service_id: 1, data_id: 0, data: \"None\"",
|
|
"module": "__init__",
|
|
"msecs": 761.8334293365479,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7674.140453338623,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:08,762",
|
|
"created": 1608586388.762243,
|
|
"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": 762.2430324554443,
|
|
"msg": "Send data: (62): 7b 22 64 61 74 61 5f 69 64 22 3a 20 30 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 6e 75 6c 6c 7d 9e 85 7b 8d",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7674.5500564575195,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Timeout for authentification",
|
|
"0.5021066665649414",
|
|
"<class 'float'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:09,263",
|
|
"created": 1608586389.2638261,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Timeout for authentification): 0.5021066665649414 (<class 'float'>)",
|
|
"module": "test",
|
|
"msecs": 263.8261318206787,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 8176.133155822754,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Timeout for authentification",
|
|
"0.5",
|
|
"0.55"
|
|
],
|
|
"asctime": "2020-12-21 22:33:09,264",
|
|
"created": 1608586389.2641158,
|
|
"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": 264.1158103942871,
|
|
"msg": "Expectation (%s): %s <= result <= %s",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 8176.422834396362,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 264.3282413482666,
|
|
"msg": "Timeout for authentification is correct (Content %s in [%s ... %s] and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 8176.635265350342,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0002124309539794922
|
|
},
|
|
{
|
|
"args": [
|
|
"0.20095443725585938",
|
|
"0.2",
|
|
"0.22000000000000003",
|
|
"<class 'float'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:09,465",
|
|
"created": 1608586389.4659371,
|
|
"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.20095443725585938 in [0.2 ... 0.22000000000000003] and Type is <class 'float'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0.2",
|
|
"30",
|
|
"0"
|
|
],
|
|
"asctime": "2020-12-21 22:33:09,465",
|
|
"created": 1608586389.4652781,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "receive",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 327,
|
|
"message": "SJP: TIMEOUT (0.2s): Requested data (service_id: 30; data_id: 0) not in buffer.",
|
|
"module": "__init__",
|
|
"msecs": 465.27814865112305,
|
|
"msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 8377.585172653198,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Timeout for send method",
|
|
"0.20095443725585938",
|
|
"<class 'float'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:09,465",
|
|
"created": 1608586389.4655933,
|
|
"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.20095443725585938 (<class 'float'>)",
|
|
"module": "test",
|
|
"msecs": 465.5933380126953,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 8377.90036201477,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Timeout for send method",
|
|
"0.2",
|
|
"0.22000000000000003"
|
|
],
|
|
"asctime": "2020-12-21 22:33:09,465",
|
|
"created": 1608586389.465767,
|
|
"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": 465.76690673828125,
|
|
"msg": "Expectation (%s): %s <= result <= %s",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 8378.073930740356,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 465.93713760375977,
|
|
"msg": "Timeout for send method is correct (Content %s in [%s ... %s] and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 8378.244161605835,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00017023086547851562
|
|
},
|
|
{
|
|
"args": [
|
|
"0.5017862319946289",
|
|
"0.5",
|
|
"0.55",
|
|
"<class 'float'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:09,968",
|
|
"created": 1608586389.968352,
|
|
"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.5017862319946289 in [0.5 ... 0.55] and Type is <class 'float'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0.5",
|
|
"30",
|
|
"0"
|
|
],
|
|
"asctime": "2020-12-21 22:33:09,967",
|
|
"created": 1608586389.9677086,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "receive",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 327,
|
|
"message": "SJP: TIMEOUT (0.5s): Requested data (service_id: 30; data_id: 0) not in buffer.",
|
|
"module": "__init__",
|
|
"msecs": 967.7085876464844,
|
|
"msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 8880.01561164856,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Timeout for send method",
|
|
"0.5017862319946289",
|
|
"<class 'float'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:09,968",
|
|
"created": 1608586389.9680188,
|
|
"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.5017862319946289 (<class 'float'>)",
|
|
"module": "test",
|
|
"msecs": 968.0187702178955,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 8880.32579421997,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Timeout for send method",
|
|
"0.5",
|
|
"0.55"
|
|
],
|
|
"asctime": "2020-12-21 22:33:09,968",
|
|
"created": 1608586389.9681895,
|
|
"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": 968.1894779205322,
|
|
"msg": "Expectation (%s): %s <= result <= %s",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 8880.496501922607,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 968.3520793914795,
|
|
"msg": "Timeout for send method is correct (Content %s in [%s ... %s] and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 8880.659103393555,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00016260147094726562
|
|
}
|
|
],
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 1.4100189208984375,
|
|
"time_finished": "2020-12-21 22:33:09,968",
|
|
"time_start": "2020-12-21 22:33:08,558"
|
|
},
|
|
"socket_protocol.pure_json_protocol: Wildcard Callback registration for data_id.": {
|
|
"args": null,
|
|
"asctime": "2020-12-21 22:33:05,415",
|
|
"created": 1608586385.4150748,
|
|
"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": 415.07482528686523,
|
|
"msg": "socket_protocol.pure_json_protocol: Wildcard Callback registration for data_id.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest/src/tests/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4327.38184928894,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:05,918",
|
|
"created": 1608586385.9186897,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_normal_operation.py",
|
|
"funcName": "wildcard_callback",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 96,
|
|
"message": "Send and received data by pure_json_protocol. Wildcard callback registerd for .",
|
|
"module": "test_normal_operation",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:05,415",
|
|
"created": 1608586385.415369,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__clean_receive_buffer__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 313,
|
|
"message": "SJP: Cleaning up receive-buffer",
|
|
"module": "__init__",
|
|
"msecs": 415.36903381347656,
|
|
"msg": "%s Cleaning up receive-buffer",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4327.676057815552,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:05,415",
|
|
"created": 1608586385.415672,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentification_state_reset__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 217,
|
|
"message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"module": "__init__",
|
|
"msecs": 415.67206382751465,
|
|
"msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4327.97908782959,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:05,415",
|
|
"created": 1608586385.4158628,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__clean_receive_buffer__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 313,
|
|
"message": "SJP: Cleaning up receive-buffer",
|
|
"module": "__init__",
|
|
"msecs": 415.8627986907959,
|
|
"msg": "%s Cleaning up receive-buffer",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4328.169822692871,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:05,416",
|
|
"created": 1608586385.4161448,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentification_state_reset__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 217,
|
|
"message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"module": "__init__",
|
|
"msecs": 416.14484786987305,
|
|
"msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4328.451871871948,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
0,
|
|
10,
|
|
48879,
|
|
"{'test': 'test'}"
|
|
],
|
|
"asctime": "2020-12-21 22:33:05,416",
|
|
"created": 1608586385.41635,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 0, service_id: 10, data_id: 48879, data: \"{'test': 'test'}\"",
|
|
"module": "__init__",
|
|
"msecs": 416.3498878479004,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4328.656911849976,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:05,416",
|
|
"created": 1608586385.4167783,
|
|
"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": 416.7783260345459,
|
|
"msg": "Send data: (79): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 7d cc a2 b9 e6",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4329.085350036621,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:05,567",
|
|
"created": 1608586385.567795,
|
|
"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": 567.7950382232666,
|
|
"msg": "Receive data (79): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 7d cc a2 b9 e6",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4480.102062225342,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-15"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0",
|
|
"10",
|
|
"48879",
|
|
"{'test': 'test'}"
|
|
],
|
|
"asctime": "2020-12-21 22:33:05,568",
|
|
"created": 1608586385.5682182,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 259,
|
|
"message": "SJP: RX <- status: 0, service_id: 10, data_id: 48879, data: \"{'test': 'test'}\"",
|
|
"module": "__init__",
|
|
"msecs": 568.2182312011719,
|
|
"msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4480.525255203247,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-15"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"response_data_method"
|
|
],
|
|
"asctime": "2020-12-21 22:33:05,568",
|
|
"created": 1608586385.568422,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 282,
|
|
"message": "SJP: Executing callback response_data_method to process received data",
|
|
"module": "__init__",
|
|
"msecs": 568.4220790863037,
|
|
"msg": "%s Executing callback %s to process received data",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4480.729103088379,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-15"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
5,
|
|
11,
|
|
48879,
|
|
"[1, 3, 's']"
|
|
],
|
|
"asctime": "2020-12-21 22:33:05,568",
|
|
"created": 1608586385.568629,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 5, service_id: 11, data_id: 48879, data: \"[1, 3, 's']\"",
|
|
"module": "__init__",
|
|
"msecs": 568.6290264129639,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4480.936050415039,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-15"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:05,569",
|
|
"created": 1608586385.5690382,
|
|
"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": 569.0381526947021,
|
|
"msg": "Send data: (74): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 7d 7d 1e 6e 1b",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4481.345176696777,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-15"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:05,719",
|
|
"created": 1608586385.7199888,
|
|
"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": 719.9888229370117,
|
|
"msg": "Receive data (74): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 7d 7d 1e 6e 1b",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4632.295846939087,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-16"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"5",
|
|
"11",
|
|
"48879",
|
|
"[1, 3, 's']"
|
|
],
|
|
"asctime": "2020-12-21 22:33:05,720",
|
|
"created": 1608586385.7204137,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 259,
|
|
"message": "SJP: RX <- status: 5, service_id: 11, data_id: 48879, data: \"[1, 3, 's']\"",
|
|
"module": "__init__",
|
|
"msecs": 720.4136848449707,
|
|
"msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4632.720708847046,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-16"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"Operation not permitted"
|
|
],
|
|
"asctime": "2020-12-21 22:33:05,720",
|
|
"created": 1608586385.7206457,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 292,
|
|
"message": "SJP: Received message has a peculiar status: Operation not permitted",
|
|
"module": "__init__",
|
|
"msecs": 720.6456661224365,
|
|
"msg": "%s Received message has a peculiar status: %s",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4632.952690124512,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-16"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:05,720",
|
|
"created": 1608586385.7209022,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__buffer_received_data__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 310,
|
|
"message": "SJP: Message data is stored in buffer and is now ready to be retrieved by receive method",
|
|
"module": "__init__",
|
|
"msecs": 720.9022045135498,
|
|
"msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4633.209228515625,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-16"
|
|
}
|
|
],
|
|
"msecs": 918.6897277832031,
|
|
"msg": "Send and received data by pure_json_protocol. Wildcard callback registerd for .",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_normal_operation.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4830.996751785278,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.19778752326965332
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:05,919",
|
|
"created": 1608586385.919553,
|
|
"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 <class 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Return value of send method",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:05,919",
|
|
"created": 1608586385.9191818,
|
|
"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 (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 919.1818237304688,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4831.488847732544,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return value of send method",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:05,919",
|
|
"created": 1608586385.9193654,
|
|
"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 (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 919.365406036377,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4831.672430038452,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 919.5530414581299,
|
|
"msg": "Return value of send method is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4831.860065460205,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001876354217529297
|
|
},
|
|
{
|
|
"args": [
|
|
"0",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:05,920",
|
|
"created": 1608586385.920113,
|
|
"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 <class 'int'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Request Status (Okay) transfered via pure_json_protocol",
|
|
"0",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:05,919",
|
|
"created": 1608586385.9198022,
|
|
"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 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 919.802188873291,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4832.109212875366,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Request Status (Okay) transfered via pure_json_protocol",
|
|
"0",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:05,919",
|
|
"created": 1608586385.9199607,
|
|
"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 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 919.9607372283936,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4832.267761230469,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 920.1130867004395,
|
|
"msg": "Request Status (Okay) transfered via pure_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4832.420110702515,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00015234947204589844
|
|
},
|
|
{
|
|
"args": [
|
|
"{'test': 'test'}",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:05,920",
|
|
"created": 1608586385.9206898,
|
|
"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 <class 'dict'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Request Data transfered via pure_json_protocol",
|
|
"{ 'test': 'test' }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:05,920",
|
|
"created": 1608586385.920348,
|
|
"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' } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 920.3479290008545,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4832.65495300293,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Request Data transfered via pure_json_protocol",
|
|
"{ 'test': 'test' }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:05,920",
|
|
"created": 1608586385.9204988,
|
|
"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' } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 920.4988479614258,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4832.805871963501,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 920.6898212432861,
|
|
"msg": "Request Data transfered via pure_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4832.996845245361,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00019097328186035156
|
|
},
|
|
{
|
|
"args": [
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:05,921",
|
|
"created": 1608586385.9212704,
|
|
"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 <class 'int'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Response Status (Operation not permitted) transfered via pure_json_protocol",
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:05,920",
|
|
"created": 1608586385.92099,
|
|
"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 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 920.989990234375,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4833.29701423645,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Response Status (Operation not permitted) transfered via pure_json_protocol",
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:05,921",
|
|
"created": 1608586385.9211338,
|
|
"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 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 921.1337566375732,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4833.440780639648,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 921.2703704833984,
|
|
"msg": "Response Status (Operation not permitted) transfered via pure_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4833.577394485474,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001366138458251953
|
|
},
|
|
{
|
|
"args": [
|
|
"[1, 3, 's']",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:05,921",
|
|
"created": 1608586385.9218447,
|
|
"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 <class 'list'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Response Data transfered via pure_json_protocol",
|
|
"[ 1, 3, 's' ]",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:05,921",
|
|
"created": 1608586385.921503,
|
|
"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' ] (<class 'list'>)",
|
|
"module": "test",
|
|
"msecs": 921.5030670166016,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4833.810091018677,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Response Data transfered via pure_json_protocol",
|
|
"[ 1, 3, 's' ]",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:05,921",
|
|
"created": 1608586385.9216557,
|
|
"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' ] (<class 'list'>)",
|
|
"module": "test",
|
|
"msecs": 921.6556549072266,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4833.962678909302,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 921.8447208404541,
|
|
"msg": "Response Data transfered via pure_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4834.151744842529,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00018906593322753906
|
|
},
|
|
{
|
|
"args": [
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:06,023",
|
|
"created": 1608586386.0230963,
|
|
"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 <class 'NoneType'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0.1",
|
|
"11",
|
|
"48879"
|
|
],
|
|
"asctime": "2020-12-21 22:33:06,022",
|
|
"created": 1608586386.0224063,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "receive",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 327,
|
|
"message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 48879) not in buffer.",
|
|
"module": "__init__",
|
|
"msecs": 22.406339645385742,
|
|
"msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4934.713363647461,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef",
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:06,022",
|
|
"created": 1608586386.0227187,
|
|
"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 (<class 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 22.71866798400879,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4935.025691986084,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef",
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:06,022",
|
|
"created": 1608586386.0229118,
|
|
"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 (<class 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 22.911787033081055,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4935.218811035156,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 23.096323013305664,
|
|
"msg": "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4935.403347015381,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00018453598022460938
|
|
},
|
|
{
|
|
"args": [
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:06,124",
|
|
"created": 1608586386.1243176,
|
|
"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 <class 'NoneType'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0.1",
|
|
"10",
|
|
"48879"
|
|
],
|
|
"asctime": "2020-12-21 22:33:06,123",
|
|
"created": 1608586386.123685,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "receive",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 327,
|
|
"message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 48879) not in buffer.",
|
|
"module": "__init__",
|
|
"msecs": 123.68488311767578,
|
|
"msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5035.991907119751,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef",
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:06,123",
|
|
"created": 1608586386.1239984,
|
|
"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 (<class 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 123.99840354919434,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5036.3054275512695,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef",
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:06,124",
|
|
"created": 1608586386.1241646,
|
|
"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 (<class 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 124.16458129882812,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5036.471605300903,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 124.31764602661133,
|
|
"msg": "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5036.6246700286865,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00015306472778320312
|
|
}
|
|
],
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.7092428207397461,
|
|
"time_finished": "2020-12-21 22:33:06,124",
|
|
"time_start": "2020-12-21 22:33:05,415"
|
|
},
|
|
"socket_protocol.pure_json_protocol: Wildcard Callback registration for service_id and data_id.": {
|
|
"args": null,
|
|
"asctime": "2020-12-21 22:33:03,995",
|
|
"created": 1608586383.9951317,
|
|
"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": 995.1317310333252,
|
|
"msg": "socket_protocol.pure_json_protocol: Wildcard Callback registration for service_id and data_id.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest/src/tests/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2907.4387550354004,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:04,498",
|
|
"created": 1608586384.4985282,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_normal_operation.py",
|
|
"funcName": "wildcard_callback",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 96,
|
|
"message": "Send and received data by pure_json_protocol. Wildcard callback registerd for service_id and data_id.",
|
|
"module": "test_normal_operation",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:03,995",
|
|
"created": 1608586383.9954324,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__clean_receive_buffer__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 313,
|
|
"message": "SJP: Cleaning up receive-buffer",
|
|
"module": "__init__",
|
|
"msecs": 995.4323768615723,
|
|
"msg": "%s Cleaning up receive-buffer",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2907.7394008636475,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:03,995",
|
|
"created": 1608586383.9957392,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentification_state_reset__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 217,
|
|
"message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"module": "__init__",
|
|
"msecs": 995.739221572876,
|
|
"msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2908.046245574951,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:03,995",
|
|
"created": 1608586383.9959285,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__clean_receive_buffer__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 313,
|
|
"message": "SJP: Cleaning up receive-buffer",
|
|
"module": "__init__",
|
|
"msecs": 995.9285259246826,
|
|
"msg": "%s Cleaning up receive-buffer",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2908.235549926758,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:03,996",
|
|
"created": 1608586383.9962037,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentification_state_reset__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 217,
|
|
"message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"module": "__init__",
|
|
"msecs": 996.2036609649658,
|
|
"msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2908.510684967041,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
0,
|
|
10,
|
|
48879,
|
|
"{'test': 'test'}"
|
|
],
|
|
"asctime": "2020-12-21 22:33:03,996",
|
|
"created": 1608586383.9964077,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 0, service_id: 10, data_id: 48879, data: \"{'test': 'test'}\"",
|
|
"module": "__init__",
|
|
"msecs": 996.4077472686768,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2908.714771270752,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:03,996",
|
|
"created": 1608586383.9968143,
|
|
"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": 996.8142509460449,
|
|
"msg": "Send data: (79): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 7d cc a2 b9 e6",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2909.12127494812,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:04,147",
|
|
"created": 1608586384.1475015,
|
|
"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": 147.50146865844727,
|
|
"msg": "Receive data (79): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 7d cc a2 b9 e6",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3059.8084926605225,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-11"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0",
|
|
"10",
|
|
"48879",
|
|
"{'test': 'test'}"
|
|
],
|
|
"asctime": "2020-12-21 22:33:04,147",
|
|
"created": 1608586384.147894,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 259,
|
|
"message": "SJP: RX <- status: 0, service_id: 10, data_id: 48879, data: \"{'test': 'test'}\"",
|
|
"module": "__init__",
|
|
"msecs": 147.89390563964844,
|
|
"msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3060.2009296417236,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-11"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"response_data_method"
|
|
],
|
|
"asctime": "2020-12-21 22:33:04,148",
|
|
"created": 1608586384.148086,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 282,
|
|
"message": "SJP: Executing callback response_data_method to process received data",
|
|
"module": "__init__",
|
|
"msecs": 148.0860710144043,
|
|
"msg": "%s Executing callback %s to process received data",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3060.3930950164795,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-11"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
5,
|
|
11,
|
|
48879,
|
|
"[1, 3, 's']"
|
|
],
|
|
"asctime": "2020-12-21 22:33:04,148",
|
|
"created": 1608586384.1482327,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 5, service_id: 11, data_id: 48879, data: \"[1, 3, 's']\"",
|
|
"module": "__init__",
|
|
"msecs": 148.23269844055176,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3060.539722442627,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-11"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:04,148",
|
|
"created": 1608586384.148552,
|
|
"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": 148.55194091796875,
|
|
"msg": "Send data: (74): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 7d 7d 1e 6e 1b",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3060.858964920044,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-11"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:04,299",
|
|
"created": 1608586384.2995336,
|
|
"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": 299.5336055755615,
|
|
"msg": "Receive data (74): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 7d 7d 1e 6e 1b",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3211.8406295776367,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-12"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"5",
|
|
"11",
|
|
"48879",
|
|
"[1, 3, 's']"
|
|
],
|
|
"asctime": "2020-12-21 22:33:04,299",
|
|
"created": 1608586384.2999825,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 259,
|
|
"message": "SJP: RX <- status: 5, service_id: 11, data_id: 48879, data: \"[1, 3, 's']\"",
|
|
"module": "__init__",
|
|
"msecs": 299.98254776000977,
|
|
"msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3212.289571762085,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-12"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"Operation not permitted"
|
|
],
|
|
"asctime": "2020-12-21 22:33:04,300",
|
|
"created": 1608586384.3002317,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 292,
|
|
"message": "SJP: Received message has a peculiar status: Operation not permitted",
|
|
"module": "__init__",
|
|
"msecs": 300.2316951751709,
|
|
"msg": "%s Received message has a peculiar status: %s",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3212.538719177246,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-12"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:04,300",
|
|
"created": 1608586384.3004196,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__buffer_received_data__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 310,
|
|
"message": "SJP: Message data is stored in buffer and is now ready to be retrieved by receive method",
|
|
"module": "__init__",
|
|
"msecs": 300.41956901550293,
|
|
"msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3212.726593017578,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-12"
|
|
}
|
|
],
|
|
"msecs": 498.52824211120605,
|
|
"msg": "Send and received data by pure_json_protocol. Wildcard callback registerd for service_id and data_id.",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_normal_operation.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3410.8352661132812,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.19810867309570312
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:04,499",
|
|
"created": 1608586384.4993036,
|
|
"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 <class 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Return value of send method",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:04,498",
|
|
"created": 1608586384.4989696,
|
|
"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 (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 498.96955490112305,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3411.2765789031982,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return value of send method",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:04,499",
|
|
"created": 1608586384.4991484,
|
|
"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 (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 499.1483688354492,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3411.4553928375244,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 499.30357933044434,
|
|
"msg": "Return value of send method is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3411.6106033325195,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001552104949951172
|
|
},
|
|
{
|
|
"args": [
|
|
"0",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:04,499",
|
|
"created": 1608586384.49982,
|
|
"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 <class 'int'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Request Status (Okay) transfered via pure_json_protocol",
|
|
"0",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:04,499",
|
|
"created": 1608586384.4995372,
|
|
"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 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 499.53722953796387,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3411.844253540039,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Request Status (Okay) transfered via pure_json_protocol",
|
|
"0",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:04,499",
|
|
"created": 1608586384.4996812,
|
|
"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 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 499.6812343597412,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3411.9882583618164,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 499.8199939727783,
|
|
"msg": "Request Status (Okay) transfered via pure_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3412.1270179748535,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00013875961303710938
|
|
},
|
|
{
|
|
"args": [
|
|
"{'test': 'test'}",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:04,500",
|
|
"created": 1608586384.5004294,
|
|
"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 <class 'dict'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Request Data transfered via pure_json_protocol",
|
|
"{ 'test': 'test' }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:04,500",
|
|
"created": 1608586384.5000806,
|
|
"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' } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 500.0805854797363,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3412.3876094818115,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Request Data transfered via pure_json_protocol",
|
|
"{ 'test': 'test' }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:04,500",
|
|
"created": 1608586384.5002356,
|
|
"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' } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 500.23555755615234,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3412.5425815582275,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 500.4293918609619,
|
|
"msg": "Request Data transfered via pure_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3412.736415863037,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001938343048095703
|
|
},
|
|
{
|
|
"args": [
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:04,501",
|
|
"created": 1608586384.5011675,
|
|
"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 <class 'int'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Response Status (Operation not permitted) transfered via pure_json_protocol",
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:04,500",
|
|
"created": 1608586384.5008569,
|
|
"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 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 500.856876373291,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3413.163900375366,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Response Status (Operation not permitted) transfered via pure_json_protocol",
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:04,501",
|
|
"created": 1608586384.5010262,
|
|
"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 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 501.0261535644531,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3413.3331775665283,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 501.16753578186035,
|
|
"msg": "Response Status (Operation not permitted) transfered via pure_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3413.4745597839355,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00014138221740722656
|
|
},
|
|
{
|
|
"args": [
|
|
"[1, 3, 's']",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:04,501",
|
|
"created": 1608586384.501764,
|
|
"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 <class 'list'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Response Data transfered via pure_json_protocol",
|
|
"[ 1, 3, 's' ]",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:04,501",
|
|
"created": 1608586384.5014064,
|
|
"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' ] (<class 'list'>)",
|
|
"module": "test",
|
|
"msecs": 501.4064311981201,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3413.7134552001953,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Response Data transfered via pure_json_protocol",
|
|
"[ 1, 3, 's' ]",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:04,501",
|
|
"created": 1608586384.5015607,
|
|
"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' ] (<class 'list'>)",
|
|
"module": "test",
|
|
"msecs": 501.5606880187988,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3413.867712020874,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 501.76405906677246,
|
|
"msg": "Response Data transfered via pure_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3414.0710830688477,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0002033710479736328
|
|
},
|
|
{
|
|
"args": [
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:04,603",
|
|
"created": 1608586384.6032321,
|
|
"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 <class 'NoneType'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0.1",
|
|
"11",
|
|
"48879"
|
|
],
|
|
"asctime": "2020-12-21 22:33:04,602",
|
|
"created": 1608586384.6023703,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "receive",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 327,
|
|
"message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 48879) not in buffer.",
|
|
"module": "__init__",
|
|
"msecs": 602.3702621459961,
|
|
"msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3514.6772861480713,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef",
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:04,602",
|
|
"created": 1608586384.6028464,
|
|
"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 (<class 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 602.8463840484619,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3515.153408050537,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef",
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:04,603",
|
|
"created": 1608586384.6030533,
|
|
"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 (<class 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 603.0533313751221,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3515.3603553771973,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 603.2321453094482,
|
|
"msg": "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3515.5391693115234,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00017881393432617188
|
|
},
|
|
{
|
|
"args": [
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:04,704",
|
|
"created": 1608586384.7044988,
|
|
"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 <class 'NoneType'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0.1",
|
|
"10",
|
|
"48879"
|
|
],
|
|
"asctime": "2020-12-21 22:33:04,703",
|
|
"created": 1608586384.703822,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "receive",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 327,
|
|
"message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 48879) not in buffer.",
|
|
"module": "__init__",
|
|
"msecs": 703.8218975067139,
|
|
"msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3616.128921508789,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef",
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:04,704",
|
|
"created": 1608586384.704132,
|
|
"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 (<class 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 704.132080078125,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3616.4391040802,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef",
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:04,704",
|
|
"created": 1608586384.7043417,
|
|
"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 (<class 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 704.3416500091553,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3616.6486740112305,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 704.4987678527832,
|
|
"msg": "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3616.8057918548584,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001571178436279297
|
|
}
|
|
],
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.709367036819458,
|
|
"time_finished": "2020-12-21 22:33:04,704",
|
|
"time_start": "2020-12-21 22:33:03,995"
|
|
},
|
|
"socket_protocol.pure_json_protocol: Wildcard Callback registration for service_id.": {
|
|
"args": null,
|
|
"asctime": "2020-12-21 22:33:04,705",
|
|
"created": 1608586384.7050614,
|
|
"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": 705.0614356994629,
|
|
"msg": "socket_protocol.pure_json_protocol: Wildcard Callback registration for service_id.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest/src/tests/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3617.368459701538,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:05,209",
|
|
"created": 1608586385.209028,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_normal_operation.py",
|
|
"funcName": "wildcard_callback",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 96,
|
|
"message": "Send and received data by pure_json_protocol. Wildcard callback registerd for service_id.",
|
|
"module": "test_normal_operation",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:04,705",
|
|
"created": 1608586384.705363,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__clean_receive_buffer__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 313,
|
|
"message": "SJP: Cleaning up receive-buffer",
|
|
"module": "__init__",
|
|
"msecs": 705.3630352020264,
|
|
"msg": "%s Cleaning up receive-buffer",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3617.6700592041016,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:04,705",
|
|
"created": 1608586384.7056727,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentification_state_reset__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 217,
|
|
"message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"module": "__init__",
|
|
"msecs": 705.6727409362793,
|
|
"msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3617.9797649383545,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:04,705",
|
|
"created": 1608586384.7058542,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__clean_receive_buffer__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 313,
|
|
"message": "SJP: Cleaning up receive-buffer",
|
|
"module": "__init__",
|
|
"msecs": 705.8541774749756,
|
|
"msg": "%s Cleaning up receive-buffer",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3618.161201477051,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:04,706",
|
|
"created": 1608586384.7061257,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentification_state_reset__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 217,
|
|
"message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"module": "__init__",
|
|
"msecs": 706.1257362365723,
|
|
"msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3618.4327602386475,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
0,
|
|
10,
|
|
48879,
|
|
"{'test': 'test'}"
|
|
],
|
|
"asctime": "2020-12-21 22:33:04,706",
|
|
"created": 1608586384.7063382,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 0, service_id: 10, data_id: 48879, data: \"{'test': 'test'}\"",
|
|
"module": "__init__",
|
|
"msecs": 706.3381671905518,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3618.645191192627,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:04,706",
|
|
"created": 1608586384.70677,
|
|
"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": 706.7699432373047,
|
|
"msg": "Send data: (79): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 7d cc a2 b9 e6",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3619.07696723938,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:04,858",
|
|
"created": 1608586384.858055,
|
|
"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": 858.0551147460938,
|
|
"msg": "Receive data (79): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 30 2c 20 22 73 74 61 74 75 73 22 3a 20 30 2c 20 22 64 61 74 61 22 3a 20 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 7d cc a2 b9 e6",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3770.362138748169,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-13"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0",
|
|
"10",
|
|
"48879",
|
|
"{'test': 'test'}"
|
|
],
|
|
"asctime": "2020-12-21 22:33:04,858",
|
|
"created": 1608586384.8585277,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 259,
|
|
"message": "SJP: RX <- status: 0, service_id: 10, data_id: 48879, data: \"{'test': 'test'}\"",
|
|
"module": "__init__",
|
|
"msecs": 858.527660369873,
|
|
"msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3770.8346843719482,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-13"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"response_data_method"
|
|
],
|
|
"asctime": "2020-12-21 22:33:04,858",
|
|
"created": 1608586384.8587494,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 282,
|
|
"message": "SJP: Executing callback response_data_method to process received data",
|
|
"module": "__init__",
|
|
"msecs": 858.7493896484375,
|
|
"msg": "%s Executing callback %s to process received data",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3771.0564136505127,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-13"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
5,
|
|
11,
|
|
48879,
|
|
"[1, 3, 's']"
|
|
],
|
|
"asctime": "2020-12-21 22:33:04,858",
|
|
"created": 1608586384.8589337,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 5, service_id: 11, data_id: 48879, data: \"[1, 3, 's']\"",
|
|
"module": "__init__",
|
|
"msecs": 858.933687210083,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3771.240711212158,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-13"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:04,859",
|
|
"created": 1608586384.8593235,
|
|
"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": 859.3235015869141,
|
|
"msg": "Send data: (74): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 7d 7d 1e 6e 1b",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3771.6305255889893,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-13"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:05,010",
|
|
"created": 1608586385.010317,
|
|
"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": 10.317087173461914,
|
|
"msg": "Receive data (74): 7b 22 64 61 74 61 5f 69 64 22 3a 20 34 38 38 37 39 2c 20 22 73 65 72 76 69 63 65 5f 69 64 22 3a 20 31 31 2c 20 22 73 74 61 74 75 73 22 3a 20 35 2c 20 22 64 61 74 61 22 3a 20 5b 31 2c 20 33 2c 20 22 73 22 5d 7d 7d 1e 6e 1b",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3922.624111175537,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-14"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"5",
|
|
"11",
|
|
"48879",
|
|
"[1, 3, 's']"
|
|
],
|
|
"asctime": "2020-12-21 22:33:05,010",
|
|
"created": 1608586385.010739,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 259,
|
|
"message": "SJP: RX <- status: 5, service_id: 11, data_id: 48879, data: \"[1, 3, 's']\"",
|
|
"module": "__init__",
|
|
"msecs": 10.73908805847168,
|
|
"msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3923.046112060547,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-14"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"Operation not permitted"
|
|
],
|
|
"asctime": "2020-12-21 22:33:05,010",
|
|
"created": 1608586385.0109746,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 292,
|
|
"message": "SJP: Received message has a peculiar status: Operation not permitted",
|
|
"module": "__init__",
|
|
"msecs": 10.974645614624023,
|
|
"msg": "%s Received message has a peculiar status: %s",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3923.281669616699,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-14"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:05,011",
|
|
"created": 1608586385.0111573,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__buffer_received_data__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 310,
|
|
"message": "SJP: Message data is stored in buffer and is now ready to be retrieved by receive method",
|
|
"module": "__init__",
|
|
"msecs": 11.15727424621582,
|
|
"msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3923.464298248291,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-14"
|
|
}
|
|
],
|
|
"msecs": 209.0280055999756,
|
|
"msg": "Send and received data by pure_json_protocol. Wildcard callback registerd for service_id.",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_normal_operation.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4121.335029602051,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.19787073135375977
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:05,209",
|
|
"created": 1608586385.209863,
|
|
"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 <class 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Return value of send method",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:05,209",
|
|
"created": 1608586385.2094898,
|
|
"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 (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 209.4898223876953,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4121.7968463897705,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return value of send method",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:05,209",
|
|
"created": 1608586385.209697,
|
|
"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 (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 209.69700813293457,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4122.00403213501,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 209.86294746398926,
|
|
"msg": "Return value of send method is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4122.169971466064,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001659393310546875
|
|
},
|
|
{
|
|
"args": [
|
|
"0",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:05,210",
|
|
"created": 1608586385.2103958,
|
|
"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 <class 'int'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Request Status (Okay) transfered via pure_json_protocol",
|
|
"0",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:05,210",
|
|
"created": 1608586385.210099,
|
|
"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 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 210.0989818572998,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4122.406005859375,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Request Status (Okay) transfered via pure_json_protocol",
|
|
"0",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:05,210",
|
|
"created": 1608586385.2102447,
|
|
"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 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 210.24465560913086,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4122.551679611206,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 210.39581298828125,
|
|
"msg": "Request Status (Okay) transfered via pure_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4122.702836990356,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00015115737915039062
|
|
},
|
|
{
|
|
"args": [
|
|
"{'test': 'test'}",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:05,210",
|
|
"created": 1608586385.2109714,
|
|
"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 <class 'dict'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Request Data transfered via pure_json_protocol",
|
|
"{ 'test': 'test' }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:05,210",
|
|
"created": 1608586385.2106342,
|
|
"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' } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 210.6342315673828,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4122.941255569458,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Request Data transfered via pure_json_protocol",
|
|
"{ 'test': 'test' }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:05,210",
|
|
"created": 1608586385.2107842,
|
|
"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' } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 210.7841968536377,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4123.091220855713,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 210.97135543823242,
|
|
"msg": "Request Data transfered via pure_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4123.278379440308,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00018715858459472656
|
|
},
|
|
{
|
|
"args": [
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:05,211",
|
|
"created": 1608586385.2114906,
|
|
"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 <class 'int'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Response Status (Operation not permitted) transfered via pure_json_protocol",
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:05,211",
|
|
"created": 1608586385.2112021,
|
|
"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 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 211.20214462280273,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4123.509168624878,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Response Status (Operation not permitted) transfered via pure_json_protocol",
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:05,211",
|
|
"created": 1608586385.211354,
|
|
"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 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 211.35401725769043,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4123.661041259766,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 211.49063110351562,
|
|
"msg": "Response Status (Operation not permitted) transfered via pure_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4123.797655105591,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001366138458251953
|
|
},
|
|
{
|
|
"args": [
|
|
"[1, 3, 's']",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:05,212",
|
|
"created": 1608586385.2120965,
|
|
"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 <class 'list'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Response Data transfered via pure_json_protocol",
|
|
"[ 1, 3, 's' ]",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:05,211",
|
|
"created": 1608586385.211722,
|
|
"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' ] (<class 'list'>)",
|
|
"module": "test",
|
|
"msecs": 211.72189712524414,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4124.028921127319,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Response Data transfered via pure_json_protocol",
|
|
"[ 1, 3, 's' ]",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:05,211",
|
|
"created": 1608586385.2118938,
|
|
"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' ] (<class 'list'>)",
|
|
"module": "test",
|
|
"msecs": 211.89379692077637,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4124.200820922852,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 212.0964527130127,
|
|
"msg": "Response Data transfered via pure_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4124.403476715088,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00020265579223632812
|
|
},
|
|
{
|
|
"args": [
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:05,313",
|
|
"created": 1608586385.3133028,
|
|
"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 <class 'NoneType'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0.1",
|
|
"11",
|
|
"48879"
|
|
],
|
|
"asctime": "2020-12-21 22:33:05,312",
|
|
"created": 1608586385.3126025,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "receive",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 327,
|
|
"message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 48879) not in buffer.",
|
|
"module": "__init__",
|
|
"msecs": 312.6025199890137,
|
|
"msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4224.909543991089,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef",
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:05,312",
|
|
"created": 1608586385.3129513,
|
|
"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 (<class 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 312.95132637023926,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4225.258350372314,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef",
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:05,313",
|
|
"created": 1608586385.313143,
|
|
"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 (<class 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 313.1430149078369,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4225.450038909912,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 313.30275535583496,
|
|
"msg": "Return Value (request instance) for pure_json_protocol.receive with data data_id 0xbeef is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4225.60977935791,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00015974044799804688
|
|
},
|
|
{
|
|
"args": [
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:05,414",
|
|
"created": 1608586385.4145482,
|
|
"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 <class 'NoneType'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0.1",
|
|
"10",
|
|
"48879"
|
|
],
|
|
"asctime": "2020-12-21 22:33:05,413",
|
|
"created": 1608586385.4138753,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "receive",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 327,
|
|
"message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 48879) not in buffer.",
|
|
"module": "__init__",
|
|
"msecs": 413.8753414154053,
|
|
"msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4326.1823654174805,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef",
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:05,414",
|
|
"created": 1608586385.4142218,
|
|
"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 (<class 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 414.22176361083984,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4326.528787612915,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef",
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:05,414",
|
|
"created": 1608586385.414392,
|
|
"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 (<class 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 414.39199447631836,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4326.699018478394,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 414.5481586456299,
|
|
"msg": "Return Value (response instance) for pure_json_protocol.receive with data data_id 0xbeef is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4326.855182647705,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00015616416931152344
|
|
}
|
|
],
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.709486722946167,
|
|
"time_finished": "2020-12-21 22:33:05,414",
|
|
"time_start": "2020-12-21 22:33:04,705"
|
|
},
|
|
"socket_protocol.struct_json_protocol: Send and receive check (Twice for coverage of buffer initialisation).": {
|
|
"args": null,
|
|
"asctime": "2020-12-21 22:33:06,835",
|
|
"created": 1608586386.8350804,
|
|
"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": 835.0803852081299,
|
|
"msg": "socket_protocol.struct_json_protocol: Send and receive check (Twice for coverage of buffer initialisation).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest/src/tests/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5747.387409210205,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:07,841",
|
|
"created": 1608586387.8413422,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_normal_operation.py",
|
|
"funcName": "send_n_receive",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 42,
|
|
"message": "Send and received data by struct_json_protocol.",
|
|
"module": "test_normal_operation",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:06,835",
|
|
"created": 1608586386.8353722,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__clean_receive_buffer__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 313,
|
|
"message": "SJP: Cleaning up receive-buffer",
|
|
"module": "__init__",
|
|
"msecs": 835.3722095489502,
|
|
"msg": "%s Cleaning up receive-buffer",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5747.679233551025,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:06,835",
|
|
"created": 1608586386.835683,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentification_state_reset__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 217,
|
|
"message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"module": "__init__",
|
|
"msecs": 835.6831073760986,
|
|
"msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5747.990131378174,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:06,835",
|
|
"created": 1608586386.8359346,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__clean_receive_buffer__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 313,
|
|
"message": "SJP: Cleaning up receive-buffer",
|
|
"module": "__init__",
|
|
"msecs": 835.9346389770508,
|
|
"msg": "%s Cleaning up receive-buffer",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5748.241662979126,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:06,836",
|
|
"created": 1608586386.8362856,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentification_state_reset__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 217,
|
|
"message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"module": "__init__",
|
|
"msecs": 836.2855911254883,
|
|
"msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5748.5926151275635,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
0,
|
|
10,
|
|
45054,
|
|
"{'test': 'test'}"
|
|
],
|
|
"asctime": "2020-12-21 22:33:06,836",
|
|
"created": 1608586386.8365014,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 0, service_id: 10, data_id: 45054, data: \"{'test': 'test'}\"",
|
|
"module": "__init__",
|
|
"msecs": 836.5013599395752,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5748.80838394165,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:06,836",
|
|
"created": 1608586386.8369067,
|
|
"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": 836.9066715240479,
|
|
"msg": "Send data: (29): 00 00 00 00 00 00 00 0a 00 00 af fe 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 47",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5749.213695526123,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:06,987",
|
|
"created": 1608586386.987849,
|
|
"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": 987.8489971160889,
|
|
"msg": "Receive data (29): 00 00 00 00 00 00 00 0a 00 00 af fe 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 47",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5900.156021118164,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-19"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0",
|
|
"10",
|
|
"45054",
|
|
"{'test': 'test'}"
|
|
],
|
|
"asctime": "2020-12-21 22:33:06,988",
|
|
"created": 1608586386.9883378,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 259,
|
|
"message": "SJP: RX <- status: 0, service_id: 10, data_id: 45054, data: \"{'test': 'test'}\"",
|
|
"module": "__init__",
|
|
"msecs": 988.3377552032471,
|
|
"msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5900.644779205322,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-19"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"response_data_method"
|
|
],
|
|
"asctime": "2020-12-21 22:33:06,988",
|
|
"created": 1608586386.9885995,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 282,
|
|
"message": "SJP: Executing callback response_data_method to process received data",
|
|
"module": "__init__",
|
|
"msecs": 988.5995388031006,
|
|
"msg": "%s Executing callback %s to process received data",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5900.906562805176,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-19"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
5,
|
|
11,
|
|
45054,
|
|
"[1, 3, 's']"
|
|
],
|
|
"asctime": "2020-12-21 22:33:06,988",
|
|
"created": 1608586386.9888463,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, 's']\"",
|
|
"module": "__init__",
|
|
"msecs": 988.8463020324707,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5901.153326034546,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-19"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:06,989",
|
|
"created": 1608586386.9891772,
|
|
"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.1772270202637,
|
|
"msg": "Send data: (24): 00 00 00 05 00 00 00 0b 00 00 af fe 5b 31 2c 20 33 2c 20 22 73 22 5d 28",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5901.484251022339,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-19"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:07,140",
|
|
"created": 1608586387.140101,
|
|
"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.10095596313477,
|
|
"msg": "Receive data (24): 00 00 00 05 00 00 00 0b 00 00 af fe 5b 31 2c 20 33 2c 20 22 73 22 5d 28",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6052.40797996521,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-20"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"5",
|
|
"11",
|
|
"45054",
|
|
"[1, 3, 's']"
|
|
],
|
|
"asctime": "2020-12-21 22:33:07,140",
|
|
"created": 1608586387.140585,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 259,
|
|
"message": "SJP: RX <- status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, 's']\"",
|
|
"module": "__init__",
|
|
"msecs": 140.58494567871094,
|
|
"msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6052.891969680786,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-20"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"Operation not permitted"
|
|
],
|
|
"asctime": "2020-12-21 22:33:07,140",
|
|
"created": 1608586387.1408508,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 292,
|
|
"message": "SJP: Received message has a peculiar status: Operation not permitted",
|
|
"module": "__init__",
|
|
"msecs": 140.85078239440918,
|
|
"msg": "%s Received message has a peculiar status: %s",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6053.157806396484,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-20"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:07,141",
|
|
"created": 1608586387.1410503,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__buffer_received_data__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 310,
|
|
"message": "SJP: Message data is stored in buffer and is now ready to be retrieved by receive method",
|
|
"module": "__init__",
|
|
"msecs": 141.0503387451172,
|
|
"msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6053.357362747192,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-20"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
0,
|
|
10,
|
|
45054,
|
|
"{'test': 'test'}"
|
|
],
|
|
"asctime": "2020-12-21 22:33:07,338",
|
|
"created": 1608586387.338942,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 0, service_id: 10, data_id: 45054, data: \"{'test': 'test'}\"",
|
|
"module": "__init__",
|
|
"msecs": 338.9420509338379,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6251.249074935913,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:07,339",
|
|
"created": 1608586387.3394125,
|
|
"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": 339.4124507904053,
|
|
"msg": "Send data: (29): 00 00 00 00 00 00 00 0a 00 00 af fe 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 47",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6251.7194747924805,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:07,490",
|
|
"created": 1608586387.4903026,
|
|
"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": 490.30256271362305,
|
|
"msg": "Receive data (29): 00 00 00 00 00 00 00 0a 00 00 af fe 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 47",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6402.609586715698,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-21"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0",
|
|
"10",
|
|
"45054",
|
|
"{'test': 'test'}"
|
|
],
|
|
"asctime": "2020-12-21 22:33:07,490",
|
|
"created": 1608586387.490803,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 259,
|
|
"message": "SJP: RX <- status: 0, service_id: 10, data_id: 45054, data: \"{'test': 'test'}\"",
|
|
"module": "__init__",
|
|
"msecs": 490.8030033111572,
|
|
"msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6403.110027313232,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-21"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"response_data_method"
|
|
],
|
|
"asctime": "2020-12-21 22:33:07,491",
|
|
"created": 1608586387.4910064,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 282,
|
|
"message": "SJP: Executing callback response_data_method to process received data",
|
|
"module": "__init__",
|
|
"msecs": 491.00637435913086,
|
|
"msg": "%s Executing callback %s to process received data",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6403.313398361206,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-21"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
5,
|
|
11,
|
|
45054,
|
|
"[1, 3, 's']"
|
|
],
|
|
"asctime": "2020-12-21 22:33:07,491",
|
|
"created": 1608586387.491178,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, 's']\"",
|
|
"module": "__init__",
|
|
"msecs": 491.178035736084,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6403.485059738159,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-21"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:07,491",
|
|
"created": 1608586387.4915006,
|
|
"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": 491.5006160736084,
|
|
"msg": "Send data: (24): 00 00 00 05 00 00 00 0b 00 00 af fe 5b 31 2c 20 33 2c 20 22 73 22 5d 28",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6403.807640075684,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-21"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:07,642",
|
|
"created": 1608586387.6424353,
|
|
"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": 642.4353122711182,
|
|
"msg": "Receive data (24): 00 00 00 05 00 00 00 0b 00 00 af fe 5b 31 2c 20 33 2c 20 22 73 22 5d 28",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6554.742336273193,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-22"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"5",
|
|
"11",
|
|
"45054",
|
|
"[1, 3, 's']"
|
|
],
|
|
"asctime": "2020-12-21 22:33:07,642",
|
|
"created": 1608586387.6429322,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 259,
|
|
"message": "SJP: RX <- status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, 's']\"",
|
|
"module": "__init__",
|
|
"msecs": 642.9321765899658,
|
|
"msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6555.239200592041,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-22"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"Operation not permitted"
|
|
],
|
|
"asctime": "2020-12-21 22:33:07,643",
|
|
"created": 1608586387.6431634,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 292,
|
|
"message": "SJP: Received message has a peculiar status: Operation not permitted",
|
|
"module": "__init__",
|
|
"msecs": 643.1634426116943,
|
|
"msg": "%s Received message has a peculiar status: %s",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6555.4704666137695,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-22"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:07,643",
|
|
"created": 1608586387.64334,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__buffer_received_data__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 310,
|
|
"message": "SJP: Message data is stored in buffer and is now ready to be retrieved by receive method",
|
|
"module": "__init__",
|
|
"msecs": 643.3401107788086,
|
|
"msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6555.647134780884,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-22"
|
|
}
|
|
],
|
|
"msecs": 841.3422107696533,
|
|
"msg": "Send and received data by struct_json_protocol.",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_normal_operation.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6753.6492347717285,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.19800209999084473
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:07,842",
|
|
"created": 1608586387.8422494,
|
|
"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 <class 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Return value of send method",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:07,841",
|
|
"created": 1608586387.8418272,
|
|
"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 (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 841.8271541595459,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6754.134178161621,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return value of send method",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:07,842",
|
|
"created": 1608586387.8420177,
|
|
"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 (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 842.017650604248,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6754.324674606323,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 842.2493934631348,
|
|
"msg": "Return value of send method is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6754.55641746521,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00023174285888671875
|
|
},
|
|
{
|
|
"args": [
|
|
"0",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:07,842",
|
|
"created": 1608586387.8427804,
|
|
"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 <class 'int'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Request Status (Okay) transfered via struct_json_protocol",
|
|
"0",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:07,842",
|
|
"created": 1608586387.8425052,
|
|
"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 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 842.5052165985107,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6754.812240600586,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Request Status (Okay) transfered via struct_json_protocol",
|
|
"0",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:07,842",
|
|
"created": 1608586387.8426468,
|
|
"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 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 842.6468372344971,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6754.953861236572,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 842.780351638794,
|
|
"msg": "Request Status (Okay) transfered via struct_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6755.087375640869,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.000133514404296875
|
|
},
|
|
{
|
|
"args": [
|
|
"{'test': 'test'}",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:07,843",
|
|
"created": 1608586387.8433201,
|
|
"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 <class 'dict'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Request Data transfered via struct_json_protocol",
|
|
"{ 'test': 'test' }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:07,843",
|
|
"created": 1608586387.8430083,
|
|
"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' } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 843.008279800415,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6755.31530380249,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Request Data transfered via struct_json_protocol",
|
|
"{ 'test': 'test' }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:07,843",
|
|
"created": 1608586387.8431525,
|
|
"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' } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 843.1525230407715,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6755.459547042847,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 843.3201313018799,
|
|
"msg": "Request Data transfered via struct_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6755.627155303955,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00016760826110839844
|
|
},
|
|
{
|
|
"args": [
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:07,843",
|
|
"created": 1608586387.8438168,
|
|
"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 <class 'int'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Response Status (Operation not permitted) transfered via struct_json_protocol",
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:07,843",
|
|
"created": 1608586387.8435407,
|
|
"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 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 843.5406684875488,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6755.847692489624,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Response Status (Operation not permitted) transfered via struct_json_protocol",
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:07,843",
|
|
"created": 1608586387.8436744,
|
|
"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 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 843.6744213104248,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6755.9814453125,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 843.8167572021484,
|
|
"msg": "Response Status (Operation not permitted) transfered via struct_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6756.123781204224,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001423358917236328
|
|
},
|
|
{
|
|
"args": [
|
|
"[1, 3, 's']",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:07,844",
|
|
"created": 1608586387.8445113,
|
|
"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 <class 'list'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Response Data transfered via struct_json_protocol",
|
|
"[ 1, 3, 's' ]",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:07,844",
|
|
"created": 1608586387.844117,
|
|
"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' ] (<class 'list'>)",
|
|
"module": "test",
|
|
"msecs": 844.1169261932373,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6756.4239501953125,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Response Data transfered via struct_json_protocol",
|
|
"[ 1, 3, 's' ]",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:07,844",
|
|
"created": 1608586387.8442957,
|
|
"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' ] (<class 'list'>)",
|
|
"module": "test",
|
|
"msecs": 844.2957401275635,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6756.602764129639,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 844.5112705230713,
|
|
"msg": "Response Data transfered via struct_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6756.8182945251465,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0002155303955078125
|
|
},
|
|
{
|
|
"args": [
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:07,945",
|
|
"created": 1608586387.945751,
|
|
"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 <class 'NoneType'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0.1",
|
|
"11",
|
|
"45054"
|
|
],
|
|
"asctime": "2020-12-21 22:33:07,945",
|
|
"created": 1608586387.9450886,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "receive",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 327,
|
|
"message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.",
|
|
"module": "__init__",
|
|
"msecs": 945.0886249542236,
|
|
"msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6857.395648956299,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (request instance) for struct_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:07,945",
|
|
"created": 1608586387.9453967,
|
|
"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 (<class 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 945.3966617584229,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6857.703685760498,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (request instance) for struct_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:07,945",
|
|
"created": 1608586387.9455678,
|
|
"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 (<class 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 945.5678462982178,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6857.874870300293,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 945.7509517669678,
|
|
"msg": "Return Value (request instance) for struct_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6858.057975769043,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00018310546875
|
|
},
|
|
{
|
|
"args": [
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:08,047",
|
|
"created": 1608586388.047022,
|
|
"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 <class 'NoneType'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0.1",
|
|
"10",
|
|
"45054"
|
|
],
|
|
"asctime": "2020-12-21 22:33:08,046",
|
|
"created": 1608586388.0463855,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "receive",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 327,
|
|
"message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.",
|
|
"module": "__init__",
|
|
"msecs": 46.38552665710449,
|
|
"msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6958.69255065918,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (response instance) for struct_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:08,046",
|
|
"created": 1608586388.0466983,
|
|
"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 (<class 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 46.69833183288574,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6959.005355834961,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (response instance) for struct_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:08,046",
|
|
"created": 1608586388.046869,
|
|
"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 (<class 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 46.86903953552246,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6959.176063537598,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 47.022104263305664,
|
|
"msg": "Return Value (response instance) for struct_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6959.329128265381,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00015306472778320312
|
|
}
|
|
],
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 1.2119417190551758,
|
|
"time_finished": "2020-12-21 22:33:08,047",
|
|
"time_start": "2020-12-21 22:33:06,835"
|
|
},
|
|
"socket_protocol.struct_json_protocol: Send and receive check.": {
|
|
"args": null,
|
|
"asctime": "2020-12-21 22:33:01,162",
|
|
"created": 1608586381.1620035,
|
|
"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": 162.0035171508789,
|
|
"msg": "socket_protocol.struct_json_protocol: Send and receive check.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/socket_protocol/unittest/src/tests/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 74.3105411529541,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:01,664",
|
|
"created": 1608586381.664424,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_normal_operation.py",
|
|
"funcName": "send_n_receive",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 42,
|
|
"message": "Send and received data by struct_json_protocol.",
|
|
"module": "test_normal_operation",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:01,162",
|
|
"created": 1608586381.1622646,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__clean_receive_buffer__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 313,
|
|
"message": "SJP: Cleaning up receive-buffer",
|
|
"module": "__init__",
|
|
"msecs": 162.26458549499512,
|
|
"msg": "%s Cleaning up receive-buffer",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 74.57160949707031,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:01,162",
|
|
"created": 1608586381.1624362,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentification_state_reset__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 217,
|
|
"message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"module": "__init__",
|
|
"msecs": 162.43624687194824,
|
|
"msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 74.74327087402344,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:01,162",
|
|
"created": 1608586381.162509,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__clean_receive_buffer__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 313,
|
|
"message": "SJP: Cleaning up receive-buffer",
|
|
"module": "__init__",
|
|
"msecs": 162.50896453857422,
|
|
"msg": "%s Cleaning up receive-buffer",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 74.81598854064941,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:01,162",
|
|
"created": 1608586381.162591,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__authentification_state_reset__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 217,
|
|
"message": "SJP: Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"module": "__init__",
|
|
"msecs": 162.59098052978516,
|
|
"msg": "%s Resetting authentification state to AUTH_STATE_UNKNOWN_CLIENT",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 74.89800453186035,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
0,
|
|
10,
|
|
45054,
|
|
"{'test': 'test'}"
|
|
],
|
|
"asctime": "2020-12-21 22:33:01,162",
|
|
"created": 1608586381.1626556,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 0, service_id: 10, data_id: 45054, data: \"{'test': 'test'}\"",
|
|
"module": "__init__",
|
|
"msecs": 162.65559196472168,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 74.96261596679688,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:01,162",
|
|
"created": 1608586381.1627662,
|
|
"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": 162.7662181854248,
|
|
"msg": "Send data: (29): 00 00 00 00 00 00 00 0a 00 00 af fe 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 47",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 75.0732421875,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:01,313",
|
|
"created": 1608586381.3133764,
|
|
"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": 313.37642669677734,
|
|
"msg": "Receive data (29): 00 00 00 00 00 00 00 0a 00 00 af fe 7b 22 74 65 73 74 22 3a 20 22 74 65 73 74 22 7d 47",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 225.68345069885254,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-1"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0",
|
|
"10",
|
|
"45054",
|
|
"{'test': 'test'}"
|
|
],
|
|
"asctime": "2020-12-21 22:33:01,313",
|
|
"created": 1608586381.313918,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 259,
|
|
"message": "SJP: RX <- status: 0, service_id: 10, data_id: 45054, data: \"{'test': 'test'}\"",
|
|
"module": "__init__",
|
|
"msecs": 313.9181137084961,
|
|
"msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 226.2251377105713,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-1"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"response_data_method"
|
|
],
|
|
"asctime": "2020-12-21 22:33:01,314",
|
|
"created": 1608586381.3141367,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 282,
|
|
"message": "SJP: Executing callback response_data_method to process received data",
|
|
"module": "__init__",
|
|
"msecs": 314.1367435455322,
|
|
"msg": "%s Executing callback %s to process received data",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 226.44376754760742,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-1"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
5,
|
|
11,
|
|
45054,
|
|
"[1, 3, 's']"
|
|
],
|
|
"asctime": "2020-12-21 22:33:01,314",
|
|
"created": 1608586381.3143222,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "send",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 352,
|
|
"message": "SJP: TX -> status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, 's']\"",
|
|
"module": "__init__",
|
|
"msecs": 314.32223320007324,
|
|
"msg": "%s TX -> status: %d, service_id: %d, data_id: %d, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 226.62925720214844,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-1"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:01,314",
|
|
"created": 1608586381.3146658,
|
|
"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": 314.6657943725586,
|
|
"msg": "Send data: (24): 00 00 00 05 00 00 00 0b 00 00 af fe 5b 31 2c 20 33 2c 20 22 73 22 5d 28",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 226.9728183746338,
|
|
"stack_info": null,
|
|
"thread": 139622161319680,
|
|
"threadName": "Thread-1"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-12-21 22:33:01,465",
|
|
"created": 1608586381.4656246,
|
|
"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": 465.6245708465576,
|
|
"msg": "Receive data (24): 00 00 00 05 00 00 00 0b 00 00 af fe 5b 31 2c 20 33 2c 20 22 73 22 5d 28",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_helpers.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 377.9315948486328,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-2"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"5",
|
|
"11",
|
|
"45054",
|
|
"[1, 3, 's']"
|
|
],
|
|
"asctime": "2020-12-21 22:33:01,466",
|
|
"created": 1608586381.4661188,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 259,
|
|
"message": "SJP: RX <- status: 5, service_id: 11, data_id: 45054, data: \"[1, 3, 's']\"",
|
|
"module": "__init__",
|
|
"msecs": 466.11881256103516,
|
|
"msg": "%s RX <- status: %s, service_id: %s, data_id: %s, data: \"%s\"",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 378.42583656311035,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-2"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"Operation not permitted"
|
|
],
|
|
"asctime": "2020-12-21 22:33:01,466",
|
|
"created": 1608586381.4663703,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__data_available_callback__",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 292,
|
|
"message": "SJP: Received message has a peculiar status: Operation not permitted",
|
|
"module": "__init__",
|
|
"msecs": 466.3703441619873,
|
|
"msg": "%s Received message has a peculiar status: %s",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 378.6773681640625,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-2"
|
|
},
|
|
{
|
|
"args": [
|
|
"SJP:"
|
|
],
|
|
"asctime": "2020-12-21 22:33:01,466",
|
|
"created": 1608586381.4665573,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "__buffer_received_data__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 310,
|
|
"message": "SJP: Message data is stored in buffer and is now ready to be retrieved by receive method",
|
|
"module": "__init__",
|
|
"msecs": 466.55726432800293,
|
|
"msg": "%s Message data is stored in buffer and is now ready to be retrieved by receive method",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 378.8642883300781,
|
|
"stack_info": null,
|
|
"thread": 139622152926976,
|
|
"threadName": "Thread-2"
|
|
}
|
|
],
|
|
"msecs": 664.423942565918,
|
|
"msg": "Send and received data by struct_json_protocol.",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/tests/test_normal_operation.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 576.7309665679932,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.19786667823791504
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:01,665",
|
|
"created": 1608586381.665286,
|
|
"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 <class 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Return value of send method",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:01,664",
|
|
"created": 1608586381.6649191,
|
|
"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 (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 664.9191379547119,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 577.2261619567871,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return value of send method",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:01,665",
|
|
"created": 1608586381.6651008,
|
|
"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 (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 665.1008129119873,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 577.4078369140625,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 665.2860641479492,
|
|
"msg": "Return value of send method is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 577.5930881500244,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00018525123596191406
|
|
},
|
|
{
|
|
"args": [
|
|
"0",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:01,665",
|
|
"created": 1608586381.665847,
|
|
"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 <class 'int'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Request Status (Okay) transfered via struct_json_protocol",
|
|
"0",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:01,665",
|
|
"created": 1608586381.6655302,
|
|
"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 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 665.5302047729492,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 577.8372287750244,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Request Status (Okay) transfered via struct_json_protocol",
|
|
"0",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:01,665",
|
|
"created": 1608586381.6657012,
|
|
"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 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 665.701150894165,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 578.0081748962402,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 665.8470630645752,
|
|
"msg": "Request Status (Okay) transfered via struct_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 578.1540870666504,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00014591217041015625
|
|
},
|
|
{
|
|
"args": [
|
|
"{'test': 'test'}",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:01,666",
|
|
"created": 1608586381.6667407,
|
|
"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 <class 'dict'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Request Data transfered via struct_json_protocol",
|
|
"{ 'test': 'test' }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:01,666",
|
|
"created": 1608586381.6661901,
|
|
"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' } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 666.1901473999023,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 578.4971714019775,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Request Data transfered via struct_json_protocol",
|
|
"{ 'test': 'test' }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:01,666",
|
|
"created": 1608586381.6664546,
|
|
"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' } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 666.454553604126,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 578.7615776062012,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 666.7406558990479,
|
|
"msg": "Request Data transfered via struct_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 579.047679901123,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.000286102294921875
|
|
},
|
|
{
|
|
"args": [
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:01,667",
|
|
"created": 1608586381.6676555,
|
|
"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 <class 'int'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Response Status (Operation not permitted) transfered via struct_json_protocol",
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:01,667",
|
|
"created": 1608586381.6671185,
|
|
"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 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 667.1185493469238,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 579.425573348999,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Response Status (Operation not permitted) transfered via struct_json_protocol",
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:01,667",
|
|
"created": 1608586381.6673827,
|
|
"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 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 667.3827171325684,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 579.6897411346436,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 667.6554679870605,
|
|
"msg": "Response Status (Operation not permitted) transfered via struct_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 579.9624919891357,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0002727508544921875
|
|
},
|
|
{
|
|
"args": [
|
|
"[1, 3, 's']",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:01,668",
|
|
"created": 1608586381.6685386,
|
|
"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 <class 'list'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Response Data transfered via struct_json_protocol",
|
|
"[ 1, 3, 's' ]",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:01,668",
|
|
"created": 1608586381.6681294,
|
|
"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' ] (<class 'list'>)",
|
|
"module": "test",
|
|
"msecs": 668.1294441223145,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 580.4364681243896,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Response Data transfered via struct_json_protocol",
|
|
"[ 1, 3, 's' ]",
|
|
"<class 'list'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:01,668",
|
|
"created": 1608586381.6683183,
|
|
"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' ] (<class 'list'>)",
|
|
"module": "test",
|
|
"msecs": 668.3182716369629,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 580.6252956390381,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 668.5385704040527,
|
|
"msg": "Response Data transfered via struct_json_protocol is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 580.8455944061279,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00022029876708984375
|
|
},
|
|
{
|
|
"args": [
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:01,769",
|
|
"created": 1608586381.7697103,
|
|
"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 <class 'NoneType'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0.1",
|
|
"11",
|
|
"45054"
|
|
],
|
|
"asctime": "2020-12-21 22:33:01,769",
|
|
"created": 1608586381.769048,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "receive",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 327,
|
|
"message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 11; data_id: 45054) not in buffer.",
|
|
"module": "__init__",
|
|
"msecs": 769.0479755401611,
|
|
"msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 681.3549995422363,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (request instance) for struct_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:01,769",
|
|
"created": 1608586381.769358,
|
|
"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 (<class 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 769.3579196929932,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 681.6649436950684,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (request instance) for struct_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:01,769",
|
|
"created": 1608586381.7695498,
|
|
"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 (<class 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 769.5498466491699,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 681.8568706512451,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 769.7103023529053,
|
|
"msg": "Return Value (request instance) for struct_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 682.0173263549805,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00016045570373535156
|
|
},
|
|
{
|
|
"args": [
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:01,870",
|
|
"created": 1608586381.8706522,
|
|
"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 <class 'NoneType'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"SJP:",
|
|
"0.1",
|
|
"10",
|
|
"45054"
|
|
],
|
|
"asctime": "2020-12-21 22:33:01,870",
|
|
"created": 1608586381.8702755,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "receive",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 327,
|
|
"message": "SJP: TIMEOUT (0.1s): Requested data (service_id: 10; data_id: 45054) not in buffer.",
|
|
"module": "__init__",
|
|
"msecs": 870.2754974365234,
|
|
"msg": "%s TIMEOUT (%ss): Requested data (service_id: %s; data_id: %s) not in buffer.",
|
|
"name": "root.socket_protocol",
|
|
"pathname": "src/socket_protocol/__init__.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 782.5825214385986,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (response instance) for struct_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:01,870",
|
|
"created": 1608586381.8704743,
|
|
"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 (<class 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 870.4743385314941,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 782.7813625335693,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Return Value (response instance) for struct_json_protocol.receive with data data_id 0xaffe",
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-12-21 22:33:01,870",
|
|
"created": 1608586381.8705745,
|
|
"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 (<class 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 870.5744743347168,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 782.881498336792,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 870.6521987915039,
|
|
"msg": "Return Value (response instance) for struct_json_protocol.receive with data data_id 0xaffe is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 115467,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 782.9592227935791,
|
|
"stack_info": null,
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 7.772445678710938e-05
|
|
}
|
|
],
|
|
"thread": 139622186977088,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.708648681640625,
|
|
"time_finished": "2020-12-21 22:33:01,870",
|
|
"time_start": "2020-12-21 22:33:01,162"
|
|
}
|
|
},
|
|
"testrun_id": "p3",
|
|
"time_consumption": 11.33228349685669,
|
|
"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"
|
|
}
|
|
} |